Skip to main content

Differential Equations MCQ: General solution of the differential equation (cos…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
General solution of the differential equation (cos⁡2x)dydx+y=tan⁡x   (0≤x<π2)\left(\cos ^2 x\right) \frac{d y}{d x}+y=\tan x \,\,\,\left(0 \leq x < \frac{\pi}{2}\right) is
View answer and explanation
Correct option: A
y+1=tan⁡x+ce−tan⁡xy+1=\tan x+c e^{-\tan x}
Option A (y+1=tan⁡x+ce−tan⁡xy+1=\tan x+c e^{-\tan x}) is correct because it is the solution obtained after solving the given linear differential equation.
Solution approach
  1. Correct Answer + Core Reason: y+1=tan⁡x+ce−tan⁡xy+1=\tan x+c e^{-\tan x}. This is the solution to the given linear differential equation.

    Step-by-Step Solution:

    Step 1: Rewrite the equation: (cos⁡2x)dydx+y=tan⁡x(\cos^2 x) \frac{{dy}}{{dx}} + y = \tan x becomes dydx+(sec⁡2x)y=sec⁡2xtan⁡x\frac{{dy}}{{dx}} + (\sec^2 x)y = \sec^2 x \tan x.

    Step 2: This is a linear differential equation of the form dydx+P(x)y=Q(x)\frac{{dy}}{{dx}} + P(x)y = Q(x), where P(x)=sec⁡2xP(x) = \sec^2 x and Q(x)=sec⁡2xtan⁡xQ(x) = \sec^2 x \tan x.

    Step 3: Find the integrating factor: IF=e∫P(x)dx=e∫sec⁡2xdx=etan⁡xIF = e^{\int P(x) dx} = e^{\int \sec^2 x dx} = e^{\tan x}.

    Step 4: Multiply the equation by the integrating factor: etan⁡xdydx+(sec⁡2x)etan⁡xy=sec⁡2xtan⁡xetan⁡xe^{\tan x} \frac{{dy}}{{dx}} + (\sec^2 x)e^{\tan x} y = \sec^2 x \tan x e^{\tan x}.

    Step 5: Integrate both sides: ∫(etan⁡xdydx+(sec⁡2x)etan⁡xy)dx=∫sec⁡2xtan⁡xetan⁡xdx+c\int (e^{\tan x} \frac{{dy}}{{dx}} + (\sec^2 x)e^{\tan x} y) dx = \int \sec^2 x \tan x e^{\tan x} dx + c, which gives yetan⁡x=∫sec⁡2xtan⁡xetan⁡xdx+cye^{\tan x} = \int \sec^2 x \tan x e^{\tan x} dx + c.

    Step 6: Let u=tan⁡xu = \tan x, so du=sec⁡2xdxdu = \sec^2 x dx. The integral becomes ∫ueudu=ueu−eu+c=(tan⁡x−1)etan⁡x+c\int ue^u du = ue^u - e^u + c = (\tan x - 1)e^{\tan x} + c.

    Step 7: So, yetan⁡x=(tan⁡x−1)etan⁡x+cye^{\tan x} = (\tan x - 1)e^{\tan x} + c, which simplifies to y=tan⁡x−1+ce−tan⁡xy = \tan x - 1 + ce^{{-\tan x}}, or y+1=tan⁡x+ce−tan⁡xy+1 = \tan x + ce^{{-\tan x}}.

    Why other options are wrong:
    - Option B: Incorrect integration or incorrect application of the integrating factor.
    - Option C: Incorrect integration or incorrect application of the integrating factor.
    - Option D: Incorrect integration or incorrect application of the integrating factor.

    Key Concepts:
    - Linear differential equations
    - Integrating factor
    - Integration by parts

    Memory Aids:
    - Remember the formula for the integrating factor: IF=e∫P(x)dxIF = e^{\int P(x) dx}.

    Quick Tips:
    - Always identify P(x) and Q(x) correctly in a linear differential equation.
    - Use integration by parts when necessary.

More Questions from Differential Equations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.