Advertisements
Advertisements
Question
Solve the following initial value problem:-
\[x\frac{dy}{dx} - y = \log x, y\left( 1 \right) = 0\]
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
Verify that y = 4 sin 3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 9y = 0\]
Show that y = ex (A cos x + B sin x) is the solution of the differential equation \[\frac{d^2 y}{d x^2} - 2\frac{dy}{dx} + 2y = 0\]
For the following differential equation verify that the accompanying function is a solution:
Differential equation | Function |
\[x\frac{dy}{dx} = y\]
|
y = ax |
(1 + x2) dy = xy dx
Solve the following differential equation:
(xy2 + 2x) dx + (x2 y + 2y) dy = 0
Solve the differential equation \[\frac{dy}{dx} = \frac{2x\left( \log x + 1 \right)}{\sin y + y \cos y}\], given that y = 0, when x = 1.
Solve the following initial value problem:-
\[\frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0\]
In a culture, the bacteria count is 100000. The number is increased by 10% in 2 hours. In how many hours will the count reach 200000, if the rate of growth of bacteria is proportional to the number present?
Find the equation of the curve such that the portion of the x-axis cut off between the origin and the tangent at a point is twice the abscissa and which passes through the point (1, 2).
Find the equation of the curve which passes through the origin and has the slope x + 3y− 1 at any point (x, y) on it.
The integrating factor of the differential equation (x log x)
\[\frac{dy}{dx} + y = 2 \log x\], is given by
Show that y = ae2x + be−x is a solution of the differential equation \[\frac{d^2 y}{d x^2} - \frac{dy}{dx} - 2y = 0\]
Form the differential equation representing the family of curves y = a sin (x + b), where a, b are arbitrary constant.
If a + ib = `("x" + "iy")/("x" - "iy"),` prove that `"a"^2 +"b"^2 = 1` and `"b"/"a" = (2"xy")/("x"^2 - "y"^2)`
Choose the correct option from the given alternatives:
The solution of `1/"x" * "dy"/"dx" = tan^-1 "x"` is
Form the differential equation from the relation x2 + 4y2 = 4b2
Solve the following differential equation.
`(dθ)/dt = − k (θ − θ_0)`
For the following differential equation find the particular solution.
`(x + 1) dy/dx − 1 = 2e^(−y)`,
when y = 0, x = 1
Solve the following differential equation.
`(x + y) dy/dx = 1`
Solve the following differential equation.
`dy/dx + 2xy = x`
`xy dy/dx = x^2 + 2y^2`
Solve the differential equation (x2 – yx2)dy + (y2 + xy2)dx = 0
Solve the following differential equation y log y = `(log y - x) ("d"y)/("d"x)`
Choose the correct alternative:
General solution of `y - x ("d"y)/("d"x)` = 0 is
The function y = ex is solution ______ of differential equation
The integrating factor of the differential equation `"dy"/"dx" (x log x) + y` = 2logx is ______.
An appropriate substitution to solve the differential equation `"dx"/"dy" = (x^2 log(x/y) - x^2)/(xy log(x/y))` is ______.
Solve the differential equation `"dy"/"dx"` = 1 + x + y2 + xy2, when y = 0, x = 0.
Solve: `("d"y)/("d"x) = cos(x + y) + sin(x + y)`. [Hint: Substitute x + y = z]
lf the straight lines `ax + by + p` = 0 and `x cos alpha + y sin alpha = p` are inclined at an angle π/4 and concurrent with the straight line `x sin alpha - y cos alpha` = 0, then the value of `a^2 + b^2` is