document.write( "Question 629335:
\n" ); document.write( "Express the vector v= [-17] as a linear combination of x = [-2] and y = [-5]
\n" ); document.write( " [ 50 ] [ 5 ] [ -6]\r
\n" ); document.write( "\n" ); document.write( "v=__x + __ y. \r
\n" ); document.write( "\n" ); document.write( "How could I express this?
\n" ); document.write( "

Algebra.Com's Answer #396209 by jsmallt9(3758)\"\" \"About 
You can put this solution on YOUR website!
I'm assuming that \"v+=+%28matrix%282%2C+1%2C+-17%2C+50%29%29\", \"x+=+%28matrix%282%2C+1%2C+-2%2C+5%29%29\" and \"y+=+%28matrix%282%2C+1%2C+-5%2C+-6%29%29\".

\n" ); document.write( "The problem is to find what number times x plus what number times y adds up to v. Let's call these two numbers a and b. So we're looking for what a and b make
\n" ); document.write( "v = a*x + b*y
\n" ); document.write( "true.

\n" ); document.write( "Substituting the vectors/column matrices in for v, x and y out equation is:
\n" ); document.write( "
\n" ); document.write( "Performing the scalar multiplication on the right side we get:
\n" ); document.write( "
\n" ); document.write( "Adding the vectors/column matrices on the right we get:
\n" ); document.write( "
\n" ); document.write( "By the definition of matrix/vector equality, these are equal only if each element of one is equal to the corresponding element of the other. So
\n" ); document.write( "-17 = -2a + (-5b) and
\n" ); document.write( "50 = 5a + (-6b)

\n" ); document.write( "To find the correct values for a and b we solve this system. You have probably learned several ways to solve a system of linear equations like this: Substitution, Linear Combination/Elimination, several matrix methods, determinants/Cramer's Rule, etc. I'm going to use Linear Combination (but any of them will work and give the right answers).
\n" ); document.write( "Multiplying the first equation by 5 and the second equation by 2 we get:
\n" ); document.write( "-85 = -10a + (-25b)
\n" ); document.write( "100 = 10a + (-12b)
\n" ); document.write( "Adding the two equations together we get:
\n" ); document.write( "15 = -37b
\n" ); document.write( "Dividing both sides by -37 we get:
\n" ); document.write( "-15/37 = b
\n" ); document.write( "Now we use this value and one of the earlier equations to find a:
\n" ); document.write( "\"-17+=+-2a+%2B+%28-5%29%28-15%2F37%29\"
\n" ); document.write( "Simplifying we get:
\n" ); document.write( "\"-17+=+-2a+%2B+75%2F37\"
\n" ); document.write( "Subtracting 75/37 to each side:
\n" ); document.write( "\"-17+-+75%2F37+=+-2a+\"
\n" ); document.write( "\"-629%2F37+-+75%2F37+=+-2a\"
\n" ); document.write( "\"-704%2F37+=+-2a\"
\n" ); document.write( "Dividing by -2:
\n" ); document.write( "\"352%2F37+=+a\"

\n" ); document.write( "So
\n" ); document.write( "\"v+=+%28352%2F37%29x+%2B+%28-15%2F37%29y\"
\n" ); document.write( "
\n" );