Given three points (1,7) (4, -2) (5, -1) how do you write a quadratic function in standard form with the points?
3 Answers
Explanation:
The following method is slightly non-standard, but I find it fun:
Suppose the quadratic function is
Let
Consider the quadratic sequence:
#7, p, q, -2, -1#
The sequence of differences of this sequence is an arithmetic progression:
#p - 7, q - p, -2-q, 1#
The sequence of differences of this sequence is a constant sequence:
#q - 2p + 7, p-2q-2, 3+q#
The sequence of differences of this sequence is all
#3p-3q-9, 3q-p+5#
So:
#{ (3p-3q-9 = 0), (3q-p+5 = 0) :}#
Hence
So our original quadratic sequence becomes:
#color(blue)(7), 2, -1, -2, -1#
with sequence of differences:
#color(blue)(-5), -3, -1, 1#
with sequence of differences:
#color(blue)(2), 2, 2#
Having reached a constant sequence we can use the first term of each of these sequences as coefficients to find a formula for
#f(x) = color(blue)(7)/(0!) + color(blue)(-5)/(1!)(x-1) + color(blue)(2)/(2!)(x-1)(x-2)#
#=7-5x+5+x^2-3x+2#
#=x^2-8x+14#
Explanation:
Here's a more standard way to find the quadratic:
#f(x) = ax^2+bx+c#
Each of the three points satisfies this equation, so we find:
#{ (7 = a+b+c), (-2 = 16a+4b+c), (-1 = 25a+5b+c) :}#
This can be rearranged into a matrix:
#((1, 1, 1, 7), (16, 4, 1, -2), (25, 5, 1, -1))#
Perform some row operations to change the left hand side into a
Subtract
#((1, 1, 1, 7), (0, -12, -15, -114), (0, -20, -24, -176))#
Divide
#((1, 1, 1, 7), (0, 1, 5/4, 19/2), (0, 1, 6/5, 44/5))#
Subtract
#((1, 1, 1, 7), (0, 1, 5/4, 19/2), (0, 0, -1/20, -7/10))#
Multiply
#((1, 1, 1, 7), (0, 1, 5/4, 19/2), (0, 0, 1, 14))#
Subtract
#((1, 0, -1/4, -5/2), (0, 1, 5/4, 19/2), (0, 0, 1, 14))#
Add
#((1, 0, 0, 1), (0, 1, 0, -8), (0, 0, 1, 14))#
Having got to an identity matrix on the left hand side, the right hand column gives us the values of
So
Explanation:
There is a technique known as Lagrange's interpolating polynomials (published in 1795) that consists in build a polynomial, using a set of basis functions
The interpolating basis functions have the following properties.
having this in mind we assure that
The basis construction is elegant and has the structure
or in short notation
In our case we have the table of points
The basis functions are
and finally
or simplifying