Find a curve from its gradient, then its maximum value
Unit 3 Topic 4: Introduction to integration
The question
The gradient of a curve is given by \(\frac{dy}{dx}=4\cos (\frac{x}{2})-1\), where \(0\le x\le 2\pi\).
The curve passes through the point \((0,2)\).
Determine the maximum value of \(y\).
The idea. Antidifferentiate and use \((0,\, 2)\) to get the curve. Its maximum on \(0 \le x \le 2\pi\) is either at a stationary point or at an endpoint, so compare them all.
The answer, one mark at a time
-
Antidifferentiate. For \(\cos\left(\frac{x}{2}\right)\), divide by the \(\frac{1}{2}\) inside, which multiplies by 2.
\[y = \int \left(4\cos\left(\frac{x}{2}\right) - 1\right) dx\]\[y = 4 \times 2\sin\left(\frac{x}{2}\right) - x + c\]\[y = 8\sin\left(\frac{x}{2}\right) - x + c\]determines an antiderivative [1 mark]
-
The curve passes through \((0,\, 2)\). Put \(x = 0\), \(y = 2\) in; \(\sin 0 = 0\).
\[2 = 8\sin(0) - 0 + c\]\[c = 2\]\[y = 8\sin\left(\frac{x}{2}\right) - x + 2\]determines the constant [1 mark]
-
A maximum inside the domain is a stationary point, so set \(\frac{dy}{dx} = 0\). Solve with your calculator in radian mode.
\[4\cos\left(\frac{x}{2}\right) - 1 = 0\]\[\cos\left(\frac{x}{2}\right) = \frac{1}{4}\]\[\frac{x}{2} = \cos^{-1}\left(\frac{1}{4}\right) = 1.318\ldots\]\[x = 2.636\]determines the \(x\)-value of the stationary point [1 mark]
-
Check it is a maximum and that the endpoints are lower. The gradient goes from positive to negative at \(x = 2.636\). Then work out \(y\) at each end of the domain.
\[x = 2: \ \frac{dy}{dx} = 4\cos(1) - 1 \approx 1.16 > 0\]\[x = 3: \ \frac{dy}{dx} = 4\cos(1.5) - 1 \approx -0.72 < 0\]\[y(0) = 2\]\[y(2\pi) = 8\sin(\pi) - 2\pi + 2 \approx -4.28\]justifies that this is the maximum on the domain [1 mark]
-
Put \(x = 2.636\) into the curve to get the maximum value. It is bigger than both endpoint values.
\[y(2.636) = 8\sin(1.318) - 2.636 + 2\]\[y(2.636) \approx 7.11\]determines the maximum value [1 mark]
Answer
Watch for. Use radian mode: degree mode gives a wrong \(x\). And the antiderivative is \(8\sin\left(\frac{x}{2}\right)\), not \(4\sin\left(\frac{x}{2}\right)\), which leads to a maximum of 3.24.