Skip to main content

Another Numbas presentation

I gave another presentation about Numbas last week at the e-Assessment Scotland conference in Dundee. I revised my old slides and created a better demo exam, so I thought I’d better link to them from here. I’m thinking about recording a screencast of how to use Numbas – would that interest anybody?

Anyway, those slides – click here.

takenot.es is the place to write maths and see maths

I’ve added a lot more user-friendly features to my write maths, see maths tool over the past couple of weeks, and I’ve moved it to its own domain.

The tool is now available at http://takenot.es, which I think we can all agree is a terrifically clever domain name.

Since I last wrote about it, I’ve added the ability to save and retrieve pages, and support for automatically embedding things like pictures and videos using oEmbed

There’s also a print stylesheet, so if you print a page of notes it will look clean and tidy.

Finally, as well as HTML output you can now also get a proper LaTeX document of your notes by clicking on the “TeX please” button.

I’ve been using it to write up real notes for my research, and I’m very pleased with how quickly I can get stuff written down. I have something like TeX-anxiety for writing up maths, mainly because the process of writing a LaTeX document is such a hassle. With this tool, I can see what I’m doing as I type it, and there’s much less pressure to worry about things looking proper while I’m just transcribing thoughts.

Please have a go at using it and tell me what you think. Any suggestions for other aspects of mathematography that could be made easier with some Internet magic are also welcome.

Double coset normal form for FPAs

Liza Frenkel is visiting the department, and she wants me to write an algorithm to compute double coset representation normal forms for free products with amalgamation.

Here are some notes I typed up in write maths, see maths as she and Andrew talked. I’m just putting them up here so I don’t lose them.

Suppose:
F1, F2 free groups (finitely generated by X and Y, respectively)
H1F1, H2F2
an isomorphism ϕ:H1H2
i.e. we have a finite generating set (in fact a basis) {h1,,hn} for H1 (and{h1,,hn} for H2) and generating sets X,Y for F1 and F2

Consider a group generated by z1,,zm, with
z1=h1(x1,,xn)=h1(y1,,yr),,zm=hm(x1,,xn)=hm(y1,,yr)
G=F1H1=H2F2 has presentation X,Y|hi=hi,i=1m
Choose a set SF such that F1=sSH1sH1
(we are assuming S is infinite)
every element w of F1 is equal to w=h1sh2, for unique sS,
h1,h2H1
can do the same for F2=tTH2tH2

Let gG.
A word w representing g is in normal form if w=hi1(z)p1hi2(z)p2hik(z)pkhik+1(z), with piS, i=1k.

Suppose g=g1g2gk. Rewrite using double coset representatives
g=h1(X)s1h2(Y)t2h3(X)

g is in reduced form if g=g1gk and
k=1 gF1 or gF2
k>1giF1H1 or giF2H2 and gi, gi+1 belong to different factors

Let ΓH1 be a folded subgroup graph of H1. Take two copies.

For some word w=h1sh2, the question is how to find s.

Algorithm:
Read all possible loops round first graph, to get h1.
Keep reading letters round the graph until there is no edge corresponding to the current letter. Call this s1.
Start at the other end, reading loops to get h2, and then maximal s2 partway round a loop.
Then either there are no letters left to look at, and s=s1s2, or some bit f0 in the middle, and s=s1f0s2.

We want h1,h2,s to all have maximal length.

Example

i) g=x13x22y1y2=(x12)(x1x2)(x21)1(y1)(y21)1

Membership problem

G=F1H1=H2F2H3=c1,,clG
Can write the ci in normal form.
Question: Given wG in normal form, is wH3?

Constructing a folded graph which makes use of the normal form is tricky.

Write maths, see maths test

I’ve written a bit of javascript that uses jQuery and MathJax to make a sort-of-WYSIWYG maths editor.

Because MathJax can typeset LaTeX pretty much instantly, it’s a lot quicker to work with than the usual LaTeX write–compile–look loop.

I’m thinking about using this for videos of problem solutions. Because it’s LaTeX it’s a lot neater than my handwriting, and I don’t have to faff around with cameras.

The problem in this video is from an old P6 Further Maths A Level paper. I picked a question that wouldn’t require too much typing, but had some meat to it. If I did this properly I’d talk over it, but at the moment I’m a bit tired and the family upstairs are being quite noisy.

You can have a go on the editor here but beware that I’ve only tested it on Google Chrome. What you type gets saved to your browser’s local storage, so it should persist between browser sessions.

What do you think about it? Is it helpful? Would you consider using something like it?

My Numbas presentation

I’ll try and make this my last Numbas post for a while, but I’ve had to give a few presentations about Numbas at various places in the past month, so I wrote a quick set of slides. I’ve just uploaded it here.

I created the slideshow using Slidy, which is much better at using HTML for slideshows than my attempt.

A gimmicky Normal PDF visual aid

Quite a lot of people have trouble visualising what’s going on when you look up p-values in a table of the normal CDF. I had an idea about how to explain a bit more dynamically using a bit of Craft Time inegnuity.

I made this sketch of the normal PDF in Asymptote and printed out two copies. I cut out the area under the curve of one of them, and glued its corners to those of the other one.

Now I can slide sheets of coloured paper between the two copies of the graph, showing visually the area under the curve up to a certain limit. Using a second colour allows me to show how the area between two values is calculated by subtracting the area corresponding to the lesser value from the area corresponding to the greater value.

Read more…