Question
Question: The solution of the differential equation \[{x^2}\dfrac{{dy}}{{dx}}\cos \left( {\dfrac{1}{x}} \right...
The solution of the differential equation x2dxdycos(x1)−ysin(x1)=−1; where y→−1 as x→∞ is
A) y=sin(x1)−cos(x1)
B) y=xsin(x1)x+1
C) y=cos(x1)+sin(x1)
D) y=xcos(x1)x+1
Solution
Here we need to solve the given differential equation. We will first rearrange the terms and after rearranging the terms, we will find that the given differential equation is a linear differential equation. Then we will find the integrating factor, at last we will find the solution of this linear differential equation using the formula.
Complete step by step solution:
Here we need to solve the given differential equation and the given differential equation is:-
x2dxdycos(x1)−ysin(x1)=−1
Now, we will first rearrange the terms.
⇒x2dxdycos(x1)=−1+ysin(x1)
Now, we will divide both sides by the term x2cos(x1).
⇒dxdy=x2cos(x1)−1+x2cos(x1)ysin(x1)
We know from the inverse trigonometric identities that
secθ=cosθ1tanθ=cosθsinθ
Using these trigonometric identities, we get
⇒dxdy=x2−sec(x1)+x2ytan(x1)
On further simplification, we get
⇒dxdy−x2tan(x1)y=x2−sec(x1)
We can see that the differential equation is in the form dxdy+Py=Q …………… (1)
And the solution of such a type of differential equation isy×I.F=∫Q×I.Fdy+c.
Where, I.F(Integratingfactor)=e∫Pdx
We will follow the same step to solve this differential equation i.e.
⇒dxdy−x2tan(x1)y=x2−sec(x1)
On comparing this differential equation with the differential equation in equation 1, we get
P=−x2tan(x1)Q=x2−sec(x1)
We will first find the integrating factor.
I.F=e∫Pdx=e∫x2−tan(x1)dx
Let x1=t
On differentiating the terms, we get
⇒−x21dx=dt
On substituting this value in the exponent, we get
I.F=e∫tant⋅dt
On integrating the terms, we get
⇒I.F=eln(sect)=eln(sec(x1))
We know from the properties of exponentials that elnx=x
Using this property here, we get
⇒I.F=sec(x1)
Therefore, the solution of this differential equation is equal to y×I.F=∫Q×I.Fdy+c
On substituting the value of the integrating factor and the constant values we get
y×sec(x1)=∫x2−sec(x1)×sec(x1)dx+c
On further simplifying the terms, we get
⇒y×sec(x1)=∫x2−sec2(x1)dx+c
Let x1=t
On differentiating the terms, we get
⇒−x21dx=dt
Now, we will substitute this value in the integration, we get
⇒y×sec(x1)=∫sec2t⋅dt+c
On integrating the terms, we get
⇒y×sec(x1)=tant+c
Now, we will substitute the value of t here.
⇒y×sec(x1)=tan(x1)+c ……………….. (2)
It is given that y→−1 and x→∞
We can say that x1→0
Now, we will substitute this value in equation 2.
⇒(−1)×sec(0)=tan(0)+c
We know that the value of
sec(0)=1tan(0)=0
Now, we will substitute these values here.
⇒(−1)×1=0+c ⇒−1=c
Now, we will substitute this value in equation 2.
⇒y×sec(x1)=tan(x1)+(−1) ⇒y×sec(x1)=tan(x1)−1
Now, we will divide both sides by the term sec(x1).
⇒sec(x1)y×sec(x1)=sec(x1)tan(x1)−sec(x1)1
We know from the trigonometric formulas that:
secθtanθ=sinθcosθ=secθ1
Using these formulas here, we get
⇒y=sin(x1)−cos(x1)
Hence, the correct option is option A.
Note:
A differential equation is defined as the equation which contains one or more than one functions like trigonometric functions, logarithmic functions, exponential functions etc with their derivatives. It is an inverse function of integration. The derivative of a function is defined as the rate of change of a function at a point. Derivation and its application is used in many fields like engineering, biology etc.