impera Open Impera

IB Diploma Mathematics AI · Number and algebra

Solving equations with technology

1Systems of two linear equations

A system of equations is a set of equations that must all be true at the same time. Two linear equations in $x$ and $y$ have one solution where their lines cross.

In Maths AI, use the simultaneous equation solver on your calculator. You should also understand what the answer means.

Two lines crossing at (3, 2): the solution of the system

Worked example

Solving a pair

  1. Solve $2x + 3y = 12$ and $x - y = 1$.
  2. Enter the coefficients: $(2, 3, 12)$ and $(1, -1, 1)$.
  3. The solver gives $x = 3$, $y = 2$.
  4. Check: $2(3) + 3(2) = 12$ and $3 - 2 = 1$. Both are true.

If the lines are parallel, there is no solution. If they are the same line, there are infinitely many.

Check yourself

What does the solution of two linear equations show on a graph?

  • The gradient of each line

  • The point where the two lines cross

  • Where each line crosses the y-axis

  • The area between the lines

Show the answer

The point where the two lines cross

That point lies on both lines, so it satisfies both equations.

2Systems of three linear equations

The solver also handles three equations in three unknowns, $x$, $y$ and $z$. Each equation must first be written in the form $ax + by + cz = d$.

Worked example

Three unknowns

  1. Solve $x + y + z = 6$, $2x - y + z = 3$, $x + 2y - z = 2$.
  2. Enter the rows $(1, 1, 1, 6)$, $(2, -1, 1, 3)$, $(1, 2, -1, 2)$.
  3. The solver gives $x = 1$, $y = 2$, $z = 3$.
  4. Check the first equation: $1 + 2 + 3 = 6$.

If an equation is missing a variable, enter its coefficient as 0. For example, $3x + z = 5$ becomes $(3, 0, 1, 5)$.

Check yourself

How should the equation 4y − z = 7 be entered as a row in a three-variable solver?

  • (1, 4, −1, 7)

  • (0, 4, −1, 7)

  • (4, −1, 7)

  • (4, 0, −1, 7)

Show the answer

(0, 4, −1, 7)

There is no x term, so its coefficient is 0.

3Polynomial equations

A polynomial equation has powers of $x$, like $2x^2 - 5x - 3 = 0$ or $x^3 - 6x^2 + 11x - 6 = 0$. The calculator's polynomial solver finds the roots.

  • A quadratic ($x^2$) has at most 2 real roots. A cubic ($x^3$) has at most 3.
  • First rearrange the equation so one side is 0.
  • The real roots are where the graph of $y$ = the polynomial crosses the $x$-axis.
Worked example

Two polynomial equations

  1. Solve $2x^2 - 5x = 3$. Rearrange: $2x^2 - 5x - 3 = 0$.
  2. The solver gives $x = 3$ and $x = -0.5$.
  3. Solve $x^3 - 6x^2 + 11x - 6 = 0$. The solver gives $x = 1, 2, 3$.

Another way: graph each side of an equation and find where the graphs intersect. This works for any equation, such as $2^x = x + 3$.

Check yourself

Before using a polynomial solver on x² + 4x = 12, what must you do?

  • Divide by x

  • Nothing

  • Rearrange it to x² + 4x − 12 = 0

  • Take the square root of both sides

Show the answer

Rearrange it to x² + 4x − 12 = 0

The solver needs the equation in the form "polynomial = 0".

4Setting up equations from words

Most exam questions give a situation in words. You must write the equations yourself, which earns method marks.

  1. Define each variable clearly, with units.
  2. Write one equation for each piece of information.
  3. Solve with technology.
  4. Answer the question in words, in context.
Worked example

Ticket prices

  1. Let $a$ be the price of an adult ticket and $c$ the price of a child ticket, in euros.
  2. 3 adults and 2 children pay 52 euros: $3a + 2c = 52$.
  3. 2 adults and 5 children pay 64 euros: $2a + 5c = 64$.
  4. The solver gives $a = 12$ and $c = 8$. An adult ticket costs 12 euros and a child ticket costs 8 euros.

Always check that the answer makes sense: a negative price or a fraction of a person means something has gone wrong.

Check yourself

A question gives two facts about two unknowns. How many equations should you write?

  • Two, one for each fact

  • Three, to be safe here

  • One, combining both

  • Four, two for each

Show the answer

Two, one for each fact

Each piece of information gives one equation.

5Checking technology answers

A GDC solves equations quickly, but you should check answers make sense.

  • Substitute the solution back into the original equation.
  • Check the context: a negative number of people or a time before the start is not valid.
  • Graph both sides to see all intersection points.
Worked example

A packaging problem

  1. Solve $x(20 - 2x)(15 - 2x) = 300$ for a box made from a 20 × 15 sheet.
  2. A GDC gives three roots: about 1.45, 4.47 and 11.58.
  3. Valid domain: $0 < x < 7.5$, so only 1.45 and 4.47 are valid.
Check yourself

Why might a GDC solution be rejected in context?

  • GDCs always give wrong answers for these problems

  • It lies outside the valid domain for the situation

  • Every solution from a GDC is always valid

  • Only negative answers are allowed in context

Show the answer

It lies outside the valid domain for the situation

Context check.

6Simultaneous equations from words

Worked example

Tickets

  1. Adult tickets cost 12 euros, child tickets 7 euros. 150 tickets sold for 1 450 euros.
  2. Equations: $a + c = 150$ and $12a + 7c = 1450$.
  3. Substitute: $12a + 7(150 - a) = 1450$, so $5a = 400$, giving $a = 80$ and $c = 70$.
Check yourself

If $a + c = 150$ and $a = 80$, what is $c$?

  • 150

  • 230

  • 70

  • 80

Show the answer

70

Subtract.

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