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.
Solve : 3ex tanydx + (1 +ex) sec2 ydy = 0
Also, find the particular solution when x = 0 and y = π.
Find the particular solution of the differential equation `e^xsqrt(1-y^2)dx+y/xdy=0` , given that y=1 when x=0
Find the general solution of the following differential equation :
`(1+y^2)+(x-e^(tan^(-1)y))dy/dx= 0`
Find the particular solution of the differential equation `dy/dx=(xy)/(x^2+y^2)` given that y = 1, when x = 0.
Find the particular solution of the differential equation dy/dx=1 + x + y + xy, given that y = 0 when x = 1.
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = Ax : xy′ = y (x ≠ 0)
Find a particular solution of the differential equation`(x + 1) dy/dx = 2e^(-y) - 1`, given that y = 0 when x = 0.
Find `(dy)/(dx)` at x = 1, y = `pi/4` if `sin^2 y + cos xy = K`
Find the particular solution of the differential equation
`tan x * (dy)/(dx) = 2x tan x + x^2 - y`; `(tan x != 0)` given that y = 0 when `x = pi/2`
Solve the differential equation:
`e^(x/y)(1-x/y) + (1 + e^(x/y)) dx/dy = 0` when x = 0, y = 1
The number of arbitrary constants in the general solution of differential equation of fourth order is
The general solution of the differential equation \[\frac{y dx - x dy}{y} = 0\], is
Find the general solution of the differential equation \[x \cos \left( \frac{y}{x} \right)\frac{dy}{dx} = y \cos\left( \frac{y}{x} \right) + x .\]
x (e2y − 1) dy + (x2 − 1) ey dx = 0
cos (x + y) dy = dx
\[\cos^2 x\frac{dy}{dx} + y = \tan x\]
\[\left( 1 + y^2 \right) + \left( x - e^{- \tan^{- 1} y} \right)\frac{dy}{dx} = 0\]
\[y^2 + \left( x + \frac{1}{y} \right)\frac{dy}{dx} = 0\]
`2 cos x(dy)/(dx)+4y sin x = sin 2x," given that "y = 0" when "x = pi/3.`
Solve the following differential equation:- \[x \cos\left( \frac{y}{x} \right)\frac{dy}{dx} = y \cos\left( \frac{y}{x} \right) + x\]
Solve the following differential equation:-
\[x\frac{dy}{dx} + 2y = x^2 , x \neq 0\]
Solve the following differential equation:-
\[\frac{dy}{dx} + 3y = e^{- 2x}\]
Solve the following differential equation:-
\[x\frac{dy}{dx} + 2y = x^2 \log x\]
Find the general solution of (1 + tany)(dx – dy) + 2xdy = 0.
Find the general solution of `("d"y)/("d"x) -3y = sin2x`
Integrating factor of the differential equation `cosx ("d"y)/("d"x) + ysinx` = 1 is ______.
Integrating factor of `(x"d"y)/("d"x) - y = x^4 - 3x` 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 the equation (2y – 1)dx – (2x + 3)dy = 0 is ______.
The general solution of the differential equation (ex + 1) ydy = (y + 1) exdx is ______.
Find the particular solution of the following differential equation, given that y = 0 when x = `pi/4`.
`(dy)/(dx) + ycotx = 2/(1 + sinx)`
Find a particular solution satisfying the given condition `- cos((dy)/(dx)) = a, (a ∈ R), y` = 1 when `x` = 0
Find a particular solution, satisfying the condition `(dy)/(dx) = y tan x ; y = 1` when `x = 0`
Find the particular solution of the differential equation `x (dy)/(dx) - y = x^2.e^x`, given y(1) = 0.
Find the general solution of the differential equation:
`(dy)/(dx) = (3e^(2x) + 3e^(4x))/(e^x + e^-x)`
