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

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

Answer

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

Step-by-step solution

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

    Move the constant terms to the right.

  12. 12 Add 2 to both sides
    y = 2

    Move the constant terms to the right.

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

Check by substitution

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