document.write( "Question 567835: How do you get the quadratic equation if you are given a table of values? \n" ); document.write( "
Algebra.Com's Answer #366726 by issacodegard(60)\"\" \"About 
You can put this solution on YOUR website!
You must be given at least 3 points, call them (x1,y1),(x2,y2),(x3,y3). Then we know the equation has the form f(x)=ax^2+bx+c. We get a system of 3 equations in 3 unknowns. Solving for a,b,c in,
\n" ); document.write( "\"f%28x1%29=a%28x1%29%5E2%2Bb%28x1%29%2Bc=y1\"
\n" ); document.write( "\"f%28x2%29=a%28x2%29%5E2%2Bb%28x2%29%2Bc=y2\"
\n" ); document.write( "\"f%28x3%29=a%28x3%29%5E2%2Bb%28x3%29%2Bc=y3\"
\n" ); document.write( "gives you the equation for f(x).\r
\n" ); document.write( "\n" ); document.write( "I'll give an example,
\n" ); document.write( "If we know that three points are (-1,-2),(1,4),(2,13). Then we set up three equations about a,b,c that we know:
\n" ); document.write( "\"f%28-1%29=a%28-1%29%5E2%2Bb%28-1%29%2Bc=-2\"
\n" ); document.write( "\"f%281%29=a%281%29%5E2%2Bb%281%29%2Bc=4\"
\n" ); document.write( "\"f%282%29=a%282%29%5E2%2Bb%282%29%2Bc=13\"
\n" ); document.write( "So we have,
\n" ); document.write( "\"a-b%2Bc=-2\"
\n" ); document.write( "\"a%2Bb%2Bc=4\"
\n" ); document.write( "\"4a%2B2b%2Bc=13\"
\n" ); document.write( "We need to solve for a,b,c. So, we subtract eqn1 from eqn2 to get,
\n" ); document.write( "\"a-b%2Bc=-2\"
\n" ); document.write( "\"2b=6\"
\n" ); document.write( "\"4a%2B2b%2Bc=13\"
\n" ); document.write( "Divide eqn2 by 2 to get b=3. Then, we have
\n" ); document.write( "\"a-3%2Bc=-2\"
\n" ); document.write( "\"4a%2B2%283%29%2Bc=13\"
\n" ); document.write( "So,
\n" ); document.write( "\"a%2Bc=1\"
\n" ); document.write( "\"4a%2Bc=7\"
\n" ); document.write( "Subtract the first eqn from the second to get,
\n" ); document.write( "\"a%2Bc=1\"
\n" ); document.write( "\"3a=6\"
\n" ); document.write( "Divide the second eqn by 3 to get a=2. Then we have
\n" ); document.write( "\"2%2Bc=1\"
\n" ); document.write( "So,
\n" ); document.write( "\"c=-1\"
\n" ); document.write( "Therefore we find that
\n" ); document.write( "\"f%28x%29=2x%5E2%2B3x-1\"
\n" ); document.write( "
\n" ); document.write( "
\n" );