document.write( "Question 638927: determine the quadratic function f whose vertex is (2,-4) and passes through (1,-2)\r
\n" ); document.write( "\n" ); document.write( "f(x)=?
\n" ); document.write( "answer question in form of f(x)=ax^2+bx+c
\n" ); document.write( "

Algebra.Com's Answer #402490 by DrBeeee(684)\"\" \"About 
You can put this solution on YOUR website!
General equation of a quadratic is
\n" ); document.write( "(1) f(x) = ax^2 + bx +c.
\n" ); document.write( "The graph of this quadratic is called a parabola. It is a curve shaped like the letter \"U\" or an upside down \"U\" depending on the sign of \"a\", the coefficient of x^2. If a>0 the parabola opens \"up\", like U. If a<0, then parabola opens \"down\". A useful formula is the value of x around which the parabola is symmetrical. This value is given by
\n" ); document.write( "(2) x = -b/(2a)
\n" ); document.write( "The value of x in (2) is also value of the x coordinate of the parabola's vertex, the point where the graph of f(x) hits a maximum or minimum.
\n" ); document.write( "For this problem we are given two points through which the parabola passes. The point
\n" ); document.write( "(3) (1,-2)
\n" ); document.write( "and and the vertex
\n" ); document.write( "(4) (2,-4).
\n" ); document.write( "Using (2) and the value of x in the vertex (4) yields
\n" ); document.write( "2 = -b/(2a) or
\n" ); document.write( "(5) b = -4a
\n" ); document.write( "Substituting b into (1) yields
\n" ); document.write( "(6) y = ax^2 -4ax + c
\n" ); document.write( "Now substitute the point (1,-2) of (3) into (6) yields
\n" ); document.write( "(7) -2 = a*(1)^2 - 4a*(1) + c, or simplifying
\n" ); document.write( "(8) c = -3a - 2
\n" ); document.write( "Now substitute the vertex (2,-4) of (4) into (6) yields
\n" ); document.write( "(9) -4 = a*(2)^2 -4a*(2) + c, or simplifying
\n" ); document.write( "(10) c = 4a - 4
\n" ); document.write( "Equating (8) and (10), and simplifying yields
\n" ); document.write( "(11) a = 2
\n" ); document.write( "Put a = 2 into (5) yields
\n" ); document.write( "(12) b = -8
\n" ); document.write( "Put a = 2 into (8) and simplifying yields
\n" ); document.write( "(13) c = 4
\n" ); document.write( "Check our answer in (7)
\n" ); document.write( "Is [-2 = 2*1 - 4*2*1 + 4]?
\n" ); document.write( "Is [-2 = 2 - 8 + 4]?
\n" ); document.write( "Is [-2 = -2]? Yes
\n" ); document.write( "Check our answer in (9)
\n" ); document.write( "Is [-4 = 2*2^2 -4*2*2 +4]?
\n" ); document.write( "Is [-4 = 8 - 16 +4]?
\n" ); document.write( "Is [-4 = -4]? Yes
\n" ); document.write( "Answer: f(x) = 2x^2 -8x +4
\n" ); document.write( "
\n" );