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\].
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\]
Differential equation \[\frac{dy}{dx} + y = 2, y \left( 0 \right) = 3\] Function y = e−x + 2
(sin x + cos x) dy + (cos x − sin x) dx = 0
(ey + 1) cos x dx + ey sin x dy = 0
Solve the following differential equation:
\[y\left( 1 - x^2 \right)\frac{dy}{dx} = x\left( 1 + y^2 \right)\]
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.
Find the particular solution of the differential equation
(1 – y2) (1 + log x) dx + 2xy dy = 0, given that y = 0 when x = 1.
(x + 2y) dx − (2x − y) dy = 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} - 3y \cot x = \sin 2x; y = 2\text{ when }x = \frac{\pi}{2}\]
Solve the following initial value problem:-
\[\tan x\left( \frac{dy}{dx} \right) = 2x\tan x + x^2 - y; \tan x \neq 0\] given that y = 0 when \[x = \frac{\pi}{2}\]
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.
Solve the following differential equation : \[\left( \sqrt{1 + x^2 + y^2 + x^2 y^2} \right) dx + xy \ dy = 0\].
Form the differential equation representing the family of parabolas having vertex at origin and axis along positive direction of x-axis.
Find the equation of the plane passing through the point (1, -2, 1) and perpendicular to the line joining the points A(3, 2, 1) and B(1, 4, 2).
The price of six different commodities for years 2009 and year 2011 are as follows:
| Commodities | A | B | C | D | E | F |
|
Price in 2009 (₹) |
35 | 80 | 25 | 30 | 80 | x |
| Price in 2011 (₹) | 50 | y | 45 | 70 | 120 | 105 |
The Index number for the year 2011 taking 2009 as the base year for the above data was calculated to be 125. Find the values of x andy if the total price in 2009 is ₹ 360.
In the following example, verify that the given function is a solution of the corresponding differential equation.
| Solution | D.E. |
| xy = log y + k | y' (1 - xy) = y2 |
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.
Solve the following differential equation.
`dy/dx + 2xy = x`
Choose the correct alternative.
The differential equation of y = `k_1 + k_2/x` is
Choose the correct alternative.
The solution of `x dy/dx = y` log y is
Select and write the correct alternative from the given option for the question
Differential equation of the function c + 4yx = 0 is
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
State whether the following statement is True or False:
The integrating factor of the differential equation `("d"y)/("d"x) - y` = x is e–x
Solve the following differential equation
`y log y ("d"x)/("d"y) + x` = log y
Integrating factor of the differential equation `x "dy"/"dx" - y` = sinx is ______.
Given that `"dy"/"dx" = "e"^-2x` and y = 0 when x = 5. Find the value of x when y = 3.
Solve the differential equation `"dy"/"dx" + 2xy` = y
