Creating mathematical jigsaw puzzles using T EX and friends Julian - - PowerPoint PPT Presentation

creating mathematical jigsaw puzzles using t ex and
SMART_READER_LITE
LIVE PREVIEW

Creating mathematical jigsaw puzzles using T EX and friends Julian - - PowerPoint PPT Presentation

Motivation The new software Open problems and future directions Creating mathematical jigsaw puzzles using T EX and friends Julian Gilbey Department of Pure Mathematics and Mathematical Statistics University of Cambridge


slide-1
SLIDE 1

Motivation The new software Open problems and future directions

Creating mathematical jigsaw puzzles using T EX and friends

Julian Gilbey

Department of Pure Mathematics and Mathematical Statistics University of Cambridge

J.Gilbey@maths.cam.ac.uk jdg@debian.org

T EX Users Group Conference, 2014

Julian Gilbey Mathematical Jigsaw Puzzles

slide-2
SLIDE 2

Motivation The new software Open problems and future directions

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-3
SLIDE 3

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-4
SLIDE 4

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

What is a ‘Mathematical Jigsaw’?

Used in classrooms for variety of purposes: Jigsaws and dominoes: A more enjoyable way to practise skills; can involve logical reasoning too Card sorts: Sort into groups or into order

Julian Gilbey Mathematical Jigsaw Puzzles

slide-5
SLIDE 5

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Examples

Jigsaw (dark blue)

Sides match if the question gives the answer A ‘?’ means an answer is not given – you have to work it out The outside edges of the puzzle will not match anything Ignore the small circled numbers

Card sort (pale blue)

Order these to prove that √ 2 is irrational Again ignore the small circled numbers

Follow-me cards or dominoes (yellow)

These form a continuous loop, joining question to answer In a class, each student has some of the cards to read out

Julian Gilbey Mathematical Jigsaw Puzzles

slide-6
SLIDE 6

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Examples (Answers)

Jigsaw (dark blue)

Printed solution sheet

Card sort (pale blue)

2 – 5 – 6 – 7 – 9 – 3 – 8 – 4 – 1

Follow-me cards or dominoes (yellow)

No answers offered!

Julian Gilbey Mathematical Jigsaw Puzzles

slide-7
SLIDE 7

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-8
SLIDE 8

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Existing software

Formulator Tarsia

Created by Hermitech Laboratory Free (as in beer) Windows-only MathML-based Graphical frontend Very popular in schools in UK Many resources (activities) available to download

Julian Gilbey Mathematical Jigsaw Puzzles

slide-9
SLIDE 9

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-10
SLIDE 10

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

What is CMEP?

Cambridge Mathematics Education Project Creating rich, engaging, coherent mathematics resources for 16–18 year olds In development phase Public website launch planned for early 2015 Resources will include card sorts and perhaps jigsaws

Julian Gilbey Mathematical Jigsaw Puzzles

slide-11
SLIDE 11

Motivation The new software Open problems and future directions What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

Why not use Formulator Tarsia?

Windows-based; CMEP developers use Mac or Linux I prefer T EX output quality to Tarsia output More flexibility and control with T EX Tarsia content cannot be easily imported or exported Tarsia is semi-WYSIWYG so harder to input than T EX Need output in printable form and Markdown for automated conversion to HTML

Julian Gilbey Mathematical Jigsaw Puzzles

slide-12
SLIDE 12

Motivation The new software Open problems and future directions Design goals The implementation

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-13
SLIDE 13

Motivation The new software Open problems and future directions Design goals The implementation

User needs

Easy to input content Flexibility to have different layouts, fonts, etc. Flexibility to easily change format of puzzle Preferably text-based input files Knowledge of L

A

T EX can be assumed, but nothing more Easy to generate jigsaws, etc., from input files

Julian Gilbey Mathematical Jigsaw Puzzles

slide-14
SLIDE 14

Motivation The new software Open problems and future directions Design goals The implementation

Software goals

Operating-system agnostic (at least Mac & Linux) Easy to install and use Minimum of non-standard dependencies Easy to maintain and extend (time constraints) Can produce Markdown output for converting into webpages

