Skip to content

Algebra

AQA GCSE MathematicsTopic 2

Video lesson for this topic Open the video page
22:40

Algebra

Why it matters. Around the year 820, at the House of Wisdom in Baghdad, the scholar Muhammad ibn Musa al-Khwarizmi wrote a book about "completion and…

English narration · English and 中文 subtitles you can switch

2.1 2.2

Algebra: letters that stand for numbers

Why it matters. Around the year 820, at the House of Wisdom in Baghdad, the scholar Muhammad ibn Musa al-Khwarizmi wrote a book about "completion and balancing". The Arabic word for completion, al-jabr, became our word "algebra", and his own name became the word "algorithm". He had no letters or symbols: every problem was written in words. One of his examples was "a square and ten roots equal thirty-nine", which we now write as $x^2 + 10x = 39$. He solved it by drawing a real square and adding the missing corner, the method we still call completing the square, and found $x = 3$. Today the same algebra sets the price of a phone plan, steers a satellite and trains a search engine. This topic teaches you to write, rearrange and solve algebra, and to see it as graphs.

In this unit you will:

  • use algebraic notation, expand brackets and factorise expressions;
  • rearrange formulae and (higher tier) prove identities and use function notation;
  • draw and read straight-line, quadratic and other graphs;
  • solve linear and quadratic equations, simultaneous equations and inequalities;
  • find and use the nth term of a sequence.

AQA GCSE Mathematics (8300), Algebra (A1 to A25). Algebra is tested on all three papers at both tiers; content marked (H) is Higher tier only. The formulae sheet gives the quadratic formula, but every other result here must be remembered.

2.1 2.2

Expressions, formulae and identities

Notation. In algebra $ab$ means $a \times b$, $3y$ means $y + y + y$, $a^2$ means $a \times a$, and $\frac{a}{b}$ means $a \div b$. Like terms have the same letters and powers, so $3x^2 + 5x - x^2 + 2x$ simplifies to $2x^2 + 7x$.

Words with exact meanings.

  • An expression has no equals sign: $4x - 1$.
  • An equation is true for particular values: $4x - 1 = 11$ is true only when $x = 3$.
  • A formula connects quantities: $v = u + at$.
  • An identity 恒等式 is true for every value of the letter, and uses the sign $\equiv$: $(x + 2)^2 \equiv x^2 + 4x + 4$.

Expanding and factorising. Expanding multiplies out brackets; factorising puts them back. For two brackets, multiply every term in the first by every term in the second.

Worked example 1. Expand $(2x - 3)(x + 4)$. $2x \times x = 2x^2$, $2x \times 4 = 8x$, $-3 \times x = -3x$, $-3 \times 4 = -12$. Total: $2x^2 + 5x - 12$.

Worked example 2. Factorise $x^2 - 2x - 15$. Find two numbers that multiply to $-15$ and add to $-2$: they are $-5$ and $3$. So $x^2 - 2x - 15 = (x - 5)(x + 3)$. The difference of two squares is a special case: $x^2 - 49 = (x - 7)(x + 7)$.

Worked example 3 (H). Factorise $6x^2 - 7x - 3$. Multiply $6 \times -3 = -18$ and find two numbers with product $-18$ and sum $-7$: $-9$ and $2$. Split the middle term: $6x^2 - 9x + 2x - 3 = 3x(2x - 3) + 1(2x - 3) = (3x + 1)(2x - 3)$.

Algebraic fractions (H). An algebraic fraction 代数分式 has letters in it. Simplify it by factorising the top and bottom and cancelling a common bracket: $\frac{x^2 - 9}{x^2 + 3x} = \frac{(x - 3)(x + 3)}{x(x + 3)} = \frac{x - 3}{x}$. You may cancel a whole factor, never single terms.

Changing the subject. Do the same thing to both sides until the letter you want stands alone. From $v = u + at$: subtract $u$, then divide by $a$, to get $t = \frac{v - u}{a}$.

Proof (H). To prove an identity, expand or simplify one side until it matches the other. Testing a few numbers never proves that something is true for all values.

