Solve x² − y = 1, x + y = 5

Worked out line by line the way a teacher would write it.

Answer

Solutionsx = −3, y = 8; x = 2, y = 3

Step-by-step solution

12 steps
  1. 1 The system, with the equations numbered
    \begin{aligned}x^{2} - y &= 1 & (1)\\ x + y &= 5 & (2)\end{aligned}
  2. 2 Solve equation (1) for y
    y = x^{2} - 1
  3. 3 Substitute into equation (2)
    x + x^{2} - 1 = 5
  4. 4 Move every term to the left side so the right side is 0
    x^{2} + x - 6 = 0
  5. 5 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = 1,\quad c = -6
  6. 6 Factor the trinomial: find two numbers whose product is c = -6 and whose sum is b = 1
    (-2) \cdot 3 = -6,\qquad (-2) + 3 = 1
  7. 7 Write the factored form
    \left(x - 2\right) \left(x + 3\right) = 0
  8. 8 Zero product property: a product is 0 only when one of its factors is 0
    x - 2 = 0\quad \text{or} \quad x + 3 = 0
  9. 9 Add 2 to both sides
    x = 2

    Move the constant terms to the right.

  10. 10 Subtract 3 from both sides
    x = -3

    Move the constant terms to the right.

  11. 11 Back-substitute x = -3
    y = \left(-3\right)^{2} - 1 = 8
  12. 12 Back-substitute x = 2
    y = 2^{2} - 1 = 3

Check by substitution

EquationLeft sideRight side
(1)11✓
(2)55✓
(1)11✓
(2)55✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.