Advertisements
Advertisements
Question
Solve the following differential equation:- \[\left( x - y \right)\frac{dy}{dx} = x + 2y\]
Advertisements
Solution
We have,
\[\left( x - y \right)\frac{dy}{dx} = x + 2y\]
\[ \Rightarrow \frac{dy}{dx} = \frac{x + 2y}{x - y} . . . . . \left( 1 \right)\]
Clearly this is a homogeneous equation,
Putting y = vx
\[ \Rightarrow \frac{dy}{dx} = v + x\frac{dv}{dx}\]
\[\text{Substituting }y = vx\text{ and }\frac{dy}{dx} = v + x\frac{dv}{dx}\text{ (1) becomes,} \]
\[v + x\frac{dv}{dx} = \frac{x + 2vx}{x - vx}\]
\[ \Rightarrow v + x\frac{dv}{dx} = \frac{1 + 2v}{1 - v}\]
\[ \Rightarrow x\frac{dv}{dx} = \frac{1 + 2v}{1 - v} - v\]
\[ \Rightarrow x\frac{dv}{dx} = \frac{1 + 2v - v + v^2}{1 - v}\]
\[ \Rightarrow x\frac{dv}{dx} = \frac{v^2 + v + 1}{1 - v}\]
\[ \Rightarrow \frac{1 - v}{v^2 + v + 1}dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ \frac{- v}{v^2 + v + 1} + \frac{1}{v^2 + v + 1} \right]dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ - \frac{1}{2} \times \frac{2v + 1 - 1}{v^2 + v + 1} + \frac{1}{v^2 + v + 1} \right]dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ - \frac{1}{2} \times \frac{2v + 1}{v^2 + v + 1} + \frac{1}{2} \times \frac{1}{v^2 + v + 1} + \frac{1}{v^2 + v + 1} \right]dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ - \frac{1}{2} \times \frac{2v + 1}{v^2 + v + 1} + \frac{3}{2} \times \frac{1}{v^2 + v + 1} \right]dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ - \frac{1}{2} \times \frac{2v + 1}{v^2 + v + 1} + \frac{3}{2} \times \frac{1}{v^2 + v + \frac{1}{4} + \frac{3}{4}} \right]dv = \frac{1}{x}dx\]
\[ \Rightarrow \left[ - \frac{1}{2} \times \frac{2v + 1}{v^2 + v + 1} + \frac{3}{2} \times \frac{1}{\left( v + \frac{1}{2} \right)^2 + \left( \frac{\sqrt{3}}{2} \right)^2} \right]dv = \frac{1}{x}dx\]
Integrating both sides, we get
\[ \Rightarrow \int\left[ - \frac{1}{2} \times \frac{2v + 1}{v^2 + v + 1} + \frac{3}{2} \times \frac{1}{\left( v + \frac{1}{2} \right)^2 + \left( \frac{\sqrt{3}}{2} \right)^2} \right]dv = \int\frac{1}{x}dx\]
\[ \Rightarrow - \frac{1}{2}\int\frac{2v + 1}{v^2 + v + 1}dv + \frac{3}{2}\int\frac{1}{\left( v + \frac{1}{2} \right)^2 + \left( \frac{\sqrt{3}}{2} \right)^2}dv = \int\frac{1}{x}dx\]
\[ \Rightarrow - \frac{1}{2}\log \left| v^2 + v + 1 \right| + \frac{3}{2} \times \frac{1}{\frac{\sqrt{3}}{2}} \tan^{- 1} \frac{v + \frac{1}{2}}{\frac{\sqrt{3}}{2}} = \log \left| x \right| + C\]
\[ \Rightarrow - \frac{1}{2}\log \left| \left( \frac{y}{x} \right)^2 + \frac{y}{x} + 1 \right| + \frac{3}{2} \times \frac{1}{\frac{\sqrt{3}}{2}} \tan^{- 1} \frac{\frac{y}{x} + \frac{1}{2}}{\frac{\sqrt{3}}{2}} = \log \left| x \right| + C\]
\[ \Rightarrow - \frac{1}{2}\log \left| \frac{y^2 + xy + x^2}{x^2} \right| + \sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) = \log \left| x \right| + C\]
\[ \Rightarrow - \frac{1}{2}\log \left| y^2 + xy + x^2 \right| + \frac{1}{2}\log \left| x^2 \right| + \sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) = \log \left| x \right| + C\]
\[ \Rightarrow - \frac{1}{2}\log \left| y^2 + xy + x^2 \right| + \log \left| x \right| + \sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) = \log \left| x \right| + C\]
\[ \Rightarrow - \frac{1}{2}\log \left| y^2 + xy + x^2 \right| + \sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) = C\]
\[ \Rightarrow \log \left| y^2 + xy + x^2 \right| - 2\sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) = - 2C\]
\[ \Rightarrow \log \left| y^2 + xy + x^2 \right| = 2\sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) - 2C\]
\[ \Rightarrow \log \left| y^2 + xy + x^2 \right| = 2\sqrt{3} \tan^{- 1} \left( \frac{2y + x}{\sqrt{3}x} \right) + k\text{ Where, }k = - 2C\]
APPEARS IN
RELATED QUESTIONS
Solve the differential equation: `x+ydy/dx=sec(x^2+y^2)` Also find the particular solution if x = y = 0.
If x = Φ(t) differentiable function of ‘ t ' then prove that `int f(x) dx=intf[phi(t)]phi'(t)dt`
Find the particular solution of the differential equation
(1 – y2) (1 + log x) dx + 2xy dy = 0, given that y = 0 when x = 1.
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = cos x + C : y′ + sin x = 0
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = Ax : xy′ = y (x ≠ 0)
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y – cos y = x : (y sin y + cos y + x) y′ = y
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
x + y = tan–1y : y2 y′ + y2 + 1 = 0
The number of arbitrary constants in the particular solution of a differential equation of third order are ______.
Find the general solution of the differential equation `dy/dx + sqrt((1-y^2)/(1-x^2)) = 0.`
The population of a town grows at the rate of 10% per year. Using differential equation, find how long will it take for the population to grow 4 times.
The general solution of the differential equation \[\frac{dy}{dx} + y \] cot x = cosec x, is
The solution of the differential equation \[\frac{dy}{dx} + 1 = e^{x + y}\], is
The solution of the differential equation \[\frac{dy}{dx} = \frac{x^2 + xy + y^2}{x^2}\], is
Which of the following differential equations has y = x as one of its particular solution?
(1 + y + x2 y) dx + (x + x3) dy = 0
\[\frac{dy}{dx} + 2y = \sin 3x\]
Find the general solution of the differential equation \[\frac{dy}{dx} = \frac{x + 1}{2 - y}, y \neq 2\]
For the following differential equation, find the general solution:- \[\frac{dy}{dx} = \sqrt{4 - y^2}, - 2 < y < 2\]
Solve the following differential equation:-
\[x \log x\frac{dy}{dx} + y = \frac{2}{x}\log x\]
Solve the following differential equation:-
y dx + (x − y2) dy = 0
Find a particular solution of the following differential equation:- \[\left( 1 + x^2 \right)\frac{dy}{dx} + 2xy = \frac{1}{1 + x^2}; y = 0,\text{ when }x = 1\]
Find the differential equation of all non-horizontal lines in a plane.
y = x is a particular solution of the differential equation `("d"^2y)/("d"x^2) - x^2 "dy"/"dx" + xy` = x.
If y(t) is a solution of `(1 + "t")"dy"/"dt" - "t"y` = 1 and y(0) = – 1, then show that y(1) = `-1/2`.
Find the general solution of the differential equation `(1 + y^2) + (x - "e"^(tan - 1y)) "dy"/"dx"` = 0.
The differential equation for y = Acos αx + Bsin αx, where A and B are arbitrary constants is ______.
Solution of the differential equation tany sec2xdx + tanx sec2ydy = 0 is ______.
The general solution of `("d"y)/("d"x) = 2x"e"^(x^2 - y)` is ______.
The general solution of the differential equation `("d"y)/("d"x) = "e"^(x^2/2) + xy` is ______.
The solution of `("d"y)/("d"x) + y = "e"^-x`, y(0) = 0 is ______.
Solution of the differential equation `("d"y)/("d"x) + y/x` = sec x is ______.
The solution of the differential equation `x(dy)/("d"x) + 2y = x^2` is ______.
General solution of `("d"y)/("d"x) + y` = sinx is ______.
The solution of differential equation coty dx = xdy is ______.
Which of the following differential equations has `y = x` as one of its particular solution?
Find the particular solution of the differential equation `x (dy)/(dx) - y = x^2.e^x`, given y(1) = 0.
