Solve the Following Initial Value Problem: X D Y D X − Y = Log X , Y ( 1 ) = 0
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
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} - \frac{dy}{dx} = 0, y \left( 0 \right) = 2, y'\left( 0 \right) = 1\]
Function y = ex + 1
(1 − x2) dy + xy dx = xy2 dx
tan y dx + sec2 y tan x dy = 0
Solve the following differential equation:
\[y\left( 1 - x^2 \right)\frac{dy}{dx} = x\left( 1 + y^2 \right)\]
Solve the following differential equation:
\[\left( 1 + y^2 \right) \tan^{- 1} xdx + 2y\left( 1 + x^2 \right)dy = 0\]
y ex/y dx = (xex/y + y) dy
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 normal to a given curve at each point (x, y) on the curve passes through the point (3, 0). If the curve contains the point (3, 4), find its equation.
Radium decomposes at a rate proportional to the quantity of radium present. It is found that in 25 years, approximately 1.1% of a certain quantity of radium has decomposed. Determine approximately how long it will take for one-half of the original amount of radium to decompose?
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\] .
Solve the following differential equation : \[\left( \sqrt{1 + x^2 + y^2 + x^2 y^2} \right) dx + xy \ dy = 0\].
If xmyn = (x + y)m+n, prove that \[\frac{dy}{dx} = \frac{y}{x} .\]
In the following example, verify that the given function is a solution of the corresponding differential equation.
| Solution | D.E. |
| xy = log y + k | y' (1 - xy) = y2 |
For each of the following differential equations find the particular solution.
`y (1 + logx)dx/dy - x log x = 0`,
when x=e, y = e2.
Solve the following differential equation.
xdx + 2y dx = 0
Choose the correct alternative.
The integrating factor of `dy/dx - y = e^x `is ex, then its solution is
A solution of a differential equation which can be obtained from the general solution by giving particular values to the arbitrary constants is called ___________ solution.
Solve `("d"y)/("d"x) = (x + y + 1)/(x + y - 1)` when x = `2/3`, y = `1/3`
Solve the following differential equation
`x^2 ("d"y)/("d"x)` = x2 + xy − y2
The solution of differential equation `x^2 ("d"^2y)/("d"x^2)` = 1 is ______
The function y = cx is the solution of differential equation `("d"y)/("d"x) = y/x`
Given that `"dy"/"dx"` = yex and x = 0, y = e. Find the value of y when x = 1.
There are n students in a school. If r % among the students are 12 years or younger, which of the following expressions represents the number of students who are older than 12?
