Solve x² + y² = 10, x + y = 4

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

Answer

Solutionsx = 3, y = 1; x = 1, y = 3

Step-by-step solution

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

    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 = 4 - 1 = 3
  14. 14 Back-substitute y = 3
    x = 4 - 3 = 1

Check by substitution

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