# Solve the following differential equation: dydxyxxdydx+y⋅secx=tanx - Mathematics and Statistics

Sum

Solve the following differential equation:

"dy"/"dx" + "y" * sec "x" = tan "x"

#### Solution

"dy"/"dx" + "y" * sec "x" = tan "x"

∴ "dy"/"dx" + (sec "x") * "y" = tan "x"    .....(1)

This is the linear differential equation of the form

"dy"/"dx" + "P" * "y" = "Q", where P = sec x and Q = tan x

∴ I.F. = "e"^(int "P dx") = "e"^(int "sec x dx") = "e"^(log ("sec x + tan x"))

= sec x + tan x

∴ the solution of (1) is given by

∴ y(I.F.) = int "Q" * ("I.F.") "dx" + "c"

∴ y (sec x + tan x) = ∫ tan x (sec x + tan x) dx + c

∴ (sec x + tan x) y = ∫ (sec x tan x + tan2x) dx + c

∴ (sec x + tan x) y = ∫ (sec x tan x + sec2x - 1) dx + c

∴ (sec x + tan x) y = sec x + tan x - x + c

∴ y (sec x + tan x) = sec x + tan x - x + c

This is the general solution.

Concept: Methods of Solving First Order, First Degree Differential Equations - Linear Differential Equations
Is there an error in this question or solution?