📘 CodingMarble Learn

Simultaneous Equations

Simultaneous equations are two or more equations that must be true at the same time. Their solution is the set of values that fits every equation. On a graph, each solution is a point where the graphs meet. With one straight line and one curve, put the line into the curve (substitution) to get a quadratic; its discriminant tells you if there are 2, 1 or 0 meeting points. With three linear equations, eliminate one letter at a time.

🎬 Step-by-step story

  1. One equation, y = x + 1, is a straight line. Every point on the line is one answer of that equation alone.
  2. A second equation, y = x² − 1, is a U-shaped curve. It has its own answers.
  3. The line and the curve meet at two points: (−1, 0) and (2, 3). Only these points fit both equations. They are the solutions.
  4. Move the line to y = 2x − 2. Now it just touches the curve at one point, (1, 0). One solution.
  5. Move the line to y = x − 3. It never meets the curve. No real solution.
  6. Free play: change the slope m and the number c of the line. Tap 'Solve by substitution' to see each line of working.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is one equation not enough to find x and y?

One equation in two letters has endless answers: every point on its line. Step 1 shows a whole line of answers.

Why must the answer fit both equations?

Only the meeting points lie on both graphs. Any other point is on one graph only. See the red points in step 3.

Why do we put x back into the linear equation, not the quadratic?

The quadratic can give two y values for one x, and one of them may not lie on the line. The line gives exactly the matching y.

What does it mean when the quadratic has a double root?

The two meeting points have joined into one. The line is a tangent. See step 4.

If D < 0, did I make a mistake?

Not always. The line may really miss the curve. Step 5 shows a line that never meets the parabola.

Can I use elimination for a line and a curve?

Sometimes, but substitution always works and is safer. Try it in free play with the 'Solve by substitution' button.

What are simultaneous equations?

Simultaneous means "at the same time". Simultaneous equations are equations that must all be true together.

Example: x + y = 7 and x − y = 1. Many pairs fit the first one (like 3 and 4, or 5 and 2). Only x = 4, y = 3 fits both. That pair is the solution of the system.

A group of equations solved together is also called a system of equations.

Two linear equations: substitution and elimination

Substitution: make one letter the subject of one equation, then put it into the other.

x + y = 7 → y = 7 − x. Put this into x − y = 1: x − (7 − x) = 1 → 2x = 8 → x = 4, so y = 3.

Elimination: add or subtract the equations so one letter disappears. (x + y) + (x − y) = 7 + 1 → 2x = 8 → x = 4.

Two straight lines can cross once (one solution), be parallel (no solution) or be the same line (infinitely many solutions).

One linear and one quadratic equation

When one equation is a straight line and the other has a square (like y = x² − 1 or x² + y² = 25), use substitution. Elimination usually does not work here.

  1. Make y (or x) the subject of the linear equation.
  2. Put it into the quadratic equation.
  3. Tidy up to get ax² + bx + c = 0 and solve it.
  4. Put each x back into the linear equation to get its y.

Answers come in pairs: each x has its own y. Write them as points, like (−1, 0) and (2, 3).

How many solutions? Use the discriminant

After substitution you get a quadratic ax² + bx + c = 0. Its discriminant is D = b² − 4ac.

This is how exam questions ask you to "find k so that the line is a tangent": set D = 0 and solve for k.

Two quadratic equations and symmetric systems

Some systems use x + y and xy. Example: x + y = 5, xy = 6. Then x and y are the two roots of t² − 5t + 6 = 0, so t = 2 or 3. The solutions are (2, 3) and (3, 2).

For two quadratics like x² + y² = 13 and xy = 6, use (x + y)² = x² + y² + 2xy = 25, so x + y = ±5, and then solve as above.

Three linear equations in three unknowns

With three letters you need three equations. Remove one letter twice to get two equations in two letters, solve those, then go back.

x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2.

(1) + (3): 2x + 3y = 8. (2) + (3): 3x + y = 5. From the second, y = 5 − 3x. Then 2x + 15 − 9x = 8 → x = 1, y = 2, and z = 6 − 1 − 2 = 3.

Each linear equation in three letters is a flat plane in 3D. The solution is the point where all three planes meet. Later this is done with matrices.

Try it: the meeting game

In the 3D graph, set m = 2 and slide c. Watch the two red points move together and join when c = −2 (the line becomes a tangent). Predict first: at what value of c will the line stop touching the curve? Then check with the slider and with D = b² − 4ac.

At home: draw y = x² on squared paper. Lay a ruler on it in different positions. Count how many times the ruler edge meets the curve: 2, 1 or 0.

Key formulas and definitions

Worked examples

1. Solve x + y = 7 and x − y = 1.

Add the equations: 2x = 8, so x = 4. Then y = 7 − 4 = 3. Solution (4, 3).

2. Solve y = x + 1 and y = x² − 1.

Substitute: x² − 1 = x + 1 → x² − x − 2 = 0 → (x − 2)(x + 1) = 0 → x = 2 or x = −1. Then y = 3 or y = 0. Solutions (2, 3) and (−1, 0).

3. Solve x + y = 7 and xy = 12.

y = 7 − x, so x(7 − x) = 12 → x² − 7x + 12 = 0 → (x − 3)(x − 4) = 0. x = 3, y = 4 or x = 4, y = 3.

4. Solve x² + y² = 25 and y = x + 1.

x² + (x + 1)² = 25 → 2x² + 2x − 24 = 0 → x² + x − 12 = 0 → (x + 4)(x − 3) = 0. x = 3, y = 4 or x = −4, y = −3.

5. Find k so that the line y = 2x + k touches the curve y = x².

x² = 2x + k → x² − 2x − k = 0. For one touching point, D = 0: 4 + 4k = 0 → k = −1. It touches at x = 1, y = 1.

6. A rectangle has perimeter 20 m and area 24 m². Find its sides.

2(x + y) = 20 → x + y = 10, and xy = 24. y = 10 − x → x(10 − x) = 24 → x² − 10x + 24 = 0 → x = 4 or 6. Sides 4 m and 6 m.

7. Solve x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2.

(1)+(3): 2x + 3y = 8. (2)+(3): 3x + y = 5 → y = 5 − 3x. Then 2x + 15 − 9x = 8 → x = 1, y = 2, z = 3. Check: 2 − 2 + 3 = 3 ✓.

Common mistakes

Practice quiz

1. A solution of simultaneous equations must:
2. A line and a parabola can meet at most:
3. After substitution you get D = 0. The line is:
4. Best method for y = x + 2 and y = x²:
5. How many equations do you usually need for 3 unknowns?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are simultaneous equations in simple words?

Two or more equations that must be true at the same time. You look for values that fit all of them.

How do you solve a linear and a quadratic equation together?

Make one letter the subject of the linear equation, substitute it into the quadratic, solve the quadratic, then find the other letter from the linear equation.

Can simultaneous equations have no solution?

Yes. Two parallel lines never meet, and a line can miss a curve completely. Then there is no (real) solution.

Where this is taught

PolandLiceum ogólnokształcące, klasa IISystems of equations
RomaniaClasa a XI-aMatrices and linear systems
RomaniaClasa a XI-aMatrices and linear systems
Ukraine11 класAlgebra: equations, inequalities and systems — review (30 h)
USA (Common Core, NGSS, AP)Grade 9Expressions and equations (quadratic)
USA (Common Core, NGSS, AP)Grade 10Expressions and equations
South Korea고등학교 1학년Equations and inequalities
Russia9 классEquations and inequalities
Russia11 классEquations and inequalities

Learn first

Learn next

Related lessons

All Maths lessons