Solve x² + y² = 5, x + y = 3

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

Answer

Solutionsx = 2, y = 1; x = 1, y = 2

Step-by-step solution

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

    Move the constant terms to the right.

  12. 12 Add 1 to both sides
    y = 1

    Move the constant terms to the right.

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

Check by substitution

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