Question
Question: Solve the differential equation: \({{\left( 1-{{x}^{2}} \right)}^{2}}dy+\left( y\sqrt{1-{{x}^{2}}}-x...
Solve the differential equation: (1−x2)2dy+(y1−x2−x−1−x2)dx=0
Solution
To solve the above differential equation we will first try to split x and y terms with dx and dy, that is:
(1−x2)2dy+y1−x2dx−xdx−1−x2dx=0
⇒dxdy=(1−x2)2x+(1−y)1−x2
⇒dxdy=(1−x2)2x+(1−x2)21−x2−(1−x2)2y1−x2
⇒dxdy+(1−x2)23y=(1−x2)2x+(1−x2)231.............(1)
Now, we can see that the above equation is in the form linear differential equation of first order, that isdxdy+P(x)y=Q(x)...............(2)
And, the solution of above differential equation is given by:
ye∫P(x)dx=∫Q(x)×e∫P(x)dxdx
Now, after comparing the equation (1) and (2) we will get function P(x) and Q(x) and then we will solve the equation we get to get our required answer.
Complete step-by-step solution:
We will first split the above given differential equation, that is (1−x2)2dy+(y1−x2−x−1−x2)dx=0, such that term of x comes with dx and terms of y come with dy.
So, (1−x2)2dy+(y1−x2−x−1−x2)dx=0 can be rewritten as:
(1−x2)2dy+y1−x2dx−xdx−1−x2dx=0
⇒(1−x2)2dy=−y1−x2dx+xdx+1−x2dx
⇒(1−x2)2dy=(x+(1−y)1−x2)dx
⇒dxdy=(1−x2)2x+(1−y)1−x2
⇒dxdy=(1−x2)2x+(1−x2)21−x2−(1−x2)2y1−x2
⇒dxdy+(1−x2)23y=(1−x2)2x+(1−x2)231.............(1)
Now, we can see that the above equation (1) is in the form of linear differential equation of first order, that is:
dxdy+P(x)y=Q(x)...............(2)
So, P(x)=(1−x2)231,Q(x)=(1−x2)2x+(1−x2)231
And, we know that solution of above equation (2) is given by:
ye∫P(x)dx=∫Q(x)×e∫P(x)dxdx, here e∫P(x)dx is also known as integrating factor.
So, integrating factor is:
e∫P(x)dx=e∫(1−x2)231dx............(3)
Letx=cosθ, so dx=−sinθdθ
Putting the value of x and dx in equation (3) we will get:
e∫P(x)dx=e∫(1−cos2θ)231(−sinθ)dθ
⇒e∫P(x)dx=e∫sin3θ−sinθdx
⇒e∫P(x)dx=e∫−cosec2θdx
And we know that −∫cosec2θdθ=cotθ+c
So, e∫P(x)dx=ecotθ
Now, we will put x=cosθ, in Q(x):
Q(x)=(1−x2)2x+(1−x2)231
Q(θ)=(1−cos2θ)2cosθ+(1−cos2θ)231
⇒Q(θ)=sin4θcosθ+sin3θ1
⇒Q(θ)=sin4θcosθ+sinθ
Now, we will put the value of e∫P(x)dx, Q(x), and dx in equation ye∫P(x)dx=∫Q(x)×e∫P(x)dxdx
⇒yecotθ=∫(sin4θcosθ+sinθ)×ecotθ×(−sinθ)dθ
⇒yecotθ=−∫(sin3θcosθ+sinθ)×ecotθdθ
⇒yecotθ=−∫(sin3θcosθ)×ecotθdθ−∫(sin2θ1)×ecotθdθ
⇒yecotθ=−∫cosec2θcotθ×ecotθdθ−∫cosec2θ×ecotθdθ
Let cotθ=t, then dt=−cosec2θdθ
Now, we will put ‘t’ in place cotθ and dt in place of −cosec2θdθ.
∴yecotθ=∫t×etdt+∫etdt
We will use integration by parts as ∫u.vdx=u∫vdx−∫(u’)(v)dx to solve ∫t×etdt where u=t and v=et
⇒yecotθ=tet−∫etdt+∫etdt
⇒yecotθ=tet+C
Now, we know that cotθ=t, so:
⇒yecotθ=cotθ×ecotθ+C
So, y=cotθ+Ce−cotθ
Now, since we have assumed above that x=cosθ
So, sinθ=1−x2, so cotθ=1−x2x
So, y=1−x2x+Ce−(1−x2x)
This is our required solution.
Note: Since we have seen that there is a lot of calculation and integrating term in the above solution. So, students are required to be familiar with all integration types and formulas and avoid calculation mistakes and also assume such terms as t which will make our calculation easy.