# How do you find the solution of the system of equations x+y=7 and  2x-y=2?

May 4, 2015

Solving by elimination and substitution:

$x + y = 7$
$2 x - y = 2$

on adding the two equations $y$ gets cancelled
$x + \cancel{y} = 7$
$2 x - \cancel{y} = 2$

$3 x = 9$
$x = \frac{9}{3} = 3$

substituting this value of $x$ in equation 1:

$x + y = 7$
$3 + y = 7$
$y = 7 - 3$
$y = 4$

the solution for the system of equations are :
$\textcolor{b l u e}{x} = 3$
$\textcolor{b l u e}{y} = 4$