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
If 1, `omega` and `omega^2` are the cube roots of unity, prove `(a + b omega + c omega^2)/(c + s omega + b omega^2) = omega^2`
Solve the equation for x: `sin^(-1) 5/x + sin^(-1) 12/x = π/2, x ≠ 0`
Form the differential equation of the family of hyperbolas having foci on x-axis and centre at the origin.
Verify that y2 = 4ax is a solution of the differential equation y = x \[\frac{dy}{dx} + a\frac{dx}{dy}\]
Hence, the given function is the solution to the given differential equation. \[\frac{c - x}{1 + cx}\] is a solution of the differential equation \[(1+x^2)\frac{dy}{dx}+(1+y^2)=0\].
Verify that y = − x − 1 is a solution of the differential equation (y − x) dy − (y2 − x2) dx = 0.
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x\frac{dy}{dx} = y\]
|
y = ax |
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x\frac{dy}{dx} + y = y^2\]
|
\[y = \frac{a}{x + a}\]
|
Differential equation \[\frac{d^2 y}{d x^2} + y = 0, y \left( 0 \right) = 0, y' \left( 0 \right) = 1\] Function y = sin x
C' (x) = 2 + 0.15 x ; C(0) = 100
(1 + x) (1 + y2) dx + (1 + y) (1 + x2) dy = 0
Solve the following differential equation:
\[xy\frac{dy}{dx} = 1 + x + y + xy\]
y ex/y dx = (xex/y + y) dy
The rate of growth of a population is proportional to the number present. If the population of a city doubled in the past 25 years, and the present population is 100000, when will the city have a population of 500000?
The slope of the tangent at a point P (x, y) on a curve is \[\frac{- x}{y}\]. If the curve passes through the point (3, −4), find the equation of the curve.
Write the differential equation obtained eliminating the arbitrary constant C in the equation xy = C2.
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
What is integrating factor of \[\frac{dy}{dx}\] + y sec x = tan x?
Choose the correct option from the given alternatives:
The solution of `1/"x" * "dy"/"dx" = tan^-1 "x"` is
Solve the following differential equation.
`(dθ)/dt = − k (θ − θ_0)`
Solve the following differential equation.
xdx + 2y dx = 0
Solve the following differential equation.
y dx + (x - y2 ) dy = 0
The differential equation of `y = k_1e^x+ k_2 e^-x` is ______.
The solution of `dy/dx + x^2/y^2 = 0` is ______
Solve the differential equation:
dr = a r dθ − θ dr
State whether the following statement is True or False:
The integrating factor of the differential equation `("d"y)/("d"x) - y` = x is e–x
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 ______.
Solve: `("d"y)/("d"x) = cos(x + y) + sin(x + y)`. [Hint: Substitute x + y = z]
Solve the differential equation
`x + y dy/dx` = x2 + y2
