Advertisements
Advertisements
Question
Solve the following initial value problem:
\[x\frac{dy}{dx} + y = x \cos x + \sin x, y\left( \frac{\pi}{2} \right) = 1\]
Advertisements
Solution
We have,
\[x\frac{dy}{dx} + y = x \cos x + \sin x\]
\[ \Rightarrow \frac{dy}{dx} + \frac{1}{x}y = \cos x + \frac{\sin x}{x} . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{ where }P = \tan x\text{ and }Q = x^2 \cot x + 2x\]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{\int\frac{1}{x}dx} \]
\[ = e^{log x} = x\]
\[\text{ Multiplying both sides of (1) by I . F . }= x,\text{ we get }\]
\[x\left( \frac{dy}{dx} + \frac{1}{x}y \right) = x\left( \cos x + \frac{\sin x}{x} \right)\]
\[ \Rightarrow x\left( \frac{dy}{dx} + \frac{1}{x}y \right) = x \cos x + \sin x\]
Integrating both sides with respect to x, we get
\[xy = \int x \cos x dx + \int\sin x dx + C\]
\[ \Rightarrow xy = \left[ x \sin x - \int1\left( \sin x \right)dx \right] - \cos x + C\]
\[ \Rightarrow xy = x \sin x + \cos x - \cos x + C\]
\[ \Rightarrow xy = x \sin x + C . . . . . \left( 2 \right)\]
Now,
\[y\left( \frac{\pi}{2} \right) = 1\]
\[ \therefore 1 \times \frac{\pi}{2} = \frac{\pi}{2}\sin\frac{\pi}{2} + C\]
\[ \Rightarrow C = 0\]
\[\text{ Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[xy = x \sin x\]
\[ \Rightarrow y = \sin x\]
\[\text{ Hence, }y = \sin x\text{ is the required solution .}\]
APPEARS IN
RELATED QUESTIONS
Assume that a rain drop evaporates at a rate proportional to its surface area. Form a differential equation involving the rate of change of the radius of the rain drop.
Verify that y = cx + 2c2 is a solution of the differential equation
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[x^3 \frac{d^2 y}{d x^2} = 1\]
|
\[y = ax + b + \frac{1}{2x}\]
|
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} - y = 0, y \left( 0 \right) = 2, y' \left( 0 \right) = 0\] Function y = ex + e−x
Solve the following differential equation:
\[\text{ cosec }x \log y \frac{dy}{dx} + x^2 y^2 = 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 particular solution of the differential equation
(1 – y2) (1 + log x) dx + 2xy dy = 0, given that y = 0 when x = 1.
Find the particular solution of the differential equation \[\frac{dy}{dx} = \frac{xy}{x^2 + y^2}\] given that y = 1 when x = 0.
Solve the following initial value problem:-
\[y' + y = e^x , y\left( 0 \right) = \frac{1}{2}\]
Solve the following initial value problem:-
\[\frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0\]
If the interest is compounded continuously at 6% per annum, how much worth Rs 1000 will be after 10 years? How long will it take to double Rs 1000?
The population of a city increases at a rate proportional to the number of inhabitants present at any time t. If the population of the city was 200000 in 1990 and 250000 in 2000, what will be the population in 2010?
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.
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 integrating factor of the differential equation (x log x)
\[\frac{dy}{dx} + y = 2 \log x\], is given by
The differential equation of the ellipse \[\frac{x^2}{a^2} + \frac{y^2}{b^2} = C\] is
Form the differential equation of the family of circles having centre on y-axis and radius 3 unit.
In the following example, verify that the given function is a solution of the corresponding differential equation.
| Solution | D.E. |
| y = xn | `x^2(d^2y)/dx^2 - n xx (xdy)/dx + ny =0` |
Solve the following differential equation.
`y^3 - dy/dx = x dy/dx`
Solve the following differential equation.
`dy/dx + y` = 3
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 the differential equation:
`e^(dy/dx) = x`
`xy dy/dx = x^2 + 2y^2`
y dx – x dy + log x dx = 0
Integrating factor of the differential equation `"dy"/"dx" - y` = cos x is ex.
Solve the differential equation `"dy"/"dx"` = 1 + x + y2 + xy2, when y = 0, x = 0.
Solution of `x("d"y)/("d"x) = y + x tan y/x` is `sin(y/x)` = cx
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
