QlarIITy

MathematicsJEE Main 2024 · 4 AprilInteger

Let the solution y=y(x)y = y(x) of the differential equationdydx−y=1+4sin⁡x\frac{dy}{dx} - y = 1 + 4\sin xsatisfy y(π)=1y(\pi) = 1. Then y(π2)+10y\left(\frac{\pi}{2}\right) + 10 is equal to ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A linear equation with constant coefficients has a particular solution of the same kind as its right side.

Concept refresher. The linear equation y′+Py=Qy^{\prime} + Py = Q is solved by multiplying by the integrating factor e∫Pdxe^{\int Pdx}, which turns it into

(ye∫Pdx)′=Qe∫Pdx\left(ye^{\int Pdx}\right)^{\prime} = Qe^{\int Pdx}

Picture the situation. The equation dydx−y=1+4sin⁡x\dfrac{dy}{dx} - y = 1 + 4\sin x is linear with P=−1P = -1, so the integrating factor is e−xe^{-x} and (ye−x)′=e−x+4e−xsin⁡x\left(ye^{-x}\right)^{\prime} = e^{-x} + 4e^{-x}\sin x.

Approach. Integrate with the factor, fit the constant, and evaluate.

  1. Step 1: Integrating

    Since ∫e−xsin⁡xdx=−e−x(sin⁡x+cos⁡x)2\int e^{-x}\sin xdx = -\dfrac{e^{-x}(\sin x + \cos x)}{2}, integrating gives

    ye−x=−e−x−2e−x(sin⁡x+cos⁡x)+C\begin{aligned} &ye^{-x} \\[4pt] &= -e^{-x} - 2e^{-x}(\sin x + \cos x) + C \end{aligned}

    that is y=−1−2(sin⁡x+cos⁡x)+Cexy = -1 - 2(\sin x + \cos x) + Ce^x. At x=πx = \pi, y=−1−2(0−1)+Ceπ=1+Ceπy = -1 - 2(0 - 1) + Ce^{\pi} = 1 + Ce^{\pi}, and y(π)=1y(\pi) = 1 gives C=0C = 0.

  2. Step 2: The value

    So y=−1−2(sin⁡x+cos⁡x)y = -1 - 2(\sin x + \cos x), and at x=π2x = \dfrac{\pi}{2} this is −1−2=−3-1 - 2 = -3. Hence y(π2)+10=7y\left(\dfrac{\pi}{2}\right) + 10 = 7.

Answer. 7

Sanity check. For y=−1−2sin⁡x−2cos⁡xy = -1 - 2\sin x - 2\cos x, y′−yy^{\prime} - y is

(−2cos⁡x+2sin⁡x)   +1+2sin⁡x+2cos⁡x\begin{aligned} &(-2\cos x + 2\sin x) \\[4pt] &\ \ \ + 1 + 2\sin x + 2\cos x \end{aligned}

which is 1+4sin⁡x1 + 4\sin x, as required.

Smart method. Try y=A+Bsin⁡x+Dcos⁡xy = A + B\sin x + D\cos x. Then

y′−y=−A−(B+D)sin⁡x   +(B−D)cos⁡x\begin{aligned} y^{\prime} - y &= -A - (B + D)\sin x \\[4pt] &\ \ \ + (B - D)\cos x \end{aligned}

which equals 1+4sin⁡x1 + 4\sin x when A=−1A = -1 and B=D=−2B = D = -2. This solution already has y(π)=1y(\pi) = 1, so it is the required one, and y(π2)=−3y\left(\dfrac{\pi}{2}\right) = -3.

Common wrong answers

  • -3: Stopping at y(π2)=−3y\left(\dfrac{\pi}{2}\right) = -3, without adding 10, gives −3-3.

Key takeaway

The trap. The question asks for the value of the solution increased by 10.

How toppers think. They guess a constant plus sine and cosine, and compare coefficients.

Remember. y=−1−2sin⁡x−2cos⁡xy = -1 - 2\sin x - 2\cos x satisfies y′−y=1+4sin⁡xy^{\prime} - y = 1 + 4\sin x

More on Linear Differential Equations