Worked example 4 (H). Prove that the sum of any three consecutive integers is a multiple of 3. Call them $n$, $n + 1$ and $n + 2$. Their sum is $3n + 3 = 3(n + 1)$, which is 3 times an integer.

Vocabulary Train
English
identity/aɪˈdentɪti/
algebraic fraction/ˌældʒɪˈbreɪɪk ˈfrækʃn/
2.2

Functions (H)

A function is a rule that turns each input into one output. In function notation, $f(x) = 3x - 5$ means "multiply by 3, then subtract 5", and $f(4) = 7$.

A composite function 复合函数 applies one function and then another. $fg(x)$ means $f(g(x))$: do $g$ first. An inverse function 反函数 $f^{-1}$ undoes $f$.

Worked example 5 (H). $f(x) = 3x - 5$ and $g(x) = x^2$.

  • $fg(2) = f(g(2)) = f(4) = 7$, but $gf(2) = g(f(2)) = g(1) = 1$: the order matters.
  • For $f^{-1}$, write $y = 3x - 5$ and make $x$ the subject: $x = \frac{y + 5}{3}$. So $f^{-1}(x) = \frac{x + 5}{3}$.
  • Check: $f^{-1}(f(4)) = f^{-1}(7) = \frac{12}{3} = 4$.
Vocabulary Train
English
composite function/ˈkɒmpəzɪt ˈfʌŋkʃn/
inverse function/ɪnˈvɜːs ˈfʌŋkʃn/
2.4

Straight-line graphs

Every straight line, except a vertical one, has an equation $y = mx + c$. The number $m$ is the gradient 梯度, the steepness: how far $y$ goes up when $x$ increases by 1. The number $c$ is the $y$-intercept, where the line crosses the $y$-axis. Between two points,

$$m = \frac{y_2 - y_1}{x_2 - x_1}$$

Parallel lines have equal gradients. Perpendicular lines 垂直线 meet at a right angle, and their gradients multiply to $-1$ (H): a line with gradient 2 is perpendicular to a line with gradient $-\frac{1}{2}$.

Worked example 6. Find the equation of the line through $(1, 7)$ and $(2, 9)$. $m = \frac{9 - 7}{2 - 1} = 2$. Substitute $(1, 7)$ into $y = 2x + c$: $7 = 2 + c$, so $c = 5$ and the line is $y = 2x + 5$. (H) The perpendicular line through $(1, 7)$ has gradient $-\frac{1}{2}$: $y - 7 = -\frac{1}{2}(x - 1)$, or $y = -\frac{1}{2}x + 7\frac{1}{2}$.

The line through (2, 5) with gradient 3
Gradient 3 through (2, 5): y − 5 = 3(x − 2), so y = 3x − 1
Two cost lines, 20 + 3x and 44 + x, crossing at x = 12 GB where both cost 56 yuan
The plans cost the same where 20 + 3x = 44 + x: x = 12, cost 56 yuan

Real-life graphs. On a distance-time graph the gradient is the speed. On a velocity-time graph the gradient is the acceleration and the area under the graph is the distance travelled. When two cost lines cross, the plans cost the same: in the phone-plan graph above, $20 + 3x = 44 + x$ gives $x = 12$ GB, where both cost 56 yuan.

Vocabulary Train
English
gradient/ˈɡreɪdɪənt/
perpendicular lines/ˌpɜːpənˈdɪkjʊlə laɪnz/
2.4

Quadratic and other graphs

The graph of a quadratic such as $y = x^2 - 10x + 21$ is a U-shaped curve called a parabola. It crosses the $x$-axis at the roots of $x^2 - 10x + 21 = 0$, it crosses the $y$-axis at $(0, 21)$, and it has a turning point on its line of symmetry. A hanging cable has nearly the same shape.

The Golden Gate suspension bridge
A suspension bridge: the main cable hangs close to a parabola, the graph of a quadratic

Completing the square (H). Write $x^2 + bx + c$ as $\left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2 + c$. This completing the square 配方 shows the turning point at once.

