A quadratic function in has the value , when and has a maximum value when . Find the function.
Maxima and Minima · Question 19 of 60
A quadratic function in x has the value 19 , when x = 1 and has a maximum value 20 when x = 2 . Find the function.
Solution:
Key idea: A quadratic function has the form with . Three facts give three equations for , and : the value at , the value at , and a zero derivative at the maximum.
Step 1 — Write the function and its derivatives.
We let the quadratic be and differentiate twice.
Step 2 — Use the value at .
Since , we substitute .
Step 3 — Use the value at .
Since , we substitute .
Step 4 — Use the maximum at .
At a maximum the derivative is zero, so .
Step 5 — Solve for and .
Subtracting equation (1) from equation (2) removes .
Subtracting equation (4) from equation (3) removes .
Putting into equation (3) gives .
Step 6 — Find .
From equation (1) we get .
Step 7 — Check that is a maximum.
With the second derivative is . It is negative, so is indeed a maximum. As a check, we work out both given values.
Therefore, the function is .
