You are currently browsing the tag archive for the ‘Exploration’ tag.

The **IB Maths Exploration Guide** and the **IB Maths Modelling and Statistics Exploration Guide** are suitable for all IB students.

They are both written by an IB teacher with an MSc. in Mathematics, 10 years experience teaching IB Standard and Higher Level and who has worked as an IB examiner (IA moderation).

**Resource Number 1**

The **Exploration Guide** talks you through:

- An introduction to the essentials about the investigation,
- The new marking criteria,
- How to choose a topic,
- Examples of around 70 topics that could be investigated,
- Useful websites for use in the exploration,
- A student checklist for completing a good investigation,
- Common mistakes that students make and how to avoid them,
- General stats projects advice,
- A selection of some interesting exploration topics explored in more depth,
- Teacher advice for marking,
- Templates for draft submissions,
- Advice on how to use Geogebra, Desmos and Tracker in your exploration,
- Some examples of beautiful maths using Geogebra and Desmos.

[If you don’t have a PayPal account you can just click on the relevant credit card icon].

Exploration Guide

A comprehensive 63 page pdf guide to help you get excellent marks on your maths investigation. [This is not an automatic download but will be emailed the same day].

$7.50

**Resource Number 2**

The **Modelling and Statistics Guide** talks you through various techniques useful for statistical and modelling explorations. Topics included are:

- Linear regression
- Quadratic regression
- Cubic regression
- Exponential regression
- Linearisation using log scales
- Trigonometric regression
- Pearson’s Product investigations: Height and arm span
- Binomial investigations: ESP powers
- Poisson investigations: Customers in a shop
- 2 sample t tests: Reaction times
- Paired t tests: Reaction times
- Chi Squared: Efficiency of vaccines
- Bernoulli trials: Polling confidence intervals
- Spearman’s rank: Taste preference of cola
- Sampling techniques and experiment design.

[If you don’t have a PayPal account you can just click on the relevant credit card icon]

Modelling and Statistics Guide

A 60 page pdf guide full of advice to help with modelling and statistics explorations. [This is not an automatic download but will be emailed the same day].

$7.50

**Resource Number 3**

The Exploration Guide and the Modelling and Statistics Guide can be purchased together for a discount.

Exploration Guide AND the Modelling and Statistics Guide

Both guides included together for a discount. [This is not an automatic download but will be emailed the same day].

$10.50

This is inspired from the great site, Practical Cryptography which is a really good resource for code making and code breaking. One of their articles is about how we can use the Chi Squared test to crack a Caesar Shift code. Indeed, if you use an online program to crack a Caesar shift, they are probably using this technique.

This is the formula that you will be using for Chi Squared. It looks more complicated than it is. Say we have the following message (also from Practical Cryptography):

*AOLJHLZHYJPWOLYPZVULVMAOLLHYSPLZARUVDUHUKZPTWSLZAJPWOLY ZPAPZHAFWLVMZBIZAPABAPVUJPWOLYPUDOPJOLHJOSLAALYPUAOLWSH PUALEAPZZOPMALKHJLYAHPUUBTILYVMWSHJLZKVDUAOLHSWOHILA*

We first work out the frequency of each letter which we do using the Counton site.

We next need to work out the expected values for each letter. To do this we first need the expected percentages for the English language:

Then we can count the number of letters in the code we want to crack (162 – again we can use an online tool)

Now, to find the expected number of As in the code we simply do 162 x 0.082 = 13.284.

The actual number of As in the code is 18.

Therefore we can do (13.284-18)^{2}/18 following the formula at the top of the page.

We then do exactly the same for the Bs in the code. The expected number is 162 x 0.015 = 2.43. The actual number is 3.

Therefore we can do (3-2.43)^{2 }/2.43

We do this same method for all the letters A-Z and then add all those numbers together. This is our Chi Squared statistic. The lower the value, the closer the 2 distributions are. If the expected values and the observed values are the same then there will be a chi squared of zero.

If you add all the values together you get a Chi Squared value of ≈1634 – which is quite large! This is what we would expect – because we already know that the code we have received has letter frequencies quite different to normal English sentences. Now, what a Caesar Shift decoder can do is shift the received code through all the permutations and then for each one find out the Chi Squared value. The permutation with the lowest Chi Squared will be the solution.

For example, if we shift every letter in our received code back by one – using the Counton tool (so A goes to Z etc) we get:

*ZNKIGKYGXIOVNKXOYUTKULZNKKGXROKYZQTUCTGTJYOSVRKYZIOVNKX YOZOYGZEVKULYAHYZOZAZOUTIOVNKXOTCNOINKGINRKZZKXOTZNKVRG OTZKDZOYYNOLZKJGIKXZGOTTASHKXULVRGIKYJUCTZNKGRVNGHKZ*

We can then do the same Chi Squared calculations as before. This will give a Chi Squared of ≈3440 – which is an even worse fit than the last calculation. If we carried this on so that A goes to T we would get:

THECAESARCIPHERISONEOFTHEEARLIESTKNOWNANDSIMPLESTCIPHER SITISATYPEOFSUBSTITUTIONCIPHERINWHICHEACHLETTERINTHEPLA INTEXTISSHIFTEDACERTAINNUMBEROFPLACESDOWNTHEALPHABET

and a Chi Squared on this would show that this has a Chi Squared of ≈33 – ie it is a very good fit. (You will get closer to zero on very long code texts which follow standard English usage). Now, obviously we could see that this is the correct decryption without even working out the Chi Squared value – but this method allows a computer to do it, without needing the ability to understand English. Additionally a codebreaker who spoke no English would still be able to decipher this code, on mathematics alone.

The Practical Cryptography site have a tool for quickly working out Chi Squared values from texts – so you can experiment with your own codes. Note that this is a slightly different use of Chi-Squared as here we are not comparing with a critical value, but instead comparing all Chi Squared to find the lowest value.

If you liked this post you might also like:

Code Breakers Wanted by the NSA – A look at some other code breaking techniques.

RSA Public Key Encryption – The Code that Secures the internet – How understanding RSA code is essential for all people involved in internet security.

**IB Revision**

If you’re already thinking about your coursework then it’s probably also time to start planning some revision, either for the end of Year 12 school exams or Year 13 final exams. There’s a really great website that I would strongly recommend students use – you choose your subject (HL/SL/Studies if your exam is in 2020 or Applications/Analysis if your exam is in 2021), and then have the following resources:

The Questionbank takes you to a breakdown of each main subject area (e.g. Algebra, Calculus etc) and each area then has a number of graded questions. What I like about this is that you are given a difficulty rating, as well as a mark scheme and also a worked video tutorial. Really useful!

The Practice Exams section takes you to ready made exams on each topic – again with worked solutions. This also has some harder exams for those students aiming for 6s and 7s and the Past IB Exams section takes you to full video worked solutions to every question on every past paper – and you can also get a prediction exam for the upcoming year.

I would really recommend everyone making use of this – there is a mixture of a lot of free content as well as premium content so have a look and see what you think.