Skip to main content
Back to Differential Equations
JEE Main 2021
Differential Equations
Differential Equations
Hard

Question

Let y = y(x) be solution of the following differential equation eydydx2eysinx+sinxcos2x=0,y(π2)=0{e^y}{{dy} \over {dx}} - 2{e^y}\sin x + \sin x{\cos ^2}x = 0,y\left( {{\pi \over 2}} \right) = 0 If y(0)=loge(α+βe2)y(0) = {\log _e}(\alpha + \beta {e^{ - 2}}), then 4(α+β)4(\alpha + \beta ) is equal to ______________.

Answer: 2

Solution

Key Concepts and Formulas

  • Substitution Method: Transforming a differential equation into a simpler form by introducing a new variable.
  • First-Order Linear Differential Equation: A differential equation of the form dvdx+P(x)v=Q(x)\frac{dv}{dx} + P(x)v = Q(x), which has the solution v(x)=eP(x)dx[Q(x)eP(x)dxdx+C]v(x) = e^{-\int P(x) dx} \left[ \int Q(x) e^{\int P(x) dx} dx + C \right], where eP(x)dxe^{\int P(x) dx} is the integrating factor.
  • Integration by Parts: udv=uvvdu\int u \, dv = uv - \int v \, du.

Step-by-Step Solution

Step 1: Rewrite the given differential equation.

The given differential equation is: eydydx2eysinx+sinxcos2x=0e^y \frac{dy}{dx} - 2e^y \sin x + \sin x \cos^2 x = 0 We can rewrite it as: eydydx=2eysinxsinxcos2xe^y \frac{dy}{dx} = 2e^y \sin x - \sin x \cos^2 x

Step 2: Apply a suitable substitution.

Let v=eyv = e^y. Then dvdx=eydydx\frac{dv}{dx} = e^y \frac{dy}{dx}. Substituting this into the equation, we get: dvdx=2vsinxsinxcos2x\frac{dv}{dx} = 2v \sin x - \sin x \cos^2 x dvdx2vsinx=sinxcos2x\frac{dv}{dx} - 2v \sin x = - \sin x \cos^2 x

Step 3: Identify the equation as a first-order linear differential equation.

The equation is now in the standard form of a first-order linear differential equation: dvdx+P(x)v=Q(x)\frac{dv}{dx} + P(x)v = Q(x), where P(x)=2sinxP(x) = -2\sin x and Q(x)=sinxcos2xQ(x) = -\sin x \cos^2 x.

Step 4: Calculate the integrating factor (IF).

The integrating factor is given by eP(x)dxe^{\int P(x) dx}. So, IF=e2sinxdx=e2cosxIF = e^{\int -2\sin x \, dx} = e^{2\cos x}

Step 5: Find the general solution of the linear differential equation.

The general solution is given by: vIF=Q(x)IFdx+Cv \cdot IF = \int Q(x) \cdot IF \, dx + C ve2cosx=(sinxcos2x)e2cosxdx+Cv \cdot e^{2\cos x} = \int (-\sin x \cos^2 x) e^{2\cos x} \, dx + C ve2cosx=sinxcos2xe2cosxdx+Cv e^{2\cos x} = -\int \sin x \cos^2 x e^{2\cos x} \, dx + C

Step 6: Evaluate the integral using substitution.

Let t=cosxt = \cos x, then dt=sinxdxdt = -\sin x \, dx. The integral becomes: t2e2t(dt)=t2e2tdt-\int t^2 e^{2t} (-dt) = \int t^2 e^{2t} dt Now, we use integration by parts twice. First, let u=t2u = t^2 and dv=e2tdtdv = e^{2t} dt. Then du=2tdtdu = 2t \, dt and v=12e2tv = \frac{1}{2}e^{2t}. t2e2tdt=t2(12e2t)12e2t(2tdt)=12t2e2tte2tdt\int t^2 e^{2t} dt = t^2 \left(\frac{1}{2}e^{2t}\right) - \int \frac{1}{2}e^{2t} (2t \, dt) = \frac{1}{2}t^2 e^{2t} - \int t e^{2t} dt Now, we integrate te2tdt\int t e^{2t} dt by parts. Let u=tu = t and dv=e2tdtdv = e^{2t} dt. Then du=dtdu = dt and v=12e2tv = \frac{1}{2}e^{2t}. te2tdt=t(12e2t)12e2tdt=12te2t14e2t\int t e^{2t} dt = t \left(\frac{1}{2}e^{2t}\right) - \int \frac{1}{2}e^{2t} dt = \frac{1}{2}t e^{2t} - \frac{1}{4}e^{2t} Substituting this back, we get: t2e2tdt=12t2e2t(12te2t14e2t)=12t2e2t12te2t+14e2t\int t^2 e^{2t} dt = \frac{1}{2}t^2 e^{2t} - \left(\frac{1}{2}t e^{2t} - \frac{1}{4}e^{2t}\right) = \frac{1}{2}t^2 e^{2t} - \frac{1}{2}t e^{2t} + \frac{1}{4}e^{2t} So, cos2xe2cosx(sinx)dx=e2cosx(12cos2x12cosx+14)\int \cos^2 x e^{2\cos x} (-\sin x) dx = e^{2\cos x} \left(\frac{1}{2}\cos^2 x - \frac{1}{2}\cos x + \frac{1}{4}\right)

