Mathematics is a small set of ideas that build on each other. This post goes in order. Part 1 covers the basics that everything else rests on. Part 2 covers the topics usually called advanced: functions, logarithms, trigonometry, calculus, vectors and matrices, probability and counting. The last sections collect a formula sheet and reference tables: formulas by topic with an example for each, a times table, squares and cubes, primes, divisibility rules, trigonometry values, degrees and radians, and unit conversions.
How to use this post
Every topic has the same parts, in this order:
- The idea in plain words.
- How to do it, as numbered steps you can follow every time.
- Worked examples from easy to harder. Each step is written out, so cover the answer, try it yourself, then compare.
- A picture or something to try. These work with the keyboard as well as the mouse.
- The usual mistake, so you can spot it.
- Practice questions. Open "Show the steps and the answer" only after you have had a go.
Work with a pen and paper. Reading a solution feels like understanding, but only doing it shows whether you have it.
To change the text size or read this post in a handwritten style, use the round Aa button at the bottom right of the page. Code, formulas in the boxes and the interactive parts keep their normal font.
Part 1: The basics
1. Numbers, including negatives
Numbers come in layers. Each layer contains the one before it and adds something.
Negative numbers sit on the other side of zero on the number line. Moving right adds, moving left subtracts.
How to do it
- Subtracting a negative is the same as adding: a − (−b) = a + b. Think of removing a debt.
- Adding a negative is the same as subtracting: a + (−b) = a − b.
- Multiplying or dividing: same signs give a positive, different signs give a negative.
- Absolute value is the distance from zero, so |−4| = 4 and |4| = 4.
Example 1: 5 − (−3)
- The two minus signs next to each other turn into a plus: 5 + 3.
- Answer: 8.
Example 2: −4 + 7
- Start at −4 on the number line and move 7 steps right.
- You pass zero after 4 steps and move 3 more. Answer: 3.
Example 3: −6 − 2
- Start at −6 and move 2 steps left. Answer: −8.
Example 4: (−3) × (−5)
- Both signs are the same, so the result is positive: 3 × 5. Answer: 15.
Example 5: 4 × (−2) and −12 ÷ 3
- Different signs, so both results are negative.
- 4 × 2 = 8, so the first is −8. 12 ÷ 3 = 4, so the second is −4.
The usual mistake: reading 5 − (−3) as 5 − 3. Two minus signs in a row cancel.
Practice
Work out 3 − (−9), then −8 + 5, then (−6) × (−7).
Show the steps and the answer
- 3 − (−9): the double minus becomes a plus, so 3 + 9 = 12.
- −8 + 5: start at −8 and move 5 right. You land on −3.
- (−6) × (−7): same signs, so positive. 6 × 7 = 42.
Answers: 12, −3, 42.
2. Factors, primes, HCF and LCM
A factor of a number divides it exactly: the factors of 12 are 1, 2, 3, 4, 6 and 12. A prime has exactly two factors, 1 and itself: 2, 3, 5, 7, 11. The number 1 is not prime. Every whole number above 1 is a product of primes in only one way, so 12 = 2 × 2 × 3. Splitting a number like this is called prime factorisation.
Two questions come up all the time:
- HCF (highest common factor, also called GCD): the biggest number that divides both. Used to simplify fractions and to cut things into equal pieces.
- LCM (lowest common multiple): the smallest number that both divide into. Used to find a common bottom for fractions and to find when repeating events line up.
How to do it
Method A, with prime factors:
- Write each number as a product of primes. Divide by 2 as long as you can, then by 3, then 5, and so on.
- HCF: multiply the primes that appear in both, each at its lowest power.
- LCM: multiply every prime that appears in either, each at its highest power.
Method B, Euclid's method for the HCF. It works for big numbers where factoring is slow.
- Divide the larger number by the smaller and note the remainder.
- Replace the pair by (smaller number, remainder) and repeat.
- When the remainder is 0, the last divisor is the HCF.
A shortcut for two numbers: HCF × LCM = the two numbers multiplied together. So LCM = (a × b) ÷ HCF.
Divisibility rules help with step 1: a number divides by 2 if it ends in an even digit, by 3 if its digits add up to a multiple of 3, and by 5 if it ends in 0 or 5. The full list is in the reference tables at the end.
Example 1: factorise 60
- 60 ÷ 2 = 30, and 30 ÷ 2 = 15. Two 2s so far.
- 15 is odd. 15 ÷ 3 = 5, and 5 is prime.
- So 60 = 2 × 2 × 3 × 5 = 2² × 3 × 5.
Example 2: HCF and LCM of 12 and 18
- 12 = 2² × 3 and 18 = 2 × 3².
- HCF: shared primes at the lowest power. 2 appears as 2² and 2¹, so take 2. 3 appears as 3¹ and 3², so take 3. HCF = 2 × 3 = 6.
- LCM: every prime at the highest power: 2² × 3² = 4 × 9 = 36.
- Check with the shortcut: 6 × 36 = 216 and 12 × 18 = 216.
Example 3: HCF of 84 and 126 by Euclid's method
- 126 = 1 × 84 + 42. The remainder is 42.
- 84 = 2 × 42 + 0. The remainder is 0.
- The last divisor is 42, so the HCF is 42.
- LCM = (84 × 126) ÷ 42 = 10,584 ÷ 42 = 252.
Example 4: simplify 84/126
- Divide the top and bottom by their HCF, 42: 84 ÷ 42 = 2 and 126 ÷ 42 = 3. Answer: 2/3. This is the fastest way to reduce a fraction fully in one step.
Example 5: add 1/6 + 1/8
- The best common bottom is the LCM of 6 and 8. 6 = 2 × 3 and 8 = 2³, so the LCM is 2³ × 3 = 24.
- 1/6 = 4/24 and 1/8 = 3/24.
- 4/24 + 3/24 = 7/24.
Example 6: two buses. One bus leaves the station every 12 minutes and another every 18 minutes. They leave together at 9:00. When do they next leave together?
- The answer is the LCM of 12 and 18, which is 36. So at 9:36.
Example 7: tiles. A floor is 240 cm by 180 cm. What is the biggest square tile that fits exactly, with no cutting?
- The tile side must divide both 240 and 180, so you want the HCF.
- 240 = 1 × 180 + 60, then 180 = 3 × 60 + 0. The HCF is 60.
- Tiles of 60 cm: 240 ÷ 60 = 4 along one side and 180 ÷ 60 = 3 along the other. That is 12 tiles.
Example 8: numbers with nothing in common. 8 = 2³ and 15 = 3 × 5 share no primes, so the HCF is 1. Such numbers are called coprime. Their LCM is just the product: 8 × 15 = 120.
Try it: HCF and LCM
Type two whole numbers from 1 to 9999. The demo splits each into primes, then builds the HCF and LCM from them.
prime factors
12 = 2^2 × 3
18 = 2 × 3^2
Euclid's steps
18 = 1 × 12 + 6
12 = 2 × 6 + 0
HCF: shared primes, lowest power
2 × 3
HCF = 6
LCM: every prime, highest power
2^2 × 3^2
LCM = 36
Check: HCF × LCM = 6 × 36 = 216, and 12 × 18 = 216.
The usual mistakes
- Taking the lowest power for the LCM. The LCM needs the highest power, or it will not divide into the number with the bigger power.
- Mixing the two up. A quick test: the HCF is never bigger than the smaller number, and the LCM is never smaller than the bigger number.
- Listing only some factors. Writing out the prime factorisation first avoids this.
Check yourself
One light blinks every 12 seconds and another every 18 seconds. They blink together now. After how many seconds do they next blink together?
Practice
Find the HCF and LCM of 8 and 20. Then use Euclid's method to find the HCF of 48 and 180, and their LCM. Then: two ribbons are 36 cm and 48 cm long. They are cut into equal pieces, as long as possible, with none left over. How many pieces in total?
Show the steps and the answer
- 8 = 2³ and 20 = 2² × 5. HCF: the shared prime 2 at its lowest power, 2² = 4. LCM: every prime at its highest power, 2³ × 5 = 40. Check: 4 × 40 = 160 = 8 × 20.
- 180 = 3 × 48 + 36. Then 48 = 1 × 36 + 12. Then 36 = 3 × 12 + 0. The HCF is 12. LCM = (48 × 180) ÷ 12 = 8640 ÷ 12 = 720.
- The longest equal piece is the HCF of 36 and 48, which is 12 cm. The first ribbon gives 36 ÷ 12 = 3 pieces and the second gives 48 ÷ 12 = 4 pieces. Total: 7.
Answers: HCF 4 and LCM 40; HCF 12 and LCM 720; 7 pieces of 12 cm.
3. Fractions
A fraction is parts of a whole. The bottom number says how many equal parts there are, and the top number says how many you have.
Try it: fractions
A fraction is parts of a whole. The bottom number says how many equal parts, the top says how many you have.
Make the bottoms equal. The smallest common bottom is 6. 1/2 = 3/6 and 1/3 = 2/6. Now add the tops: 3 + 2 = 5, so 5/6.
result, simplified
5/6
as a decimal
0.8333
How to do it
- Simplify: divide the top and bottom by the same number until you cannot any more.
- Add or subtract: (1) find a common bottom (the LCM of the two bottoms is the smallest), (2) rewrite each fraction with it, (3) add or subtract the tops, (4) simplify (divide by the HCF).
- Multiply: top times top, bottom times bottom, then simplify.
- Divide: flip the second fraction and multiply.
Example 1: simplify 12/18
- The biggest number that divides both 12 and 18 is 6.
- 12 ÷ 6 = 2 and 18 ÷ 6 = 3. Answer: 2/3.
Example 2: write 7/4 as a mixed number
- 4 goes into 7 once, with 3 left over.
- Answer: 1 and 3/4.
Example 3: 2/3 + 3/4
- The common bottom is 12, because both 3 and 4 divide 12.
- 2/3 = 8/12 (multiply top and bottom by 4). 3/4 = 9/12 (multiply by 3).
- Add the tops: 8/12 + 9/12 = 17/12.
- 17/12 is 1 and 5/12.
Example 4: 3/4 − 1/6
- Common bottom: 12.
- 3/4 = 9/12 and 1/6 = 2/12.
- 9/12 − 2/12 = 7/12.
Example 5: 2/3 × 3/5
- Tops: 2 × 3 = 6. Bottoms: 3 × 5 = 15. That gives 6/15.
- Divide both by 3: 2/5.
Example 6: 3/4 ÷ 2/5
- Flip the second fraction: 2/5 becomes 5/2.
- Multiply: 3/4 × 5/2 = 15/8, which is 1 and 7/8.
The usual mistake: adding tops and bottoms. 1/2 + 1/3 is 5/6, not 2/5.
Check yourself
What is 1/2 + 1/3?
Practice
Work out 1/4 + 2/3, then 5/6 × 3/10, then 2/3 ÷ 4/9.
Show the steps and the answer
- 1/4 + 2/3: common bottom 12. 3/12 + 8/12 = 11/12.
- 5/6 × 3/10: tops 15, bottoms 60, so 15/60. Divide both by 15 to get 1/4.
- 2/3 ÷ 4/9: flip to get 2/3 × 9/4 = 18/12 = 3/2, which is 1 and 1/2.
Answers: 11/12, 1/4, 3/2.
4. Percentages
Percent means per hundred, so 25% is 25/100, or 0.25. You use this for discounts, tax, tips and interest.
Try it: percentages
Percent means per hundred, so 25% is 25/100 = 0.25.
- 25% of 80 = 20
- 80 increased by 25% = 100
- 80 decreased by 25% = 60
The common trap: to get from 100 back to 80 you must decrease by 20%, not 25%. Increase by 25% and then decrease by 25% and you end at 75, not 80.
How to do it
- Turn the percentage into a decimal by dividing by 100: 20% becomes 0.20.
- Percentage of a number: multiply by the decimal.
- Increase by p%: multiply by 1 + p/100. A 13% increase multiplies by 1.13.
- Decrease by p%: multiply by 1 − p/100. A 25% decrease multiplies by 0.75.
- Percentage change: (new − old) ÷ old.
- Finding the original: divide the final value by the multiplier.
Example 1: 20% of 150
- 0.20 × 150 = 30.
Example 2: a 25% discount on a 40 item
- Discount: 0.25 × 40 = 10. Price: 40 − 10 = 30.
- Same thing in one step: 40 × 0.75 = 30.
Example 3: 80 plus 13% tax
- 80 × 1.13 = 90.40.
Example 4: percentage change from 50 to 65
- Change: 65 − 50 = 15. Divide by the old value: 15 ÷ 50 = 0.30.
- Answer: up 30%.
Example 5: percentage change from 80 to 60
- Change: 60 − 80 = −20. Divide by 80: −0.25.
- Answer: down 25%.
Example 6: after a 20% discount a jacket costs 48. What was the original price?
- A 20% discount means you pay 80%, a multiplier of 0.8.
- original × 0.8 = 48.
- original = 48 ÷ 0.8 = 60.
Example 7: 1000 earning 5% a year for 2 years
- Year 1: 1000 × 1.05 = 1050.
- Year 2: 1050 × 1.05 = 1102.50.
- The second year's interest is taken on 1050, not 1000, which is why this beats 2 × 5% = 10%.
A quick trick: 10% is the number with the decimal point moved one place, and 5% is half of that. So a 15% tip on 40 is 4 + 2 = 6.
The usual mistake: treating an increase and a decrease of the same percentage as cancelling out. Take 80, raise it by 25% to get 100, then cut 20% to get 80. The numbers differ because each percentage is taken of a different base. Up 20% then down 20% ends at 96% of the start, not 100%.
Practice
Find 15% of 240. Then find the percentage change from 60 to 75. Then: after 20% off, a pair of shoes costs 64. What was the original price?
Show the steps and the answer
- 15% of 240: 0.15 × 240 = 36.
- Change from 60 to 75: (75 − 60) ÷ 60 = 15 ÷ 60 = 0.25, up 25%.
- 20% off means paying 80%, so original × 0.8 = 64. original = 64 ÷ 0.8 = 80.
Answers: 36, up 25%, 80.
5. Ratios and proportion
A ratio compares amounts. A ratio of 3:2 means for every 3 of one thing there are 2 of another. A proportion says two ratios are equal, which lets you scale.
How to do it
- Share a total in a ratio: (1) add the parts, (2) divide the total by that sum to get the size of one part, (3) multiply by each ratio number.
- Unit method: find the value of one unit, then multiply.
- Equal ratios: if a/b = c/d, then a × d = b × c (cross-multiply).
Example 1: share 30 in the ratio 3:2
- Parts: 3 + 2 = 5.
- One part: 30 ÷ 5 = 6.
- Shares: 3 × 6 = 18 and 2 × 6 = 12. Check: 18 + 12 = 30.
Example 2: 3 pens cost 12. How much do 5 pens cost?
- One pen: 12 ÷ 3 = 4.
- Five pens: 5 × 4 = 20.
Example 3: a car travels 150 km in 2 hours. How far in 5 hours at the same speed?
- Speed: 150 ÷ 2 = 75 km/h.
- Distance: 75 × 5 = 375 km.
Example 4: a map has the scale 1:50,000. Two towns are 3 cm apart on the map.
- 1 cm on the map is 50,000 cm on the ground.
- 3 cm is 150,000 cm.
- 100 cm is 1 m and 1000 m is 1 km, so divide by 100,000: 1.5 km.
Example 5: solve 3/x = 6/10
- Cross-multiply: 3 × 10 = 6 × x, so 30 = 6x.
- x = 30 ÷ 6 = 5.
Check yourself
3 pens cost 12. How much do 5 pens cost?
The usual mistake: dividing the total by one of the ratio numbers instead of by their sum. In 3:2 the total is split into 5 parts, not 3.
Practice
Split 60 in the ratio 1:2. Then: 4 apples cost 6, so what do 10 apples cost? Then solve 2/5 = x/20.
Show the steps and the answer
- Parts: 1 + 2 = 3. One part: 60 ÷ 3 = 20. Shares: 20 and 40.
- One apple: 6 ÷ 4 = 1.5. Ten apples: 15.
- Cross-multiply: 2 × 20 = 5 × x, so 40 = 5x and x = 8.
Answers: 20 and 40, 15, 8.
6. Order of operations
When an expression has several operations, the order decides the answer. You may see the rule called BODMAS or PEMDAS. It is the same rule.
Try it: order of operations
Work in this order: brackets, powers, multiply and divide (left to right), add and subtract (left to right). Pick an expression and step through it.
3 + 4 × 2
Multiplication comes before addition, so do 4 × 2 first.
How to do it
- Brackets first, innermost first.
- Then powers and roots.
- Then multiplication and division, left to right. They have equal rank.
- Then addition and subtraction, left to right. Also equal rank.
Rewrite the expression after each step so you never skip one in your head.
Example 1: 7 + 3 × 2² − 4
- Power: 2² = 4, giving 7 + 3 × 4 − 4.
- Multiply: 3 × 4 = 12, giving 7 + 12 − 4.
- Left to right: 7 + 12 = 19, then 19 − 4 = 15.
Example 2: (8 − 2) × 3 + 12 ÷ 4
- Bracket: 8 − 2 = 6, giving 6 × 3 + 12 ÷ 4.
- Multiply and divide: 18 + 3.
- Add: 21.
Example 3: 20 − 6 ÷ 2 × 3
- Divide and multiply have equal rank, so go left to right. 6 ÷ 2 = 3, giving 20 − 3 × 3.
- 3 × 3 = 9, giving 20 − 9.
- Subtract: 11.
Example 4: 2 × (3 + (4 − 1)²)
- Innermost bracket: 4 − 1 = 3, giving 2 × (3 + 3²).
- Power inside the bracket: 3² = 9, giving 2 × (3 + 9).
- Bracket: 12, giving 2 × 12.
- Multiply: 24.
The usual mistake: thinking multiplication always beats division. They have equal rank, so you go left to right. In Example 3, doing 2 × 3 first would give 20 − 1 = 19, which is wrong.
Practice
Work out 5 + 2 × 6, then (5 + 2) × 6, then 18 ÷ 3 × 2 + 4².
Show the steps and the answer
- 5 + 2 × 6: multiply first, 5 + 12 = 17.
- (5 + 2) × 6: bracket first, 7 × 6 = 42.
- 18 ÷ 3 × 2 + 4²: power gives 18 ÷ 3 × 2 + 16. Left to right: 6 × 2 = 12, then 12 + 16 = 28.
Answers: 17, 42, 28.
7. Exponents and roots
An exponent says how many times to multiply a number by itself: 2³ = 2 × 2 × 2 = 8. A root undoes it: √9 = 3 because 3² = 9.
How to do it
| Rule | Example |
|---|---|
| Same base, multiply: add the exponents | 2³ × 2² = 2⁵ = 32 |
| Same base, divide: subtract the exponents | 5⁶ ÷ 5⁴ = 5² = 25 |
| Power of a power: multiply the exponents | (2³)² = 2⁶ = 64 |
| Anything to the power 0 is 1 | 7⁰ = 1 |
| A negative exponent is a reciprocal | 2⁻¹ = 1/2 |
| A fractional exponent is a root | 9^(1/2) = √9 = 3 |
Example 1: 3⁴
- 3 × 3 = 9, × 3 = 27, × 3 = 81.
Example 2: 2³ × 2⁴
- Same base, add the exponents: 2⁷ = 128.
Example 3: 10⁻²
- A negative exponent flips it: 1 ÷ 10² = 1 ÷ 100 = 0.01.
Example 4: simplify √12
- Find the biggest square that divides 12. That is 4.
- √12 = √4 × √3 = 2√3, which is about 3.46.
Example 5: scientific notation
- 4,500,000 is 4.5 × 10⁶: the decimal point moves 6 places.
- 0.00032 is 3.2 × 10⁻⁴: the decimal point moves 4 places the other way.
Example 6: 8^(1/3)
- The 1/3 power is the cube root. 2 × 2 × 2 = 8, so the answer is 2.
Powers of 2 show up everywhere in computing: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 are 2¹ to 2¹⁰.
The usual mistake: −3² is −9, because the power is done first and the minus is applied after. (−3)² is 9.
Practice
Work out 4³, then 2⁵ × 2², then simplify √45.
Show the steps and the answer
- 4³ = 4 × 4 × 4 = 64.
- Same base, add the exponents: 2⁷ = 128.
- The biggest square dividing 45 is 9. √45 = √9 × √5 = 3√5, about 6.708.
Answers: 64, 128, 3√5.
8. Algebra
Algebra uses letters for unknown numbers. An equation is a balance: whatever you do to one side, you must do to the other.
How to do it
- Expand brackets and collect like terms on each side.
- Get the terms with x on one side and plain numbers on the other, by adding or subtracting the same thing on both sides.
- Divide both sides by the number in front of x.
- Put your answer back in the original equation to check.
Example 1: x + 7 = 15
- Subtract 7 from both sides: x = 8.
Example 2: 3x + 5 = 20
- Subtract 5 from both sides: 3x = 15.
- Divide both sides by 3: x = 5.
- Check: 3 × 5 + 5 = 20.
Example 3: x on both sides, 4x − 9 = 2x + 7
- Subtract 2x from both sides: 2x − 9 = 7.
- Add 9 to both sides: 2x = 16.
- Divide by 2: x = 8.
- Check: 4 × 8 − 9 = 23 and 2 × 8 + 7 = 23.
Example 4: brackets, 2(x + 3) = 18
- Multiply out: 2x + 6 = 18.
- Subtract 6: 2x = 12.
- Divide by 2: x = 6.
Example 5: turn a story into an equation
A phone plan costs 20 a month plus 5 per gigabyte. This month's bill is 65. How many gigabytes?
- Let g be the gigabytes. The bill is 20 + 5g = 65.
- Subtract 20: 5g = 45.
- Divide by 5: g = 9.
Multiplying out two brackets. Multiply every term in one by every term in the other: (x + 2)(x + 3) = x² + 3x + 2x + 6 = x² + 5x + 6.
Quadratic equations have an x² term. There are two ways to solve them.
Example 6: factor, x² − 5x + 6 = 0
- Find two numbers that multiply to +6 and add to −5. They are −2 and −3.
- So (x − 2)(x − 3) = 0.
- A product is zero only if one factor is zero, so x = 2 or x = 3.
Example 7: factor, x² + 2x − 8 = 0
- Two numbers that multiply to −8 and add to +2: they are 4 and −2.
- (x + 4)(x − 2) = 0, so x = −4 or x = 2.
Example 8: the formula, x² − 4x − 5 = 0
For ax² + bx + c = 0, the formula is x = (−b ± √(b² − 4ac)) ÷ 2a. Here a = 1, b = −4, c = −5.
- Inside the root: (−4)² − 4 × 1 × (−5) = 16 + 20 = 36. The root is 6.
- x = (4 ± 6) ÷ 2.
- x = 10 ÷ 2 = 5 or x = −2 ÷ 2 = −1.
The formula always works. Factoring is faster when the numbers are small.
The usual mistake: changing only one side of the equation.
Practice
Solve 5x − 3 = 22. Then 3(x − 2) = 15. Then x² − 7x + 12 = 0.
Show the steps and the answer
- Add 3: 5x = 25. Divide by 5: x = 5.
- Multiply out: 3x − 6 = 15. Add 6: 3x = 21. Divide by 3: x = 7.
- Two numbers that multiply to 12 and add to −7 are −3 and −4. So (x − 3)(x − 4) = 0, and x = 3 or x = 4.
Answers: 5, 7, and 3 or 4.
9. Geometry
| Shape | Area | Around the edge |
|---|---|---|
| Rectangle | length × width | 2 × (length + width) |
| Triangle | ½ × base × height | add the three sides |
| Circle | π × r² | 2 × π × r |
π is about 3.14159. For solids, the volume of a box is length × width × height, and a cylinder is π × r² × height.
How to do it
- Draw the shape and label what you know.
- Pick the formula that uses those numbers. Check the units: area is in square units, volume in cubic units.
- Substitute, calculate, and write the unit.
- For a shape made of parts, find each part and add or subtract.
Example 1: a rectangle 8 by 5
- Area: 8 × 5 = 40.
- Perimeter: 2 × (8 + 5) = 26.
Example 2: a triangle with base 6 and height 4
- ½ × 6 × 4 = 12.
Example 3: a circle with radius 5
- Area: π × 5² = 25π ≈ 78.54.
- Circumference: 2 × π × 5 = 10π ≈ 31.42.
Example 4: a 6 by 4 room with a 2 by 2 cupboard in one corner. How much floor is free?
- Whole room: 6 × 4 = 24.
- Cupboard: 2 × 2 = 4.
- Free floor: 24 − 4 = 20.
Example 5: a box 3 by 4 by 5
- Volume: 3 × 4 × 5 = 60.
Example 6: a cylinder with radius 2 and height 10
- π × 2² × 10 = 40π ≈ 125.66.
Example 7: angles in a triangle always add to 180°. Two angles are 50° and 60°.
- Third angle: 180 − 50 − 60 = 70°.
Pythagoras. In a right-angled triangle, the square on the longest side (the hypotenuse) equals the sum of the squares on the other two.
Example 8: legs 6 and 8, find the hypotenuse
- 6² + 8² = 36 + 64 = 100.
- Square root: 10.
Example 9: hypotenuse 13 and one leg 5, find the other leg
- The hypotenuse is on its own side: 13² = 5² + b², so 169 = 25 + b².
- b² = 144, so b = 12.
Example 10: distance between the points (1, 2) and (4, 6)
- Across: 4 − 1 = 3. Up: 6 − 2 = 4.
- These are the two legs of a right triangle: 3² + 4² = 25.
- Distance: 5.
A 5 m ladder with its foot 3 m from a wall reaches 4 m up, because 3² + 4² = 5².
The usual mistake: using the diameter where a formula wants the radius. The radius is half the diameter. A second one: when finding a leg, subtracting the squares (169 − 25), not adding.
Practice
Find the area of a circle with radius 3. Then the hypotenuse of a right triangle with legs 9 and 12. Then the volume of a box 2 by 3 by 7.
Show the steps and the answer
- π × 3² = 9π ≈ 28.27.
- 9² + 12² = 81 + 144 = 225. The root is 15.
- 2 × 3 × 7 = 42.
Answers: 9π (about 28.27), 15, 42.
10. Averages
- Mean: add everything and divide by how many there are.
- Median: the middle value when the numbers are in order.
- Mode: the value that appears most often.
How to do it
- Write the numbers in order, smallest to largest.
- Mean: add them all, divide by the count.
- Median: pick the middle one. With an even count, take the mean of the two middle ones.
- Mode: count repeats.
Example 1: the data 4, 8, 6, 5, 3, 8, 9
- In order: 3, 4, 5, 6, 8, 8, 9.
- Mean: 3 + 4 + 5 + 6 + 8 + 8 + 9 = 43. Divide by 7: about 6.14.
- Median: 7 values, so the 4th is the middle. It is 6.
- Mode: 8 appears twice, the rest once. The mode is 8.
Example 2: an even count, 2, 4, 6, 10
- The middle two are 4 and 6. Their mean is 5, so the median is 5.
Example 3: a weighted average. An exam counts 40% and coursework counts 60%. You scored 80 and 90.
- 0.4 × 80 + 0.6 × 90 = 32 + 54 = 86. A plain mean of 85 would be wrong, because the two parts do not count equally.
Example 4: why the choice matters. Take the salaries 20, 22, 23, 25 and 200 (in thousands). The mean is 290 ÷ 5 = 58. The median is 23. One very large value drags the mean up but barely moves the median.
Check yourself
Most salaries in a company are similar, but one person earns far more. Which average best describes a typical salary?
The usual mistake: forgetting to sort before picking the median.
Practice
Find the mean of 12, 15, 18, 20, 25. Then the median of 7, 3, 9, 1. Then: four test scores are 18, 22, 19, 21 and the mean of all five must be 20. What must the fifth be?
Show the steps and the answer
- 12 + 15 + 18 + 20 + 25 = 90. Divide by 5: 18.
- In order: 1, 3, 7, 9. The middle two are 3 and 7, whose mean is 5.
- Five scores with mean 20 add up to 100. The four known add to 80. The fifth is 20.
Answers: 18, 5, 20.
Part 2: Advanced topics
11. Functions and graphs
A function takes an input x and gives one output y. Writing f(x) = 2x + 1 means: take x, double it, add 1. A graph plots every pair. Two shapes cover most of school and everyday work:
- A line, y = mx + b. The slope m is how much y changes for each step in x. The number b is where the line crosses the y axis.
- A parabola, y = ax² + bx + c. It has a turning point and opens upward when a is positive.
Try it: graphs
A function turns an input x into an output y. The graph shows every pair. Move the sliders and watch the shape change.
y = x + 2
Slope 1: for every 1 step right, the line goes up 1. It crosses the y axis at 2 and the x axis at -2.
How to do it
- Evaluate: replace x with the number, then follow the order of operations.
- Slope between two points: (y₂ − y₁) ÷ (x₂ − x₁).
- Where a line crosses an axis: set y = 0 for the x intercept, set x = 0 for the y intercept.
- Vertex of a parabola: x = −b ÷ 2a, then put that x back into the function.
Example 1: f(x) = 2x + 1. Find f(3) and f(−2).
- f(3) = 2 × 3 + 1 = 7.
- f(−2) = 2 × (−2) + 1 = −3.
Example 2: slope between (1, 3) and (4, 9)
- Rise: 9 − 3 = 6. Run: 4 − 1 = 3.
- Slope: 6 ÷ 3 = 2.
Example 3: where does y = 2x − 6 cross the axes?
- y intercept: put x = 0, giving y = −6.
- x intercept: put y = 0, giving 2x = 6, so x = 3.
Example 4: the parabola y = x² − 4x + 3
- Vertex x: −(−4) ÷ (2 × 1) = 2.
- Vertex y: 2² − 4 × 2 + 3 = −1. The vertex is (2, −1).
- Roots (where y = 0): x² − 4x + 3 = 0 factors as (x − 1)(x − 3), so x = 1 and x = 3.
Example 5: a real function. A taxi charges 3 to start plus 2 per km. The fare is f(d) = 3 + 2d. For 7 km: f(7) = 3 + 14 = 17. The slope 2 is the price per km, and the 3 is the fixed start charge.
Practice
For f(x) = x² + 1, find f(−3). Then find the slope between (2, 5) and (6, 13). Then find the vertex of y = x² − 6x + 5.
Show the steps and the answer
- f(−3) = (−3)² + 1 = 9 + 1 = 10.
- Rise: 13 − 5 = 8. Run: 6 − 2 = 4. Slope: 2.
- Vertex x: 6 ÷ 2 = 3. Vertex y: 9 − 18 + 5 = −4. The vertex is (3, −4).
Answers: 10, 2, (3, −4).
12. Logarithms
A logarithm answers the question "what power gives this number?". Since 2³ = 8, log₂(8) = 3. It is the undo button for exponents.
How to do it
- Read log_b(N) as: "b to what power gives N?"
- The rules turn multiplication into addition:
- log(a × b) = log a + log b
- log(a ÷ b) = log a − log b
- log(aⁿ) = n × log a
- To solve b^x = N for an unknown exponent, take logs: x = log(N) ÷ log(b). A calculator has log (base 10) and ln (base e).
Example 1: log₂(8)
- 2 × 2 × 2 = 8, so the answer is 3.
Example 2: log₁₀(1000) and log₃(81)
- 10³ = 1000, so the first is 3.
- 3⁴ = 81, so the second is 4.
Example 3: log₅(1/25)
- 5⁻² = 1/25, so the answer is −2.
Example 4: the rules in use
- log₂(8 × 4) = log₂(32) = 5, which is 3 + 2.
- log₂(32 ÷ 4) = log₂(8) = 3, which is 5 − 2.
- log₂(8²) = log₂(64) = 6, which is 2 × 3.
Example 5: solve 2^x = 50
- Take logs: x = log(50) ÷ log(2).
- 1.699 ÷ 0.301 is about 5.64.
- Check: 2⁵ = 32 and 2⁶ = 64, and 50 sits between them.
Example 6: how long to double money at 7% a year?
- Solve 1.07ⁿ = 2, so n = log(2) ÷ log(1.07).
- 0.30103 ÷ 0.02938 is about 10.24 years.
- The rule of 72 gives 72 ÷ 7 ≈ 10.3, which agrees.
Example 7: logarithms count doublings. Binary search on 1,000,000 sorted items needs about 20 steps, because log₂(1,000,000) is about 19.93. Doubling the number of items adds just one more step.
The usual mistake: log(a + b) is not log(a) + log(b). Only multiplication turns into addition.
Check yourself
What is log₂(64)?
Practice
Work out log₂(16), then log₁₀(0.01), then log₂(4 × 8) using the rule.
Show the steps and the answer
- 2⁴ = 16, so the answer is 4.
- 10⁻² = 0.01, so the answer is −2.
- log₂(4) + log₂(8) = 2 + 3 = 5. Check: 4 × 8 = 32 and 2⁵ = 32.
Answers: 4, −2, 5.
13. Trigonometry
For a right-angled triangle, with an angle marked, the three ratios are:
- sine = opposite ÷ hypotenuse
- cosine = adjacent ÷ hypotenuse
- tangent = opposite ÷ adjacent
The unit circle shows them as positions. Walk around a circle of radius 1 and the point's horizontal position is cos, and its vertical position is sin.
Try it: sine and cosine on the unit circle
Walk a point around a circle of radius 1. Its horizontal position is the cosine of the angle and its vertical position is the sine.
- angle = 40° = 0.698 radians
- cos = 0.766 (horizontal) sin = 0.643 (vertical)
- tan = sin / cos = 0.839
Where the exact values come from. Two triangles give every value you need. Draw them once and read the ratios off the sides.
The values to remember
| Angle | Radians | sin | cos | tan |
|---|---|---|---|---|
| 0° | 0 | 0 | 1 | 0 |
| 30° | π/6 | 1/2 (0.5) | √3/2 (0.866) | 1/√3 (0.577) |
| 45° | π/4 | √2/2 (0.707) | √2/2 (0.707) | 1 |
| 60° | π/3 | √3/2 (0.866) | 1/2 (0.5) | √3 (1.732) |
| 90° | π/2 | 1 | 0 | undefined |
Two ways to rebuild this table from memory:
- The counting trick for sine: the sines of 0°, 30°, 45°, 60°, 90° are √0/2, √1/2, √2/2, √3/2, √4/2, which are 0, 0.5, 0.707, 0.866, 1. Cosine is the same list backwards.
- Tangent is sine divided by cosine. At 90° the cosine is 0, and dividing by zero is not allowed, so tan 90° is undefined.
Beyond 90°. Angles go all the way round. The size of sin, cos and tan repeats from the first quarter, and only the sign changes, depending on which quarter the angle is in.
| Quarter | Angles | Positive ones |
|---|---|---|
| 1 | 0° to 90° | sin, cos, tan (all) |
| 2 | 90° to 180° | sin only |
| 3 | 180° to 270° | tan only |
| 4 | 270° to 360° | cos only |
A memory aid for the quarters in order is "All Students Take Calculus": All, Sine, Tangent, Cosine. To find the value, find the matching angle in the first quarter, then apply the sign.
How to do it
- Mark the angle you are using. Label the three sides from that angle: opposite, adjacent, hypotenuse.
- Pick the ratio that uses the two sides you care about. A memory aid is SOH CAH TOA: Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, Tangent is Opposite over Adjacent.
- To find a side, rearrange. To find an angle, use the inverse button (sin⁻¹, cos⁻¹, tan⁻¹).
- Check the calculator is in degrees mode if the angle is in degrees.
Example 1: a 3-4-5 triangle. The angle at the bottom left has opposite side 3, adjacent side 4, hypotenuse 5.
- sin = 3/5 = 0.6, cos = 4/5 = 0.8, tan = 3/4 = 0.75.
- The angle itself: sin⁻¹(0.6) ≈ 36.87°.
Example 2: how high does a ladder reach? A 5 m ladder leans at 70° to the ground.
- The height is opposite the angle and the ladder is the hypotenuse, so use sine.
- height = 5 × sin 70° = 5 × 0.9397 ≈ 4.70 m.
- The foot is adjacent: 5 × cos 70° = 5 × 0.3420 ≈ 1.71 m from the wall.
Example 3: find an angle. A ramp rises 30 over a run of 40.
- Opposite 30, adjacent 40, so use tangent: tan θ = 30 ÷ 40 = 0.75.
- θ = tan⁻¹(0.75) ≈ 36.87°.
Example 4: degrees and radians. A half turn is 180° or π radians. To convert, multiply degrees by π ÷ 180.
- 90° = π/2 radians, about 1.571.
- 60° = π/3 radians, about 1.047.
- Going back: 2 radians × 180 ÷ π ≈ 114.59°.
Programming languages, including JavaScript and Java, expect radians in Math.sin and Math.cos.
Example 5: a value beyond 90°, sin 150°
- 150° is in the second quarter, where sine is positive.
- The matching first-quarter angle is 180° − 150° = 30°.
- sin 150° = sin 30° = 0.5.
Example 6: cos 120°
- 120° is in the second quarter, where cosine is negative.
- The matching angle is 180° − 120° = 60°.
- cos 120° = −cos 60° = −0.5.
Example 7: tan 225°
- 225° is in the third quarter, where tangent is positive.
- The matching angle is 225° − 180° = 45°.
- tan 225° = tan 45° = 1.
Example 8: the diagonal of a square. A square has side 4. The diagonal cuts it into two 45, 45, 90 triangles, so the diagonal is the side times √2.
- 4 × √2 ≈ 5.66.
The usual mistake: feeding degrees to a function that expects radians, or leaving the calculator in the wrong mode.
Practice
A right triangle has hypotenuse 10 and an angle of 30°. How long is the side opposite that angle? Then: if tan θ = 1, what is θ? Then: how many radians is 180°?
Show the steps and the answer
- Opposite and hypotenuse, so sine. 10 × sin 30° = 10 × 0.5 = 5.
- tan⁻¹(1) = 45°. The opposite and adjacent sides are equal.
- 180 × π ÷ 180 = π radians.
Answers: 5, 45°, π.
Practice
Without a calculator, work out sin 60° × cos 30°. Then cos 120°. Then: a 30, 60, 90 triangle has its shortest side equal to 5. What are the other two sides?
Show the steps and the answer
- sin 60° = √3/2 and cos 30° = √3/2. Multiply: (√3 × √3) ÷ (2 × 2) = 3/4.
- 120° is in the second quarter, so cosine is negative. The matching angle is 60°, so cos 120° = −cos 60° = −1/2.
- In the 30, 60, 90 triangle the sides are in the ratio 1 : √3 : 2. Scale by 5: the other leg is 5√3, about 8.66, and the hypotenuse is 10.
Answers: 3/4, −1/2, 5√3 (about 8.66) and 10.
14. Calculus
Calculus has two halves.
The derivative is the rate of change: the slope of a curve at one point. If position is a function of time, its derivative is speed.
Try it: the derivative as a slope
The derivative is the slope of a curve at one point. Take two points on y = x², draw the line through them, and move the second point closer. The slope settles on one number.
- slope of the secant line = (f(2) − f(1)) / 1 = 3
- true slope at x = 1, from the rule d/dx x² = 2x: 2
The secant slope is always 2x + h. As h shrinks to 0, it becomes 2x. That limit is the derivative.
How to find a derivative
A few rules cover most cases:
| Function | Derivative |
|---|---|
| a constant, such as 7 | 0 |
| 5x | 5 |
| x² | 2x |
| x³ | 3x² |
| sin x | cos x |
- Power rule: bring the exponent down in front and subtract 1 from the exponent. The derivative of xⁿ is n × xⁿ⁻¹.
- A number in front stays put: the derivative of 5x³ is 5 × 3x² = 15x².
- Take each term of a sum separately.
Example 1: x⁴
- Bring down 4, reduce the exponent to 3: 4x³.
Example 2: 3x² + 5x − 7
- 3x² gives 3 × 2x = 6x.
- 5x gives 5.
- The constant −7 gives 0.
- Together: 6x + 5.
Example 3: slope of y = x² at x = 3
- The derivative is 2x.
- At x = 3 it is 6. The curve rises 6 for each step right at that point.
Example 4: speed from position. A car's position is s = t² + 2t (metres, with t in seconds).
- Speed is the derivative: v = 2t + 2.
- At t = 4: v = 10 m/s.
Example 5: finding the lowest point. Where is x² − 6x + 5 smallest?
- At the bottom of the curve the slope is zero. The derivative is 2x − 6.
- Set it to zero: 2x − 6 = 0, so x = 3.
- Value there: 9 − 18 + 5 = −4. The minimum is −4, at x = 3.
This is how optimisation works: set the derivative to zero to find the best value.
The integral is the area under a curve. If speed is a function of time, its integral is distance. Driving at a steady 60 km/h for 2 hours gives a rectangle of area 120, which is 120 km.
Try it: the integral as area
The integral is the area under a curve. Estimate it with thin rectangles. More rectangles mean a better estimate.
- sum of 3 rectangles = 5
- exact area under y = x² from 0 to 3 = 9 (the antiderivative x³/3 gives 27/3)
How to find an integral
- Reverse the power rule: add 1 to the exponent and divide by the new exponent. The integral of xⁿ is xⁿ⁺¹ ÷ (n + 1), plus a constant C.
- For the area between a and b, put b into the result, then a, and subtract: F(b) − F(a). The constant cancels.
Example 6: the integral of x²
- Add 1 to the exponent: x³. Divide by 3: x³/3 + C.
Example 7: the area under x² from 0 to 3
- F(x) = x³/3.
- F(3) = 27/3 = 9. F(0) = 0.
- Area: 9 − 0 = 9.
Example 8: the area under 2x from 1 to 4
- F(x) = x² (since the derivative of x² is 2x).
- F(4) − F(1) = 16 − 1 = 15.
Example 9: distance from speed. A runner's speed is v = 2t m/s for the first 5 seconds. Distance is the area under that line.
- F(t) = t².
- F(5) − F(0) = 25.
- Check with a triangle: ½ × 5 × 10 = 25.
The two halves undo each other: the derivative of the area function gives back the original curve.
Check yourself
What is the derivative of x³?
The usual mistake: forgetting to subtract 1 from the exponent when differentiating, or forgetting to divide by the new exponent when integrating.
Practice
Differentiate 5x³ − 2x. Then find the area under 3x² from 0 to 2. Then find the minimum of x² − 4x.
Show the steps and the answer
- 5x³ gives 15x². −2x gives −2. Result: 15x² − 2.
- F(x) = x³ (derivative of x³ is 3x²). F(2) − F(0) = 8 − 0 = 8.
- Derivative 2x − 4 = 0 gives x = 2. Value: 4 − 8 = −4. Minimum −4 at x = 2.
Answers: 15x² − 2, 8, minimum −4 at x = 2.
15. Vectors and matrices
A vector is a list of numbers that you can picture as an arrow, with a length and a direction.
How to do it with vectors
- Add: add the matching parts.
- Scale: multiply every part by the number.
- Length: square the parts, add, take the root.
- Dot product: multiply matching parts and add. If the result is 0, the vectors are perpendicular.
Example 1: (2, 3) + (4, −1)
- (2 + 4, 3 + (−1)) = (6, 2).
Example 2: 3 × (2, −1)
- (6, −3).
Example 3: the length of (5, 12)
- 25 + 144 = 169. The root is 13.
Example 4: the dot product (1, 2) · (3, 4)
- 1 × 3 + 2 × 4 = 3 + 8 = 11.
Example 5: are (2, 3) and (3, −2) perpendicular?
- 2 × 3 + 3 × (−2) = 6 − 6 = 0. Yes.
Example 6: the angle between (1, 0) and (1, 1)
- Dot product: 1.
- Lengths: 1 and √2.
- cos θ = 1 ÷ √2 ≈ 0.707, so θ = 45°.
Matrices. A matrix is a grid of numbers. A 2 × 2 matrix transforms every point on a plane: it can rotate, stretch, shear or mirror a shape. Try it.
Try it: a matrix moves every point
A 2 × 2 matrix turns each point (x, y) into a new point: x′ = a·x + b·y and y′ = c·x + d·y. Pick one, or type your own numbers, and watch the letter F move.
Determinant a·d − b·c = 1. Areas are multiplied by 1.
How to multiply a matrix by a vector
- Each row of the matrix is dotted with the vector.
- The results become the new vector.
Example 7: stretch. The matrix [[2, 0], [0, 3]] times (4, 5).
- Row 1: 2 × 4 + 0 × 5 = 8. Row 2: 0 × 4 + 3 × 5 = 15. Result: (8, 15). The x part doubled and the y part tripled.
Example 8: rotate. The matrix [[0, −1], [1, 0]] times (1, 0).
- Row 1: 0 × 1 + (−1) × 0 = 0. Row 2: 1 × 1 + 0 × 0 = 1. Result: (0, 1).
- The point (1, 0) moved to (0, 1): a 90 degree turn counter-clockwise.
Matrix times matrix. Each entry is a row dotted with a column.
Example 9: [[1, 2], [3, 4]] times [[0, 1], [1, 0]]
- Top left: row (1, 2) with column (0, 1): 0 + 2 = 2.
- Top right: row (1, 2) with column (1, 0): 1 + 0 = 1.
- Bottom left: row (3, 4) with column (0, 1): 0 + 4 = 4.
- Bottom right: row (3, 4) with column (1, 0): 3 + 0 = 3.
- Result: [[2, 1], [4, 3]]. The columns of the first matrix were swapped.
The determinant says how much areas are scaled. For [[a, b], [c, d]] it is a × d − b × c. A determinant of 0 means the shape is flattened and cannot be recovered.
Example 10: [[3, 1], [2, 4]]
- 3 × 4 − 1 × 2 = 12 − 2 = 10. Areas grow by a factor of 10.
This is the maths behind 2D and 3D graphics, and machine learning stores its data as vectors and matrices.
The usual mistake: assuming the order of multiplication does not matter. It does. With A = [[1, 1], [0, 1]] and B = [[1, 0], [1, 1]], the product AB is [[2, 1], [1, 1]] but BA is [[1, 1], [1, 2]].
Practice
Add (3, 4) and (−1, 2). Then find the length of (6, 8). Then find the dot product (2, 5) · (4, −1).
Show the steps and the answer
- (3 + (−1), 4 + 2) = (2, 6).
- 36 + 64 = 100. The root is 10.
- 2 × 4 + 5 × (−1) = 8 − 5 = 3.
Answers: (2, 6), 10, 3.
16. Probability and statistics
Probability is a number from 0 to 1: favourable outcomes divided by all outcomes.
How to do it
- List the equally likely outcomes and count them.
- Count the ones you want. Probability is wanted ÷ total.
- Independent events: multiply. "And" means multiply.
- "At least one": work out the chance of none, and subtract it from 1.
- Without replacement: the total shrinks after each pick.
Example 1: rolling an even number on a die
- Even: 2, 4, 6 is 3 outcomes out of 6. Probability 1/2.
Example 2: two dice add up to 7
- Total outcomes: 6 × 6 = 36.
- Ways to make 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) is 6.
- Probability: 6/36 = 1/6.
Example 3: two heads in a row
- 1/2 × 1/2 = 1/4. Three heads: 1/2 × 1/2 × 1/2 = 1/8.
Try it: flip a fair coin
Probability is favourable outcomes divided by all outcomes: 1 head out of 2 sides is 1/2. A short run can be far off. A long run settles near 1/2.
heads 0 of 0 flips = 0 (dashed line: 0.5)
Example 4: at least one head in two flips
- The chance of no heads (two tails) is 1/4.
- At least one head: 1 − 1/4 = 3/4.
Example 5: without replacement. A bag holds 3 red and 2 blue balls. You draw two. What is the chance both are red?
- First red: 3/5.
- One red is gone, 4 balls left, 2 red. Second red: 2/4.
- Both: 3/5 × 2/4 = 6/20 = 3/10.
Expected value is the average result over many tries: each outcome times its probability, added up.
Example 6: a die. (1 + 2 + 3 + 4 + 5 + 6) ÷ 6 = 3.5, a value you can never roll but which the average approaches.
Example 7: a game. You win 6 if you roll a 6 and nothing otherwise. Expected value: 1/6 × 6 + 5/6 × 0 = 1. Paying 2 to play loses money on average.
The standard deviation measures how spread out values are around the mean.
How to do it
- Find the mean.
- Subtract the mean from each value and square each result.
- Average those squares. This is the variance.
- Take the square root. This is the standard deviation.
Example 8: the data 2, 4, 4, 4, 5, 5, 7, 9
- Mean: 40 ÷ 8 = 5.
- Differences squared: 9, 1, 1, 1, 0, 0, 4, 16. Sum: 32.
- Variance: 32 ÷ 8 = 4.
- Standard deviation: the root of 4 is 2.
For data shaped like a bell curve, about 68% of values fall within one standard deviation of the mean and about 95% within two.
Probability often surprises people. Try the classic example.
Try it: the birthday problem
How likely is it that two people in a group share a birthday? It is easier to find the chance that nobody does (multiply 365/365 × 364/365 × 363/365 ...) and subtract from 1.
Chance of a shared birthday: 50.7%
With only 23 people it already passes 50%, which surprises most people.
The usual mistake: thinking a streak changes the next outcome. A fair coin that has landed heads five times still lands heads with probability 1/2 next time.
Check yourself
A fair coin has landed heads 5 times in a row. What is the probability of heads on the next flip?
Practice
A die is rolled. What is the chance of a number greater than 4? Then: the chance of two tails in two flips? Then: a coin game pays 10 on heads and costs 4 on tails. What is the expected value per flip?
Show the steps and the answer
- Numbers greater than 4 are 5 and 6, so 2 out of 6 = 1/3.
- 1/2 × 1/2 = 1/4.
- 1/2 × 10 + 1/2 × (−4) = 5 − 2 = 3 per flip.
Answers: 1/3, 1/4, 3.
17. Counting
Counting methods tell you how many arrangements exist without listing them.
How to do it
- Independent steps: multiply the number of choices at each step.
- Arrangements of n different things: n! = n × (n − 1) × ... × 1.
- For picking k things out of n, ask whether order matters:
- Permutations (order matters, like gold, silver and bronze): n! ÷ (n − k)!
- Combinations (order does not matter, like a team): n! ÷ (k! × (n − k)!)
Example 1: an outfit. 3 shirts, 4 trousers, 2 pairs of shoes.
- 3 × 4 × 2 = 24 outfits.
Example 2: a plate with 3 letters then 3 digits
- 26 × 26 × 26 × 10 × 10 × 10 = 17,576,000.
Example 3: a 4-digit PIN
- 10 × 10 × 10 × 10 = 10,000.
Example 4: lining up 4 people
- 4 × 3 × 2 × 1 = 4! = 24.
Example 5: first, second and third prize among 5 people. Order matters.
- 5 × 4 × 3 = 60. By the formula: 5! ÷ 2! = 120 ÷ 2 = 60.
Example 6: a team of 2 from 6 people. Order does not matter.
- Permutations first: 6 × 5 = 30.
- Each pair was counted twice (A then B, B then A), so divide by 2! = 2.
- 30 ÷ 2 = 15.
Example 7: the lottery. Choose 6 numbers from 49.
- C(49, 6) = 49! ÷ (6! × 43!) = 13,983,816. One ticket wins with probability 1 in about 14 million.
Try it: counting arrangements
Pick k things from n. If the order matters (gold, silver, bronze) it is a permutation. If it does not (a team) it is a combination.
order matters: n! / (n − k)!
720
order does not matter: n! / (k! (n − k)!)
120
Choosing a team of 3 from 10 people has 120 combinations. Giving out three ranked prizes among the same 10 has 720 permutations. The same idea explains passwords: 8 characters from the 62 letters and digits give 62⁸, about 2.2 × 10¹⁴ possibilities.
The usual mistake: using permutations when order does not matter, which overcounts.
Practice
Work out 5!. Then the number of teams of 3 from 8 people. Then: how many 3-letter codes can be made from the letters A to E, with no repeated letter, and with repeats allowed?
Show the steps and the answer
- 5 × 4 × 3 × 2 × 1 = 120.
- Order does not matter: 8 × 7 × 6 ÷ (3 × 2 × 1) = 336 ÷ 6 = 56.
- No repeats: 5 × 4 × 3 = 60. With repeats: 5 × 5 × 5 = 125.
Answers: 120, 56, 60 and 125.
Reference tables
Keep these open while you work. Everything here is checked against a calculation, not copied from memory.
Times table, 1 to 12
Try it: times table, 1 to 12
Pick a number to highlight its row and column. Every product appears twice, because a × b = b × a.
7×1=7 7×2=14 7×3=21 7×4=28 7×5=35 7×6=42 7×7=49 7×8=56 7×9=63 7×10=70 7×11=77 7×12=84
| × | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 2 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 |
| 3 | 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 | 33 | 36 |
| 4 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 |
| 5 | 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 |
| 6 | 6 | 12 | 18 | 24 | 30 | 36 | 42 | 48 | 54 | 60 | 66 | 72 |
| 7 | 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 | 77 | 84 |
| 8 | 8 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 88 | 96 |
| 9 | 9 | 18 | 27 | 36 | 45 | 54 | 63 | 72 | 81 | 90 | 99 | 108 |
| 10 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 |
| 11 | 11 | 22 | 33 | 44 | 55 | 66 | 77 | 88 | 99 | 110 | 121 | 132 |
| 12 | 12 | 24 | 36 | 48 | 60 | 72 | 84 | 96 | 108 | 120 | 132 | 144 |
Squares and cubes
| n | n² | n³ |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 4 | 8 |
| 3 | 9 | 27 |
| 4 | 16 | 64 |
| 5 | 25 | 125 |
| 6 | 36 | 216 |
| 7 | 49 | 343 |
| 8 | 64 | 512 |
| 9 | 81 | 729 |
| 10 | 100 | 1000 |
| 11 | 121 | 1331 |
| 12 | 144 | 1728 |
| 13 | 169 | 2197 |
| 14 | 196 | 2744 |
| 15 | 225 | 3375 |
Prime numbers up to 100
There are 25 of them: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.
2 is the only even prime. To test whether a number up to 100 is prime, check whether 2, 3, 5 or 7 divides it. If none does, it is prime.
Divisibility rules
| Divisible by | Rule | Example |
|---|---|---|
| 2 | Last digit is even | 346 |
| 3 | The digits add up to a multiple of 3 | 123: 1 + 2 + 3 = 6 |
| 4 | The last two digits form a multiple of 4 | 316: 16 is 4 × 4 |
| 5 | Ends in 0 or 5 | 785 |
| 6 | Divisible by both 2 and 3 | 72 |
| 8 | The last three digits form a multiple of 8 | 1,024: 24 is 8 × 3 |
| 9 | The digits add up to a multiple of 9 | 729: 7 + 2 + 9 = 18 |
| 10 | Ends in 0 | 450 |
| 11 | Subtract and add the digits alternately and get 0 or a multiple of 11 | 121: 1 − 2 + 1 = 0 |
Powers of 2
| Power | Value | Where you meet it |
|---|---|---|
| 2⁰ to 2¹⁰ | 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 | bits, sizes, binary search |
| 2¹⁶ | 65,536 | the number of 16-bit values |
| 2²⁰ | 1,048,576 | about a million |
| 2³² | 4,294,967,296 | the number of 32-bit values |
Degrees and radians
The wheel in the trigonometry section shows these on a circle. Multiply degrees by π ÷ 180 to get radians, and radians by 180 ÷ π to get degrees.
| Degrees | Radians (exact) | Radians (decimal) |
|---|---|---|
| 30° | π/6 | 0.524 |
| 45° | π/4 | 0.785 |
| 60° | π/3 | 1.047 |
| 90° | π/2 | 1.571 |
| 120° | 2π/3 | 2.094 |
| 135° | 3π/4 | 2.356 |
| 150° | 5π/6 | 2.618 |
| 180° | π | 3.142 |
| 270° | 3π/2 | 4.712 |
| 360° | 2π | 6.283 |
Fractions, decimals and percentages
| Fraction | Decimal | Percentage |
|---|---|---|
| 1/2 | 0.5 | 50% |
| 1/3 | 0.333... | 33.3% |
| 2/3 | 0.667 | 66.7% |
| 1/4 | 0.25 | 25% |
| 3/4 | 0.75 | 75% |
| 1/5 | 0.2 | 20% |
| 1/8 | 0.125 | 12.5% |
| 3/8 | 0.375 | 37.5% |
| 1/10 | 0.1 | 10% |
| 1/20 | 0.05 | 5% |
Common unit conversions
| Quantity | Conversion |
|---|---|
| Length | 1 km = 1000 m, 1 m = 100 cm, 1 cm = 10 mm |
| Mass | 1 kg = 1000 g |
| Volume | 1 L = 1000 mL |
| Time | 1 hour = 60 minutes = 3600 seconds |
| Inches | 1 inch = 2.54 cm exactly |
| Miles | 1 mile is about 1.609 km |
The mistakes in one table
| Mistake | What is true |
|---|---|
| 1/2 + 1/3 = 2/5 | It is 5/6: make the bottoms equal first |
| 5 − (−3) = 2 | It is 8: two minus signs cancel |
| The LCM uses the lowest powers of the primes | That is the HCF. The LCM uses the highest powers |
| +20% then −20% returns to the start | It ends lower, at 96% of the start |
| −3² = 9 | It is −9. Only (−3)² is 9 |
| log(a + b) = log a + log b | Only log(a × b) = log a + log b |
| AB = BA for matrices | Order matters |
| After five heads, tails is due | Each flip is independent |
| Degrees into a radians function | Convert: radians = degrees × π ÷ 180 |
| The mean always shows the typical value | Outliers move it. Check the median too |
Formula sheet
Every formula from the post in one place, grouped by topic, with a small example for each so you can see what the letters stand for. The examples were checked with a calculation.
Fractions, percentages and ratios
| What | Formula | Example |
|---|---|---|
| Add fractions | a/b + c/d = (a × d + c × b) ÷ (b × d) | 1/2 + 1/3 = (3 + 2) ÷ 6 = 5/6 |
| Multiply fractions | a/b × c/d = (a × c) ÷ (b × d) | 2/3 × 3/5 = 6/15 = 2/5 |
| Divide fractions | a/b ÷ c/d = (a × d) ÷ (b × c) | 3/4 ÷ 2/5 = 15/8 |
| HCF and LCM | HCF × LCM = a × b | 6 × 36 = 12 × 18 |
| Percentage of a number | p ÷ 100 × N | 20% of 150 = 30 |
| Increase or decrease by p% | new = old × (1 ± p ÷ 100) | 80 + 13% = 80 × 1.13 = 90.40 |
| Percentage change | (new − old) ÷ old × 100 | 50 to 65: 15 ÷ 50 = 30% |
| Simple interest | I = P × r × t ÷ 100 | 1000 at 5% for 2 years: 100 |
| Compound interest | A = P × (1 + r ÷ 100)ⁿ | 1000 at 5% for 2 years: 1102.50 |
| Compound, paid k times a year | A = P × (1 + r ÷ k)^(k × t), r as a decimal | 1000 at 6%, monthly, 1 year: 1061.68 |
| Doubling time, rule of 72 | years ≈ 72 ÷ rate in % | at 8%: about 9 years |
| Share a total in a ratio | part = total × ratio number ÷ sum of ratio numbers | 30 in 3:2: 30 × 3 ÷ 5 = 18 |
| Speed | speed = distance ÷ time | 150 km in 2 h: 75 km/h |
| Average speed | total distance ÷ total time | 120 km each way at 60 and 40 km/h: 240 ÷ 5 = 48 km/h |
| Mean | sum ÷ count | 4, 8, 6, 5, 3, 8, 9: 43 ÷ 7 |
| Weighted mean | sum of (weight × value) ÷ sum of weights | (2 × 80 + 3 × 90) ÷ 5 = 86 |
The average speed row is a trap: the answer is not the mean of 60 and 40, because you spend longer at the slower speed.
Exponents and logarithms
| What | Formula | Example |
|---|---|---|
| Multiply, same base | aᵐ × aⁿ = aᵐ⁺ⁿ | 2³ × 2⁴ = 2⁷ = 128 |
| Divide, same base | aᵐ ÷ aⁿ = aᵐ⁻ⁿ | 5⁶ ÷ 5⁴ = 25 |
| Power of a power | (aᵐ)ⁿ = aᵐ×ⁿ | (2³)² = 64 |
| Power of a product | (a × b)ⁿ = aⁿ × bⁿ | (2 × 3)³ = 8 × 27 = 216 |
| Zero and negative powers | a⁰ = 1 and a⁻ⁿ = 1 ÷ aⁿ | 10⁻² = 0.01 |
| Roots as powers | a^(1/n) is the nth root of a | 8^(1/3) = 2 |
| Root of a product | √(a × b) = √a × √b | √36 = √4 × √9 = 6 |
| What a log means | log_b(x) = y means bʸ = x | log₂(8) = 3 |
| Log of a product | log(x × y) = log x + log y | log₂(8 × 4) = 3 + 2 = 5 |
| Log of a quotient | log(x ÷ y) = log x − log y | log₂(32 ÷ 4) = 5 − 2 = 3 |
| Log of a power | log(xⁿ) = n × log x | log₂(8²) = 2 × 3 = 6 |
| Special values | log_b(b) = 1 and log_b(1) = 0 | log₁₀(10) = 1 |
| Change of base | log_b(x) = log(x) ÷ log(b) | log₂(50) = ln 50 ÷ ln 2 ≈ 5.64 |
Algebra, quadratics and sequences
| What | Formula | Example |
|---|---|---|
| Square of a sum | (a + b)² = a² + 2ab + b² | (x + 3)² at x = 7: 100 |
| Square of a difference | (a − b)² = a² − 2ab + b² | (7 − 3)² = 49 − 42 + 9 = 16 |
| Difference of squares | a² − b² = (a − b)(a + b) | 7² − 3² = 4 × 10 = 40 |
| Cube of a sum | (a + b)³ = a³ + 3a²b + 3ab² + b³ | (2 + 1)³ = 8 + 12 + 6 + 1 = 27 |
| Quadratic formula | x = (−b ± √(b² − 4ac)) ÷ 2a | x² − 4x − 5 = 0 gives 5 and −1 |
| Discriminant | D = b² − 4ac: positive means two roots, zero means one, negative means none | x² − 4x − 5: D = 36, two roots |
| Sum and product of roots | sum = −b ÷ a, product = c ÷ a | x² − 5x + 6: roots 2 and 3, sum 5, product 6 |
| Vertex of a parabola | x = −b ÷ 2a | x² − 4x + 3: x = 2 |
| Arithmetic sequence, nth term | a + (n − 1) × d | 1, 4, 7, ...: the 10th is 1 + 9 × 3 = 28 |
| Arithmetic sequence, sum | n ÷ 2 × (first + last) | 1 to 100: 50 × 101 = 5050 |
| Geometric sequence, nth term | a × rⁿ⁻¹ | 2, 4, 8, ...: the 5th is 2 × 2⁴ = 32 |
| Geometric sequence, sum | a × (rⁿ − 1) ÷ (r − 1) | 2 + 4 + 8 + 16 + 32 = 62 |
| Infinite geometric sum | a ÷ (1 − r), when r is between −1 and 1 | 1 + 1/2 + 1/4 + ... = 2 |
Geometry: shapes
| What | Formula | Example |
|---|---|---|
| Rectangle | area = l × w, perimeter = 2 × (l + w) | 8 by 5: 40 and 26 |
| Square | area = s², diagonal = s × √2 | s = 4: 16 and about 5.66 |
| Triangle | area = ½ × b × h | b = 6, h = 4: 12 |
| Triangle from three sides (Heron) | s = (a + b + c) ÷ 2, area = √(s × (s − a) × (s − b) × (s − c)) | 3, 4, 5: s = 6, area = √36 = 6 |
| Parallelogram | area = base × height | 8 by 5: 40 |
| Trapezium | area = ½ × (a + b) × h | a = 5, b = 9, h = 4: 28 |
| Circle | area = π × r², circumference = 2 × π × r | r = 5: 78.54 and 31.42 |
| Arc and sector, angle θ in radians | arc = r × θ, area = ½ × r² × θ | r = 6, θ = π/3: arc 2π, area 6π |
| Angles in a polygon | sum = (n − 2) × 180°, each angle in a regular one = sum ÷ n | hexagon: 720° and 120° |
| Pythagoras | a² + b² = c² | 6, 8, 10 |
Geometry: solids
| What | Formula | Example |
|---|---|---|
| Box | V = l × w × h, surface = 2 × (lw + lh + wh) | 3 by 4 by 5: 60 and 94 |
| Cube | V = s³, surface = 6 × s² | s = 4: 64 and 96 |
| Prism | V = base area × length | triangle with legs 3 and 4, length 10: 6 × 10 = 60 |
| Cylinder | V = π × r² × h, total surface = 2 × π × r × (r + h) | r = 2, h = 10: 40π and 48π |
| Cone | V = ⅓ × π × r² × h | r = 3, h = 4: 12π, about 37.70 |
| Pyramid | V = ⅓ × base area × h | 6 by 6 base, h = 5: 60 |
| Sphere | V = 4/3 × π × r³, surface = 4 × π × r² | r = 3: 36π (about 113.10) and 36π |
Coordinates and lines
| What | Formula | Example |
|---|---|---|
| Distance between two points | √((x₂ − x₁)² + (y₂ − y₁)²) | (1, 2) to (4, 6): 5 |
| Midpoint | ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2) | (1, 2) and (5, 10): (3, 6) |
| Slope | m = (y₂ − y₁) ÷ (x₂ − x₁) | (1, 3) and (4, 9): 2 |
| Equation of a line | y = m × x + c | slope 2 through (0, −6): y = 2x − 6 |
| Line through a point | y − y₁ = m × (x − x₁) | slope 2 through (1, 3): y = 2x + 1 |
| Parallel and perpendicular | parallel: equal slopes. perpendicular: m₁ × m₂ = −1 | slope 2 and slope −1/2 |
| Circle | (x − h)² + (y − k)² = r² | centre (1, 2), radius 5 passes through (4, 6) |
Trigonometry
| What | Formula | Example |
|---|---|---|
| The three ratios | sin = O ÷ H, cos = A ÷ H, tan = O ÷ A | 3-4-5: sin = 0.6, cos = 0.8, tan = 0.75 |
| Tangent from the others | tan θ = sin θ ÷ cos θ | tan 45° = 1 |
| The identity | sin² θ + cos² θ = 1 | 0.25 + 0.75 = 1 at 30° |
| Complementary angles | sin(90° − θ) = cos θ | sin 60° = cos 30° |
| Double angle | sin 2θ = 2 × sin θ × cos θ | sin 60° = 2 × 0.5 × 0.866 |
| Double angle for cosine | cos 2θ = cos² θ − sin² θ | cos 60° = 0.75 − 0.25 = 0.5 |
| Sine rule | a ÷ sin A = b ÷ sin B = c ÷ sin C | any triangle, not only right-angled |
| Cosine rule | c² = a² + b² − 2 × a × b × cos C | a = 7, b = 8, C = 60°: c² = 57, c ≈ 7.55 |
| Triangle area from two sides | ½ × a × b × sin C | 7, 8 and 60°: about 24.25 |
| Degrees and radians | radians = degrees × π ÷ 180 | 90° = π/2 |
The cosine rule with C = 90° loses its last term, because cos 90° = 0, and becomes Pythagoras.
Calculus
| What | Formula | Example |
|---|---|---|
| Derivative of a power | (xⁿ)′ = n × xⁿ⁻¹ | (x⁴)′ = 4x³ |
| Constants | (c)′ = 0 and (c × f)′ = c × f′ | (5x³)′ = 15x² |
| Sine, cosine | (sin x)′ = cos x and (cos x)′ = −sin x | slope of sin x at 0 is 1 |
| Exponential and log | (eˣ)′ = eˣ and (ln x)′ = 1 ÷ x | (ln x)′ at x = 2 is 0.5 |
| Product rule | (u × v)′ = u′ × v + u × v′ | (x² × sin x)′ at x = 1: 2 sin 1 + cos 1 ≈ 2.22 |
| Quotient rule | (u ÷ v)′ = (u′ × v − u × v′) ÷ v² | (x ÷ (x + 1))′ at x = 1: 1/4 |
| Chain rule | (f(g(x)))′ = f′(g(x)) × g′(x) | ((3x + 1)²)′ at x = 1: 2 × 4 × 3 = 24 |
| Integral of a power | ∫ xⁿ dx = xⁿ⁺¹ ÷ (n + 1) + C, for n not equal to −1 | ∫ x² dx = x³/3 + C |
| Integral of 1 ÷ x | ∫ (1 ÷ x) dx = ln of the absolute value of x, plus C | ∫ from 1 to e of 1 ÷ x = 1 |
| Sine, cosine, exponential | ∫ cos x = sin x + C, ∫ sin x = −cos x + C, ∫ eˣ = eˣ + C | ∫ from 0 to π of sin x = 2 |
| Area under a curve | ∫ from a to b of f(x) dx = F(b) − F(a) | ∫ from 0 to 3 of x² = 27/3 = 9 |
| Stationary point | solve f′(x) = 0 | x² − 6x + 5: x = 3, value −4 |
Vectors and matrices
| What | Formula | Example |
|---|---|---|
| Length of a vector | √(x² + y²) | (5, 12): 13 |
| Dot product | u · v = u₁v₁ + u₂v₂ = length u × length v × cos θ | (1, 2) · (3, 4) = 11 |
| Angle between vectors | cos θ = u · v ÷ (length u × length v) | (1, 0) and (1, 1): cos θ = 0.707, θ = 45° |
| Perpendicular test | u · v = 0 | (2, 3) · (3, −2) = 0 |
| Determinant of a 2 × 2 | a × d − b × c | [[3, 1], [2, 4]]: 10 |
| Inverse of a 2 × 2 | 1 ÷ (a × d − b × c) × [[d, −b], [−c, a]] | inverse of [[3, 1], [2, 4]] is 1/10 × [[4, −1], [−2, 3]] |
| Rotation by θ | [[cos θ, −sin θ], [sin θ, cos θ]] | θ = 90° gives [[0, −1], [1, 0]] |
An inverse exists only when the determinant is not 0.
Probability, statistics and counting
| What | Formula | Example |
|---|---|---|
| Probability | P(A) = wanted ÷ total | even on a die: 3 ÷ 6 |
| Not A | P(not A) = 1 − P(A) | no head in 2 flips: 1/4, so at least one: 3/4 |
| A or B | P(A or B) = P(A) + P(B) − P(A and B) | even or above 4 on a die: 3/6 + 2/6 − 1/6 = 2/3 |
| Independent events | P(A and B) = P(A) × P(B) | two heads: 1/4 |
| Conditional probability | P(A given B) = P(A and B) ÷ P(B) | a 6 given an even roll: (1/6) ÷ (1/2) = 1/3 |
| Bayes | P(A given B) = P(B given A) × P(A) ÷ P(B) | see the worked case below |
| Expected value | sum of (value × probability) | die: 3.5 |
| Variance and standard deviation | variance = mean of (value − mean)², SD = √variance | 2, 4, 4, 4, 5, 5, 7, 9: variance 4, SD 2 |
| Sample variance | divide by n − 1 instead of n | used when the data is a sample of a bigger group |
| Binomial | P(k successes in n tries) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ | 3 heads in 5 flips: 10 ÷ 32 = 0.3125 |
| Factorial | n! = n × (n − 1) × ... × 1 | 5! = 120 |
| Permutations | n! ÷ (n − k)! | 5 people, 3 prizes: 60 |
| Combinations | n! ÷ (k! × (n − k)!) | 6 people, teams of 2: 15 |
| Symmetry of combinations | C(n, k) = C(n, n − k) | C(10, 3) = C(10, 7) = 120 |
| Arrangements with repeats | n! ÷ (a! × b! × ...) | the letters of MISSISSIPPI: 11! ÷ (4! × 4! × 2!) = 34,650 |
A worked case for Bayes' rule. Take assumed numbers: 1% of people have a condition, a test finds it 90% of the time when it is present, and gives a false alarm 5% of the time when it is absent. You test positive. How likely is it that you have the condition?
- Chance of a positive from someone who has it: 0.01 × 0.90 = 0.009.
- Chance of a positive from someone who does not: 0.99 × 0.05 = 0.0495.
- Chance of a positive overall: 0.009 + 0.0495 = 0.0585.
- Chance you have it, given the positive: 0.009 ÷ 0.0585, about 0.154, or 15%.
Most positives come from the large healthy group, which is why a positive result on a rare condition is less certain than it feels.
Where to go next
| If you want | Look at |
|---|---|
| Logic, proofs and algorithms | Discrete mathematics |
| More on matrices | Linear algebra: eigenvalues, solving systems |
| Calculus with several variables | Multivariable calculus |
| Drawing conclusions from data | Statistics: sampling, confidence, hypothesis tests |
Sources and further reading
- Khan Academy, free courses from arithmetic through calculus and statistics.
- 3Blue1Brown, the video series "Essence of calculus" and "Essence of linear algebra": the best visual introductions to those two topics.
- Gilbert Strang, Introduction to Linear Algebra.
- James Stewart, Calculus, a standard textbook.
- Graham, Knuth and Patashnik, Concrete Mathematics, for counting and discrete mathematics.
- George Pólya, How to Solve It (1945), on how to approach a problem you cannot see through yet.
