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
Prove that:
`int_0^(2a)f(x)dx = int_0^af(x)dx + int_0^af(2a - x)dx`
Solve the equation for x: `sin^(-1) 5/x + sin^(-1) 12/x = π/2, x ≠ 0`
Form the differential equation of the family of hyperbolas having foci on x-axis and centre at the origin.
Verify that y2 = 4ax is a solution of the differential equation y = x \[\frac{dy}{dx} + a\frac{dx}{dy}\]
Verify that y = cx + 2c2 is a solution of the differential equation
Differential equation \[\frac{d^2 y}{d x^2} + y = 0, y \left( 0 \right) = 0, y' \left( 0 \right) = 1\] Function y = sin x
tan y dx + sec2 y tan x dy = 0
Solve the following differential equations:
\[\frac{dy}{dx} = \frac{y}{x}\left\{ \log y - \log x + 1 \right\}\]
Find the equation of the curve which passes through the point (3, −4) and has the slope \[\frac{2y}{x}\] at any point (x, y) on it.
Find the equation of the curve which passes through the point (1, 2) and the distance between the foot of the ordinate of the point of contact and the point of intersection of the tangent with x-axis is twice the abscissa of the point of contact.
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.
The solution of the differential equation \[\frac{dy}{dx} = \frac{ax + g}{by + f}\] represents a circle when
Show that y = ae2x + be−x is a solution of the differential equation \[\frac{d^2 y}{d x^2} - \frac{dy}{dx} - 2y = 0\]
Form the differential equation of the family of circles having centre on y-axis and radius 3 unit.
Solve the differential equation:
`"x"("dy")/("dx")+"y"=3"x"^2-2`
Choose the correct option from the given alternatives:
The solution of `1/"x" * "dy"/"dx" = tan^-1 "x"` is
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
Solve the following differential equation.
`xy dy/dx = x^2 + 2y^2`
Solve the following differential equation.
`x^2 dy/dx = x^2 +xy - y^2`
Solve the following differential equation.
`(x + y) dy/dx = 1`
Solve the following differential equation `("d"y)/("d"x)` = x2y + y
Solve the following differential equation y2dx + (xy + x2) dy = 0
A solution of differential equation which can be obtained from the general solution by giving particular values to the arbitrary constant is called ______ solution
The solution of differential equation `x^2 ("d"^2y)/("d"x^2)` = 1 is ______
Solve `x^2 "dy"/"dx" - xy = 1 + cos(y/x)`, x ≠ 0 and x = 1, y = `pi/2`
Given that `"dy"/"dx" = "e"^-2x` and y = 0 when x = 5. Find the value of x when y = 3.
Solve: ydx – xdy = x2ydx.
The differential equation of all non horizontal lines in a plane is `("d"^2x)/("d"y^2)` = 0
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
