Advertisements
Advertisements
Question
Solve the following differential equation:-
\[\frac{dy}{dx} + 2y = \sin x\]
Advertisements
Solution
We have,
\[\frac{dy}{dx} + 2y = \sin x\]
\[\text{Comparing with }\frac{dy}{dx} + Py = Q,\text{ we get}\]
\[P = 2 \]
\[Q = \sin x\]
Now,
\[I . F . = e^{2\int dx} = e^{2x} \]
Solution is given by,
\[y \times I . F . = \int\sin x \times I . F . dx + C\]
\[ \Rightarrow y e^{2x} = I + C . . . . . \left( 1 \right)\]
Where,

\[ \Rightarrow I = \sin x\int e^{2x} dx - \int\left[ \frac{d}{dx}\left( \sin x \right)\int e^{2x} dx \right]dx\]
\[ \Rightarrow I = \frac{\sin x e^{2x}}{2} - \frac{1}{2}\int\cos x e^{2x} dx\]

\[ \Rightarrow I = \frac{\sin x e^{2x}}{2} - \frac{1}{2}\cos x\int e^{2x} dx + \frac{1}{2}\int\left[ \frac{d}{dx}\left( \cos x \right)\int e^{2x} dx \right]dx\]
\[ \Rightarrow I = \frac{\sin x e^{2x}}{2} - \frac{1}{4}\cos x e^{2x} - \frac{1}{4}\int\left[ \sin x e^{2x} \right]dx\]
\[ \Rightarrow I = \frac{\sin x e^{2x}}{2} - \frac{1}{4}\cos x e^{2x} - \frac{1}{4}I ............\left[\text{Using (2)} \right]\]
\[ \Rightarrow I + \frac{1}{4}I = \frac{1}{2}\sin x e^{2x} - \frac{1}{4}\cos x e^{2x} \]
\[ \Rightarrow \frac{5}{4}I = \frac{1}{4}\left( 2\sin x e^{2x} - \cos x e^{2x} \right)\]
\[ \Rightarrow I = \frac{1}{5}\left( 2\sin x - \cos x \right) e^{2x} . . . . . \left( 3 \right)\]
Therefore from (1) and (3), we get
\[ \therefore y e^{2x} = \frac{1}{5}\left( 2\sin x - \cos x \right) e^{2x} + C\]
\[ \Rightarrow y = \frac{1}{5}\left( 2 \sin x - \cos x \right) + C e^{- 2x}\]
APPEARS IN
RELATED QUESTIONS
Show that the general solution of the differential equation `dy/dx + (y^2 + y +1)/(x^2 + x + 1) = 0` is given by (x + y + 1) = A (1 - x - y - 2xy), where A is parameter.
Find a particular solution of the differential equation`(x + 1) dy/dx = 2e^(-y) - 1`, given that y = 0 when x = 0.
Solve the differential equation `cos^2 x dy/dx` + y = tan x
Solve the differential equation:
`e^(x/y)(1-x/y) + (1 + e^(x/y)) dx/dy = 0` when x = 0, y = 1
The general solution of the differential equation \[\frac{dy}{dx} + y \] cot x = cosec x, is
The solution of the differential equation \[\frac{dy}{dx} + \frac{2y}{x} = 0\] with y(1) = 1 is given by
The solution of the differential equation x dx + y dy = x2 y dy − y2 x dx, is
The general solution of the differential equation \[\frac{dy}{dx} = e^{x + y}\], is
The general solution of the differential equation \[\frac{y dx - x dy}{y} = 0\], is
`y sec^2 x + (y + 7) tan x(dy)/(dx)=0`
\[\frac{dy}{dx} + y = 4x\]
\[x\frac{dy}{dx} + x \cos^2 \left( \frac{y}{x} \right) = y\]
`2 cos x(dy)/(dx)+4y sin x = sin 2x," given that "y = 0" when "x = pi/3.`
`(dy)/(dx)+ y tan x = x^n cos x, n ne− 1`
For the following differential equation, find the general solution:- `y log y dx − x dy = 0`
For the following differential equation, find a particular solution satisfying the given condition:- \[\frac{dy}{dx} = y \tan x, y = 1\text{ when }x = 0\]
Solve the following differential equation:- \[x \cos\left( \frac{y}{x} \right)\frac{dy}{dx} = y \cos\left( \frac{y}{x} \right) + x\]
Solve the following differential equation:-
\[\frac{dy}{dx} - y = \cos x\]
Solve the following differential equation:-
\[x\frac{dy}{dx} + 2y = x^2 , x \neq 0\]
Solve the following differential equation:-
\[\left( x + y \right)\frac{dy}{dx} = 1\]
Solve the following differential equation:-
y dx + (x − y2) dy = 0
Find a particular solution of the following differential equation:- \[\left( 1 + x^2 \right)\frac{dy}{dx} + 2xy = \frac{1}{1 + x^2}; y = 0,\text{ when }x = 1\]
Solve the differential equation: `(d"y")/(d"x") - (2"x")/(1+"x"^2) "y" = "x"^2 + 2`
Solve the differential equation: ` ("x" + 1) (d"y")/(d"x") = 2e^-"y" - 1; y(0) = 0.`
The solution of the differential equation `x "dt"/"dx" + 2y` = x2 is ______.
The general solution of the differential equation `"dy"/"dx" + y/x` = 1 is ______.
Solve:
`2(y + 3) - xy (dy)/(dx)` = 0, given that y(1) = – 2.
Solve the differential equation dy = cosx(2 – y cosecx) dx given that y = 2 when x = `pi/2`
The differential equation for y = Acos αx + Bsin αx, where A and B are arbitrary constants is ______.
Integrating factor of the differential equation `cosx ("d"y)/("d"x) + ysinx` = 1 is ______.
y = aemx+ be–mx satisfies which of the following differential equation?
The solution of `x ("d"y)/("d"x) + y` = ex is ______.
Solution of the differential equation `("d"y)/("d"x) + y/x` = sec x is ______.
The solution of the differential equation `("d"y)/("d"x) = "e"^(x - y) + x^2 "e"^-y` is ______.
The integrating factor of `("d"y)/("d"x) + y = (1 + y)/x` is ______.
Number of arbitrary constants in the particular solution of a differential equation of order two is two.
Find the particular solution of the following differential equation, given that y = 0 when x = `pi/4`.
`(dy)/(dx) + ycotx = 2/(1 + sinx)`
Find a particular solution, satisfying the condition `(dy)/(dx) = y tan x ; y = 1` when `x = 0`
Find the particular solution of the differential equation `x (dy)/(dx) - y = x^2.e^x`, given y(1) = 0.
If the solution curve of the differential equation `(dy)/(dx) = (x + y - 2)/(x - y)` passes through the point (2, 1) and (k + 1, 2), k > 0, then ______.
