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
Form the differential equation representing the family of ellipses having centre at the origin and foci on x-axis.
Show that the function y = A cos x + B sin x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + y = 0\]
Show that y = e−x + ax + b is solution of the differential equation\[e^x \frac{d^2 y}{d x^2} = 1\]
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[y = \left( \frac{dy}{dx} \right)^2\]
|
\[y = \frac{1}{4} \left( x \pm a \right)^2\]
|
xy (y + 1) dy = (x2 + 1) dx
Solve the following differential equation:
\[y\left( 1 - x^2 \right)\frac{dy}{dx} = x\left( 1 + y^2 \right)\]
Solve the differential equation \[x\frac{dy}{dx} + \cot y = 0\] given that \[y = \frac{\pi}{4}\], when \[x=\sqrt{2}\]
x2 dy + y (x + y) dx = 0
Solve the following initial value problem:
\[\frac{dy}{dx} + y \cot x = 4x\text{ cosec }x, y\left( \frac{\pi}{2} \right) = 0\]
A population grows at the rate of 5% per year. How long does it take for the population to double?
The tangent at any point (x, y) of a curve makes an angle tan−1(2x + 3y) with x-axis. Find the equation of the curve if it passes through (1, 2).
A curve is such that the length of the perpendicular from the origin on the tangent at any point P of the curve is equal to the abscissa of P. Prove that the differential equation of the curve is \[y^2 - 2xy\frac{dy}{dx} - x^2 = 0\], and hence find the curve.
Find the equation of the curve which passes through the point (1, 2) and the distance between the foot of the ordinate of the point of contact and the point of intersection of the tangent with x-axis is twice the abscissa of the point of contact.
Find the equation of the curve passing through the point (0, 1) if the slope of the tangent to the curve at each of its point is equal to the sum of the abscissa and the product of the abscissa and the ordinate of the point.
The differential equation of the ellipse \[\frac{x^2}{a^2} + \frac{y^2}{b^2} = C\] is
Form the differential equation representing the family of curves y = a sin (x + b), where a, b are arbitrary constant.
Form the differential equation representing the family of parabolas having vertex at origin and axis along positive direction of x-axis.
Find the equation of the plane passing through the point (1, -2, 1) and perpendicular to the line joining the points A(3, 2, 1) and B(1, 4, 2).
Determine the order and degree of the following differential equations.
| Solution | D.E. |
| y = 1 − logx | `x^2(d^2y)/dx^2 = 1` |
Determine the order and degree of the following differential equations.
| Solution | D.E |
| y = aex + be−x | `(d^2y)/dx^2= 1` |
For each of the following differential equations find the particular solution.
(x − y2 x) dx − (y + x2 y) dy = 0, when x = 2, y = 0
Solve the following differential equation.
`(x + y) dy/dx = 1`
Solve the differential equation:
`e^(dy/dx) = x`
y2 dx + (xy + x2)dy = 0
Select and write the correct alternative from the given option for the question
Bacterial increases at the rate proportional to the number present. If original number M doubles in 3 hours, then number of bacteria will be 4M in
Choose the correct alternative:
General solution of `y - x ("d"y)/("d"x)` = 0 is
Given that `"dy"/"dx" = "e"^-2x` and y = 0 when x = 5. Find the value of x when y = 3.
Solve the differential equation
`x + y dy/dx` = x2 + y2
