IB DP Mathematics: Applications and Interpretation (AI) — SL and HL
Hypothesis tests 1 · Ranking data & Spearman's rank correlation
IB DP Mathematics: Applications and Interpretation (AI) — SL and HL
0% Completed
Start Here — How This Course Works
Read this first: how to use the five mock sets, exam rules for AI SL (both papers use the GDC), how to self-mark with the IB-style keys, and your 10-day revision plan.
The GDC is allowed in BOTH AI SL papers — fluency is marks. Press-to-Test exam mode, and the core TI-Nspire CX II skills used throughout the marking keys: nSolve, graphing and intersections, regression, financial solver (TVM), statistics and distribution menus.
Full step-by-step notes with Prof. Kitso for AI 1.1, 1.6: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 1.5: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Learn 1 · Arithmetic & geometric sequences and series (AI 1.2, 1.3) — SL & HL
Full step-by-step notes with Prof. Kitso for AI 1.2, 1.3: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 1.4, 1.7: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 1.8: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
HL · Learn 1 · Laws of logarithms, rational exponents, infinite series & log scales (AI 1.9–1.11, 2.10) — HL
Full step-by-step notes with Prof. Kitso for AI 1.9–1.11, 2.10: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 1.12, 1.13: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 1.14, 1.15: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 2.1–2.4: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 2.5, 2.6: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 2.7–2.9: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 3.1–3.3: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 3.4–3.6: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 3.7–3.9: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 3.10–3.13: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 3.14–3.16: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Step-by-step teaching notes from the very beginning: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL 4.1–4.4 (HL students study these too).
Full step-by-step notes with Prof. Kitso for AI 4.5, 4.6: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Learn 4 · Probability distributions: discrete, binomial & normal (AI 4.7–4.9) — SL & HL
Full step-by-step notes with Prof. Kitso for AI 4.7–4.9: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 4.10, 4.11: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 4.14, 4.15, 4.17, 4.19: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 4.12, 4.13, 4.16, 4.18: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 5.1–5.4: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 5.6, 5.7: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Learn 5 · Integration, area & the trapezoidal rule (AI 5.5, 5.8) — SL & HL
Full step-by-step notes with Prof. Kitso for AI 5.5, 5.8: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. SL and HL students.
Full step-by-step notes with Prof. Kitso for AI 5.9, 5.10: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 5.11–5.13: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full step-by-step notes with Prof. Kitso for AI 5.14–5.18: every idea explained simply, worked examples with TI-Nspire CX II screens, exam-style challenge questions and try-it-yourself activities. HL only.
Full mock: Paper 1 (short questions, 80 marks, 90 min) and Paper 2 (extended questions, 80 marks, 90 min), both with the GDC, each with a full IB-style marking key. Paper 1 and its key are FREE to preview. Sit the paper under timed conditions before opening the key.
Second full mock (Paper 1 + Paper 2 with marking keys) covering a fresh rotation of the AI SL syllabus. Re-drill anything you dropped marks on in Set 1 before you sit it.
Third full mock (Paper 1 + Paper 2 with marking keys). By the end of this set you should have met every AI SL topic at least once — use your score log to find remaining weak areas.
Fourth full mock (Paper 1 + Paper 2 with marking keys). Sit both papers back-to-back with only a short break — train the stamina the real exam session demands.
Final full mock (Paper 1 + Paper 2 with marking keys). Treat this as your dress rehearsal: full exam conditions, formula booklet only, and strict timing.
What to do (and not do) in the last two days before each exam: a 48-hour checklist, formula booklet final pass, GDC battery-and-settings check, and the exam-day routine.
💻 Using the TI-Nspire CX Student Software on a laptop
The screens in these notes are drawn exactly as the Student Software shows them. The keypad on the left of the software works like the handheld — click its keys with the mouse.
menu: click menu on the on-screen keypad (or Documents Toolbox ▸ 🔧). The menu numbers and letters are the same as in these notes.
enter = Enter · tab = Tab (next box) · esc = Esc · del = Backspace.
Powers: type ^ (Shift+6), the power, then press → to come back down before typing more. x² = ^2 then →.
Fraction: type / · √: type sqrt( · π: type pi · eˣ: type exp( · store: type :=. For EE (×10ⁿ) and i, click them on the keypad.
Radian / Degree: click Settings in the status bar at the bottom of the window. The mode (RAD or DEG) shows in the top bar.
IB exam mode (Press-to-Test): everything in these notes works on the non-CAS TI-Nspire with the IB exam settings. In exam mode there are no dot-product, cross-product, unit-vector or eigenvalue keys and no Diff Eq graphs — the notes show the allowed way (type the components, use polyRoots on the characteristic equation, do Euler steps on a Calculator page).
If you type nDeriv(, the software shows it as centralDiff( — it is the same command.
The big idea: Spearman's coefficient rs measures how well two variables move in the same order (or in opposite orders). We do not use the raw numbers: we swap them for ranks (1st, 2nd, 3rd…) and then find the correlation of the ranks.
By the end of this lesson you can:
rank a list of numbers, including tied values
find rs with your GDC from two lists of ranks
interpret rs for strength and direction
check rs by hand with the d² formula when there are no ties
🧑🏾 Imagine this…
Two judges taste six cakes at the Maun school fete. Judge Neo gives marks out of 100 and Judge Lesedi gives marks out of 10, so you cannot compare the marks directly. But you can ask a simpler question: do they put the cakes in the same order? If both say “cake C is best, cake A is second best…”, they agree. Ranks throw away the size of the marks and keep only the order.
Rank
the position of a value when the data is put in order. Smallest = 1, next smallest = 2, and so on. (You may also give the largest rank 1. Just use the same direction for both variables.)
Tied values
two or more equal values. They share the average of the ranks they would have taken.
Monotonic
always going the same way: as x increases, y never goes down (increasing) or never goes up (decreasing). It does not need to be a straight line.
Spearman's rank correlation coefficient rₛ
the correlation of the ranks of x and the ranks of y. It measures how strong a monotonic relationship is. −1 ≤ rs ≤ 1.
★ Finding rₛ: the method
Step 1. Rank the x-values (1 = smallest). Step 2. Rank the y-values separately in the same direction.
Tied values: give each the average of the ranks they cover. Example: two values tied for 3rd and 4th both get rank 3.5. The next value gets rank 5.
Step 3. Put the two lists of ranks into your GDC and do a linear regression. The value of r you read off is rs.
rs = +1: the ranks match perfectly. rs = −1: the ranks are exactly reversed. rs near 0: no monotonic relationship.
⚠️ Watch out
Rank x and y separately. Never rank the pairs together.
Use the same direction for both lists (both smallest = 1, or both largest = 1). If you reverse only one, your answer changes sign.
After ranking, check: the ranks must add up to . For n = 8 that is 36. Tied ranks must still give the same total.
💡 The d² formula (no ties only)
If there are no tied values, you can also use , where d is the difference between the two ranks of each item. This gives the same answer as the GDC. With ties it is only approximate, so in the exam always use the GDC method. You do not need to memorise it; it is a handy check.
🧪 Try it yourselfCheck your ranking
Rank each list with the smallest value as rank 1.
Worked examples
Example 1.1Ranking data with no ties
Seven runners at a Gaborone club had these 400 m times (seconds): 14.2, 12.8, 15.6, 13.1, 12.5, 14.9, 13.7. Rank the times with the fastest (smallest) time as rank 1.
🧠 Think it through
Put the times in order from smallest to largest.
The smallest time gets rank 1, the next gets rank 2, and so on.
Write the ranks back in the original order of the list (not in sorted order).
Check the total: for n = 7 the ranks must add to .
Original order 14.2, 12.8, 15.6, 13.1, 12.5, 14.9, 13.7 ranks 5, 2, 7, 3, 1, 6, 4
Check: ✓
🔢 On your TI-Nspire CX II
On 1.1 Lists & Spreadsheet type the times in column A (name it time).
Read down the list and pick out the smallest, then the next smallest, and so on. For a short list, ranking by hand is quickest in the exam.
✅ Answer Ranks (in the original order): 5, 2, 7, 3, 1, 6, 4.
The TI-Nspire CX II has no rank command, so you rank by hand. Exam questions keep n small for this reason.
Example 1.2Ranking data with ties
Eight students wrote a quiz marked out of 20: 12, 15, 9, 15, 18, 12, 15, 7. Rank the marks, smallest = 1, using average ranks for ties.
🧠 Think it through
Sort the marks: 7, 9, 12, 12, 15, 15, 15, 18.
Give ranks 1 to 8 to the sorted list.
Two 12s would take ranks 3 and 4. Average = 3.5 each.
Three 15s would take ranks 5, 6 and 7. Average = 6 each.
✍️ By hand
7 1, 9 2, 12, 12 , 15, 15, 15 , 18 8
Original order 12, 15, 9, 15, 18, 12, 15, 7 3.5, 6, 2, 6, 8, 3.5, 6, 1
Check: ✓
🔢 On your TI-Nspire CX II
Use the calculator to check the total of the ranks: type sum({3.5,6,2,6,8,3.5,6,1})enter ↵💻 Enter. It must equal 36.
📍 Where to find it on the TI-Nspire
sum( is in menu💻 click menu on keypad▸6: Statistics▸3: List Math▸5: Sum of Elements
Same total: the ranks are right
✅ Answer Ranks: 3.5, 6, 2, 6, 8, 3.5, 6, 1.
Notice there is no rank 3 or 4, and no rank 5 or 7. The tied values used them up.
Example 1.3Spearman's coefficient with the GDC (no ties)
Kagiso asks 8 friends how many hours per week they study, and records their latest test mark.
Hours
3
5
6
8
10
12
14
15
Mark
41
45
43
58
62
60
75
70
(a) Rank both variables, smallest = 1.
(b) Find Spearman's rank correlation coefficient.
(c) Describe the relationship.
🧠 Think it through
Hours are already in order: ranks 1 to 8.
Rank the marks: 41→1, 43→2, 45→3, 58→4, 60→5, 62→6, 70→7, 75→8. Write them in the original order.
Enter the two rank lists in the GDC and do a linear regression.
The value of r is rs.
✍️ By hand
Hours ranks: 1, 2, 3, 4, 5, 6, 7, 8
Mark ranks: 1, 3, 2, 4, 6, 5, 8, 7
Check by hand: , so and
🔢 On your TI-Nspire CX II
On 1.1 Lists & Spreadsheet type the two ranked lists. Name column A rh and column B rm (same row = same item).
Check that each column shows the ranks you wrote by hand.
Add a Calculator page: ctrl💻 Ctrldoc ▾💻 File menu then 1 (Add Calculator).
Go to menu💻 click menu on keypad▸6: Statistics▸1: Stat Calculations▸3: Linear Regression (mx+b) and press enter ↵💻 Enter. Set X List = rh, Y List = rm. Press enter ↵💻 Enter.
Read r. Because the lists hold ranks, this r is rs. Ignore m and b.
This r is the Spearman coefficient rₛ, because the lists hold RANKS
✅ Answer (a) Hours: 1,2,3,4,5,6,7,8. Marks: 1,3,2,4,6,5,8,7. (b) rs = 0.929. (c) A strong positive monotonic relationship: students who study more hours tend to get higher marks.
Do not write “study causes marks”. Correlation only says the two variables move together.
Example 1.4Spearman's coefficient with tied ranks
A school in Francistown records, for 9 students, the daily hours of screen time (x) and hours of sleep (y).
Screen time
2.5
4
1
6
5.5
3
5.5
7
4.5
Sleep
8.5
7.5
9
6
6.5
8
7
5.5
7
(a) Rank each variable, smallest = 1.
(b) Find rs and interpret it in context.
🧠 Think it through
Screen time has a tie: 5.5 appears twice (ranks 6 and 7, so 6.5 each).
Sleep has a tie: 7 appears twice (ranks 4 and 5, so 4.5 each).
Rank the sleep values: 5.5→1, 6→2, 6.5→3, 7 and 7→4.5, 7.5→6, 8→7, 8.5→8, 9→9.
On 1.1 Lists & Spreadsheet type the two ranked lists. Name column A rsc and column B rsl (same row = same item).
Check that each column shows the ranks you wrote by hand.
Add a Calculator page: ctrl💻 Ctrldoc ▾💻 File menu then 1 (Add Calculator).
Go to menu💻 click menu on keypad▸6: Statistics▸1: Stat Calculations▸3: Linear Regression (mx+b) and press enter ↵💻 Enter. Set X List = rsc, Y List = rsl. Press enter ↵💻 Enter.
Read r. Because the lists hold ranks, this r is rs. Ignore m and b.
This r is the Spearman coefficient rₛ, because the lists hold RANKS
✅ Answer (a) Screen time: 2, 4, 1, 8, 6.5, 3, 6.5, 9, 5. Sleep: 8, 6, 9, 2, 3, 7, 4.5, 1, 4.5. (b) rs = −0.987: a very strong negative monotonic relationship. Students with more screen time tend to sleep fewer hours.
⚠️ With these ties the d² formula would give −0.971, which is NOT the same. With tied ranks always use the GDC.
Example 1.5Two judges: comparing rankings
Two judges rank six dishes at a cooking contest in Kasane (1 = best).
Dish
A
B
C
D
E
F
Judge 1
1
2
3
4
5
6
Judge 2
2
1
4
3
6
5
(a) Find the Spearman's rank correlation coefficient.
(b) What does your answer say about the judges?
🧠 Think it through
The data is already in ranks, so skip the ranking step.
Enter the two rows as lists and do the regression.
Each dish differs by 1 place, so the judges nearly agree.
✍️ By hand
, so , and
🔢 On your TI-Nspire CX II
On 1.1 Lists & Spreadsheet type the two ranked lists. Name column A j1 and column B j2 (same row = same item).
Check that each column shows the ranks you wrote by hand.
Add a Calculator page: ctrl💻 Ctrldoc ▾💻 File menu then 1 (Add Calculator).
Go to menu💻 click menu on keypad▸6: Statistics▸1: Stat Calculations▸3: Linear Regression (mx+b) and press enter ↵💻 Enter. Set X List = j1, Y List = j2. Press enter ↵💻 Enter.
Read r. Because the lists hold ranks, this r is rs. Ignore m and b.
This r is the Spearman coefficient rₛ, because the lists hold RANKS
✅ Answer (a) rs = 0.829. (b) A strong positive correlation: the judges mostly agree on the order of the dishes, although they swap neighbouring pairs (A and B, C and D, E and F).
rs compares the orders only. The judges might give very different marks and still have rs = 1.
Challenge questions
⭐ Challenge 1.6Two judges, raw marksPaper 1 style
Five contestants in a talent show were given marks by two judges.
Contestant
1
2
3
4
5
Judge X
78
64
71
90
85
Judge Y
70
66
73
88
92
(a) Write down the ranks given by each judge (smallest mark = 1).
On 1.1 Lists & Spreadsheet type the two ranked lists. Name column A jx and column B jy (same row = same item).
Check that each column shows the ranks you wrote by hand.
Add a Calculator page: ctrl💻 Ctrldoc ▾💻 File menu then 1 (Add Calculator).
Go to menu💻 click menu on keypad▸6: Statistics▸1: Stat Calculations▸3: Linear Regression (mx+b) and press enter ↵💻 Enter. Set X List = jx, Y List = jy. Press enter ↵💻 Enter.
Read r. Because the lists hold ranks, this r is rs. Ignore m and b.
This r is the Spearman coefficient rₛ, because the lists hold RANKS
✅ Answer (a) Judge X: 3, 1, 2, 5, 4. Judge Y: 2, 1, 3, 4, 5. (b) rs = 0.8. (c) Strong positive correlation: the judges mostly agree on the order of the contestants.
⭐ Challenge 1.7Temperature and hot-drink salesPaper 2 style
A kiosk owner in Francistown records the maximum temperature (°C) and the number of hot drinks sold on 9 days.
Temp
17
24
30
21
37
33
24
39
27
Drinks
64
58
52
66
40
49
55
35
47
(a) Rank the temperatures and the number of drinks (smallest = 1).
(b) Find Spearman's rank correlation coefficient.
(c) Interpret your answer in context.
(d) Find Pearson's product-moment coefficient r for the original data. Comment on how it compares with rs.
(e) Explain why the d² formula should not be used for this data.
✏️ Try it on paper and on your calculator first. Then check.
Show the full solution
🧠 Think it through
Temperature has a tie (24 twice, ranks 3 and 4 → 3.5). Drinks has no ties.
Do the regression on the rank lists for rs, then on the raw lists for r.
Both are strongly negative. The formula needs no ties.
On 1.1 Lists & Spreadsheet type the two ranked lists. Name column A rt and column B rd (same row = same item).
Check that each column shows the ranks you wrote by hand.
Add a Calculator page: ctrl💻 Ctrldoc ▾💻 File menu then 1 (Add Calculator).
Go to menu💻 click menu on keypad▸6: Statistics▸1: Stat Calculations▸3: Linear Regression (mx+b) and press enter ↵💻 Enter. Set X List = rt, Y List = rd. Press enter ↵💻 Enter.
Read r. Because the lists hold ranks, this r is rs. Ignore m and b.
This r is the Spearman coefficient rₛ, because the lists hold RANKS
For part (d) repeat the regression with the raw lists temp and drinks and read r = −0.939.
✅ Answer (a) Temperature: 1, 3.5, 6, 2, 8, 7, 3.5, 9, 5. Drinks: 8, 7, 5, 9, 2, 4, 6, 1, 3. (b) rs = −0.929. (c) A strong negative monotonic relationship: the hotter the day, the fewer hot drinks tend to be sold. (d) r = −0.939. Both coefficients tell the same story (strong negative), so the relationship is close to linear. (e) The temperature data contains a tie, and the d² formula is only valid when there are no tied ranks.