Solve x - y = 1 and x^2 + y^2 = 5 by Substitution

Interactive Solve x - y = 1 and x^2 + y^2 = 5 by Substitution graph — click to explore
Click the graph to explore it interactively →
Question: solve x-y=1 x^2 + y^2 =5 by Compensation method
To solve the system of equations x - y = 1 and x^2 + y^2 = 5, we look for the intersection points of a straight line and a circle. The method of "compensation" (commonly known as substitution) involves expressing one variable in terms of the other using the linear equation and then substituting that into the quadratic equation.

1. Rearrange the Linear Equation

We start with the linear equation and isolate one variable (e.g., x): \begin{align*} x - y &= 1 \\ x &= y + 1 \end{align*}

2. Substitute into the Quadratic Equation

We replace x in the equation of the circle ( x^2 + y^2 = 5) with the expression (y + 1): \begin{align*} (y + 1)^2 + y^2 &= 5 \\ (y^2 + 2y + 1) + y^2 &= 5 \\ 2y^2 + 2y + 1 &= 5 \end{align*}

3. Solve the Resulting Quadratic

Subtract 5 from both sides to set the equation to zero: \begin{align*} 2y^2 + 2y - 4 &= 0 \\ y^2 + y - 2 &= 0 \quad (\text{Divide through by 2}) \\ (y + 2)(y - 1) &= 0 \end{align*} This gives two possible values for y: \begin{align*} y_1 = -2 \quad \text{or} \quad y_2 = 1 \end{align*}

4. Find the Corresponding x Values

Using x = y + 1:
  • If y = -2, then x = -2 + 1 = -1.
  • If y = 1, then x = 1 + 1 = 2.
The solutions are the points where the blue line x - y = 1 intersects the red circle x^2 + y^2 = 5. These points are (-1, -2) and (2, 1).

Visual Interpretation

In the diagram:
  • The red circle represents the equation x^2 + y^2 = 5, which has a center at (0, 0) and a radius of approximately 2.24 ( \sqrt{5}).
  • The blue line represents the equation x - y = 1.
  • The points A and B mark the intersection coordinates that satisfy both equations simultaneously.