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
Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
Differential equation \[\frac{dy}{dx} + y = 2, y \left( 0 \right) = 3\] Function y = e−x + 2
Differential equation \[\frac{d^2 y}{d x^2} - 2\frac{dy}{dx} + y = 0, y \left( 0 \right) = 1, y' \left( 0 \right) = 2\] Function y = xex + ex
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 \[\left( 1 + x^2 \right)\frac{dy}{dx} + \left( 1 + y^2 \right) = 0\], given that y = 1, when x = 0.
In a bank principal increases at the rate of r% per year. Find the value of r if ₹100 double itself in 10 years (loge 2 = 0.6931).
Solve the following initial value problem:-
\[\frac{dy}{dx} + 2y \tan x = \sin x; y = 0\text{ when }x = \frac{\pi}{3}\]
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.
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.
The differential equation obtained on eliminating A and B from y = A cos ωt + B sin ωt, is
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
The solution of the differential equation \[\frac{dy}{dx} = \frac{ax + g}{by + f}\] represents a circle when
The differential equation \[x\frac{dy}{dx} - y = x^2\], has the general solution
Integrating factor of the differential equation cos \[x\frac{dy}{dx} + y \sin x = 1\], is
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
If a + ib = `("x" + "iy")/("x" - "iy"),` prove that `"a"^2 +"b"^2 = 1` and `"b"/"a" = (2"xy")/("x"^2 - "y"^2)`
Determine the order and degree of the following differential equations.
| Solution | D.E |
| y = aex + be−x | `(d^2y)/dx^2= 1` |
Solve the following differential equation.
`dy/dx = x^2 y + y`
Solve the following differential equation.
`dy/dx + y` = 3
Choose the correct alternative.
The differential equation of y = `k_1 + k_2/x` is
Solve the differential equation:
dr = a r dθ − θ dr
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
Solve: `("d"y)/("d"x) + 2/xy` = x2
A solution of differential equation which can be obtained from the general solution by giving particular values to the arbitrary constant is called ______ solution
The function y = cx is the solution of differential equation `("d"y)/("d"x) = y/x`
Solve the following differential equation
sec2 x tan y dx + sec2 y tan x dy = 0
Solution: sec2 x tan y dx + sec2 y tan x dy = 0
∴ `(sec^2x)/tanx "d"x + square` = 0
Integrating, we get
`square + int (sec^2y)/tany "d"y` = log c
Each of these integral is of the type
`int ("f'"(x))/("f"(x)) "d"x` = log |f(x)| + log c
∴ the general solution is
`square + log |tan y|` = log c
∴ log |tan x . tan y| = log c
`square`
This is the general solution.
A man is moving away from a tower 41.6 m high at a rate of 2 m/s. If the eye level of the man is 1.6 m above the ground, then the rate at which the angle of elevation of the top of the tower changes, when he is at a distance of 30 m from the foot of the tower, is
