Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Expressions, equations and inequalities

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Equivalent expressions: distributing and combining like terms

Warm-up

Three quick questions from earlier lessons.

  1. Compute 5+(−15)5 + (-15).
  2. Compute −2−9-2 - 9.
  3. Compute 8−(−7)8 - (-7).

Discover

Is 10−(3+2)10 - (3 + 2) the same as 10−3+210 - 3 + 2?

  1. No
  2. Yes

Key idea

Equivalent expressions are equal for every value of the variable.

Distribute: a(b+c)=ab+aca(b + c) = ab + ac, also with minus signs: −(b−c)=−b+c-(b - c) = -b + c. Combine like terms by adding their coefficients, keeping each term's sign: 5x−2x=3x5x - 2x = 3x. Think of subtraction as adding the opposite.

Worked example

Simplify 6x−2(x−4)+16x - 2(x - 4) + 1.

6x−2x+8+16x - 2x + 8 + 1
−2 times each term.
4x+94x + 9
Combine.

Your turn, guided

Your turn: the coefficient of xx in 7x+3−2x7x + 3 - 2x.

55
7 − 2.

Practice ★

  1. Write 4(x−2)4(x - 2) without parentheses. What is the constant term?
  2. Write 10(x−14)10(x - 14) without parentheses. What is the constant term?
  1. Combine like terms in 9x+9−8x+39x + 9 - 8x + 3. What is the coefficient of xx?

Watch out!

Practice ★★

  1. Simplify 6x−(1x−6)6x - (1x - 6). What is the constant term?
  2. Simplify 36x−(21x−11)36x - (21x - 11). What is the constant term?

Exit ticket

Three questions to check you have got it.

  1. Write 4(x−2)4(x - 2) without parentheses. What is the constant term?
  2. Write 10(x−14)10(x - 14) without parentheses. What is the constant term?
  3. Write 4(x−3)4(x - 3) without parentheses. What is the constant term?

Summary card

Equivalent expressions

Distribute to every term; combine like terms with their signs.

Watch out: a minus before parentheses changes every sign inside.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the number aa such that 2(x−a)+12(x - a) + 1 equals 2x−92x - 9 for every xx.

2. Solve linear equations in one variable

Discover

A pizza party costs 40 dollars plus 12 dollars per pizza, and the total is 100 dollars. Which equation fits?

  1. 40+12p=10040 + 12p = 100
  2. 12+40p=10012 + 40p = 100

Key idea

Equivalent equations have the same solutions.

To solve a linear equation, make equivalent equations: add or subtract the same amount on both sides, multiply or divide both sides by the same non-zero number, distribute, collect like terms. Stop when xx is alone.

Worked example

Solve 5x+3=2x+155x + 3 = 2x + 15.

3x+3=153x + 3 = 15
Subtract 2x.
3x=123x = 12
Subtract 3.
x=4x = 4
Divide by 3.

Your turn, guided

Your turn: 3(x+2)=213(x + 2) = 21. Find xx.

x=5x = 5
Divide by 3: x + 2 = 7.

Practice ★

  1. Solve 3x+1=133x + 1 = 13. x=  ?x = \;?
  2. Solve 8x+16=2408x + 16 = 240. x=  ?x = \;?
  1. Solve 4x+8=3x+124x + 8 = 3x + 12. x=  ?x = \;?

Watch out!

Practice ★★

  1. Solve 3(x+3)=243(x + 3) = 24. x=  ?x = \;?
  2. Solve 12(x+13)=34812(x + 13) = 348. x=  ?x = \;?

Exit ticket

Three questions to check you have got it.

  1. Solve 3x+1=133x + 1 = 13. x=  ?x = \;?
  2. Solve 8x+16=2408x + 16 = 240. x=  ?x = \;?
  3. Solve 2x+20=222x + 20 = 22. x=  ?x = \;?

Summary card

Linear equations

Do the same to both sides until xx is alone.

Watch out: distribute to every term.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Solve 3(x+1)−2(x−6)=93(x + 1) - 2(x - 6) = 9. x=  ?x = \;?

3. Solve linear inequalities in one variable

Warm-up

Three quick questions from earlier lessons.

  1. A rectangle has sides x+5x + 5 and 4x−14x - 1. Its perimeter is 2(x+5)+2(4x−1)2(x + 5) + 2(4x - 1).
    1. Simplified, the perimeter is ?x+??x + ?. The coefficient of xx:   ?\;?
    2. The constant term:   ?\;?
    3. The perimeter is 98. Solve for xx:   ?\;?
    4. Length of the side 4x−14x - 1:
    5. The largest whole number xx for which the perimeter is at most 118:
  2. Solve 3x+1=133x + 1 = 13. x=  ?x = \;?
  3. Solve 4x+8=3x+124x + 8 = 3x + 12. x=  ?x = \;?

Discover

−2x>6-2x > 6. Try x=−4x = -4: −2⋅(−4)=8>6-2 \cdot (-4) = 8 > 6. So which describes all solutions?

  1. x<−3x < -3
  2. x>−3x > -3

Key idea

Solve inequalities like equations, with one extra rule.

Adding, subtracting, multiplying or dividing by a positive number keeps the inequality. Multiplying or dividing by a negative number flips it. Strict signs (<<, >>) exclude the endpoint; ≤\le, ≥\ge include it.

Worked example

Solve −3x+4≤13-3x + 4 \le 13.

−3x≤9-3x \le 9
Subtract 4.
x≥−3x \ge -3
Divide by −3: flip.
[−3,∞)[-3, \infty)
Endpoint included.

Your turn, guided

Your turn: 2x−1<92x - 1 < 9. The boundary value of xx.

x<5x < 5
2x < 10.

Practice ★

  1. Solve 3x+17<413x + 17 < 41. Give the solution set as an interval.
  2. Solve 18x+28<38818x + 28 < 388. Give the solution set as an interval.
  1. You have 52 dollars and tickets cost 5 dollars each. Solve 5t≤525t \le 52: what is the greatest number of tickets you can buy?

Watch out!

Practice ★★

  1. Solve −3x+7≤−17-3x + 7 \le -17. Give the solution set as an interval.
  2. Solve −11x+24≤299-11x + 24 \le 299. Give the solution set as an interval.

Exit ticket

Three questions to check you have got it.

  1. Solve 3x+17<413x + 17 < 41. Give the solution set as an interval.
  2. Solve 18x+28<38818x + 28 < 388. Give the solution set as an interval.
  3. Solve 3x+1<103x + 1 < 10. Give the solution set as an interval.

Summary card

Inequalities

Solve as an equation; flip when multiplying or dividing by a negative.

Watch out: check with a number from your answer.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. How many integers xx satisfy 4≤x+9<184 \le x + 9 < 18?

4. Arithmetic sequences

Warm-up

Three quick questions from earlier lessons.

  1. a1=3a_1 = 3 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  2. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  3. an=n2+5a_n = n^2 + 5. Complete the table.
    nnana_n
    11
    22
    33
    44

Discover

A taxi charges 3 dollars, plus 2 dollars per mile. Mile by mile, the fare is 5,7,9,…5, 7, 9, \dots What does the 10th mile cost in total?

  1. 23 dollars
  2. 25 dollars

Key idea

An arithmetic sequence adds the same number dd (the common difference) each time.

an=a1+(n−1)da_n = a_1 + (n - 1)d. From apa_p to aqa_q there are q−pq - p steps, so d=aq−apq−pd = \dfrac{a_q - a_p}{q - p}.

Worked example

An arithmetic sequence has a3=11a_3 = 11 and a8=31a_8 = 31. Find dd and a20a_{20}.

d=31−115=4d = \dfrac{31 - 11}{5} = 4
5 steps from a₃ to a₈.
a1=11−2⋅4=3a_1 = 11 - 2 \cdot 4 = 3
Back 2 steps from a₃.
a20=3+19⋅4=79a_{20} = 3 + 19 \cdot 4 = 79
19 steps from a₁.

Your turn, guided

Your turn: a1=7a_1 = 7, d=5d = 5. Find a12a_{12}.

a12=7+11⋅5a_{12} = 7 + 11 \cdot 5
11 steps.
a12=62a_{12} = 62
7 + 55.

Practice ★

  1. An arithmetic sequence has a1=11a_1 = 11 and common difference 3. Find a15a_{ 15 }.
  2. An arithmetic sequence has a1=85a_1 = 85 and common difference 20. Find a53a_{ 53 }.
  3. An arithmetic sequence has a1=16a_1 = 16 and common difference 2. Find a10a_{ 10 }.
  4. An arithmetic sequence has a1=93a_1 = 93 and common difference 17. Find a74a_{ 74 }.

Watch out!

Practice ★★

  1. In an arithmetic sequence, a2=11a_{ 2 } = 11 and a8=35a_{ 8 } = 35. Find the common difference.
  2. In an arithmetic sequence, a5=114a_{ 5 } = 114 and a38=642a_{ 38 } = 642. Find the common difference.
  3. In an arithmetic sequence, a3=14a_{ 3 } = 14 and a10=42a_{ 10 } = 42. Find the common difference.
  1. What kind of sequence is 3,6,12,24,…3, 6, 12, 24, \dots?
    1. Geometric, with ratio 2
    2. Arithmetic
    3. Neither

Exit ticket

