Solveeit Logo

Question

Question: The Integrating factor of the differential equation \(\dfrac{dy}{dx}-y\tan x=\cos x\) is:...

The Integrating factor of the differential equation dydxytanx=cosx\dfrac{dy}{dx}-y\tan x=\cos x is:

Explanation

Solution

Hint: Convert the equation to the form dydx+p(x)y(x)=q(x)\dfrac{dy}{dx}+p(x)y(x)=q(x) and solve it. The Integrating Factor is used to solve the differential equations of such kind and is given as:
Integrating factor(I.F) =etanxdx={{e}^{\int{\tan xdx}}}

Complete step by step answer:
Integrating factors are useful for solving ordinary differential equations that can be expressed in the form.
dydx+p(x)y(x)=q(x)\dfrac{dy}{dx}+p(x)y(x)=q(x)
where pp and qq are given continuous functions, can be made integral by letting v(x)v(x) be a function such that
So v(x)=p(x)dxv(x)=\int{p(x)dx} and dv(x)dx=p(x)\dfrac{dv(x)}{dx}=p(x)
So integrating factor,
An integrating factor is a function by which an ordinary differential equation can be multiplied in order to make it integrable.
An integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating factor allows an inexact differential to be made into an exact differential.
This is especially useful in thermodynamics where temperature becomes the integrating factor that makes entropy an exact differential.
Integrating factors are useful for solving ordinary differential equations
In proper words I.F =ep(x)dx=ev(x)={{e}^{\int{p(x)dx}}}={{e}^{v(x)}}
Then ev(x){{e}^{v(x)}} would be the integrating factor.
So integrating factor for dydxytanx=cosx\dfrac{dy}{dx}-y\tan x=\cos x
Here p(x)=tanxp(x)=\tan x
Integrating factor (I.F) =etanxdx={{e}^{\int{\tan xdx}}} ………. (1)
So we have to integrate tanx\tan x ,
tanxdx\int{\tan xdx}
So we know tanx=sinxcosx\tan x=\dfrac{\sin x}{\cos x} ,
So writing the above in integration oftanx\tan xwe get,
sinxcosxdx\int{\dfrac{\sin x}{\cos x}dx}
Now let cosx=u\cos x=u
So differentiating cosx\cos x w.r.t xx we get,
sinxdx=du-\sin xdx=du
So we get sinxdx=du\sin xdx=-du
Now substituting sinxdx=du\sin xdx=-du and in sinxcosxdx\int{\dfrac{\sin x}{\cos x}dx} we get,
duu-\int{\dfrac{du}{u}}
So we know 1xdx=log(x)+c\int{\dfrac{1}{x}dx}=\log (x)+c
So we get,
duu=log(u)+c-\int{\dfrac{du}{u}}=-\log (u)+c
So we know cosx=u\cos x=u ,
So we get,
log(u)+c=log(cosx)+c-\log (u)+c=-\log (\cos x)+c
We know the property that log(a)=log((a)1)=log(1a)-\log (a)=\log ({{(a)}^{-1}})=\log \left( \dfrac{1}{a} \right) ,
So using the property we get,
log((cosx)1)+c=log(1cosx)+c=log(secx)+c\log ({{(\cos x)}^{-1}})+c=\log \left( \dfrac{1}{\cos x} \right)+c=\log (\sec x)+c
So we get final integration of tanx\tan x as,
tanxdx=logsecx+c\int{\tan xdx=\log \sec x+c}
So substituting tanxdx=logsecx+c\int{\tan xdx=\log \sec x+c} in (1) we get,
So I.F. =elog(secx)={{e}^{\log (\sec x)}}
So using property eloga=a{{e}^{\log a}}=a We get it as,
I.F =secx=\sec x
So the Integrating factor of dydxytanx=cosx\dfrac{dy}{dx}-y\tan x=\cos x is secx\sec x.

Note: The main form should be known dydx+p(x)y(x)=q(x)\dfrac{dy}{dx}+p(x)y(x)=q(x) and so I.F =ep(x)dx=ev(x)={{e}^{\int{p(x)dx}}}={{e}^{v(x)}} so you can solve it. It may be any form you have to convert it in first order form. While finding the integrating factor you should know what is p(x)p(x) so you can easily calculate the Integrating factor. Here it was direct p(x)=tanxp(x)=\tan x Sometimes it is different one you have to simplify and write in this formdydx+p(x)y(x)=q(x)\dfrac{dy}{dx}+p(x)y(x)=q(x) .