Advertisements
Advertisements
Question
Solve the following initial value problem:-
\[\frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0\]
Advertisements
Solution
\[ \frac{dy}{dx} + y\cot x = 2\cos x, y\left( \frac{\pi}{2} \right) = 0 \]
\[\frac{dy}{dx} + y\cot x = 2\cos x . . . . \left( 1 \right) \]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
\[\text{ where }P = \cot x\text{ and }Q = 2\cos x\]
\[ \therefore I . F . = e^{\int P\ dx} \]
\[ = e^{\int\cot x\ dx} \]
\[ = e^{\log{\sin x}} \]
\[ = \sin x\]
\[\text{ Multiplying both sides of }\left( 1 \right)\text{ by }I . F . = \sin x, \text{ we get }\]
\[\sin x\left( \frac{dy}{dx} + y\cot x \right) = 2\sin x\cos x\]
\[ \Rightarrow \sin x\frac{dy}{dx} + y\cos x = \sin2x\]
Integrating both sides with respect to x, we get
\[y\sin x = \int\sin 2x dx + C\]
\[ \Rightarrow y\sin x = - \frac{\cos2x}{2} + C . . . . . \left( 2 \right)\]
Now,
\[y\left( \frac{\pi}{2} \right) = 0 \]
\[ \therefore 0 \times \sin\left( \frac{\pi}{2} \right) = - \frac{cos\pi}{2} + C\]
\[ \Rightarrow C = - \frac{1}{2}\]
\[\text{ Putting the value of C in }\left( 2 \right),\text{ we get }\]
\[y\sin x = - \frac{\cos2x}{2} - \frac{1}{2}\]
\[ \Rightarrow 2y\sin x = - \left( 1 + \cos2x \right)\]
\[ \Rightarrow 2y\sin x = - 2 \cos^2 x\]
\[ \Rightarrow y = - \cot x\cos x\]
\[\text{ Hence, }y = - \cot x\cos x\text{ is the required solution.}\]
APPEARS IN
RELATED QUESTIONS
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\].
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}\]
|
(1 + x2) dy = xy dx
xy dy = (y − 1) (x + 1) dx
(x2 − y2) dx − 2xy dy = 0
\[x^2 \frac{dy}{dx} = x^2 + xy + y^2 \]
3x2 dy = (3xy + y2) dx
Solve the following initial value problem:-
\[x\frac{dy}{dx} - y = \left( x + 1 \right) e^{- x} , y\left( 1 \right) = 0\]
Experiments show that radium disintegrates at a rate proportional to the amount of radium present at the moment. Its half-life is 1590 years. What percentage will disappear in one year?
Find the curve for which the intercept cut-off by a tangent on x-axis is equal to four times the ordinate of the point of contact.
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.
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 solution of the differential equation
\[x\sqrt{1 + y^2}dx + y\sqrt{1 + x^2}dy = 0\]
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.\]
If a + ib = `("x" + "iy")/("x" - "iy"),` prove that `"a"^2 +"b"^2 = 1` and `"b"/"a" = (2"xy")/("x"^2 - "y"^2)`
Find the particular solution of the differential equation `"dy"/"dx" = "xy"/("x"^2+"y"^2),`given that y = 1 when x = 0
The differential equation `y dy/dx + x = 0` represents family of ______.
Determine the order and degree of the following differential equations.
| Solution | D.E. |
| ax2 + by2 = 5 | `xy(d^2y)/dx^2+ x(dy/dx)^2 = y dy/dx` |
Choose the correct alternative.
The solution of `x dy/dx = y` log y is
Solve the following differential equation y2dx + (xy + x2) dy = 0
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`
Integrating factor of the differential equation `"dy"/"dx" - y` = cos x is ex.
Solve: `("d"y)/("d"x) = cos(x + y) + sin(x + y)`. [Hint: Substitute x + y = z]
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
