document.write( "Question 173516: i need help with-
\n" ); document.write( "x+y=9
\n" ); document.write( "y=2x when the directions say solve by graphing and substitution
\n" ); document.write( " thank you
\n" ); document.write( "

Algebra.Com's Answer #128395 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
you have 2 equations:
\n" ); document.write( "x+y = 9
\n" ); document.write( "y = 2x
\n" ); document.write( "-----
\n" ); document.write( "since y = 2x in the second equation, you substitute 2x for y in the first equation to get:
\n" ); document.write( "-----
\n" ); document.write( "x + 2x = 9
\n" ); document.write( "simplify to get:
\n" ); document.write( "3x = 9
\n" ); document.write( "divide both sides by 3 to get:
\n" ); document.write( "x = 9/3 = 3
\n" ); document.write( "-----
\n" ); document.write( "since x = 3, take any equation and solve for y.
\n" ); document.write( "second equation says y = 2x
\n" ); document.write( "since x = 3,
\n" ); document.write( "y = 2*3 = 6
\n" ); document.write( "-----
\n" ); document.write( "since x = 3 and y = 6, plug these values into the first equation to get:
\n" ); document.write( "x + y = 9
\n" ); document.write( "3 + 6 = 9
\n" ); document.write( "9 = 9
\n" ); document.write( "equation is true so values of x = 3 and y = 6 are good.
\n" ); document.write( "graph of these equations should show the intersection of the 2 lines at the point (x,y) = (3,6)
\n" ); document.write( "in order to graph these equations, make them so that y is on the left hand side of the equation and x is on the right hand side of the equation (solve for y in both equations).
\n" ); document.write( "second equation is already there:
\n" ); document.write( "y = 2x
\n" ); document.write( "first equation needs to be manipulated:
\n" ); document.write( "x + y = 9
\n" ); document.write( "subtract x from both sides of the equation to get:
\n" ); document.write( "y = 9-x
\n" ); document.write( "first equation is now in the right form.
\n" ); document.write( "both equations that are in graphing form are:
\n" ); document.write( "y = 2x
\n" ); document.write( "y = 9-x
\n" ); document.write( "-----
\n" ); document.write( "here's a graph of the equations:
\n" ); document.write( "\"graph+%28800%2C800%2C-1%2C10%2C-2%2C15%2C2x%2C9-x%29\"
\n" ); document.write( "you can see that these lines intersect at the point (3,6) which is exacty the point we calculated them to be when we solved both equations simultaneously.
\n" ); document.write( "
\n" );