document.write( "Question 372417: The problem says solve by substitution
\n" ); document.write( "to find the solution of
\n" ); document.write( "5x+5y=-20
\n" ); document.write( "and -9x+y=76
\n" ); document.write( "there may not be a solution as well but that is where I get confused.
\n" ); document.write( "

Algebra.Com's Answer #265262 by marcsam823(57)\"\" \"About 
You can put this solution on YOUR website!
5x +5y = -20
\n" ); document.write( "-9x + y = 76\r
\n" ); document.write( "\n" ); document.write( "To solve by substitution solve one equation for one variable and substitute that value into the second. There are several ways to do this with problems of this type.\r
\n" ); document.write( "\n" ); document.write( "Let's start with:
\n" ); document.write( "\"5x+%2B+5y+=+-20\"\r
\n" ); document.write( "\n" ); document.write( "Divide each term by 5:
\n" ); document.write( "\"5x%2F5+%2B+5y%2F5+=-20%2F5\"
\n" ); document.write( "\"x+%2B+y+=+-4\"\r
\n" ); document.write( "\n" ); document.write( "We can now easily solve for x or y. Let's solve for y by subtracting x from both sides of the equation:
\n" ); document.write( "\"y+=+-x+-4\"\r
\n" ); document.write( "\n" ); document.write( "In the second equation, substitute \"-x-4\" for y \r
\n" ); document.write( "\n" ); document.write( "\"-9x+%2B+y+=76\"
\n" ); document.write( "\"-9x+%2B+%28-x+-4%29+=76\"\r
\n" ); document.write( "\n" ); document.write( "Now we have only one variable (x) and can solve for it.\r
\n" ); document.write( "\n" ); document.write( "Combine like terms:
\n" ); document.write( "\"-10x+-+4+=+76\"
\n" ); document.write( "Add 4 to both sides of the equation:
\n" ); document.write( "\"-10x+=+80\"\r
\n" ); document.write( "\n" ); document.write( "Solve for x by dividing both sides by -10\r
\n" ); document.write( "\n" ); document.write( "\"x+=+-8\"\r
\n" ); document.write( "\n" ); document.write( "To solve for y, plug x = -8 into either one of the original equations.
\n" ); document.write( "\"5x+%2B+5y+=+-20\"
\n" ); document.write( "\"5%28-8%29+%2B+5y+=+-20\"
\n" ); document.write( "\"-40+%2B+5y+=+-20\"
\n" ); document.write( "\"5y+=+20\"
\n" ); document.write( "\"y+=+4\"\r
\n" ); document.write( "\n" ); document.write( "To further verify that x = -8 and y = 4, check by substituting these values into the other equation.
\n" ); document.write( "\"-9x+%2B+y+=+76\"
\n" ); document.write( "\"-9%28-8%29+%2B+4+=+76\"\r
\n" ); document.write( "\n" ); document.write( "\"72+%2B+4+=+76\"
\n" ); document.write( "\"76+=+76\"\r
\n" ); document.write( "\n" ); document.write( "The correct answers are \"x+=+-8\" and \"y+=+4\"\r
\n" ); document.write( "\n" ); document.write( "There will be instances where there is no solution. If you solve for x and y in the first equation and the results do not fit into the second, then there is no solution. Be aware that your textbook may present you with a problem like that.
\n" ); document.write( "
\n" );