Solve x² + y² = 25, x + y = 1

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

Answer

Solutionsx = 4, y = −3; x = −3, y = 4

Step-by-step solution

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

    Move the constant terms to the right.

  12. 12 Subtract 3 from both sides
    y = -3

    Move the constant terms to the right.

  13. 13 Back-substitute y = -3
    x = 1 - -3 = 4
  14. 14 Back-substitute y = 4
    x = 1 - 4 = -3

Check by substitution

EquationLeft sideRight side
(1)2525✓
(2)11✓
(1)2525✓
(2)11✓
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.