document.write( "Question 73111: Not too long ago Edwin greatly helped me solve a system of equations from a word problem, it did indeed help me however, i need to now use that system and solve it using the substitution and elimination methods... can u help me?... the system is....
\n" ); document.write( "s + p + c = 40
\n" ); document.write( " c = 4p
\n" ); document.write( " s = p - 2
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #52378 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
Notice how c=4p and s=p-2, you can simply replace c and s in the first equation with 4p and p-2. This allows you to work with nothing but p.
\n" ); document.write( "\"s+%2B+p+%2B+c+=+40\"
\n" ); document.write( "\"c+=+4p\"
\n" ); document.write( "\"s+=+p+-+2\"
\n" ); document.write( "\"s+%2B+p+%2B+highlight%284p%29+=+40\"Replace c with 4p (it's like saying x+5=10 and if I replace x with 5 I get 5+5=10. What I'm doing is substituting 5 into x to show that they are equal. In this case I'm working with p's and c's).
\n" ); document.write( "\"highlight%28p-2%29+%2B+p+%2B+highlight%284p%29+=+40\"Do the same thing to s and replace s with p-2
\n" ); document.write( "\"%28p-2%29%2Bp%2B4p=40\"Now we have gone from 3 variables to 1 variable. We can now solve for p.
\n" ); document.write( "\"p%2Bp%2B4p-2=40\"Group like terms
\n" ); document.write( "\"6p%2Bcross%28-2%2B2%29=40%2B2\"Add like terms and add 2 to both sides
\n" ); document.write( "\"cross%286%2F6%29p=42%2F6\"Divide both sides by 6
\n" ); document.write( "\"p=7\"
\n" ); document.write( "Now that we have p=7 we can use this to solve for c and s
\n" ); document.write( "\"c=4p\"Solving for c
\n" ); document.write( "\"c=4%287%29\"
\n" ); document.write( "\"c=28\"
\n" ); document.write( "\"s=p-2\"Solving for s
\n" ); document.write( "\"s=7-2\"
\n" ); document.write( "\"s=5\"
\n" ); document.write( "So p=7, s=5, and c=28
\n" ); document.write( "


\n" ); document.write( "Check:
\n" ); document.write( "\"s+%2B+p+%2B+c+=+40\" Use the first equation
\n" ); document.write( "\"5+%2B+7+%2B+28+=+40\"
\n" ); document.write( "\"12%2B28=40\"
\n" ); document.write( "\"40=40\"Works
\n" ); document.write( "


\n" ); document.write( "\"c+=+4p\"Use the 2nd equation
\n" ); document.write( "\"28+=+4%287%29\"
\n" ); document.write( "\"28+=+28\"Works
\n" ); document.write( "


\n" ); document.write( "\"s+=+p+-+2\"Check with the 3rd equation
\n" ); document.write( "\"5=7-2\"
\n" ); document.write( "\"5=5\"Works
\n" ); document.write( "Hope this helps.
\n" ); document.write( " \n" ); document.write( "

\n" );