Worked example 7 (H). $y = x^2 - 6x + 5 = (x - 3)^2 - 9 + 5 = (x - 3)^2 - 4$. Because $(x - 3)^2$ is never negative, the smallest value of $y$ is $-4$, when $x = 3$. The turning point is $(3, -4)$ and the line of symmetry is $x = 3$.

Other graphs to recognise.

  • Cubic, $y = x^3$: an S-shape.
  • Reciprocal 倒数 graph, $y = \frac{1}{x}$: two separate curves; $x = 0$ is not allowed.
  • (H) Exponential, $y = 2^x$: grows faster and faster and never touches the $x$-axis.
  • (H) $y = \sin x$, $y = \cos x$ and $y = \tan x$: waves that repeat every $360°$ ($180°$ for $\tan$).

Transformations (H). $y = f(x) + a$ moves the graph of $y = f(x)$ up by $a$; $y = f(x + a)$ moves it left by $a$; $y = -f(x)$ reflects it in the $x$-axis; $y = f(-x)$ reflects it in the $y$-axis.

Circles (H). The circle with centre $(0, 0)$ and radius $r$ has equation $x^2 + y^2 = r^2$. A tangent meets the radius at a right angle, so at the point $(3, 4)$ on $x^2 + y^2 = 25$ the radius has gradient $\frac{4}{3}$ and the tangent has gradient $-\frac{3}{4}$.

Vocabulary Train
English
completing the square/kəmˈpliːtɪŋ ðə skweə/
reciprocal/rɪˈsɪprəkl/
2.2 2.5

Solving equations

Linear equations. Collect the letters on one side and the numbers on the other. Worked example 8. $7x - 22 = 4x + 29$. Subtract $4x$: $3x - 22 = 29$. Add 22: $3x = 51$, so $x = 17$.

Quadratic equations by factorising. Make one side zero and factorise. If two brackets multiply to 0, one of them must be 0. Each value is a root 根 of the equation.

Worked example 9. Solve $x^2 - 10x + 21 = 0$. $(x - 3)(x - 7) = 0$, so $x = 3$ or $x = 7$: exactly where the graph crosses the $x$-axis.

The parabola y = x² − 10x + 21 crossing the x-axis at 3 and 7
x² − 10x + 21 = (x − 3)(x − 7): roots x = 3 and x = 7

The quadratic formula (H). For $ax^2 + bx + c = 0$,

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

The discriminant 判别式 $b^2 - 4ac$ tells you how many roots there are: two if it is positive, one if it is zero, none if it is negative.

Worked example 10 (H). Solve $2x^2 - 5x - 4 = 0$, giving answers to 2 decimal places. $a = 2$, $b = -5$, $c = -4$. The discriminant is $25 + 32 = 57$, so there are two roots: $x = \frac{5 \pm \sqrt{57}}{4}$, so $x = 3.14$ or $x = -0.64$. Keep $\sqrt{57}$ exact until the last line.

Forming equations. Worked example 11. Ali is 4 years older than Ben, and Cara is twice Ben's age. Their ages add up to 44. Let Ben be $x$: $x + (x + 4) + 2x = 44$, so $4x = 40$ and $x = 10$. Ben is 10, Ali 14 and Cara 20. Always answer the question that was asked.

Vocabulary Train
English
root/ruːt/
discriminant/dɪˈskrɪmɪnənt/
2.5

Simultaneous equations and iteration

Two equations with two unknowns are solved together. On a graph, the solution is the point where the two lines cross.

Elimination. In elimination 消元法 you add or subtract the equations to remove one letter.

Worked example 12. Solve $3x + 2y = 16$ and $5x - 2y = 8$. The $y$-terms have opposite signs, so add: $8x = 24$, $x = 3$. Substitute: $9 + 2y = 16$, so $y = 3.5$. If the signs are the same, subtract; if no terms match, multiply one equation first.

The lines x + y = 12 and 3x + 2y = 31 crossing at (7, 5)
The solution is the crossing point: x = 7, y = 5 satisfies both equations