Step 7: Substitute back into the general solution.

ve2cosx=e2cosx(12cos2x12cosx+14)+Cv e^{2\cos x} = e^{2\cos x} \left(\frac{1}{2}\cos^2 x - \frac{1}{2}\cos x + \frac{1}{4}\right) + C v=12cos2x12cosx+14+Ce2cosxv = \frac{1}{2}\cos^2 x - \frac{1}{2}\cos x + \frac{1}{4} + Ce^{-2\cos x}

Step 8: Substitute back v=eyv = e^y.

ey=12cos2x12cosx+14+Ce2cosxe^y = \frac{1}{2}\cos^2 x - \frac{1}{2}\cos x + \frac{1}{4} + Ce^{-2\cos x}

Step 9: Apply the initial condition y(π2)=0y(\frac{\pi}{2}) = 0.

When x=π2x = \frac{\pi}{2}, y=0y = 0. So, e0=1e^0 = 1 and cos(π2)=0\cos(\frac{\pi}{2}) = 0. 1=12(0)212(0)+14+Ce2(0)1 = \frac{1}{2}(0)^2 - \frac{1}{2}(0) + \frac{1}{4} + Ce^{-2(0)} 1=14+C1 = \frac{1}{4} + C C=34C = \frac{3}{4}

Step 10: Write the particular solution.

ey=12cos2x12cosx+14+34e2cosxe^y = \frac{1}{2}\cos^2 x - \frac{1}{2}\cos x + \frac{1}{4} + \frac{3}{4}e^{-2\cos x}

Step 11: Find y(0)y(0).

When x=0x = 0, cos(0)=1\cos(0) = 1. ey(0)=12(1)212(1)+14+34e2(1)e^{y(0)} = \frac{1}{2}(1)^2 - \frac{1}{2}(1) + \frac{1}{4} + \frac{3}{4}e^{-2(1)} ey(0)=1212+14+34e2e^{y(0)} = \frac{1}{2} - \frac{1}{2} + \frac{1}{4} + \frac{3}{4}e^{-2} ey(0)=14+34e2e^{y(0)} = \frac{1}{4} + \frac{3}{4}e^{-2} ey(0)=14+34e2=1+3e24e^{y(0)} = \frac{1}{4} + \frac{3}{4}e^{-2} = \frac{1 + 3e^{-2}}{4}

Step 12: Compare with the given form.

We are given that y(0)=loge(α+βe2)y(0) = \log_e (\alpha + \beta e^{-2}). Therefore, ey(0)=α+βe2e^{y(0)} = \alpha + \beta e^{-2} Comparing this with ey(0)=14+34e2e^{y(0)} = \frac{1}{4} + \frac{3}{4}e^{-2}, we get α=14\alpha = \frac{1}{4} and β=34\beta = \frac{3}{4}.

Step 13: Calculate 4(α+β)4(\alpha + \beta).

4(α+β)=4(14+34)=4(44)=4(1)=4×12=24(\alpha + \beta) = 4\left(\frac{1}{4} + \frac{3}{4}\right) = 4\left(\frac{4}{4}\right) = 4(1) = 4 \times \frac{1}{2} = 2

Therefore, 4(α+β)=24(\alpha + \beta) = 2.

Common Mistakes & Tips

  • Sign Errors: Be very careful with signs, especially when integrating and differentiating.
  • Integration by Parts: Remember to apply integration by parts correctly and potentially multiple times. Choose u and dv wisely.
  • Integrating Factor: Double-check the calculation of the integrating factor.

Summary

We solved the given differential equation by using the substitution v=eyv = e^y to transform it into a linear differential equation. We then found the integrating factor and solved for vv. Substituting back eye^y and applying the initial condition, we obtained the particular solution. Finally, we evaluated y(0)y(0) and compared it to the given form to find α\alpha and β\beta, and ultimately computed 4(α+β)4(\alpha + \beta), which is equal to 2.

Final Answer

The final answer is \boxed{2}.

Practice More Differential Equations Questions

View All Questions