document.write( "Question 54151: Melisa has saved a total of $30,000 and wants to invest in three different stocks: Pepsico, IBM, and Microsoft. She wants the Pepsico amount to be $1000 less than twice the IBM amount and the Microsoft amount to be $2000 more than the total in the other two stocks. How much should she invest in each stock.
\n" ); document.write( "Solve using linear equation, system of three variable. The variables will be x,y, and z. Solve for each.
\n" ); document.write( "

Algebra.Com's Answer #36462 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Melisa has saved a total of $30,000 and wants to invest in three different stocks: Pepsico, IBM, and Microsoft. She wants the Pepsico amount to be $1000 less than twice the IBM amount and the Microsoft amount to be $2000 more than the total in the other two stocks. How much should she invest in each stock.
\n" ); document.write( "Solve using linear equation, system of three variable. The variables will be x,y, and z. Solve for each.
\n" ); document.write( ":
\n" ); document.write( "1st equation: total of 3 investments: x=Pep; y = IBM; z = Micro
\n" ); document.write( ":
\n" ); document.write( "x + y + z = 30000
\n" ); document.write( ":
\n" ); document.write( "write equation for the following statements, arrange in standard form:
\n" ); document.write( "\"Pepsico amount to be $1000 less than twice the IBM amount\"
\n" ); document.write( "x = 2y - 1000
\n" ); document.write( "x - 2y = -1000
\n" ); document.write( ":
\n" ); document.write( "\"Microsoft amount to be $2000 more than the total in the other two stocks.\"
\n" ); document.write( "z = x + y + 2000
\n" ); document.write( "x + y - z = -2000
\n" ); document.write( ":
\n" ); document.write( "Three equations in standard form
\n" ); document.write( "x + y + z = 30000
\n" ); document.write( "x -2y + 0 = -1000
\n" ); document.write( "x + y - z = -2000
\n" ); document.write( ":
\n" ); document.write( "Taking the 1st and 3rd equations, you can eliminate x & y
\n" ); document.write( "x + y + z = 30000
\n" ); document.write( "x + y - z = -2000
\n" ); document.write( "------------------subtract
\n" ); document.write( "0 + 0 + 2z = 32000
\n" ); document.write( " z = 32000/2
\n" ); document.write( " z = 16000
\n" ); document.write( ":
\n" ); document.write( "Take the 1st and 2nd equations, substitute 16000 for z and you have:
\n" ); document.write( "x + y + 16000 = 30000
\n" ); document.write( "x + y = 30000 - 16000
\n" ); document.write( "x + y = 14000
\n" ); document.write( ":
\n" ); document.write( "x + y = 14000
\n" ); document.write( "x - 2y = -1000
\n" ); document.write( "-------------- Subtract, eliminate x
\n" ); document.write( "0 + 3y = 15000
\n" ); document.write( " y = 15000/3
\n" ); document.write( " y = 5000
\n" ); document.write( ":
\n" ); document.write( "I'll let you find out what x is. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );