Question
Mathematics Question on Differential equations
Find the general solution: dxdy+(sec x)y=tanx, (0≤x<2π)
Answer
The given differential equation is:
dxdy+py = Q(where p = sec x and Q = tan x)
Now, I.F = e∫pdx = ∫sec x dx = elog(sec x+tan x) = sec x+tan x
The general solution of the given differential equation is given by the relation,
y(I.F.) = ∫(Q×I.F.)dx + C
⇒y(secx + tanx) = ∫tan x(sec x + tan x)dx +C
⇒y(sec x + tan x) =∫sec x tan x dx + ∫tan2x dx + C
⇒y(sec x + tan x) = sec x +∫(sec2x - 1)dx + C
⇒y(sec x + tan x) = sec x + tan x - x + C