A line and a curve (H). Substitute the linear equation into the quadratic. Worked example 13 (H). $y = 2x + 5$ and $y = x^2$. Then $x^2 = 2x + 5$, so $x^2 - 2x - 5 = 0$, and the formula gives $x = 1 \pm \sqrt{6}$. There are two crossing points: $x = 3.45$, $y = 11.90$ and $x = -1.45$, $y = 2.10$ (2 d.p.).

Iteration (H). Iteration 迭代 finds an approximate root by repeating a formula. Rearrange the equation into the form $x = \ldots$, then put each answer back in.

Worked example 14 (H). $x^3 - 3x - 1 = 0$ rearranges to $x = \sqrt[3]{3x + 1}$, so use $x_{n+1} = \sqrt[3]{3x_n + 1}$ with $x_1 = 1$. Then $x_2 = 1.587$, $x_3 = 1.793$, $x_4 = 1.855$, $x_5 = 1.872$, and the values settle towards the root $x = 1.879$ (3 d.p.).

Vocabulary Train
English
elimination/ɪˌlɪmɪˈneɪʃn/
iteration/ˌɪtəˈreɪʃn/
2.2

Inequalities

Solve a linear inequality like an equation, but if you multiply or divide by a negative number, turn the sign round: from $-2x < 6$ you get $x > -3$. On a number line, an open circle means the end value is not included ($<$ or $>$) and a filled circle means it is ($\le$ or $\ge$).

Worked example 15. Find the integers $n$ with $-3 < 2n + 1 \le 9$. Subtract 1: $-4 < 2n \le 8$. Divide by 2: $-2 < n \le 4$. The integers are $-1, 0, 1, 2, 3, 4$.

Quadratic inequalities (H). Find the roots, then look at the graph. $x^2 - 10x + 21 \le 0$ where the curve is on or below the $x$-axis, between the roots: $3 \le x \le 7$. For $x^2 - x - 6 > 0$, the roots are $-2$ and $3$ and the curve is above the axis outside them: $x < -2$ or $x > 3$. In set notation 集合记号 this is $\{x : x < -2\} \cup \{x : x > 3\}$.

The parabola y = x² − 10x + 21 crossing the x-axis at 3 and 7
x² − 10x + 21 = (x − 3)(x − 7) ≤ 0 for 3 ≤ x ≤ 7

Regions (H). An inequality in $x$ and $y$ is a region on a graph. Draw the boundary as a solid line for $\le$ or $\ge$ and as a dashed line for $<$ or $>$, then shade the correct side.

Vocabulary Train
English
set notation/set nəʊˈteɪʃn/
2.3

Sequences

A sequence is a list of numbers that follows a rule. A term-to-term rule says how to get the next term; a position-to-term rule, the nth term 通项, gives any term from its position $n$. You should know the square numbers (1, 4, 9, 16, …), cube numbers (1, 8, 27, …), triangular numbers (1, 3, 6, 10, …) and Fibonacci-type sequences, where each term is the sum of the two before.

Arithmetic sequences. An arithmetic progression 等差数列 adds the same number each time. For 5, 8, 11, 14, … the difference is 3, so the nth term starts $3n$; since $3 \times 1 = 3$ and the first term is 5, the nth term is $3n + 2$. The eighth term is $3 \times 8 + 2 = 26$.

Points for the arithmetic sequence 5, 8, 11, … up to the eighth term, 26
Add 3 each time: nth term 3n + 2, so the eighth term is 26

Geometric sequences. A geometric progression 等比数列 multiplies by the same number each time: 3, 6, 12, 24, … has ratio 2 and nth term $3 \times 2^{n-1}$.

Quadratic sequences (H). If the second differences are constant, the nth term is $an^2 + bn + c$ with $a$ equal to half the second difference.

Worked example 16 (H). 5, 9, 17, 29, 45, … has first differences 4, 8, 12, 16 and second difference 4, so $a = 2$. Subtract $2n^2$ (2, 8, 18, 32, 50) to leave 3, 1, −1, −3, −5, which is $-2n + 5$. The nth term is $2n^2 - 2n + 5$. Check $n = 4$: $32 - 8 + 5 = 29$.