Julian Gilbey Mathematical Jigsaw Puzzles

slide-15
SLIDE 15

Motivation The new software Open problems and future directions Design goals The implementation

Outline

1

Motivation What is a ‘Mathematical Jigsaw’? Existing software CMEP and its needs

2

The new software Design goals The implementation

3

Open problems and future directions

Julian Gilbey Mathematical Jigsaw Puzzles

slide-16
SLIDE 16

Motivation The new software Open problems and future directions Design goals The implementation

The implementation

Data input files: YAML L

AT

EX template files: Use TikZ Data structure template files: YAML Processing software: Python 3.x, calls (lua)latex to typeset In alpha state

Julian Gilbey Mathematical Jigsaw Puzzles

slide-17
SLIDE 17

Motivation The new software Open problems and future directions Design goals The implementation

Example data file

Title and type specification Layout specification (overriding defaults) Content data

Julian Gilbey Mathematical Jigsaw Puzzles

slide-18
SLIDE 18

Motivation The new software Open problems and future directions Design goals The implementation

Example data file: Title and type specification

# Proving $\sqrt{2}$ is irrational type: cardsort title: $\sqrt{2}$ is irrational note: Sort the cards into order to prove ...

Julian Gilbey Mathematical Jigsaw Puzzles

slide-19
SLIDE 19

Motivation The new software Open problems and future directions Design goals The implementation

Example data file: Layout specification

# puzzle size rows: 6 columns: 1 # Do we shuffle the order of the cards from # the order given when producing the problem? # Say "true" for a proof sorting activity. # It probably does not make sense to say # "false" here but still to produce a solution. shuffleCards: true # Does this puzzle require production of a # solution? If so, the cards must be given # in the correct order initially. produceSolution: true

Julian Gilbey Mathematical Jigsaw Puzzles

slide-20
SLIDE 20

Motivation The new software Open problems and future directions Design goals The implementation

Example data file: Layout specification

# Default text size on cards textSize: 6 # Card title cardTitle: CMEP -- $\sqrt{2}$ is irrational cardTitleSize: 2 # Use CMEP Markdown output puzzleTemplateMarkdown: template-cardsort-puzzle-CMEP-1col.md solutionTemplateMarkdown: template-cardsort-solution-CMEP-1col.md

Julian Gilbey Mathematical Jigsaw Puzzles

slide-21
SLIDE 21

Motivation The new software Open problems and future directions Design goals The implementation

Example data file: Content data

cards:

  • Suppose, for a contradiction, that ...
  • That is, we can write $\sqrt{2} = ...$
  • Squaring, we have $2 = \frac{m^2}{n^2}$.
  • Multiply across to get $2n^2 = m^2$.
  • In the prime factorisations of $m^2$ ...
  • In the prime factorisation of $2n^2$, ...
  • But prime factorisations are unique, so ...
  • This is a contradiction, so our original ...
  • So $\sqrt{2}$ is irrational.

Julian Gilbey Mathematical Jigsaw Puzzles

slide-22
SLIDE 22

Motivation The new software Open problems and future directions Design goals The implementation

Other niceties

Can number cards Hidden or different puzzle data (e.g., ‘?’ in puzzle) Can handle images

Julian Gilbey Mathematical Jigsaw Puzzles

slide-23
SLIDE 23

Motivation The new software Open problems and future directions

Open problems

How do I store and locate configurations on different OSes?

Standard template files User template files Software to work identically on Mac, Linux and even Windows?

How do I create a ‘package’ for each of the different OSes which can be simply installed?

Julian Gilbey Mathematical Jigsaw Puzzles

slide-24
SLIDE 24

Motivation The new software Open problems and future directions

Future directions

Write documentation! Allow for command-line and configuration file configuration If really wanted, create a graphical data editor.

But I think text-based file is simpler to edit.

Julian Gilbey Mathematical Jigsaw Puzzles

slide-25
SLIDE 25

Motivation The new software Open problems and future directions

Obtaining the software

https: //github.com/juliangilbey/jigsaw-generator Email me at J.Gilbey@maths.cam.ac.uk or jdg@debian.org

Julian Gilbey Mathematical Jigsaw Puzzles