Advertisements
Advertisements
Question
Solve the following initial value problem:-
\[x\frac{dy}{dx} - y = \left( x + 1 \right) e^{- x} , y\left( 1 \right) = 0\]
Advertisements
Solution
We have,
\[x\frac{dy}{dx} - y = \left( x + 1 \right) e^{- x} \]
\[ \Rightarrow \frac{dy}{dx} - \frac{1}{x}y = \left( \frac{x + 1}{x} \right) e^{- x} . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{where }P = - \frac{1}{x}\text{ and }Q = \frac{x + 1}{x} e^{- x} \]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{- \int\frac{1}{x} dx} \]
\[ = e^{- \log x} \]
\[ = \frac{1}{x}\]
\[\text{ Multiplying both sides of }\left( 1 \right)\text{ by }I . F . = \frac{1}{x},\text{ we get }\]
\[\frac{1}{x} \left( \frac{dy}{dx} - \frac{1}{x}y \right) = \frac{1}{x}\left( \frac{x + 1}{x} \right) e^{- x} \]
\[ \Rightarrow \frac{1}{x} \left( \frac{dy}{dx} - \frac{1}{x}y \right) = \left( \frac{x + 1}{x^2} \right) e^{- x} \]
Integrating both sides with respect to x, we get
\[\frac{1}{x}y = \int\left( \frac{1}{x} + \frac{1}{x^2} \right) e^{- x} dx + C\]
\[\text{ Putting }\frac{1}{x} e^{- x} = t\]
\[ \Rightarrow \left( - \frac{1}{x} e^{- x} - \frac{1}{x^2} e^{- x} \right)dx = dt\]
\[ \Rightarrow \left( \frac{1}{x} + \frac{1}{x^2} \right) e^{- x} dx = - dt\]
\[ \therefore \frac{1}{x}y = \int - dt + C\]
\[ \Rightarrow \frac{y}{x} = - t + C\]
\[ \Rightarrow \frac{y}{x} = - \frac{e^{- x}}{x} + C\]
\[ \Rightarrow y = - e^{- x} + Cx . . . . . \left( 2 \right)\]
Now,
\[y\left( 1 \right) = 0\]
\[ \therefore 0 = - e^{- 1} + C\]
\[ \Rightarrow C = e^{- 1} \]
\[\text{Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[y = - e^{- x} + x e^{- 1} \]
\[ \Rightarrow y = x e^{- 1} - e^{- x} \]
\[\text{Hence, }y = x e^{- 1} - e^{- x}\text{ is the required solution.}\]
APPEARS IN
RELATED QUESTIONS
Verify that y = \[\frac{a}{x} + b\] is a solution of the differential equation
\[\frac{d^2 y}{d x^2} + \frac{2}{x}\left( \frac{dy}{dx} \right) = 0\]
Show that the differential equation of which \[y = 2\left( x^2 - 1 \right) + c e^{- x^2}\] is a solution is \[\frac{dy}{dx} + 2xy = 4 x^3\]
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x\frac{dy}{dx} = y\]
|
y = ax |
Differential equation \[\frac{d^2 y}{d x^2} - \frac{dy}{dx} = 0, y \left( 0 \right) = 2, y'\left( 0 \right) = 1\]
Function y = ex + 1
xy dy = (y − 1) (x + 1) dx
(1 − x2) dy + xy dx = xy2 dx
2xy dx + (x2 + 2y2) dy = 0
(x + 2y) dx − (2x − y) dy = 0
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y = e^{- 2x} \sin x, y\left( 0 \right) = 0\]
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y \tan x = \sin x; y = 0\text{ when }x = \frac{\pi}{3}\]
Solve the following initial value problem:-
\[\frac{dy}{dx} - 3y \cot x = \sin 2x; y = 2\text{ when }x = \frac{\pi}{2}\]
The decay rate of radium at any time t is proportional to its mass at that time. Find the time when the mass will be halved of its initial mass.
Show that the equation of the curve whose slope at any point is equal to y + 2x and which passes through the origin is y + 2 (x + 1) = 2e2x.
The x-intercept of the tangent line to a curve is equal to the ordinate of the point of contact. Find the particular curve through the point (1, 1).
If sin x is an integrating factor of the differential equation \[\frac{dy}{dx} + Py = Q\], then write the value of P.
Find the solution of the differential equation
\[x\sqrt{1 + y^2}dx + y\sqrt{1 + x^2}dy = 0\]
The integrating factor of the differential equation (x log x)
\[\frac{dy}{dx} + y = 2 \log x\], is given by
The equation of the curve whose slope is given by \[\frac{dy}{dx} = \frac{2y}{x}; x > 0, y > 0\] and which passes through the point (1, 1) is
The solution of the differential equation y1 y3 = y22 is
Solve the following differential equation : \[y^2 dx + \left( x^2 - xy + y^2 \right)dy = 0\] .
Form the differential equation representing the family of curves y = a sin (x + b), where a, b are arbitrary constant.
Solve the differential equation:
`"x"("dy")/("dx")+"y"=3"x"^2-2`
Solve the following differential equation.
xdx + 2y dx = 0
Solve the following differential equation.
`(x + a) dy/dx = – y + a`
The differential equation of `y = k_1e^x+ k_2 e^-x` is ______.
The solution of `dy/ dx` = 1 is ______.
y2 dx + (xy + x2)dy = 0
y dx – x dy + log x dx = 0
The function y = cx is the solution of differential equation `("d"y)/("d"x) = y/x`
Solve the following differential equation `("d"y)/("d"x)` = cos(x + y)
Solution: `("d"y)/("d"x)` = cos(x + y) ......(1)
Put `square`
∴ `1 + ("d"y)/("d"x) = "dv"/("d"x)`
∴ `("d"y)/("d"x) = "dv"/("d"x) - 1`
∴ (1) becomes `"dv"/("d"x) - 1` = cos v
∴ `"dv"/("d"x)` = 1 + cos v
∴ `square` dv = dx
Integrating, we get
`int 1/(1 + cos "v") "d"v = int "d"x`
∴ `int 1/(2cos^2 ("v"/2)) "dv" = int "d"x`
∴ `1/2 int square "dv" = int "d"x`
∴ `1/2* (tan("v"/2))/(1/2)` = x + c
∴ `square` = x + c
Solution of `x("d"y)/("d"x) = y + x tan y/x` is `sin(y/x)` = cx
If `y = log_2 log_2(x)` then `(dy)/(dx)` =