Three questions to check you have got it.

  1. An arithmetic sequence has a1=11a_1 = 11 and common difference 3. Find a15a_{ 15 }.
  2. An arithmetic sequence has a1=85a_1 = 85 and common difference 20. Find a53a_{ 53 }.
  3. An arithmetic sequence has a1=16a_1 = 16 and common difference 2. Find a10a_{ 10 }.

Summary card

Arithmetic sequences

  • Add dd each time: an=a1+(n−1)da_n = a_1 + (n - 1)d.
  • d=aq−apq−pd = \dfrac{a_q - a_p}{q - p}.

Watch out: n−1n - 1 steps from a1a_1 to ana_n.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. In an arithmetic sequence, u3+u7=86u_3 + u_7 = 86. Find u5u_5.

5. Geometric sequences

Warm-up

Three quick questions from earlier lessons.

  1. a1=3a_1 = 3 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  2. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  3. an=n2+5a_n = n^2 + 5. Complete the table.
    nnana_n
    11
    22
    33
    44

Discover

A rumor spreads: 3 people know it on day 1, and each day the number triples. How many know it on day 4?

  1. 81
  2. 12
  3. 243

Key idea

A geometric sequence multiplies by the same number rr (the common ratio) each time.

an=a1⋅r n−1a_n = a_1 \cdot r^{\,n-1}, and r=an+1anr = \dfrac{a_{n+1}}{a_n}.

Worked example

Find a7a_7 for 2,6,18,…2, 6, 18, \dots

r=3r = 3
6 ÷ 2.
a7=2⋅36a_7 = 2 \cdot 3^6
6 multiplications from a₁ to a₇.
a7=1458a_7 = 1458
3⁶ = 729.

Your turn, guided

Your turn: a1=5a_1 = 5, r=2r = 2. Find a6a_6.

a6=5⋅25a_6 = 5 \cdot 2^5
5 multiplications.
a6=160a_6 = 160
5 · 32.

Practice ★

  1. A geometric sequence has a1=5a_1 = 5 and ratio 2. Find a5a_{ 5 }.
  2. A geometric sequence has a1=3a_1 = 3 and ratio 3. Find a5a_{ 5 }.
  3. A geometric sequence has a1=6a_1 = 6 and ratio 2. Find a5a_{ 5 }.
  4. A geometric sequence has a1=5a_1 = 5 and ratio 3. Find a6a_{ 6 }.

Watch out!

Practice ★★

  1. Find the common ratio of the geometric sequence 2,6,18,…2, 6, 18, \dots
  2. Find the common ratio of the geometric sequence 13,78,468,…13, 78, 468, \dots
  1. Write a formula for ana_n, starting at n=1n = 1: 5,10,20,…5, 10, 20, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 10,70,490,…10, 70, 490, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 2,4,8,…2, 4, 8, \dots

Exit ticket

Three questions to check you have got it.

  1. Write a formula for ana_n, starting at n=1n = 1: 5,10,20,…5, 10, 20, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 10,70,490,…10, 70, 490, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 2,4,8,…2, 4, 8, \dots

Summary card

Geometric sequences

  • Multiply by rr each time: an=a1r n−1a_n = a_1 r^{\,n-1}.
  • rr = a term divided by the one before.

Watch out: the exponent is n−1n - 1.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A geometric sequence with positive terms has u2=3u_2 = 3 and u4=12u_4 = 12. What is its ratio?

6. Three equations, three unknowns

Discover

A café sells a coffee, a juice and a muffin. Two of you know the totals of three different orders. Can three equations pin down three prices?

  1. Yes, usually
  2. No, two unknowns at most

Key idea

Three equations, three unknowns.

Eliminate one unknown to get two equations in two unknowns, then eliminate again to get one equation in one unknown. Solve it and substitute back, step by step.

Worked example

Solve x+y+z=10x + y + z = 10, x+y=7x + y = 7, y+z=8y + z = 8.

z=10−7=3z = 10 - 7 = 3
Subtract the second equation from the first: the xx and yy disappear.
y=5y = 5
Put z=3z = 3 in y+z=8y + z = 8.
x=2x = 2
Put y=5y = 5 in x+y=7x + y = 7.

Your turn, guided

Your turn: x+y+z=12x + y + z = 12 and y+z=9y + z = 9. What is xx?

x=3x = 3
Subtract the second equation from the first.

Practice ★

  1. Solve x+y+z=17x + y + z = 17 and y+z=13y + z = 13. What is xx?
  2. Solve x+y+z=19x + y + z = 19 and y+z=13y + z = 13. What is xx?
  3. Solve x+y+z=20x + y + z = 20 and y+z=11y + z = 11. What is xx?

Practice ★★

  1. Solve x+y+z=19x + y + z = 19, x+y=14x + y = 14 and y+z=10y + z = 10. What is yy?
  2. Solve x+y+z=7x + y + z = 7, x+y=2x + y = 2 and y+z=6y + z = 6. What is yy?

