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
Form the differential equation of the family of hyperbolas having foci on x-axis and centre at the origin.
Verify that y = 4 sin 3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 9y = 0\]
Show that y = ex (A cos x + B sin x) is the solution of the differential equation \[\frac{d^2 y}{d x^2} - 2\frac{dy}{dx} + 2y = 0\]
Verify that y = − x − 1 is a solution of the differential equation (y − x) dy − (y2 − x2) dx = 0.
Verify that y2 = 4a (x + a) is a solution of the differential equations
\[y\left\{ 1 - \left( \frac{dy}{dx} \right)^2 \right\} = 2x\frac{dy}{dx}\]
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}\]
|
(ey + 1) cos x dx + ey sin x dy = 0
dy + (x + 1) (y + 1) dx = 0
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.
Find the solution of the differential equation cos y dy + cos x sin y dx = 0 given that y = \[\frac{\pi}{2}\], when x = \[\frac{\pi}{2}\]
Solve the following initial value problem:-
\[\frac{dy}{dx} - 3y \cot x = \sin 2x; y = 2\text{ when }x = \frac{\pi}{2}\]
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 rate of increase in the number of bacteria in a certain bacteria culture is proportional to the number present. Given the number triples in 5 hrs, find how many bacteria will be present after 10 hours. Also find the time necessary for the number of bacteria to be 10 times the number of initial present.
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).
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 slope of a curve at each of its points is equal to the square of the abscissa of the point. Find the particular curve through the point (−1, 1).
Integrating factor of the differential equation cos \[x\frac{dy}{dx} + y \sin x = 1\], is
Which of the following differential equations has y = C1 ex + C2 e−x as the general solution?
Solve the following differential equation : \[y^2 dx + \left( x^2 - xy + y^2 \right)dy = 0\] .
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
Find the particular solution of the differential equation `"dy"/"dx" = "xy"/("x"^2+"y"^2),`given that y = 1 when x = 0
Solve the following differential equation.
x2y dx − (x3 + y3) dy = 0
Solve
`dy/dx + 2/ x y = x^2`
x2y dx – (x3 + y3) dy = 0
Solve the differential equation (x2 – yx2)dy + (y2 + xy2)dx = 0
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
Given that `"dy"/"dx"` = yex and x = 0, y = e. Find the value of y when x = 1.
Solve `x^2 "dy"/"dx" - xy = 1 + cos(y/x)`, x ≠ 0 and x = 1, y = `pi/2`
`d/(dx)(tan^-1 (sqrt(1 + x^2) - 1)/x)` is equal to:
