Solveeit Logo

Question

Question: The solution of \[\dfrac{dy}{dx}-y\tan x={{e}^{x}}\sec x\] is: (a) \[y{{e}^{x}}=\cos x+c\] (b) \...

The solution of dydxytanx=exsecx\dfrac{dy}{dx}-y\tan x={{e}^{x}}\sec x is:
(a) yex=cosx+cy{{e}^{x}}=\cos x+c
(b) ycosx=ex+cy\cos x={{e}^{x}}+c
(c) ysinx=ex+cy\sin x={{e}^{x}}+c
(d) yex=sinx+cy{{e}^{x}}=\sin x+c

Explanation

Solution

Hint: First of all consider the given equation and convert it in the form dydx+P(x)y=Q(x)\dfrac{dy}{dx}+{{P}_{\left( x \right)}}y=Q\left( x \right). Solve it by solving y(I.F)=Q(I.F)dxy\left( I.F \right)=\int{Q\left( I.F \right)dx} where I.F=ePdxI.F={{e}^{\int{Pdx}}}. So, find I.F and substitute in the above equation and solve it.

Complete step-by-step answer:
In this question, we have to solve the differential equation
dydxytanx=exsecx\dfrac{dy}{dx}-y\tan x={{e}^{x}}\sec x
Let us consider the differential equation given in the question
dydxytanx=exsecx\dfrac{dy}{dx}-y\tan x={{e}^{x}}\sec x
We can also write the above equation as
dydx+(tanx)y=exsecx\dfrac{dy}{dx}+\left( -\tan x \right)y={{e}^{x}}\sec x
Now, the above equation is of the form dydx+Py=Q\dfrac{dy}{dx}+Py=Q where P and Q are functions of x. By comparison, we get, P = – tan x and Q=exsecxQ={{e}^{x}}\sec x.
To solve this equation, we will first find the integration factor that is,
I.F=ePdxI.F={{e}^{\int{Pdx}}}
By substituting the value of P = – tan x, we get,
I.F=etanx dxI.F={{e}^{\int{-\tan x\text{ }dx}}}
We know that tanθdθ=mcosθ\int{\tan \theta d\theta =-m\cos \theta }, so by using this, we get,
I.F=elncosxI.F={{e}^{\ln \cos x}}
We know that alogb.bloga{{a}^{\log b}}.{{b}^{\log a}}, by using this, we get,
I.F=(cosx)lneI.F={{\left( \cos x \right)}^{\ln e}}
We know that ln e = 1. So, we get,
I.F=cosxI.F=\cos x
Now, the equation is solved by using
y(I.F)=Q(I.F)dxy\left( I.F \right)=\int{Q\left( I.F \right)dx}
By substituting the value of I.F = cos x and Q=exsecxQ={{e}^{x}}\sec x, we get,
y(cosx)=exsecxcosxdxy\left( \cos x \right)=\int{{{e}^{x}}\sec x\cos xdx}
We know that, cosθ.secθ=1\cos \theta .\sec \theta =1. So, we get,
y(cosx)=exdxy\left( \cos x \right)=\int{{{e}^{x}}dx}
We know that exdx=ex+c\int{{{e}^{x}}dx}={{e}^{x}}+c. By using this, we get,
y(cosx)=ex+cy\left( \cos x \right)={{e}^{x}}+c
ycosx=ex+cy\cos x={{e}^{x}}+c
Hence, option (b) is the right answer.

Note: In this type of question, first of all, it is very important to identify the form and convert it into the standard linear differential equation of the first order that is dydx+Py=Q\dfrac{dy}{dx}+Py=Q. Also, remember that I.F or integrating factor is ePdx{{e}^{\int{Pdx}}} and not eQdx{{e}^{\int{Qdx}}}. So, always compare the values properly and then only substitute them to get the correct answer.