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
Verify that y2 = 4ax is a solution of the differential equation y = x \[\frac{dy}{dx} + a\frac{dx}{dy}\]
Differential equation \[\frac{d^2 y}{d x^2} - \frac{dy}{dx} = 0, y \left( 0 \right) = 2, y'\left( 0 \right) = 1\]
Function y = ex + 1
Differential equation \[\frac{dy}{dx} + y = 2, y \left( 0 \right) = 3\] Function y = e−x + 2
C' (x) = 2 + 0.15 x ; C(0) = 100
Solve the differential equation \[x\frac{dy}{dx} + \cot y = 0\] given that \[y = \frac{\pi}{4}\], when \[x=\sqrt{2}\]
If y(x) is a solution of the different equation \[\left( \frac{2 + \sin x}{1 + y} \right)\frac{dy}{dx} = - \cos x\] and y(0) = 1, then find the value of y(π/2).
y ex/y dx = (xex/y + y) dy
3x2 dy = (3xy + y2) dx
Find the particular solution of the differential equation \[\frac{dy}{dx} = \frac{xy}{x^2 + y^2}\] given that y = 1 when x = 0.
A population grows at the rate of 5% per year. How long does it take for the population to double?
The rate of growth of a population is proportional to the number present. If the population of a city doubled in the past 25 years, and the present population is 100000, when will the city have a population of 500000?
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.
Find the equation of the curve which passes through the origin and has the slope x + 3y− 1 at any point (x, y) on it.
Find the equation of the curve that passes through the point (0, a) and is such that at any point (x, y) on it, the product of its slope and the ordinate is equal to the abscissa.
Write the differential equation representing the family of straight lines y = Cx + 5, where C is an arbitrary constant.
If sin x is an integrating factor of the differential equation \[\frac{dy}{dx} + Py = Q\], then write the value of P.
The solution of the differential equation \[\frac{dy}{dx} = \frac{ax + g}{by + f}\] represents a circle when
The differential equation of the ellipse \[\frac{x^2}{a^2} + \frac{y^2}{b^2} = C\] is
Which of the following transformations reduce the differential equation \[\frac{dz}{dx} + \frac{z}{x}\log z = \frac{z}{x^2} \left( \log z \right)^2\] into the form \[\frac{du}{dx} + P\left( x \right) u = Q\left( x \right)\]
If xmyn = (x + y)m+n, prove that \[\frac{dy}{dx} = \frac{y}{x} .\]
Determine the order and degree of the following differential equations.
| Solution | D.E |
| y = aex + be−x | `(d^2y)/dx^2= 1` |
For each of the following differential equations find the particular solution.
(x − y2 x) dx − (y + x2 y) dy = 0, when x = 2, y = 0
`xy dy/dx = x^2 + 2y^2`
For the differential equation, find the particular solution
`("d"y)/("d"x)` = (4x +y + 1), when y = 1, x = 0
Integrating factor of the differential equation `"dy"/"dx" - y` = cos x is ex.
Solve the differential equation `"dy"/"dx" + 2xy` = y
Solve the differential equation `"dy"/"dx"` = 1 + x + y2 + xy2, when y = 0, x = 0.
Solve: `("d"y)/("d"x) = cos(x + y) + sin(x + y)`. [Hint: Substitute x + y = z]
The differential equation of all non horizontal lines in a plane is `("d"^2x)/("d"y^2)` = 0
