Here we solve the equation d^2y/dx^2+4y=cos2x, that is, Solve (D^2+4)y=cos2x. The general solution of d2y/dx2 + 4y = cos2x is equal to y=c1cos2x + c2sin2x + (xsin2x)/4.
Solve (D2+4)y=cos2x
Question: Solve the equation $\dfrac{d^2y}{dx^2}$ + 4y = cos2x.
Solution:
Letting D2 = d2/dx2, we can write the given differential equation as follows:
(D2+4)y = cos2x
To solve the equation d2y/dx2 + 4y = cos2x, we need to find the complementary function (CF) and particular integral (PI).
[Complementary Function (CF)]:
The corresponding auxiliary equation is given by
m2+4 = 0
This implies, m2 = -4
Taking square root on both sides, m = $\pm \sqrt{-4}$
⇒ m = $\pm 2i$
Therefore, CF = c1cos2x + c2sin2x where c1 and c2 are arbitrary constants.
[Particular Integral (PI)]:
The particular integral is given by
$\dfrac{1}{D^2+4}\cos 2x$
= $\dfrac{1}{-2^2+4}\cos 2x$, replacing D2 = -a2 = -22. So this formula fails because -22+4 = 0.
Therefore,
$\dfrac{1}{D^2+4}\cos 2x$
= $x \dfrac{1}{\frac{d}{dD}(D^2+4)}\cos 2x$
= $x \dfrac{1}{2D}\cos 2x$
= $\dfrac{x}{2} \dfrac{1}{D}\cos 2x$
= $\dfrac{x}{2} \displaystyle \int \cos 2x ~dx$
= $\dfrac{x}{2} \dfrac{\sin 2x}{2}$
= $\dfrac{x\sin 2x}{4}$
∴ PI = $\dfrac{x\sin 2x}{4}$.
General Solution: Hence, the general solution of $\dfrac{d^2y}{dx^2} + 4y = \cos 2x$ is equal to
y = CF + PI
⇒ y = c1cos2x + c2sin2x $+ \dfrac{x \sin 2x}{4}$ where c1 and c2 are arbitrary constants.
Also Study:
- Solve d2y/dx2 + 4y = sin2x
- Solve dy/dx = y/x
- Solve dy/dx = ex+y
- Solve dy/dx = cos(x+y)
- Solve dy/dx = sin(x+y)
FAQs
Q1: What is the solution of d2y/dx2 + 4y = cos2x?
Answer: The general solution of d2y/dx2 +4y =cos2x is given by y=c1cos2x +c2sin2x +(xsin2x)/4 where c1 and c2 are arbitrary constants of integrals.