Explore

Arithmetic nth terms

u_n=5+3(n-1)

Use the arithmetic widget for the arithmetic case. Compare its constant difference with the geometric sequence in the worked example.

Vocabulary Train
English
nth term/ˌenˌtiːˈeɪtʃ tɜːm/
arithmetic progression/əˈrɪθmətɪk prəˈɡreʃn/
geometric progression/ˌdʒiːəʊˈmetrɪk prəˈɡreʃn/
2.3

Sources for this lesson

  • AQA, GCSE Mathematics (8300) specification, subject content section 3.2 (Algebra).
  • Muhammad ibn Musa al-Khwarizmi, The Compendious Book on Calculation by Completion and Balancing (Baghdad, about 820), the problem $x^2 + 10x = 39$.
  • AQA, GCSE Mathematics Higher Papers 1 and 3 (June 2024), the linear-equation and identity questions.
2.3

Common errors

  • Writing $(x + 3)^2 = x^2 + 9$; it is $x^2 + 6x + 9$.
  • Cancelling single terms in a fraction: $\frac{x + 6}{x}$ is not $6$.
  • Doing $f$ first in $fg(x)$; $g$ is applied first.
  • Forgetting to turn the inequality sign round after dividing by a negative number.
  • Giving only one root of a quadratic, or one crossing point of a line and a curve.
  • Rounding $\sqrt{57}$ before the final step.
  • Writing the nth term of 5, 8, 11, … as $n + 3$; the difference 3 must multiply $n$.
2.3

Key terms

  • Identity: a statement that is true for every value of the letter, written with $\equiv$.
  • Gradient: the steepness of a line, the change in $y$ for each increase of 1 in $x$.
  • Root: a value of $x$ that makes an equation true; where a graph crosses the $x$-axis.
  • Discriminant: $b^2 - 4ac$, which tells you how many roots a quadratic has.
  • Elimination: removing one unknown by adding or subtracting equations.
  • Iteration: repeating a formula, using each answer as the next input.
  • nth term: the rule that gives any term of a sequence from its position.
2.3

Check yourself

  1. Expand and simplify $(x + 5)(x - 2)$.
  2. Factorise $x^2 + 7x + 12$, and hence solve $x^2 + 7x + 12 = 0$.
  3. Make $r$ the subject of $A = \pi r^2$.
  4. Find the equation of the line through $(0, -3)$ and $(2, 5)$.
  5. Solve $2x + y = 11$ and $x - y = 1$.
  6. (H) Write $x^2 + 8x + 3$ in the form $(x + p)^2 + q$ and give the turning point of $y = x^2 + 8x + 3$.
  7. Find the nth term of 7, 11, 15, 19, … and the 20th term.

Answers: 1. $x^2 + 3x - 10$. 2. $(x + 3)(x + 4)$, so $x = -3$ or $x = -4$. 3. $r = \sqrt{\frac{A}{\pi}}$. 4. $m = \frac{8}{2} = 4$, so $y = 4x - 3$. 5. Adding gives $3x = 12$, so $x = 4$ and $y = 3$. 6. $(x + 4)^2 - 13$; turning point $(-4, -13)$. 7. $4n + 3$; the 20th term is 83.

Explore

Collecting, expanding and factorising expressions

Collect only like terms

Compare the model with the worked case and explain one change.

Explore

Domains, inverses and composition

State the domain and range

Compare the model with the worked case and explain one change.

Explore

Coordinate geometry and tangents

A line through (x₁,y₁) with gradient m has y-y₁=m(x-x₁)

Compare the model with the worked case and explain one change.

Explore

Linear and linear/quadratic simultaneous equations

For two linear equations, use elimination or substitution and check both equations

Compare the model with the worked case and explain one change.

Was this helpful?

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in AQA GCSE Mathematics

Log in or create account

IGCSE, A-Level & AP