document.write( "Question 191164: Please help me solve this substitution problem.
\n" ); document.write( "3(x-y)=15
\n" ); document.write( "2x+y=7
\n" ); document.write( "The question I have is does it matter which equation I use as the substitution? I used the 2nd equation and came up with a different answer than with the first.
\n" ); document.write( "First solution:
\n" ); document.write( "3(x-y)=15
\n" ); document.write( "2x+y=7 y=7-2x\r
\n" ); document.write( "\n" ); document.write( "3(x-7-2x)=15
\n" ); document.write( "3x-21-6x=15
\n" ); document.write( "-3x=36
\n" ); document.write( "x=-12
\n" ); document.write( "y=7-2x
\n" ); document.write( "y=7-2(-12)
\n" ); document.write( "y=31\r
\n" ); document.write( "\n" ); document.write( "Second solution:
\n" ); document.write( "3(x-y)=15 3x-3y=15
\n" ); document.write( "2x+y=7 3x=15+3y
\n" ); document.write( " x=5+y\r
\n" ); document.write( "\n" ); document.write( "2(5+y)+y=7
\n" ); document.write( "10+2y+y=7
\n" ); document.write( "3y=-3
\n" ); document.write( "y=-1
\n" ); document.write( "x=5+y
\n" ); document.write( "x=5+-1
\n" ); document.write( "x=4
\n" ); document.write( "
\n" ); document.write( "which is correct and how do I know which equation to start with on these types of problems?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #144943 by MathTherapy(10552)\"\" \"About 
You can put this solution on YOUR website!
3(x - y)= 15
\n" ); document.write( "2x + y = 7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y = 7
\n" ); document.write( "y = 7 - 2x
\n" ); document.write( "Substituting this value for y in eq. (i) gives us:
\n" ); document.write( "3{x-(7-2x)} = 15
\n" ); document.write( "3(x – 7 + 2x) = 15
\n" ); document.write( "3x – 21 + 6x = 15
\n" ); document.write( "9x = 36
\n" ); document.write( "x = 4\r
\n" ); document.write( "\n" ); document.write( "Substitute this value for x in eq. (ii) 2x + y = 7. This give us:
\n" ); document.write( "2(4) + y = 7
\n" ); document.write( "y = - 1\r
\n" ); document.write( "\n" ); document.write( "You made an error when substituting the value of y (7 – 2x) into the 1st equation (see above). As seen, either equation can be substituted in order to find the values of x and y. So, the answer is (4, - 1).
\n" ); document.write( "
\n" ); document.write( "
\n" );