Advertisements
Advertisements
Question
Solve the following initial value problem:-
\[x\frac{dy}{dx} - y = \log x, y\left( 1 \right) = 0\]
Advertisements
Solution
We have,
\[x\frac{dy}{dx} - y = \log x\]
\[ \Rightarrow \frac{dy}{dx} - \frac{y}{x} = \frac{\log x}{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{\log x}{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} \times \frac{\log x}{x}\]
\[ \Rightarrow \frac{1}{x}\frac{dy}{dx} - \frac{1}{x^2}y = \frac{\log x}{x^2}\]
Integrating both sides with respect to x, we get
\[ \Rightarrow \frac{y}{x} = \log x\int\frac{1}{x^2}dx - \int\left[ \frac{d}{dx}\left( \log x \right)\int\frac{1}{x^2}dx \right]dx + C\]
\[ \Rightarrow \frac{y}{x} = - \frac{\log x}{x} + \int\frac{1}{x^2}dx + C\]
\[ \Rightarrow \frac{y}{x} = - \frac{\log x}{x} - \frac{1}{x} + C\]
\[ \Rightarrow y = - \log x - 1 + Cx . . . . . . . . . \left( 2 \right)\]
Now,
\[y\left( 1 \right) = 0\]
\[ \therefore 0 = - 0 - 1 + C\left( 1 \right)\]
\[ \Rightarrow C = 1\]
\[\text{ Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[y = - \log x - 1 + x\]
\[ \Rightarrow y = x - 1 - \log x\]
\[\text{ Hence, }y = x - 1 - \log x\text{ is the required solution .}\]
APPEARS IN
RELATED QUESTIONS
Solve the equation for x: `sin^(-1) 5/x + sin^(-1) 12/x = π/2, x ≠ 0`
Verify that y = 4 sin 3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 9y = 0\]
Show that the function y = A cos 2x − B sin 2x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 4y = 0\].
Show that y = ax3 + bx2 + c is a solution of the differential equation \[\frac{d^3 y}{d x^3} = 6a\].
Verify that y = log \[\left( x + \sqrt{x^2 + a^2} \right)^2\] satisfies the differential equation \[\left( a^2 + x^2 \right)\frac{d^2 y}{d x^2} + x\frac{dy}{dx} = 0\]
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x + y\frac{dy}{dx} = 0\]
|
\[y = \pm \sqrt{a^2 - x^2}\]
|
Differential equation \[\frac{d^2 y}{d x^2} + y = 0, y \left( 0 \right) = 1, y' \left( 0 \right) = 1\] Function y = sin x + cos x
(1 + x2) dy = xy dx
(ey + 1) cos x dx + ey sin x dy = 0
Find the particular solution of edy/dx = x + 1, given that y = 3, when x = 0.
(x + y) (dx − dy) = dx + dy
\[x^2 \frac{dy}{dx} = x^2 + xy + y^2 \]
Solve the following initial value problem:-
\[y' + y = e^x , y\left( 0 \right) = \frac{1}{2}\]
Solve the following initial value problem:-
\[\frac{dy}{dx} + y \tan x = 2x + x^2 \tan x, y\left( 0 \right) = 1\]
Solve the following initial value problem:
\[\frac{dy}{dx} + y \cot x = 4x\text{ cosec }x, y\left( \frac{\pi}{2} \right) = 0\]
In a simple circuit of resistance R, self inductance L and voltage E, the current `i` at any time `t` is given by L \[\frac{di}{dt}\]+ R i = E. If E is constant and initially no current passes through the circuit, prove that \[i = \frac{E}{R}\left\{ 1 - e^{- \left( R/L \right)t} \right\}.\]
Find the equation to the curve satisfying x (x + 1) \[\frac{dy}{dx} - y\] = x (x + 1) and passing through (1, 0).
Write the differential equation obtained by eliminating the arbitrary constant C in the equation x2 − y2 = C2.
If xmyn = (x + y)m+n, prove that \[\frac{dy}{dx} = \frac{y}{x} .\]
In the following verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation:-
y = ex + 1 y'' − y' = 0
Find the coordinates of the centre, foci and equation of directrix of the hyperbola x2 – 3y2 – 4x = 8.
Determine the order and degree of the following differential equations.
| Solution | D.E. |
| y = 1 − logx | `x^2(d^2y)/dx^2 = 1` |
Solve the following differential equation.
xdx + 2y dx = 0
Solve the following differential equation.
y2 dx + (xy + x2 ) dy = 0
Solve
`dy/dx + 2/ x y = x^2`
y dx – x dy + log x dx = 0
For the differential equation, find the particular solution
`("d"y)/("d"x)` = (4x +y + 1), when y = 1, x = 0
Verify y = log x + c is the solution of differential equation `x ("d"^2y)/("d"x^2) + ("d"y)/("d"x)` = 0
Integrating factor of the differential equation `x "dy"/"dx" - y` = sinx is ______.
