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

Question

If for the solution curve y=f(x)y=f(x) of the differential equation dydx+(tanx)y=2+secx(1+2secx)2\frac{d y}{d x}+(\tan x) y=\frac{2+\sec x}{(1+2 \sec x)^2}, x(π2,π2),f(π3)=310x \in\left(\frac{-\pi}{2}, \frac{\pi}{2}\right), f\left(\frac{\pi}{3}\right)=\frac{\sqrt{3}}{10}, then f(π4)f\left(\frac{\pi}{4}\right) is equal to:

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 (IF): For a first-order linear differential equation, the integrating factor is IF=eP(x)dxIF = e^{\int P(x) dx}.
  • General Solution: The general solution of the differential equation is yIF=(Q(x)IF)dx+Cy \cdot IF = \int (Q(x) \cdot IF) 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+(tanx)y=2+secx(1+2secx)2\frac{dy}{dx} + (\tan x)y = \frac{2 + \sec x}{(1 + 2\sec x)^2} Comparing this with the general form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), we have: P(x)=tanxP(x) = \tan x Q(x)=2+secx(1+2secx)2Q(x) = \frac{2 + \sec x}{(1 + 2\sec x)^2}

Step 2: Calculate the Integrating Factor (IF)

The integrating factor is given by: IF=eP(x)dx=etanxdxIF = e^{\int P(x) dx} = e^{\int \tan x dx} We know that tanxdx=sinxcosxdx=lncosx=lnsecx\int \tan x dx = \int \frac{\sin x}{\cos x} dx = -\ln|\cos x| = \ln|\sec x|. Therefore, IF=elnsecx=secxIF = e^{\ln|\sec x|} = \sec x

Step 3: Find the General Solution

The general solution is given by: yIF=(Q(x)IF)dx+Cy \cdot IF = \int (Q(x) \cdot IF) dx + C Substituting the values of IFIF and Q(x)Q(x), we get: ysecx=(2+secx(1+2secx)2secx)dx+Cy \sec x = \int \left(\frac{2 + \sec x}{(1 + 2\sec x)^2} \cdot \sec x\right) dx + C ysecx=secx(2+secx)(1+2secx)2dx+Cy \sec x = \int \frac{\sec x(2 + \sec x)}{(1 + 2\sec x)^2} dx + C

Step 4: Evaluate the Integral

Let u=1+2secxu = 1 + 2\sec x. Then, du=2secxtanxdxdu = 2\sec x \tan x \, dx. Also, secx=u12\sec x = \frac{u-1}{2}. The integral becomes: u12(2+u12)u2dx=u12(4+u12)u2dx=(u1)(u+3)4u2dx\int \frac{\frac{u-1}{2}(2 + \frac{u-1}{2})}{u^2} dx = \int \frac{\frac{u-1}{2}(\frac{4+u-1}{2})}{u^2} dx = \int \frac{(u-1)(u+3)}{4u^2} dx This substitution does not immediately simplify the integral. Instead, let's try a different approach. Notice that ddx(1+2secx)=2secxtanx\frac{d}{dx}(1+2\sec x) = 2\sec x \tan x. We want to find secx(2+secx)(1+2secx)2dx\int \frac{\sec x(2 + \sec x)}{(1 + 2\sec x)^2} dx.

We can rewrite secx(2+secx)\sec x (2 + \sec x) as 12(1+2secx)2+secxsecxtanx=2secx+sec2x(1+2secx)2\frac{1}{2}(1+2\sec x)' \frac{2+\sec x}{\sec x \tan x} = \frac{2\sec x + \sec^2 x}{(1+2\sec x)^2}. Notice that ddx11+2secx=2secxtanx(1+2secx)2\frac{d}{dx} \frac{1}{1+2\sec x} = \frac{-2\sec x \tan x}{(1+2\sec x)^2}.

Let t=secxt = \sec x. Then I=t(2+t)(1+2t)2dxI = \int \frac{t(2+t)}{(1+2t)^2} dx. Since we have secx\sec x and we know that ddxsecx=secxtanx\frac{d}{dx} \sec x = \sec x \tan x, let's try the substitution u=1+2secxu = 1+2\sec x. Then du=2secxtanxdxdu = 2\sec x \tan x dx, which is not directly present.

Let's try to directly integrate secx(2+secx)(1+2secx)2dx\int \frac{\sec x(2 + \sec x)}{(1 + 2\sec x)^2} dx. Let u=1+2secxu = 1 + 2\sec x. Then secx=u12\sec x = \frac{u-1}{2}. So dudx=2secxtanx\frac{du}{dx} = 2\sec x \tan x.

