Question
Question: Solve the given equation \[\left( {x + y - 1} \right)dx + \left( {2x + 2y - 3} \right)dy = 0\]...
Solve the given equation (x+y−1)dx+(2x+2y−3)dy=0
Solution
Hint: This problem can be solved by using a substitution method. According to the substitution method, the given integral can be transformed into another form by changing the independent variable x to t. So, use this concept to reach the solution of the given problem.
Complete step-by-step answer:
Given equation is (x+y−1)dx+(2x+2y−3)dy=0 which can be written as
Put x+y=t then, by differentiating it on both sides we have 1+dxdy=dxdt i.e., dxdy=dxdt−1. So, we have
dxdt−1=2t−3−t+1 dxdt=2t−31−t+1 dxdt=2t−31−t+2t−3 dxdt=2t−3t−2 (t−22t−3)dt=dxAdding and subtracting 1 on the numerator of right-hand side, we get
(t−22t−4+1)dt=dx (t−22(t−2)+1)dt=dxSplitting the terms, we have
(t−22(t−2)+t−21)dt=dx 2dt+t−22dt=dxIntegrating on both sides, we get
∫2dt+∫t−2dt=∫dx 2t+ln∣t−2∣=x+c [∵∫x1=ln∣x∣+c]Substituting back t=x+y, We get
∴2(x+y)+ln∣x+y−2∣=x+c
Thus, the solution of the equation (x+y−1)dx+(2x+2y−3)dy=0 is 2(x+y)+ln∣x+y−2∣=x+c.
Note: A constant namely integrating constant that is added to the function obtained by evaluating the indefinite integral of a given function, indicating that all indefinite integrals of the given function differ by, at most, a constant. So, it is necessary to add integrating constants after completion of the integral.