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
If 1, `omega` and `omega^2` are the cube roots of unity, prove `(a + b omega + c omega^2)/(c + s omega + b omega^2) = omega^2`
Verify that \[y = ce^{tan^{- 1}} x\] is a solution of the differential equation \[\left( 1 + x^2 \right)\frac{d^2 y}{d x^2} + \left( 2x - 1 \right)\frac{dy}{dx} = 0\]
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
Solve the following differential equation:
(xy2 + 2x) dx + (x2 y + 2y) dy = 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}\]
The volume of a spherical balloon being inflated changes at a constant rate. If initially its radius is 3 units and after 3 seconds it is 6 units. Find the radius of the balloon after `t` seconds.
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.
(x2 − y2) dx − 2xy dy = 0
(x + 2y) dx − (2x − y) dy = 0
Solve the following initial value problem:-
\[\frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0\]
The surface area of a balloon being inflated, changes at a rate proportional to time t. If initially its radius is 1 unit and after 3 seconds it is 2 units, find the radius after time t.
A population grows at the rate of 5% per year. How long does it take for the population to double?
The slope of the tangent at a point P (x, y) on a curve is \[\frac{- x}{y}\]. If the curve passes through the point (3, −4), find the equation of the curve.
The rate of increase of bacteria in a culture is proportional to the number of bacteria present and it is found that the number doubles in 6 hours. Prove that the bacteria becomes 8 times at the end of 18 hours.
The x-intercept of the tangent line to a curve is equal to the ordinate of the point of contact. 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?
Verify that the function y = e−3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + \frac{dy}{dx} - 6y = 0.\]
The differential equation `y dy/dx + x = 0` represents family of ______.
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.
The differential equation of `y = k_1e^x+ k_2 e^-x` is ______.
Choose the correct alternative.
Bacteria increases at the rate proportional to the number present. If the original number M doubles in 3 hours, then the number of bacteria will be 4M in
The integrating factor of the differential equation `dy/dx - y = x` is e−x.
`xy dy/dx = x^2 + 2y^2`
Solve the following differential equation
`y log y ("d"x)/("d"y) + x` = log y
Given that `"dy"/"dx" = "e"^-2x` and y = 0 when x = 5. Find the value of x when y = 3.
Solve: ydx – xdy = x2ydx.
Solution of `x("d"y)/("d"x) = y + x tan y/x` is `sin(y/x)` = cx
