document.write( "Question 1155338: Find the function ​f(x)=ax^3+bx^2+cx+d for which, f(-3)=-112, f(-1)=-2, f(1)=4, f(2)=13.\r
\n" ); document.write( "\n" ); document.write( "I know the answer is f(x) 3x^3-4x^2+5\r
\n" ); document.write( "\n" ); document.write( "But, i would like to know how to solve this
\n" ); document.write( "

Algebra.Com's Answer #777924 by MathTherapy(10552)\"\" \"About 
You can put this solution on YOUR website!
Find the function ​f(x)=ax^3+bx^2+cx+d for which, f(-3)=-112, f(-1)=-2, f(1)=4, f(2)=13.\r
\n" ); document.write( "\n" ); document.write( "I know the answer is f(x) 3x^3-4x^2+5\r
\n" ); document.write( "\n" ); document.write( "But, i would like to know how to solve this
\n" ); document.write( "
\"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\"\r\n" );
document.write( "Given: f(- 3) = - 112, or (- 3, - 112)\r\n" );
document.write( "Substituting (- 3, - 112) in \"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\", we get:  ---- eq (i)\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\" \r\n" );
document.write( "Given: f(- 1) = - 2, or (- 1, - 2)\r\n" );
document.write( "Substituting (- 1, - 2) in \"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\", we get:  ------ eq (ii)\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\" \r\n" );
document.write( "Given: f(1) = 4, or (1, 4)\r\n" );
document.write( "Substituting (1, 4) in \"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\", we get:  ----------------- eq (iii)\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\"\r\n" );
document.write( "Given:  f(2) = 13, or (2, 13)\r\n" );
document.write( "Substituting (2, 13) in \"matrix%281%2C3%2C+f%28x%29%2C+%22=%22%2C+Ax%5E3+%2B+Bx%5E2+%2B+Cx+%2B+D%29\", we get:  ---------------- eq (iv)\r\n" );
document.write( "\r\n" );
document.write( "We now have:  \r\n" );
document.write( "\r\n" );
document.write( "35A - 5B + 5C = 125____7A -  B + C = 25 ---- Subtracting eq (i) from eq (iv) -------- eq (v)\r\n" );
document.write( "                       7A + 3B + C = 9 ----- Subtracting eq (iii) from eq (iv) ------ eq (vi)\r\n" );
document.write( "                            4B = - 16 ------ Subtracting eq (v) from eq (vi)\r\n" );
document.write( "                            \"matrix%281%2C5%2C+B%2C+%22=%22%2C+%28-+16%29%2F4%2C+%22=%22%2C+highlight%28-+4%29%29\" \r\n" );
document.write( " \r\n" );
document.write( "        2B + 2D = 2____2(B + D) = 2(1) -- Adding eq (ii) & (iii) \r\n" );
document.write( "                         B + D = 1 ------ eq (vii)\r\n" );
document.write( "                       - 4 + D = 1 ------ Substituting - 4 for B in eq (vii)\r\n" );
document.write( "                            \"matrix%281%2C5%2C+D%2C+%22=%22%2C++1+%2B+4%2C+%22=%22%2C+highlight%285%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "A + B + C + D = 4\r\n" );
document.write( "A - 4 + C + 5 = 4 -------- Substituting - 4 for B, and 5 for D in eq (iii)\r\n" );
document.write( "                                      A + C = 3 ------ eq (viii)\r\n" );
document.write( "\r\n" );
document.write( "8A + 4B + 2C + D = 13 ------- eq (iv)\r\n" );
document.write( "8A + 4(- 4) + 2C + 5 = 13 --- Substituting - 4 for B, and 5 for D in eq (iv)\r\n" );
document.write( "8A - 16 + 2C + 5 = 13\r\n" );
document.write( "8A + 2C = 24____2(4A + C) = 2(12)____4A + C = 12 ----- eq (ix)\r\n" );
document.write( "                                     3A = 9 ------ Subtracting eq (viii) from eq (ix)\r\n" );
document.write( "                                     \"matrix%281%2C5%2C+A%2C+%22=%22%2C+9%2F3%2C+%22=%22%2C+highlight%283%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "                                  A + C = 3 ----- eq (viii)\r\n" );
document.write( "                                  3 + C = 3 ----- Substituting 3 for A in eq (viii)\r\n" );
document.write( "                                     \"matrix%281%2C5%2C+C%2C+%22=%22%2C+3+-+3%2C+%22=%22%2C+highlight%280%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "With , 
\n" ); document.write( "
\n" );