Find a curve from its gradient, then its maximum value

Question MM3-190 Complex familiar 5 marks Technology-active

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.

Figure for question MM3-190The curve y equals 8 sin of x on 2, minus x, plus 2, for x from 0 to 2 pi. It starts at the point 0, 2, rises to a peak at about x equals 2.64 where y is about 7.11, then falls to about negative 4.28 at x equals 2 pi.−4−2246xy
The peak is higher than both ends, so it is the maximum on the domain.

The answer, one mark at a time

  1. 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]

  2. 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]

  3. 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]

  4. 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]

  5. 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

\(\displaystyle y_{\max} \approx 7.11 \ (\text{at } x \approx 2.636)\)

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.