Explanation:
System of Linear Equations entered :
[1] 2x-y=4 [2] y-x=4
Equations Simplified or Rearranged :
[1] 2x - y = 4 [2] -x + y = 4
Graphic Representation of the Equations :
y + 2x = 4 y - x = 4
Solve by Substitution :
// Solve equation [2] for the variable y
[2] y = x + 4
// Plug this in for variable y in equation [1]
[1] 2x - (x +4) = 4 [1] x = 8
// Solve equation [1] for the variable x
[1] x = 8
// By now we know this much :
x = 8 y = x+4
// Use the x value to solve for y
y = (8)+4 = 12
Solution :
{x,y} = {8,12}