IntMath Newsletter: CSS matrix, Humble Pi, van Gogh

By Murray Bourne, 29 Aug 2019

29 Aug 2019

1. New on IntMath: CSS matrix math
3. Math in the news: Proof
4. Math movies: Parker, van Gogh
5. Math puzzle: Mystery object
6. Final thought: Dry leaves

1. New on IntMath: CSS matrix math

I recently gave a talk to a local meetup group on the mathematics behind CSS matrix. CSS stands for "cascading style sheets", and is the system where Web designers can set font sizes, colors, and also set sizes and vary shapes for objects like images and videos.

Matrices are used to transform geometric objects (scale, skew, rotate, translate and so on.) Computer games make extensive use of matrices to simulate depth, 3D objects and so on.

 Here is the content of the talk. It explores how CSS transform is the result of matrix multiplication. Even if you're not interested in Web design, it's interesting to see another real-life application of matrices.

I also developed the following interactive graph applet that demonstrates the concepts in the talk.

 This is an interactive graph where you can vary sliders to see how CSS matrix changes the size, shape and location of an object.

2. Resources

(a) Humble Pi: A Comedy of Maths Errors

When I was teaching a group of engineering students some years ago, I went to my boss with an idea. I suggested we incorporate examples of cases where things went wrong, so students would learn the importance of accuracy and the safety issues that can arise out of sloppy and inaccurate mathematics.

He wasn't enthusiastic and squashed the idea, saying it would scare off students from choosing the degree. I felt it was a lost opportunity.

So I was interested when I came across the book "Humble Pi - A Comedy of Maths Errors" by Matt Parker.

Matt Parker's Humble Pi

This readable book was exactly what I had in mind when I approached my boss. Let's learn from cases where people made math errors, and see what the consequences were – not to apportion blame, but to learn what can go wrong.

We all make math errors, but usually the worst outcome is a drop in grade, or momentary embarrassment. The people working in science and engineering fields should be aware of why their math teachers insisted on accuracy.

So I suggested the book for the local library, and was pleasantly surprised how long I had to wait before I could read it (it turned out to be quite popular).

I recommend this book for any math student or teacher.

One of the videos below features Parker, covering some of the same errors detailed in the book.

Disclaimer: I have no connection with Matt Parker (other than through Twitter) and receive no commission.

Some teachers see their job as simply giving out information, but there is no "value add" in that approach, especially since students can easily access such information in abundance.

One thing we can do better while teaching a topic is to actually address the questions students really have about that topic. One approach is to simply ask students what their questions are, and there are a lot of apps and sites that facilitate this process (e.g. Google Forms and Survey Monkey are both easy to use).

Another thing to consider is to look at the questions students are likely to ask, before you even start planning the lessons. AnswerThePublic is a good resource for this.

 AnswerThePublic is a database of common questions that people ask about topics. It provides a rich source of ideas on how we might go about introducing a topic, and pre-empting the stumbling blocks.

Topics to try are:

• Algebra (you'll see e.g. "How is algebra used in real life?", "Who invented algebra?", etc)
• Calculus (e.g. "When does a limit exist?", "Where to start?", "How is it used in computer science?", etc)
• Matrix (e.g. "When is a matrix orthogonal?", "Matrix when a^2 = a?", etc)

You can choose the "Data" tab at the top of each visualization to get easier-to-read lists of questions, and download the lot as a CSV (for Excel).

Sometimes in this resource you see questions that may seem quite odd, like "Does calculus cause kidney stones?", but "calculus" means "stone" and in medicine, it refers to a build-up of hard substances in the body. I get it on my teeth.

3. Math in the news

Story of the Gaussian correlation inequality proof

The title "Gaussian correlation inequality" sounds scary, but it goes something like this.

I have a dart board sitting on a rectangular shape, and assume I'm a good dart player. When I throw a lot of darts at it, I expect the accuracy of my throws to form a somewhat bell-shaped curve distribution. That is, most of the darts land somewhere close to the middle, and there are less dart holes as I go out from the middle.

The greater the circle overlaps the rectangle, the probability of striking both goes up.

 The probability that a dart lands on both the circle and the rectangle is greater than or equal to the product of the individual probabilities. At first, they didn't believe a German retiree had actually proved it.

4. Math Movies

(a) What Happens When Maths Goes Wrong?

 This is a one-hour presentation by Matt Parker at the Royal Institution, London. It covers some interesting examples that are worth considering.

Parker is the Public Engagement in Mathematics Fellow at Queen Mary University of London.

(b) The unexpected math behind Van Gogh's "Starry Night"

Turbulence is one of the most tricky phenomena to model using mathematics. It is complicated and chaotic.

 This video by Natalya St. Clair explores how Van Gogh incorporated turbulence in his art to give the impression of movement.

5. Math puzzles

The puzzle in the last IntMath Newsletter asked about radii of mutually tangent circles. In fact, it turned out to be a 3x3 system of equations - it wasn't really a geometry question.

Correct answers with sufficient reasons were submitted by Russell, Nicola, Tomas and Thomas.

New math puzzle: Mystery object

This time, some investigation may be involved.

Mystery object

The above object was used to achieve a particular mathematical outcome – one that is still vitally important to this day. What is the object, where was it used, and what was the mathematical outcome?

(If you can't actually find it or figure it out, your speculation will prove interesting!)

You can leave your response here.

6. Final thought - what it could be like

Equatorial Singapore, where I live, is normally lush and green, and doesn't experience leaf falls as is normally the case for most places in Autumn.

However, this year we've had the driest and second hottest July on record, and practically no rain so far in August causing my local park to look like this:

Dry leaves and dead grass in Singapore.

Such dry and hot conditions are caused by a positive Indian Ocean dipole, the situation where the Western Indian Ocean is hotter than the Eastern part, causing hot droughts over Australia and most SE Asian countries.

These make ideal conditions for farmers in Indonesia to set off forest fires in order to plant more palm oil, so there's been many fire hot spots reported there.

Meanwhile, the dry season in the Amazon has been the excuse, along with President Bolsanaro's encouragement, for farmers there to burn vast amounts of the Earth's lungs for ever-expanding methane-producing cattle farms.

In the Arctic, fires across the tundra continue to burn, spewing even more carbon into the atmosphere.

These events are giving us an insight into how things will be if governments, companies and all of us fail to address our land use, our consumption, and our "economic growth at all costs" mentality.

We can stop it, but will we?

Until next time, enjoy whatever you learn.

1. C. Trenor says:

https://buzzflash.com/articles/yes-growing-hemp-on-a-massive-scale-can-help-prevent-climate-catastrophe

See little change in human behavior on a large scale unless it can lower costs or increase profit.

ct

2. Murray says:

@ct: Yet another example of how big business has swayed science-ignorant politicians to their "make money at all costs" mentality.

It makes a lot of sense to grow more hemp, which sadly means it's most likely never going to happen.

3. Nicola says:

I didn't find what the stone actually is.
It looks like an abacus, so maybe it was a device for counting ...

Comment Preview

HTML: You can use simple tags like <b>, <a href="...">, etc.

To enter math, you can can either:

1. Use simple calculator-like input in the following format (surround your math in backticks, or qq on tablet or phone):
a^2 = sqrt(b^2 + c^2)
(See more on ASCIIMath syntax); or
2. Use simple LaTeX in the following format. Surround your math with $$ and $$.
$$\int g dx = \sqrt{\frac{a}{b}}$$
(This is standard simple LaTeX.)

NOTE: You can mix both types of math entry in your comment.

Subscribe

* indicates required

From Math Blogs