Skip to main contentSkip to solution

The slope of the tangent to the curve y=x2−4cos⁡xy = x^2 - 4\cos x, x∈[0,π]x \in [0, \pi] is maximum when xx is equal to

Solution

✅ Correct Option: 4

Let the equation of the curve be y=f(x)y = f(x).

y=x2−4cos⁡xy = x^2 - 4\cos x

The slope of the tangent to the curve at any point xx is given by the first derivative, dydx\frac{dy}{dx}. Let the slope be denoted by mm.

m=dydxm = \frac{dy}{dx}

m=ddx(x2−4cos⁡x)m = \frac{d}{dx}(x^2 - 4\cos x)

m=2x−4(−sin⁡x)m = 2x - 4(-\sin x)

m=2x+4sin⁡xm = 2x + 4\sin x

To maximize this function mm on the interval [0,π][0, \pi], differentiate mm with respect to xx and equate it to zero.


dmdx=ddx(2x+4sin⁡x)\frac{dm}{dx} = \frac{d}{dx}(2x + 4\sin x)

dmdx=2+4cos⁡x\frac{dm}{dx} = 2 + 4\cos x

Setting dmdx=0\frac{dm}{dx} = 0 for critical points:

2+4cos⁡x=02 + 4\cos x = 0

4cos⁡x=−24\cos x = -2

cos⁡x=−12\cos x = -\frac{1}{2}


Finding xx in the interval [0,π][0, \pi] such that cos⁡x=−12\cos x = -\frac{1}{2}:

Since cos⁡x\cos x is negative, xx must be in the second quadrant.

Given that cos⁡(π3)=12\cos(\frac{\pi}{3}) = \frac{1}{2}:

x=π−π3x = \pi - \frac{\pi}{3}

x=2π3x = \frac{2\pi}{3}


To confirm that this value of xx gives a maximum slope, find the second derivative of mm:

d2mdx2=ddx(2+4cos⁡x)\frac{d^2m}{dx^2} = \frac{d}{dx}(2 + 4\cos x)

d2mdx2=−4sin⁡x\frac{d^2m}{dx^2} = -4\sin x

Evaluating at x=2π3x = \frac{2\pi}{3}:

d2mdx2∣x=2π3=−4sin⁡(2π3)\frac{d^2m}{dx^2}\bigg|_{x=\frac{2\pi}{3}} = -4\sin\left(\frac{2\pi}{3}\right)

d2mdx2∣x=2π3=−4(32)\frac{d^2m}{dx^2}\bigg|_{x=\frac{2\pi}{3}} = -4\left(\frac{\sqrt{3}}{2}\right)

d2mdx2∣x=2π3=−23\frac{d^2m}{dx^2}\bigg|_{x=\frac{2\pi}{3}} = -2\sqrt{3}

Since the second derivative is negative (<0< 0), the slope mm is at a local maximum at x=2π3x = \frac{2\pi}{3}.


Checking the endpoints of the interval [0,π][0, \pi] to ensure it is the global maximum:

At x=0x = 0:

m=2(0)+4sin⁡(0)m = 2(0) + 4\sin(0)

m=0m = 0

At x=πx = \pi:

m=2π+4sin⁡(π)m = 2\pi + 4\sin(\pi)

m=2π≈6.28m = 2\pi \approx 6.28

At x=2π3x = \frac{2\pi}{3}:

m=2(2π3)+4(32)m = 2\left(\frac{2\pi}{3}\right) + 4\left(\frac{\sqrt{3}}{2}\right)

m=4π3+23≈7.65m = \frac{4\pi}{3} + 2\sqrt{3} \approx 7.65

The value at x=2π3x = \frac{2\pi}{3} is the highest.

Therefore, the slope of the tangent to the curve is maximum when x=2π3x = \frac{2\pi}{3}.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question