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

Question

If dydx+3cos2xy=1cos2x,x(π3,π3){{dy} \over {dx}} + {3 \over {{{\cos }^2}x}}y = {1 \over {{{\cos }^2}x}},\,\,x \in \left( {{{ - \pi } \over 3},{\pi \over 3}} \right) and y(π4)=43,y\left( {{\pi \over 4}} \right) = {4 \over 3}, then y(π4)y\left( { - {\pi \over 4}} \right) equals -

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 eP(x)dxe^{\int P(x) dx}.
  • General Solution: The general solution to a first-order linear differential equation is y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (\text{I.F.}) = \int Q(x) \cdot (\text{I.F.}) \, dx + C.

Step-by-Step Solution

Step 1: Identify the type of Differential Equation and Standardize it.

We are given the differential equation dydx+3cos2xy=1cos2x,x(π3,π3)\frac{dy}{dx} + \frac{3}{\cos^2 x} y = \frac{1}{\cos^2 x}, \quad x \in \left(-\frac{\pi}{3}, \frac{\pi}{3}\right) This is a first-order linear differential equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x). Using the identity sec2x=1cos2x\sec^2 x = \frac{1}{\cos^2 x}, we can rewrite the equation as: dydx+3sec2xy=sec2x\frac{dy}{dx} + 3\sec^2 x \cdot y = \sec^2 x Comparing with the standard form, we identify P(x)=3sec2xP(x) = 3\sec^2 x and Q(x)=sec2xQ(x) = \sec^2 x.

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

The integrating factor is given by eP(x)dxe^{\int P(x) dx}. Substituting P(x)=3sec2xP(x) = 3\sec^2 x, we have: I.F.=e3sec2xdx=e3sec2xdx\text{I.F.} = e^{\int 3\sec^2 x \, dx} = e^{3\int \sec^2 x \, dx} Since sec2xdx=tanx\int \sec^2 x \, dx = \tan x, the integrating factor is: I.F.=e3tanx\text{I.F.} = e^{3\tan x}

Step 3: Find the General Solution.

The general solution is given by y(I.F.)=Q(x)(I.F.)dx+Cy \cdot (\text{I.F.}) = \int Q(x) \cdot (\text{I.F.}) \, dx + C. Substituting Q(x)=sec2xQ(x) = \sec^2 x and I.F.=e3tanx\text{I.F.} = e^{3\tan x}, we get: ye3tanx=sec2xe3tanxdx+Cy \cdot e^{3\tan x} = \int \sec^2 x \cdot e^{3\tan x} \, dx + C To evaluate the integral, let u=3tanxu = 3\tan x. Then dudx=3sec2x\frac{du}{dx} = 3\sec^2 x, so du=3sec2xdxdu = 3\sec^2 x \, dx, which gives sec2xdx=13du\sec^2 x \, dx = \frac{1}{3} du. Substituting, we have: sec2xe3tanxdx=eu13du=13eudu=13eu+constant=13e3tanx+constant\int \sec^2 x \cdot e^{3\tan x} \, dx = \int e^u \cdot \frac{1}{3} \, du = \frac{1}{3} \int e^u \, du = \frac{1}{3} e^u + \text{constant} = \frac{1}{3} e^{3\tan x} + \text{constant} Therefore, the general solution is: ye3tanx=13e3tanx+Cy \cdot e^{3\tan x} = \frac{1}{3} e^{3\tan x} + C

Step 4: Use the Initial Condition to find C.

We are given that y(π4)=43y\left(\frac{\pi}{4}\right) = \frac{4}{3}. Substituting x=π4x = \frac{\pi}{4} and y=43y = \frac{4}{3} into the general solution, we get: 43e3tan(π4)=13e3tan(π4)+C\frac{4}{3} \cdot e^{3\tan(\frac{\pi}{4})} = \frac{1}{3} e^{3\tan(\frac{\pi}{4})} + C Since tan(π4)=1\tan\left(\frac{\pi}{4}\right) = 1, we have: 43e3=13e3+C\frac{4}{3} e^3 = \frac{1}{3} e^3 + C Solving for CC, we find: C=43e313e3=33e3=e3C = \frac{4}{3} e^3 - \frac{1}{3} e^3 = \frac{3}{3} e^3 = e^3

Step 5: Find y(-π/4).

The particular solution is: ye3tanx=13e3tanx+e3y \cdot e^{3\tan x} = \frac{1}{3} e^{3\tan x} + e^3 We want to find y(π4)y\left(-\frac{\pi}{4}\right). Substituting x=π4x = -\frac{\pi}{4}, we have: y(π4)e3tan(π4)=13e3tan(π4)+e3y\left(-\frac{\pi}{4}\right) \cdot e^{3\tan(-\frac{\pi}{4})} = \frac{1}{3} e^{3\tan(-\frac{\pi}{4})} + e^3 Since tan(π4)=1\tan\left(-\frac{\pi}{4}\right) = -1, we have: y(π4)e3=13e3+e3y\left(-\frac{\pi}{4}\right) \cdot e^{-3} = \frac{1}{3} e^{-3} + e^3 Multiplying both sides by e3e^3, we get: y(π4)=13+e6y\left(-\frac{\pi}{4}\right) = \frac{1}{3} + e^6

Common Mistakes & Tips

  • Remember the correct formula for the integrating factor. It is easy to forget the exponential.
  • Be careful with trigonometric identities and signs, especially when dealing with tan(x)\tan(-x).
  • Do not forget the constant of integration, CC, when evaluating indefinite integrals.

Summary

We solved the first-order linear differential equation by finding the integrating factor, obtaining the general solution, and then using the given initial condition to determine the constant of integration. Finally, we evaluated the particular solution at the desired point x=π4x = -\frac{\pi}{4} to find the value of y(π4)y\left(-\frac{\pi}{4}\right).

The final answer is 13+e6\boxed{\frac{1}{3} + e^6}, which corresponds to option (A).

Practice More Differential Equations Questions

View All Questions