Consider ddx(tanx1+2secx)=sec2x(1+2secx)tanx(2secxtanx)(1+2secx)2=sec2x+2sec3x2secxtan2x(1+2secx)2=sec2x+2sec3x2secx(sec2x1)(1+2secx)2=sec2x+2sec3x2sec3x+2secx(1+2secx)2=sec2x+2secx(1+2secx)2=secx(secx+2)(1+2secx)2\frac{d}{dx}\left(\frac{\tan x}{1 + 2\sec x}\right) = \frac{\sec^2 x (1+2\sec x) - \tan x (2\sec x \tan x)}{(1+2\sec x)^2} = \frac{\sec^2 x + 2\sec^3 x - 2\sec x \tan^2 x}{(1+2\sec x)^2} = \frac{\sec^2 x + 2\sec^3 x - 2\sec x (\sec^2 x - 1)}{(1+2\sec x)^2} = \frac{\sec^2 x + 2\sec^3 x - 2\sec^3 x + 2\sec x}{(1+2\sec x)^2} = \frac{\sec^2 x + 2\sec x}{(1+2\sec x)^2} = \frac{\sec x (\sec x + 2)}{(1+2\sec x)^2}. Therefore, secx(2+secx)(1+2secx)2dx=tanx1+2secx+C\int \frac{\sec x(2 + \sec x)}{(1 + 2\sec x)^2} dx = \frac{\tan x}{1 + 2\sec x} + C.

Thus, ysecx=tanx1+2secx+Cy \sec x = \frac{\tan x}{1 + 2\sec x} + C y=sinx1+2secx+Ccosxy = \frac{\sin x}{1 + 2\sec x} + C\cos x

Step 5: Apply the Initial Condition

We are given that f(π3)=310f\left(\frac{\pi}{3}\right) = \frac{\sqrt{3}}{10}. Substituting x=π3x = \frac{\pi}{3} and y=310y = \frac{\sqrt{3}}{10} into the general solution, we get: 310=sin(π3)1+2sec(π3)+Ccos(π3)\frac{\sqrt{3}}{10} = \frac{\sin(\frac{\pi}{3})}{1 + 2\sec(\frac{\pi}{3})} + C\cos(\frac{\pi}{3}) 310=321+2(2)+C(12)\frac{\sqrt{3}}{10} = \frac{\frac{\sqrt{3}}{2}}{1 + 2(2)} + C\left(\frac{1}{2}\right) 310=325+C2\frac{\sqrt{3}}{10} = \frac{\frac{\sqrt{3}}{2}}{5} + \frac{C}{2} 310=310+C2\frac{\sqrt{3}}{10} = \frac{\sqrt{3}}{10} + \frac{C}{2} C=0C = 0

Step 6: Find f(π/4)

Therefore, the particular solution is: y=sinx1+2secxy = \frac{\sin x}{1 + 2\sec x} We want to find f(π4)f\left(\frac{\pi}{4}\right). Substituting x=π4x = \frac{\pi}{4}, we get: f(π4)=sin(π4)1+2sec(π4)=221+22=22(1+22)f\left(\frac{\pi}{4}\right) = \frac{\sin(\frac{\pi}{4})}{1 + 2\sec(\frac{\pi}{4})} = \frac{\frac{\sqrt{2}}{2}}{1 + 2\sqrt{2}} = \frac{\sqrt{2}}{2(1 + 2\sqrt{2})} f(π4)=22(1+22)122122=2(122)2(18)=242(7)=4214f\left(\frac{\pi}{4}\right) = \frac{\sqrt{2}}{2(1 + 2\sqrt{2})} \cdot \frac{1 - 2\sqrt{2}}{1 - 2\sqrt{2}} = \frac{\sqrt{2}(1 - 2\sqrt{2})}{2(1 - 8)} = \frac{\sqrt{2} - 4}{2(-7)} = \frac{4 - \sqrt{2}}{14}

Common Mistakes & Tips

  • Trigonometric Identities: Be careful while using trigonometric identities, especially when simplifying the integral.
  • Integrating Factor: Make sure you calculate the integrating factor correctly. A small error here can lead to a completely wrong answer.
  • Substitution: Choosing the right substitution is crucial for solving the integral.

Summary

We solved the first-order linear differential equation using the integrating factor method. We found the integrating factor to be secx\sec x, obtained the general solution, and then used the initial condition f(π3)=310f(\frac{\pi}{3}) = \frac{\sqrt{3}}{10} to determine the particular solution. Finally, we evaluated f(π4)f(\frac{\pi}{4}) to obtain the answer.

The final answer is 4214\boxed{\frac{4 - \sqrt{2}}{14}}, which corresponds to option (B).

Practice More Differential Equations Questions

View All Questions