Exit ticket

Two questions to check.

  1. Solve x+y+z=17x + y + z = 17 and y+z=13y + z = 13. What is xx?
  2. Solve x+y+z=19x + y + z = 19 and y+z=13y + z = 13. What is xx?

Summary card

Three unknowns

  • Subtract or add equations to remove one unknown.
  • Repeat until one unknown is left, then substitute back.

Computers solve systems with thousands of unknowns the same way.

7. History of equations: from Ahmes to al-Khwarizmi

Discover

Around 1650 BC in Egypt, the scribe Ahmes copied a scroll of problems that was already 200 years old. Problem 24 asks: a quantity and a quarter of it make 15. What is the quantity?

  1. Guess a convenient number, then correct it
  2. Write x+x4=15x + \tfrac{x}{4} = 15 and solve with letters

Key idea

Three ways of solving, three places, three times.

1500 BCE1000 BCE500 BCE1500c. 1650 BCEAhmes: the Rhind papyrusc. 1650 BCEAhmes: the Rhind papyrus
  1. Step 11500 BCE1000 BCE500 BCE1500c. 1650 BCEAhmes: the Rhind papyrusc. 1650 BCEAhmes: the Rhind papyrusAhmes c. 1650 BCNo portrait is knownAbout 1650 BC: Ahmes copies a 6-meter scroll of problems. He solves equations by false position.
  2. Step 21500 BCE1000 BCE500 BCE1500c. 1650 BCEAhmes: the Rhind papyrus263Liu Hui comments the Nine Chaptersc. 1650 BCEAhmes: the Rhind papyrus263Liu Hui comments the Nine ChaptersLiu Hui c. 225 – c. 295No portrait is knownChina: the Nine Chapters (246 problems) solve systems with tables of numbers. Liu Hui writes his commentary in AD 263.
  3. Step 31500 BCE1000 BCE500 BCE1500c. 1650 BCEAhmes: the Rhind papyrus263Liu Hui comments the Nine Chaptersc. 820al-Khwarizmi's algebra, Baghdadc. 1650 BCEAhmes: the Rhind papyrus263Liu Hui comments the Nine Chaptersc. 820al-Khwarizmi's algebra, Baghdadal-Khwarizmi c. 780 – c. 850Imagined portraitZarateman (photograph), 2022. Zarateman. CC0 1.0Baghdad, House of Wisdom: al-Khwarizmi's book on 'completion and balancing' gives us the word algebra. He writes only in words.

False position (Egypt): try 4. Then 4+1=54 + 1 = 5, but we want 15, which is 3 times as much, so the quantity is 3×4=123 \times 4 = 12.

Balancing (Baghdad): do the same thing to both sides until the unknown stands alone, as we still do today.

SourceA manuscript page in Arabic from al-Khwarizmi's book of algebra

One square, and ten roots of the same, amount to thirty-nine dirhems.

Al-Khwarizmi, The Compendious Book on Calculation by Completion and Balancing, Baghdad, about 820, in the translation by Frederic Rosen (1831, public domain)Page from a manuscript of al-Khwarizmi's book of algebra (al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa-l-muqābala), al-Khwarizmi (text). Public domain

How does al-Khwarizmi write this equation?

  1. In words, with no symbols
  2. With letters, as x2+10x=39x^2 + 10x = 39

Worked example

The Chinese Nine Chapters set systems out as tables of numbers and removed one unknown after the other. Our version:

Subtract the second from the first
Two equations: 2x+y=112x + y = 11 and x+y=7x + y = 7.
x=4x = 4, then y=3y = 3
The yy disappears, as in the Chinese tables.

Practice ★

  1. The word algebra comes from the title of al-Khwarizmi's book. What did his al-muqabala, 'balancing', mean?
    1. Removing equal terms that appear on both sides
    2. Writing the unknown with the letter x
    3. Weighing goods on market scales
  1. Like Ahmes: a quantity and a quarter of it make 50. Try 4 first (4 and its quarter make 5), then correct. What is the quantity?
  2. Like Ahmes: a quantity and a quarter of it make 55. Try 4 first (4 and its quarter make 5), then correct. What is the quantity?
  1. As in the Nine Chapters: 2 bundles of rice and 1 bundle of millet weigh 13 units, 1 of rice and 1 of millet weigh 11. How much does a bundle of rice weigh?

Summary card

Linear equations today

  • Spreadsheets and phone plans: total cost = fixed part + price × quantity.
  • Mixtures in chemistry and cooking: systems of equations find the amounts.
  • Computers solve systems with millions of unknowns, for weather forecasts and 3D graphics, by the elimination the Nine Chapters already used.

Sources: MacTutor articles on the Egyptian papyri, the Nine Chapters and al-Khwarizmi (see "Sources and credits").