document.write( "Question 603886: Can you help me solve the equations ax + by = m and cx + dy = n. somehow the answer is supposed to be those two equations combined into one. \r
\n" ); document.write( "\n" ); document.write( "I need an answer asap\r
\n" ); document.write( "\n" ); document.write( "everything I have done is wrong and I need to know how to figure them out.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #380866 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Can you help me solve the equations ax + by = m and cx + dy = n.
\n" ); document.write( "-----------
\n" ); document.write( "Use determinants\r
\n" ); document.write( "\n" ); document.write( "|a b -m|
\n" ); document.write( "|c d -n|
\n" ); document.write( "---------
\n" ); document.write( "Det = ab - cd
\n" ); document.write( "---
\n" ); document.write( "x*Det = b*-n - d*-m = dm - bn
\n" ); document.write( "-y*Det = a*-n - c*-m = cm - an
\n" ); document.write( "--------
\n" ); document.write( "x = (dm - bn)/(ab - cd)
\n" ); document.write( "y = (an - cm)/(ab - cd)
\n" ); document.write( "===========================
\n" ); document.write( "Without determinants:
\n" ); document.write( "ax + by = m Eqn 1
\n" ); document.write( "cx + dy = n Eqn 2
\n" ); document.write( "------
\n" ); document.write( "acx + bcy = cm Eqn 1 times c
\n" ); document.write( "acx + ady = an Eqn 2 times a
\n" ); document.write( "------------------------ Subtract
\n" ); document.write( "y*(bc-ad) = cm - an
\n" ); document.write( "y = (an - cm)/(ad - bc) (I flipped both NUM and DEN)
\n" ); document.write( "========================\r
\n" ); document.write( "\n" ); document.write( "ax + by = m Eqn 1
\n" ); document.write( "cx + dy = n Eqn 2
\n" ); document.write( "------
\n" ); document.write( "adx + bdy = dm Eqn 1 times d
\n" ); document.write( "bcx + bdy = bn Eqn 2 times b
\n" ); document.write( "------------------------ Subtract
\n" ); document.write( "x*(ad - bc) = dm - bn
\n" ); document.write( "x = (dm - bn)/(ad - bc)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );