**Batman and Superman Maths**

Wolfram Alpha is an incredibly powerful mathematical tool – which has been developed to allow both complex calculations and data analysis. It is able to generate images like that shown above, of the Batman logo. What’s really impressive however is that you can see the underlying graph input that would generate this image:

At first glance this look indecipherable – but we can actually understand this a little better by breaking these inequalities down and looking at the individually.

The first inequality defines the area inside an ellipse. All ellipses have a general formula:

In our inequality, the a simply stands for an arbitrary constant (because the Batman logo has no scale). To keep things simple we can set a = 1. This gives an equation:

which generates the ellipse:

When we now make this the inequality:

Then this simply has the effect of shading in the area contained within the ellipse. So, comparing this to the original Batman shape we can see that the ellipse we have drawn forms the wings of the logo.

Next, let’s look at the next inequality:

Which, if we again choose a = 1 for simplicity, we will get

when the part of this graph which is greater or equal to 4.

I’m not going to go through each part – as that would take too long! Let’s look at one more inequality though:

This will generate the part of the graph that looks like:

This will form part of the Batman logo cape.

**Superman Logo**

Now if you thought that was hard, have a look at the inequalities needed for the Superman logo above:

Now this really is almost indecipherable! I can at least explain what the min(a,b) means. For example, say we had:

y = min(cosx,sinx)

This would simply mean that for any x value, I would find out what cosx was equal to, find out what sinx was equal to, and then plot the smallest value as my y value. For example, when x = 0, I would have cos(0) = 1 and sin(0) = 0. So I choose my y value as 0 when x = 0. Plotting this graph would give:

Which is an interesting periodic function that shares some of the features of the regular trig graphs. Anyway, the real Superman inequality is much harder than this – and demonstrates just how powerful Wolfram Alpha is.

**IB Maths Revision**

I’d strongly recommend starting your revision of topics from Y12 – certainly if you want to target a top grade in Y13. My favourite revision site is Revision Village – which has a huge amount of great resources – questions graded by level, full video solutions, practice tests, and even exam predictions. Standard Level students and Higher Level students have their own revision areas. Have a look!

## 3 comments

Comments feed for this article

August 11, 2015 at 8:47 pm

yuvrajanybody has any idea how are we supposed to actually get the a and b in the batman logo

April 8, 2016 at 2:41 pm

akirathey are scaler factors so irrelevant to the general shape of the logo,

July 14, 2016 at 11:12 pm

Jeff Auhaha this is cool!!