Solveeit Logo

Question

Question: If $\cos x \frac{\mathrm{~d} y}{\mathrm{~d} x}-y \sin x=6 x, 0$...

If cosx dy dxysinx=6x,0\cos x \frac{\mathrm{~d} y}{\mathrm{~d} x}-y \sin x=6 x, 0

A

y=cosx+3x2+cy = \cos x + 3x^2 + c, where c is a constant of integration.

B

y+cosx=3x2+cy + \cos x = 3x^2 + c, where c is a constant of integration.

C

y=3x2cosx+cosxy = 3x^2 \cos x + \cos x, where c is a constant of integration.

D

ycosx=3x2+cy \cdot \cos x = 3x^2 + c, where c is a constant of integration.

Answer

Option D: ycosx=3x2+cy \cdot \cos x = 3x^2 + c, where c is a constant of integration.

Explanation

Solution

Recognize that the left side is the derivative of ycosxy\cos x (by the product rule):

ddx[ycosx]=dydxcosxysinx\frac{d}{dx}[y\cos x] = \frac{dy}{dx} \cos x - y \sin x.

Thus, the ODE becomes:

ddx[ycosx]=6x\frac{d}{dx}[y\cos x] = 6x.

Integrating both sides:

ycosx=6xdx=3x2+Cy\cos x = \int 6x\,dx = 3x^2 + C.