Question
Question: What is the general solution of the differential equation \[\dfrac{{dy}}{{dx}} = \dfrac{{x + 2y - ...
What is the general solution of the differential equation
dxdy=2x+y−3x+2y−3?
Solution
We perform a transformation to remove the constants from the numerator and denominator. First, we will consider the simultaneous equations as x+2y−3=0 and 2x+y−3=0 and we will get the values of x and y as 1 . After that we will let u=x−1 and v=y−1 and find dxdu and dydv Then we will substitute the values in the given equation and apply the chain rule and hence we will get a transformed equation in u and v .After that we will use the substitution method and substitute v=wu and find dudv and then substitute all the values in the transformed differential equation. After that we will apply integration and solve it using separating the variable method. And after simplification we will get the required result.
Complete step by step answer:
We have given:
dxdy=2x+y−3x+2y−3 −−−(A)
First, we will perform a transformation to remove the constants from the numerator and denominator.
So, let us consider the simultaneous equations as:
x+2y−3=0 −−−(1)
2x+y−3=0 −−−(2)
Now we will solve equation (1) and (2) using elimination method
So, multiply the equation (1) by 2
Therefore, we get
2x+4y−6=0 −−−(3)
Now, subtract equation (2) from (3) , we get
3y−3=0
⇒y=1
Now put the value of y in equation (1) we get
x+2−3=0
⇒x=1
Now as a result we will perform two linear transformations as:
Let
u=x−1 −−−(4)
v=y−1 −−−(5)
So, from equation (4)
dxdu=1 and x=u+1 −−−(6)
And from equation (5)
dydv=1 and y=v+1 −−−(7)
Now, substitute the values of x and y from equation (6) and (7) in equation (A)
Therefore, we get
dxdy=2(u+1)+(v+1)−3(u+1)+2(v+1)−3
⇒dxdy=2u+2+v+1−3u+1+2v+2−3
After simplification, we get
⇒dxdy=2u+vu+2v
Now using the chain rule, we can write
dxdy=dvdy×dudv×dxdu
⇒dxdy=dudv
Thus, we get a transformed equation as,
⇒dudv=2u+vu+2v −−−(B)
Now we will use substitution method
So, substitute v=wu
On differentiating w.r.t u using product rule, we get
dudv=(w)(dudu)+(dudw)(u)
⇒dudv=w+ududw
Using this substitution in equation (B) we get
w+ududw=2u+wuu+2wu
⇒ududw=2u+wuu+2wu−w
On taking L.C.M we get
⇒ududw=2u+wu(u+2wu)−w(2u+wu)
⇒ududw=2u+wuu+2wu−2uw−w2u
On cancelling 2wu , we get
⇒ududw=2u+wuu−w2u
Taking common u from both numerators and denominators we get
⇒ududw=u(2+w)u(1−w2)
⇒ududw=2+w1−w2
This is now a separable differential equation, so we can rearrange and separate the variable.
Therefore, we get
⇒1−w22+wdw=u1du
On integration, we get
⇒∫1−w22+wdw=∫u1du
⇒∫1−w22dw+∫1−w2wdw=∫u1du
⇒∫(1−w)(1+w)2dw+∫1−w2wdw=∫u1du
Now using a partial fraction decomposition, we can write
(1−w)(1+w)2=w+11−w−11
Therefore, we get
⇒∫((w+1)1+(w−1)1)dw+∫1−w2wdw=∫u1du
Now we know that
∫x1dx=ln∣x∣ and ∫1−x2xdx=−21ln∣x2−1∣
Therefore, we get
ln∣w+1∣−ln∣w−1∣−21ln∣w2−1∣=ln∣u∣+ln∣c∣
We know that
ln∣a∣−ln∣b∣=ln∣b∣∣a∣
ln∣a∣+ln∣b∣=ln∣ab∣
aln∣b∣=ln(b)a
So, we get
ln∣w−1∣∣w+1∣−lnw2−1=ln∣Cu∣
⇒ln(∣w−1∣w2−1∣w+1∣)=ln∣Cu∣
⇒∣w−1∣w2−1∣w+1∣=∣Cu∣
On squaring both sides, we get
⇒(w−1)2(w2−1)(w+1)2=C2u2
⇒(w−1)2(w+1)(w−1)(w+1)2=C2u2
On cancelling (w+1) from both numerator and denominator, we get
⇒(w−1)3(w+1)=C2u2
⇒(w−1)3(w+1)=C2u2
⇒(w+1)=au2(w−1)3 where a=C2
Now, restoring the earlier w substitution, using w=uv we get,
uv+1=au2(uv−1)3
Taking L.C.M we get
uv+u=au2(uv−u)3
⇒uv+u=au2u3(v−u)3
⇒v+u=a(v−u)3
Now, we will finally restore the earlier substitutions for u and v using equation (4) and (5) we get
(y−1)+(x−1)=a((y−1)−(x−1))3
⇒y+x−2=a(y−x)3
which is the required general solution of the given differential equation.
Note:
First order differential equations that can be written in the form y′=F(xy) are called Homogeneous differential equations. The given differential equation is also an example of Homogeneous differential equation. So, whenever you get these types of equations, always try to use the concept of substitution method. The basic idea behind this method is to transform and manipulate differential equations and solve them. The key idea is to replace the dependent variable or independent variable by a new variable that is expressed in terms of both of them.