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
Form the differential equation of the family of circles in the second quadrant and touching the coordinate axes.
Find the particular solution of the differential equation dy/dx=1 + x + y + xy, given that y = 0 when x = 1.
Find the particular solution of the differential equation x (1 + y2) dx – y (1 + x2) dy = 0, given that y = 1 when x = 0.
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = x2 + 2x + C : y′ – 2x – 2 = 0
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
`y sqrt(1 + x^2) : y' = (xy)/(1+x^2)`
Verify that the given function (explicit or implicit) is a solution of the corresponding differential equation:
y = Ax : xy′ = y (x ≠ 0)
The number of arbitrary constants in the general solution of a differential equation of fourth order are ______.
Find a particular solution of the differential equation `dy/dx + y cot x = 4xcosec x(x != 0)`, given that y = 0 when `x = pi/2.`
Find `(dy)/(dx)` at x = 1, y = `pi/4` if `sin^2 y + cos xy = K`
The general solution of the differential equation \[\frac{dy}{dx} + y \] cot x = cosec x, is
The general solution of the differential equation \[\frac{dy}{dx} + y\] g' (x) = g (x) g' (x), where g (x) is a given function of x, is
The solution of the differential equation \[\frac{dy}{dx} = 1 + x + y^2 + x y^2 , y\left( 0 \right) = 0\] is
The solution of the differential equation \[x\frac{dy}{dx} = y + x \tan\frac{y}{x}\], is
If m and n are the order and degree of the differential equation \[\left( y_2 \right)^5 + \frac{4 \left( y_2 \right)^3}{y_3} + y_3 = x^2 - 1\], then
Find the general solution of the differential equation \[x \cos \left( \frac{y}{x} \right)\frac{dy}{dx} = y \cos\left( \frac{y}{x} \right) + x .\]
(x + y − 1) dy = (x + y) dx
(x3 − 2y3) dx + 3x2 y dy = 0
Find the general solution of the differential equation \[\frac{dy}{dx} = \frac{x + 1}{2 - y}, y \neq 2\]
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} + \left( \sec x \right) y = \tan x\]
Solve the following differential equation:-
\[\left( x + 3 y^2 \right)\frac{dy}{dx} = y\]
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\]
The solution of the differential equation `x "dt"/"dx" + 2y` = x2 is ______.
The general solution of the differential equation x(1 + y2)dx + y(1 + x2)dy = 0 is (1 + x2)(1 + y2) = k.
x + y = tan–1y is a solution of the differential equation `y^2 "dy"/"dx" + y^2 + 1` = 0.
If y(t) is a solution of `(1 + "t")"dy"/"dt" - "t"y` = 1 and y(0) = – 1, then show that y(1) = `-1/2`.
Solution of the differential equation tany sec2xdx + tanx sec2ydy = 0 is ______.
Solution of `("d"y)/("d"x) - y` = 1, y(0) = 1 is given by ______.
The number of solutions of `("d"y)/("d"x) = (y + 1)/(x - 1)` when y (1) = 2 is ______.
The solution of `("d"y)/("d"x) + y = "e"^-x`, y(0) = 0 is ______.
y = aemx+ be–mx satisfies which of the following differential equation?
The differential equation for which y = acosx + bsinx is a solution, is ______.
Which of the following is the general solution of `("d"^2y)/("d"x^2) - 2 ("d"y)/("d"x) + y` = 0?
The solution of the differential equation ydx + (x + xy)dy = 0 is ______.
General solution of `("d"y)/("d"x) + y` = sinx is ______.
The solution of differential equation coty dx = xdy is ______.
Polio drops are delivered to 50 K children in a district. The rate at which polio drops are given is directly proportional to the number of children who have not been administered the drops. By the end of 2nd week half the children have been given the polio drops. How many will have been given the drops by the end of 3rd week can be estimated using the solution to the differential equation `"dy"/"dx" = "k"(50 - "y")` where x denotes the number of weeks and y the number of children who have been given the drops.
The value of c in the particular solution given that y(0) = 0 and k = 0.049 is ______.
The differential equation of all parabolas that have origin as vertex and y-axis as axis of symmetry is ______.
