Analyzing the Setup
Imagine you are standing on a coordinate plane, watching a roller coaster trace the path of a cubic polynomial p(x). We are given two critical landmarks: a local maximum at (1,8) and a local minimum at (2,4).
To solve this, we must listen to what the calculus tells us about the shape of the curve.
The Calculus of Peaks and Valleys
At the local maximum and the local minimum, the roller coaster is momentarily horizontal. In the language of calculus, a horizontal tangent means the slope is zero.
Therefore, we know that the derivative of our polynomial, p′(x), must be zero at x=1 and x=2.
Since p(x) is a cubic polynomial, its derivative p′(x) must be a quadratic. We have identified the two roots of this quadratic, allowing us to write the derivative in a powerful, factored form:
Here, A is a scaling constant. By expanding this, we get p′(x)=A(x2−3x+2).
Reconstructing the Polynomial
We now use integration to reconstruct the original function p(x) from its slope. We integrate p′(x) with respect to x:
Performing this integration term by term, we obtain:
The constant B represents the vertical shift of our curve. Since we have two specific points, (1,8) and (2,4), we can solve for both A and B.
Solving the System
Applying our landmarks, we first evaluate at x=1:
8=A(31−23+2)+B⇒65A+B=8
Next, we evaluate at x=2:
Subtracting the second equation from the first, the B terms vanish:
Substituting A=24 back into the second equation:
Final Calculation
The question asks for p(0). In our integrated equation, every term contains an x except for the constant B.
When we set x=0, all terms involving x vanish, leaving us with p(0)=B.
Since we calculated B=−12, our final answer is −12.