impera Open Impera

IB MYP Mathematics · Algebra

Simultaneous equations and inequalities

1What simultaneous equations are

One equation with two unknowns, such as $x + y = 10$, has many solutions. Two equations together usually have just one pair of values that satisfies both at once. These are simultaneous equations.

On a graph, each linear equation is a line, and the solution is the point where the lines cross.

  • Lines that cross once: one solution.
  • Parallel lines: no solution.
  • The same line written twice: infinitely many solutions.
Worked example

Solving by graph

  1. Solve $y = x + 1$ and $y = 7 - 2x$.
  2. Plot both lines. The first passes through (0, 1) and (2, 3); the second through (0, 7) and (2, 3).
  3. They cross at (2, 3).
  4. Solution: $x = 2$, $y = 3$. Check in both: 2 + 1 = 3 and 7 − 4 = 3.

Graphs give a clear picture, but they are slow and inexact when the answers are not whole numbers. Algebra is more reliable.

Check yourself

Two lines are parallel. How many solutions do their equations have?

  • One

  • Two

  • Infinitely many

  • None

Show the answer

None

Parallel lines never meet.

2Elimination

In elimination, add or subtract the equations to remove one variable.

Worked example

Solve 3x + 2y = 16 and 5x − 2y = 8

  1. The $y$ terms are $+2y$ and $-2y$. Add the equations: $8x = 24$.
  2. $x = 3$.
  3. Substitute into the first: $9 + 2y = 16$, so $y = 3.5$.
  4. Check in the second: 15 − 7 = 8.

If no coefficients match, multiply one or both equations first.

Worked example

Solve 2x + 3y = 13 and 5x − 2y = 4

  1. Multiply the first by 2: $4x + 6y = 26$.
  2. Multiply the second by 3: $15x - 6y = 12$.
  3. Add: $19x = 38$, so $x = 2$.
  4. Substitute: $4 + 3y = 13$, so $y = 3$.
  5. Check in the second: 10 − 6 = 4.

Rule for the signs: if the matching terms have different signs, add; if they have the same sign, subtract.

Check yourself

To eliminate y from 4x + y = 11 and 2x + y = 7, what should you do?

  • Subtract one equation from the other

  • Add the equations

  • Divide one equation by the other

  • Multiply the equations together

Show the answer

Subtract one equation from the other

The y terms have the same sign, so subtracting removes them.

3Substitution

In substitution, rearrange one equation to make a variable the subject and substitute into the other. It is best when one equation already has a single $x$ or $y$.

Worked example

Solve y = 2x − 1 and 3x + 2y = 19

  1. Replace $y$ in the second equation: $3x + 2(2x - 1) = 19$.
  2. Expand: $3x + 4x - 2 = 19$.
  3. $7x = 21$, so $x = 3$.
  4. $y = 2(3) - 1 = 5$.
  5. Check: 9 + 10 = 19.
Worked example

A problem in context

  1. Tickets for 2 adults and 3 children cost $41. Tickets for 1 adult and 2 children cost $24.
  2. $2a + 3c = 41$ and $a + 2c = 24$.
  3. From the second: $a = 24 - 2c$.
  4. Substitute: $2(24 - 2c) + 3c = 41$, so $48 - c = 41$ and $c = 7$.
  5. $a = 24 - 14 = 10$. An adult ticket is $10 and a child ticket $7.

Always define your letters and answer in words.

Check yourself

Solve y = x + 2 and x + y = 10.

  • x = 6, y = 4

  • x = 5, y = 5

  • x = 4, y = 6

  • x = 8, y = 2

Show the answer

x = 4, y = 6

Substituting gives x + x + 2 = 10, so x = 4.

4Solving inequalities

An inequality describes a range of values.

  • $<$ less than; $>$ greater than; $\le$ less than or equal to; $\ge$ greater than or equal to.
  • 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$).

Solve an inequality like an equation, with one extra rule: if you multiply or divide by a negative number, reverse the inequality sign.

Worked example

Solve 3x − 5 < 10

  1. Add 5: $3x < 15$.
  2. Divide by 3: $x < 5$.
Worked example

A negative coefficient. Solve 7 − 2x ≥ 1

  1. Subtract 7: $-2x \ge -6$.
  2. Divide by −2 and reverse the sign: $x \le 3$.
  3. Check with a value: $x = 0$ gives 7 ≥ 1, which is true.

Why the sign reverses: 2 < 5 is true, but multiplying by −1 gives −2 and −5, and −2 > −5.

Worked example

A double inequality. Solve −3 < 2x + 1 ≤ 9

  1. Subtract 1 from all three parts: $-4 < 2x \le 8$.
  2. Divide by 2: $-2 < x \le 4$.
  3. The integer solutions are −1, 0, 1, 2, 3, 4.
Check yourself

Solve −4x > 12.

  • x > −3

  • x > 3

  • x < −3

  • x < 3

Show the answer

x < −3

Dividing by −4 reverses the inequality sign.

5Inequalities on a graph

An inequality in two variables is shown as a region of the plane.

  1. Draw the boundary line as if the inequality were an equation.
  2. Use a solid line for $\le$ or $\ge$ and a dashed line for $<$ or $>$.
  3. Test a point not on the line, usually (0, 0), to decide which side satisfies the inequality.
  4. Shade as the question instructs (some shade the wanted region, some the unwanted).
Worked example

Show the region y > 2x − 1

  1. Draw $y = 2x - 1$ as a dashed line through (0, −1) and (2, 3).
  2. Test (0, 0): is 0 > −1? Yes.
  3. The side containing the origin, above the line, is the region.

Several inequalities together define a region that satisfies all of them. This is how limits such as budgets, time and materials are combined to find possible solutions.

Worked example

A constraint in context

  1. Notebooks cost $2 and pens $1. You have $10.
  2. $2n + p \le 10$, with $n \ge 0$ and $p \ge 0$.
  3. The points with whole-number coordinates inside the region are the possible purchases, such as 3 notebooks and 4 pens.
Check yourself

Which line style shows the boundary of y ≤ 3x + 2?

  • No line is drawn

  • A dashed line

  • A solid line

  • A dotted curve

Show the answer

A solid line

Points on the line are included, so the line is solid.

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