| \n" );
document.write( "
 \n" );
document.write( "  Lets start with the given system of linear equations
 \n" );
document.write( "
 \n" );
document.write( "
  \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "  In order to solve for one variable, we must eliminate the other variable. So if we wanted to solve for y, we would have to eliminate x (or vice versa).
 \n" );
document.write( "
 \n" );
document.write( "  So lets eliminate x. In order to do that, we need to have both x coefficients that are equal but have opposite signs (for instance 2 and -2 are equal but have opposite signs). This way they will add to zero.
 \n" );
document.write( "
 \n" );
document.write( "  So to make the x coefficients equal but opposite, we need to multiply both x coefficients by some number to get them to an equal number. So if we wanted to get 3 and 7 to some equal number, we could try to get them to the LCM.
 \n" );
document.write( "
 \n" );
document.write( "  Since the LCM of 3 and 7 is 21, we need to multiply both sides of the top equation by 7 and multiply both sides of the bottom equation by -3 like this:
 \n" );
document.write( "
 \n" );
document.write( "
  Multiply the top equation (both sides) by 7 \n" );
document.write( "
  Multiply the bottom equation (both sides) by -3 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So after multiplying we get this:
 \n" );
document.write( "
  \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "  Notice how 21 and -21 add to zero (ie
  ) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  Now add the equations together. In order to add 2 equations, group like terms and combine them
 \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "
  Notice the x coefficients add to zero and cancel out. This means we've eliminated x altogether. \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So after adding and canceling out the x terms we're left with:
 \n" );
document.write( "
 \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "
  Divide both sides by  to solve for y \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Reduce \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  Now plug this answer into the top equation
  to solve for x \n" );
document.write( "
 \n" );
document.write( "
  Plug in  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Multiply \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Subtract  from both sides \n" );
document.write( "
 \n" );
document.write( "
  Combine the terms on the right side \n" );
document.write( "
 \n" );
document.write( "
  Multiply both sides by  . This will cancel out  on the left side. \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Multiply the terms on the right side \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So our answer is
 \n" );
document.write( "
 \n" );
document.write( "
  ,  \n" );
document.write( "
 \n" );
document.write( "  which also looks like
 \n" );
document.write( "
 \n" );
document.write( "  (
  ,  ) \n" );
document.write( "
 \n" );
document.write( "  Notice if we graph the equations (if you need help with graphing, check out this solver)
 \n" );
document.write( "
 \n" );
document.write( "
  \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "  we get
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  graph of  (red)  (green) (hint: you may have to solve for y to graph these) and the intersection of the lines (blue circle). \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  and we can see that the two equations intersect at (
  ,  ). This verifies our answer. | 
\n" );
document.write( "