impera Open Impera

IB MYP Mathematics · Algebra

Quadratics

1Quadratic expressions and expanding

A quadratic expression has $x^2$ as its highest power: $x^2 + 5x + 6$, $3x^2 - 2$, $x^2$. Its general form is $ax^2 + bx + c$ with $a \ne 0$.

Quadratics appear when two linear brackets are multiplied.

Worked example

Expand

  1. $(x + 4)(x + 3) = x^2 + 3x + 4x + 12 = x^2 + 7x + 12$.
  2. $(x - 2)(x + 5) = x^2 + 5x - 2x - 10 = x^2 + 3x - 10$.
  3. $(2x + 1)(x - 3) = 2x^2 - 6x + x - 3 = 2x^2 - 5x - 3$.

Three patterns are worth learning.

  • Perfect square: $(x + a)^2 = x^2 + 2ax + a^2$. So $(x + 5)^2 = x^2 + 10x + 25$. It is not $x^2 + 25$.
  • $(x - a)^2 = x^2 - 2ax + a^2$.
  • Difference of two squares: $(x + a)(x - a) = x^2 - a^2$. The middle terms cancel.
Check yourself

What is (x + 3)² expanded?

  • x² + 6x + 9

  • x² + 9

  • 2x + 6

  • x² + 3x + 9

Show the answer

x² + 6x + 9

(x + 3)(x + 3) gives x², 3x, 3x and 9.

2Factorising quadratics

Factorising reverses expanding. For $x^2 + bx + c$, look for two numbers that multiply to give $c$ and add to give $b$.

Worked example

Factorise x² + 7x + 10

  1. Pairs that multiply to 10: 1 and 10, 2 and 5.
  2. The pair that adds to 7: 2 and 5.
  3. $(x + 2)(x + 5)$.
  4. Check by expanding: $x^2 + 5x + 2x + 10$.
Worked example

With negatives. Factorise x² − x − 12

  1. Multiply to −12 and add to −1: the numbers have different signs.
  2. 3 and −4 work: 3 × (−4) = −12 and 3 + (−4) = −1.
  3. $(x + 3)(x - 4)$.

Signs give clues. If $c$ is positive, both numbers have the same sign as $b$. If $c$ is negative, the signs differ.

Special cases:

  • Difference of two squares: $x^2 - 49 = (x + 7)(x - 7)$; $4x^2 - 9 = (2x + 3)(2x - 3)$.
  • Common factor first: $2x^2 + 10x + 12 = 2(x^2 + 5x + 6) = 2(x + 2)(x + 3)$.
  • No constant term: $x^2 - 6x = x(x - 6)$.
Check yourself

What is x² + 2x − 15 factorised?

  • (x + 15)(x − 1)

  • (x + 5)(x + 3)

  • (x + 5)(x − 3)

  • (x − 5)(x + 3)

Show the answer

(x + 5)(x − 3)

5 × (−3) = −15 and 5 + (−3) = 2.

3Solving quadratic equations by factorising

If two numbers multiply to give zero, one of them must be zero. This is the key to solving.

Worked example

Solve x² + 2x − 8 = 0

  1. Factorise: $(x + 4)(x - 2) = 0$.
  2. Either $x + 4 = 0$ or $x - 2 = 0$.
  3. $x = -4$ or $x = 2$.
  4. Check: $(-4)^2 + 2(-4) - 8 = 16 - 8 - 8 = 0$.

A quadratic equation usually has two solutions. The equation must equal zero before you factorise.

Worked example

Rearrange first. Solve x² = 5x + 6

  1. $x^2 - 5x - 6 = 0$.
  2. $(x - 6)(x + 1) = 0$.
  3. $x = 6$ or $x = -1$.
Worked example

A problem in context

  1. A rectangle has length $x + 3$ and width $x$, and area 40 cm².
  2. $x(x + 3) = 40$, so $x^2 + 3x - 40 = 0$.
  3. $(x + 8)(x - 5) = 0$, so $x = -8$ or $x = 5$.
  4. A length cannot be negative, so $x = 5$. The rectangle is 5 cm by 8 cm.

Do not divide both sides by $x$: in $x^2 = 4x$ that would lose the solution $x = 0$. Rearrange to $x(x - 4) = 0$ instead.

Check yourself

Solve (x − 3)(x + 7) = 0.

  • x = 3 or x = −7

  • x = 3 or x = 7

  • x = −3 or x = 7

  • x = 21

Show the answer

x = 3 or x = −7

Each bracket is set equal to zero.

4The quadratic formula

Not every quadratic factorises neatly. The quadratic formula solves any equation $ax^2 + bx + c = 0$:

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

Worked example

Solve 2x² + 3x − 4 = 0, to 2 decimal places

  1. $a = 2$, $b = 3$, $c = -4$.
  2. $b^2 - 4ac = 9 - 4(2)(-4) = 9 + 32 = 41$.
  3. $x = \frac{-3 \pm \sqrt{41}}{4}$.
  4. $x = \frac{-3 + 6.403}{4} = 0.85$ or $x = \frac{-3 - 6.403}{4} = -2.35$.

The quantity under the root, $b^2 - 4ac$, is the discriminant. It tells you how many solutions there are.

  • Positive: two solutions.
  • Zero: one repeated solution.
  • Negative: no real solutions (you cannot take the square root of a negative number).

Take care with signs: when $c$ is negative, $-4ac$ becomes positive. Write the substitution out in brackets.

Check yourself

For x² + 4x + 5 = 0, what is the value of b² − 4ac, and what does it show?

  • 36, so there are two solutions

  • −4, so there are two solutions

  • 0, so there is one solution

  • −4, so there are no real solutions

Show the answer

−4, so there are no real solutions

16 − 20 = −4, and a negative discriminant means no real solutions.

5Quadratic graphs

The graph of a quadratic is a smooth, symmetrical curve called a parabola.

  • If $a > 0$ it is U-shaped, with a minimum point.
  • If $a < 0$ it is an upside-down U, with a maximum point.
  • The y-intercept is $c$ (put $x = 0$).
  • The roots (x-intercepts) are the solutions of $ax^2 + bx + c = 0$.
  • The line of symmetry is vertical and passes through the vertex (turning point), halfway between the roots: $x = -\frac{b}{2a}$.
Worked example

Sketch y = x² − 4x + 3

  1. $y$-intercept: (0, 3).
  2. Roots: $(x - 1)(x - 3) = 0$, so $x = 1$ and $x = 3$.
  3. Line of symmetry: halfway between, $x = 2$.
  4. Vertex: $y = 4 - 8 + 3 = -1$, so (2, −1), a minimum.
  5. Draw a smooth U through (0, 3), (1, 0), (2, −1), (3, 0). It should be curved at the bottom, not pointed.

A parabola is symmetrical about a vertical line through its vertex

Quadratics model the path of a thrown ball, the area of a shape with a fixed perimeter and profit against price.

Check yourself

What shape is the graph of y = −x² + 4?

  • An upside-down U with a maximum point

  • A U shape with a minimum point

  • A straight line sloping down

  • A curve that never touches the axes

Show the answer

An upside-down U with a maximum point

The coefficient of x² is negative.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera