How do I solve the equation this should be a first order lin
How do I solve the equation, this should be a first order linear equation.
dy/dx + yTan(x) = Sec(x)
Solution
dy/dx + y tanx = sec(x)
Find integrating factor:
u(x) = e^(? tanx dx) = e^(?ln(cosx)) = 1/cosx = secx
Multiply both sides by integrating factor:
secx dy/dx + y tanx secx = sec^2x
d/dx (y secx) = sec^2(x)
d (y secx) = sec^2(x)dx
Integrate both sides:
? d (y secx) = ? sec^2(x)dx
y secx = tan(x) + C
y = sinx+ C cosx
