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 cos(x +y) dy = dx hence find the particular solution for x = 0 and y = 0.
The solution of the differential equation dy/dx = sec x – y tan x is:
(A) y sec x = tan x + c
(B) y sec x + tan x = c
(C) sec x = y tan x + c
(D) sec x + y tan x = c
The differential equation of the family of curves y=c1ex+c2e-x is......
(a)`(d^2y)/dx^2+y=0`
(b)`(d^2y)/dx^2-y=0`
(c)`(d^2y)/dx^2+1=0`
(d)`(d^2y)/dx^2-1=0`
Find the particular solution of differential equation:
`dy/dx=-(x+ycosx)/(1+sinx) " given that " y= 1 " when "x = 0`
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = ex + 1 : y″ – y′ = 0
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:
x + y = tan–1y : y2 y′ + y2 + 1 = 0
The number of arbitrary constants in the general solution of a differential equation of fourth order are ______.
Find a particular solution of the differential equation `dy/dx + y cot x = 4xcosec x(x != 0)`, given that y = 0 when `x = pi/2.`
Write the order of the differential equation associated with the primitive y = C1 + C2 ex + C3 e−2x + C4, where C1, C2, C3, C4 are arbitrary constants.
The general solution of the differential equation \[\frac{dy}{dx} + y\] g' (x) = g (x) g' (x), where g (x) is a given function of x, is
If m and n are the order and degree of the differential equation \[\left( y_2 \right)^5 + \frac{4 \left( y_2 \right)^3}{y_3} + y_3 = x^2 - 1\], then
The solution of the differential equation x dx + y dy = x2 y dy − y2 x dx, is
The number of arbitrary constants in the general solution of differential equation of fourth order is
Solve the differential equation (x2 − yx2) dy + (y2 + x2y2) dx = 0, given that y = 1, when x = 1.
x (e2y − 1) dy + (x2 − 1) ey dx = 0
\[y^2 + \left( x + \frac{1}{y} \right)\frac{dy}{dx} = 0\]
For the following differential equation, find the general solution:- \[\frac{dy}{dx} = \frac{1 - \cos x}{1 + \cos x}\]
For the following differential equation, find a particular solution satisfying the given condition:
\[x\left( x^2 - 1 \right)\frac{dy}{dx} = 1, y = 0\text{ when }x = 2\]
Solve the following differential equation:-
\[x\frac{dy}{dx} + 2y = x^2 \log x\]
Solve the following differential equation:-
y dx + (x − y2) dy = 0
Solve the following differential equation:-
\[\left( x + 3 y^2 \right)\frac{dy}{dx} = y\]
Find the equation of a curve passing through the point (−2, 3), given that the slope of the tangent to the curve at any point (x, y) is `(2x)/y^2.`
The general solution of the differential equation x(1 + y2)dx + y(1 + x2)dy = 0 is (1 + x2)(1 + y2) = k.
The general solution of the differential equation `"dy"/"dx" + y sec x` = tan x is y(secx – tanx) = secx – tanx + x + k.
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`.
Form the differential equation having y = (sin–1x)2 + Acos–1x + B, where A and B are arbitrary constants, as its general solution.
The general solution of ex cosy dx – ex siny dy = 0 is ______.
Integrating factor of the differential equation `("d"y)/("d"x) + y tanx - secx` = 0 is ______.
The solution of `("d"y)/("d"x) + y = "e"^-x`, y(0) = 0 is ______.
General solution of `("d"y)/("d"x) + ytanx = secx` is ______.
The general solution of the differential equation (ex + 1) ydy = (y + 1) exdx is ______.
The number of arbitrary constants in the general solution of a differential equation of order three is ______.
Number of arbitrary constants in the particular solution of a differential equation of order two is two.
Which of the following differential equations has `y = x` as one of its particular solution?
Find a particular solution, satisfying the condition `(dy)/(dx) = y tan x ; y = 1` when `x = 0`
If the solution curve of the differential equation `(dy)/(dx) = (x + y - 2)/(x - y)` passes through the point (2, 1) and (k + 1, 2), k > 0, then ______.
