xy-x-2y+2=0 equation
The teacher will be very surprised to see your correct solution 😉
The solution
Detail solution
Given the linear equation:
x*y-x-2*y+2 = 0
Looking for similar summands in the left part:
2 - x - 2*y + x*y = 0
Move free summands (without x)
from left part to right part, we given:
$$x y - x - 2 y = -2$$
Move the summands with the other variables
from left part to right part, we given:
$$x y - x = 2 y - 2$$
Divide both parts of the equation by (-x + x*y)/x
x = -2 + 2*y / ((-x + x*y)/x)
We get the answer: x = 2
The solution of the parametric equation
Given the equation with a parameter:
$$x y - x - 2 y + 2 = 0$$
Коэффициент при x равен
$$y - 1$$
then possible cases for y :
$$y < 1$$
$$y = 1$$
Consider all cases in more detail:
With
$$y < 1$$
the equation
$$2 - x = 0$$
its solution
$$x = 2$$
With
$$y = 1$$
the equation
$$0 = 0$$
its solution
any x
Sum and product of roots
[src]
$$2$$
$$2$$
$$2$$
$$2$$