Advertisements
Advertisements
Question
Solve the differential equation `cos^2 x dy/dx` + y = tan x
Sum
Advertisements
Solution
`cos^2 x dy/dx` + y = tan x
∴ `dy/dx + y/(cos^2x) = tanx/(cos^2x)`
∴ `dy/dx + sec^2x.y` = tan x . sec2 x
The given equation is of the form
`dy/dx + Py` = Q,
Where P = sec2 x and Q = tan x. sec2 x
∴ I.F. = `e^(int Pdx) = e^(intsec^2x dx)` = etan x
∴ Solution of the given equation is
y(I.F.) = `int Q.(I.F.)dx + c`
∴ yetan x = `int tan x.sec^2x.e^(tanx)dx+ c`
Put tan x = t
∴ sec2x dx = dt
∴ yetan x = `int te^t dt + c`
= `tint e^t dt - int[d/dt (t) inte^tdt]dt + c`
= `te^t - int e^tdt + c`
= tet – et + c
∴ yetan x = etanx (tanx – 1) + c
∴ y = tan x – 1 + c.e–tanx
shaalaa.com
Is there an error in this question or solution?
