document.write( "Question 377876: Please help me. I need to find write the quadratic function for a given set of points (0,-4)(1,0)(2,2). I keep getting different answers. \n" ); document.write( "
Algebra.Com's Answer #268504 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
The general form of the function is \"y+=+ax%5E2+%2B+bx%2B+c\". then using the coordinates of the points,
\n" ); document.write( "-4 = c,
\n" ); document.write( "0 = a+b+c,
\n" ); document.write( "2 = 4a + 2b + c.\r
\n" ); document.write( "\n" ); document.write( "substituting the first equation into the 2nd, we get a+b = 4.
\n" ); document.write( "substituting the first equation into the 3rd, we get 4a+2b = 6, or 2a+b = 3.\r
\n" ); document.write( "\n" ); document.write( "So b = 4-a. Putting this into 2a+b = 3, we get
\n" ); document.write( "2a + 4-a = 3, or a = -1. This would give b = 4--1 = 5.
\n" ); document.write( "Thus the function is \"y+=+-x%5E2+%2B+5x+-+4\".
\n" ); document.write( "
\n" ); document.write( "
\n" );