Advertisements
Advertisements
प्रश्न
Solve the following initial value problem:
\[x\frac{dy}{dx} + y = x \cos x + \sin x, y\left( \frac{\pi}{2} \right) = 1\]
Advertisements
उत्तर
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
संबंधित प्रश्न
Verify that y = 4 sin 3x is a solution of the differential equation \[\frac{d^2 y}{d x^2} + 9y = 0\]
Show that Ax2 + By2 = 1 is a solution of the differential equation x \[\left\{ y\frac{d^2 y}{d x^2} + \left( \frac{dy}{dx} \right)^2 \right\} = y\frac{dy}{dx}\]
Hence, the given function is the solution to the given differential equation. \[\frac{c - x}{1 + cx}\] is a solution of the differential equation \[(1+x^2)\frac{dy}{dx}+(1+y^2)=0\].
Verify that y = − x − 1 is a solution of the differential equation (y − x) dy − (y2 − x2) dx = 0.
Verify that y = log \[\left( x + \sqrt{x^2 + a^2} \right)^2\] satisfies the differential equation \[\left( a^2 + x^2 \right)\frac{d^2 y}{d x^2} + x\frac{dy}{dx} = 0\]
For the following differential equation verify that the accompanying function is a solution:
| Differential equation | Function |
|
\[y = \left( \frac{dy}{dx} \right)^2\]
|
\[y = \frac{1}{4} \left( x \pm a \right)^2\]
|
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
Solve the differential equation \[x\frac{dy}{dx} + \cot y = 0\] given that \[y = \frac{\pi}{4}\], when \[x=\sqrt{2}\]
\[\frac{dy}{dx} = \frac{y}{x} + \sin\left( \frac{y}{x} \right)\]
Solve the following initial value problem:-
\[\frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0\]
The differential equation obtained on eliminating A and B from y = A cos ωt + B sin ωt, is
What is integrating factor of \[\frac{dy}{dx}\] + y sec x = tan x?
Which of the following differential equations has y = C1 ex + C2 e−x as the general solution?
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
Form the differential equation from the relation x2 + 4y2 = 4b2
Solve the following differential equation.
`(x + y) dy/dx = 1`
Solve the following differential equation.
`dy/dx + 2xy = x`
Solve the following differential equation.
`(x + a) dy/dx = – y + a`
Choose the correct alternative.
The differential equation of y = `k_1 + k_2/x` is
The solution of `dy/dx + x^2/y^2 = 0` is ______
The integrating factor of the differential equation `dy/dx - y = x` is e−x.
`xy dy/dx = x^2 + 2y^2`
Choose the correct alternative:
Solution of the equation `x("d"y)/("d"x)` = y log y is
Solve: `("d"y)/("d"x) = cos(x + y) + sin(x + y)`. [Hint: Substitute x + y = z]
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?
Solve the differential equation
`x + y dy/dx` = x2 + y2
The value of `dy/dx` if y = |x – 1| + |x – 4| at x = 3 is ______.
