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

Question

If dydx+2ytanx=sinx,0<x<π2{{dy} \over {dx}} + 2y\tan x = \sin x,\,0 < x < {\pi \over 2} and y(π3)=0y\left( {{\pi \over 3}} \right) = 0, then the maximum value of y(x)y(x) is :

Options

Solution

Key Concepts and Formulas

  • First-Order Linear Differential Equation: A differential equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x).
  • Integrating Factor (I.F.): For a first-order linear differential equation, the integrating factor is given by I.F.=eP(x)dxI.F. = e^{\int P(x) dx}.
  • General Solution: The general solution of a first-order linear differential equation is y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (I.F.) = \int Q(x) \cdot (I.F.) dx + C, where C is the constant of integration.

Step-by-Step Solution

Step 1: Identify P(x) and Q(x)

We are given the differential equation: dydx+2ytanx=sinx\frac{dy}{dx} + 2y\tan x = \sin x Comparing this with the standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), we identify: P(x)=2tanxP(x) = 2\tan x Q(x)=sinxQ(x) = \sin x This step is crucial because these functions are used to calculate the integrating factor and the general solution.

Step 2: Calculate the Integrating Factor (I.F.)

The integrating factor is given by I.F.=eP(x)dxI.F. = e^{\int P(x) dx}. Substituting P(x)=2tanxP(x) = 2\tan x: I.F.=e2tanxdxI.F. = e^{\int 2\tan x \,dx} First, we evaluate the integral: 2tanxdx=2tanxdx=2lnsecx=ln(sec2x)\int 2\tan x \,dx = 2\int \tan x \,dx = 2\ln|\sec x| = \ln(\sec^2 x) Since 0<x<π20 < x < \frac{\pi}{2}, secx>0\sec x > 0, so we can drop the absolute value. Therefore, I.F.=eln(sec2x)=sec2xI.F. = e^{\ln(\sec^2 x)} = \sec^2 x The integrating factor is sec2x\sec^2 x.

Step 3: Find the General Solution

The general solution is given by y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (I.F.) = \int Q(x) \cdot (I.F.) dx + C. Substituting Q(x)=sinxQ(x) = \sin x and I.F.=sec2xI.F. = \sec^2 x: ysec2x=sinxsec2xdx+Cy \sec^2 x = \int \sin x \sec^2 x \,dx + C We need to evaluate the integral: sinxsec2xdx=sinx1cos2xdx=sinxcos2xdx=sinxcosx1cosxdx=tanxsecxdx\int \sin x \sec^2 x \,dx = \int \sin x \frac{1}{\cos^2 x} \,dx = \int \frac{\sin x}{\cos^2 x} \,dx = \int \frac{\sin x}{\cos x} \frac{1}{\cos x} \,dx = \int \tan x \sec x \,dx The integral of tanxsecx\tan x \sec x is secx\sec x: tanxsecxdx=secx\int \tan x \sec x \,dx = \sec x So, the general solution is: ysec2x=secx+Cy \sec^2 x = \sec x + C

Step 4: Apply the Initial Condition

We are given y(π3)=0y\left(\frac{\pi}{3}\right) = 0. Substituting x=π3x = \frac{\pi}{3} and y=0y = 0 into the general solution: 0sec2(π3)=sec(π3)+C0 \cdot \sec^2\left(\frac{\pi}{3}\right) = \sec\left(\frac{\pi}{3}\right) + C Since cos(π3)=12\cos\left(\frac{\pi}{3}\right) = \frac{1}{2}, sec(π3)=2\sec\left(\frac{\pi}{3}\right) = 2. Therefore: 0=2+C0 = 2 + C C=2C = -2

Step 5: Find the Particular Solution

Substituting C=2C = -2 into the general solution: ysec2x=secx2y \sec^2 x = \sec x - 2 y=secx2sec2x=secxsec2x2sec2x=1secx2cos2x=cosx2cos2xy = \frac{\sec x - 2}{\sec^2 x} = \frac{\sec x}{\sec^2 x} - \frac{2}{\sec^2 x} = \frac{1}{\sec x} - 2\cos^2 x = \cos x - 2\cos^2 x So, the particular solution is: y(x)=cosx2cos2xy(x) = \cos x - 2\cos^2 x

Step 6: Find the Maximum Value of y(x)

Let u=cosxu = \cos x. Since 0<x<π20 < x < \frac{\pi}{2}, 0<cosx<10 < \cos x < 1, so 0<u<10 < u < 1. Then y(x)y(x) becomes: f(u)=u2u2=2u2+uf(u) = u - 2u^2 = -2u^2 + u To find the maximum value, we can complete the square: f(u)=2(u212u)=2(u212u+116116)=2((u14)2116)=2(u14)2+18f(u) = -2\left(u^2 - \frac{1}{2}u\right) = -2\left(u^2 - \frac{1}{2}u + \frac{1}{16} - \frac{1}{16}\right) = -2\left(\left(u - \frac{1}{4}\right)^2 - \frac{1}{16}\right) = -2\left(u - \frac{1}{4}\right)^2 + \frac{1}{8} The maximum value occurs when u=14u = \frac{1}{4}, and the maximum value is 18\frac{1}{8}. Since 0<14<10 < \frac{1}{4} < 1, this value is within the allowed range for uu.

Common Mistakes & Tips

  • Sign Errors: Be careful with signs when integrating and substituting.
  • Domain Restrictions: Always check if the value of x (or u) that gives the maximum/minimum is within the given domain.
  • Trigonometric Identities: Use trigonometric identities to simplify the expressions for easier integration and differentiation.

Summary

We solved the first-order linear differential equation by finding the integrating factor, determining the general solution, and applying the initial condition to find the particular solution. Then, we found the maximum value of the particular solution by completing the square after substituting u=cosxu = \cos x. The maximum value of y(x)y(x) is 18\frac{1}{8}.

Final Answer

The final answer is \boxed{1/8}, which corresponds to option (A).

Practice More Differential Equations Questions

View All Questions