Here we solve (D^2+4)y=sin2x. The general solution of d2y/dx2 + 4y = sin2x is given by y=c1cos2x + c2sin2x – (xcos2x)/4. In this page, let us learn to solve the equation d^2y/dx^2+4y=sin2x, i.e, (D^2+4)y=sin2x.
Solve (D2+4)y=sin2x
Question: Solve the equation $\dfrac{d^2y}{dx^2}$ + 4y = sin2x.
Solution:
The given differential equation can be written in the following form:
(D2+4)y = sin2x
where D2 = d2/dx2.
[Complementary Function (CF)]:
The auxiliary equation is given by
m2+4 = 0
⇒ m2 = -4
⇒ m = $\pm \sqrt{-4}$
⇒ m = $\pm 2i$
The complementary function (CF) = c1cos2x + c2sin2x where c1 and c2 are arbitrary constants.
[Particular Integral (PI)]:
Replacing D2 = -a2 = -22, we have D2+4 = -22+4 = 0.
So the usual well-known formula fails.
In this case, the particular integral is given by
$\dfrac{1}{D^2+4}\sin 2x$
= $x \dfrac{1}{\frac{d}{dD}(D^2+4)}\sin 2x$
= $x \dfrac{1}{2D}\sin 2x$
= $\dfrac{x}{2} \dfrac{1}{D}\sin 2x$
= $\dfrac{x}{2} \displaystyle \int \sin 2x ~dx$
= $\dfrac{x}{2} \dfrac{\cos 2x}{-2}$
= $-\dfrac{x\cos 2x}{4}$
∴ PI = $-\dfrac{x\cos 2x}{4}$.
General Solution: So the general solution of $\dfrac{d^2y}{dx^2} + 4y = \sin 2x$ is given by
y = CF + PI
⇒ y = c1cos2x + c2sin2x $- \dfrac{x \cos 2x}{4}$ where c1 and c2 are arbitrary constants of integration.
Also Study:
FAQs
Q1: What is the solution of d2y/dx2 + 4y = sin2x?
Answer: The general solution of d2y/dx2 + 4y = sin2x is equal to y=c1cos2x + c2sin2x – (xcos2x)/4 where c1 and c2 are arbitrary constants.