How to Solve (D^2+4)y=sin^2x

Here we learn how to solve (D^2+4)y=sin^2x. The general solution of (D2+4)y=sin2x is given by y=c1cos2x + c2sin2x + (1-xsin2x)/8.

The differential equation (D2+4)y=sin2x can also be written as follows: d2y/dx2 + 4y = sin2x. Now let us solve this equation.

Solve (D2+4)y=sin^2x

Question: Solve the equation $\dfrac{d^2y}{dx^2} + 4y = \sin^2x$.

One can rewrite the given differential equation as follows:

(D2+4)y = sin2x

where D2 = d2/dx2.

[Complementary Function (CF)]:

For the complementary function, the auxiliary equation is given by

m2+4 = 0

⇒ 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)]:

Note that 2sin2x = 1-cos2x.

So, sin2x = $\dfrac{1-\cos 2x}{2}$.

The particular integral is given by

$\dfrac{1}{D^2+4}\sin^2x$

= $\dfrac{1}{2} \dfrac{1}{D^2+4}(1-\cos2x)$

= $\dfrac{1}{2} \dfrac{1}{D^2+4} 1- \dfrac{1}{2} \dfrac{1}{D^2+4} \cos2x$

Note: As D2 = -a2 = -22, we have D2+4 = -22+4 = 0, and so 1/(D2+4) cos2x cannot be computed by usual method. The above will be equal to

= $\dfrac{1}{2\cdot 4} \left( 1+\dfrac{D^2}{4} \right)^{-1} 1$ $- \dfrac{1}{2} \cdot x \dfrac{1}{\frac{d}{dD}(D^2+4)} \cos2x$

= $\dfrac{1}{8} \left( 1-\dfrac{D^2}{4}+(\dfrac{D^2}{4})^2-\cdots \right) 1$ $- \dfrac{1}{2} \cdot x\dfrac{1}{2D} \cos2x$

= $\dfrac{1}{8}- \dfrac{x}{4}\dfrac{1}{D} \cos2x$

= $\dfrac{1}{8} – \dfrac{x}{4}\displaystyle \int \cos2x~dx$

= $\dfrac{1}{8} – \dfrac{x \sin 2x}{8}$

= $\dfrac{1}{8} – \dfrac{x \sin 2x}{8}$

∴ Particular Integral of (D2+4)y=sin2x is equal to PI = $\dfrac{1}{8} – \dfrac{x \sin 2x}{8}$.

General Solution: So the general solution of (D2+4)y=sin2x is given by

y = CF + PI

⇒ y = c1cos2x + c2sin2x $+ \dfrac{1-x \sin 2x}{8}$.

Hence, y=c1cos2x + c2sin2x + (1-xsin2x)/8 is the solution of (D2+4)y=sin2x, where c1 and c2 are arbitrary constants of integrals.

Also Study:

FAQs

Q1: What is the solution of d2y/dx2 + 4y = sin^2x?

Answer: The general solution of d2y/dx2 + 4y = sin^2x is equal to y=c1cos2x + c2sin2x + (1-xsin2x)/8 where c1 and c2 are arbitrary constants.

Spread the love
WhatsApp Group Join Now
Telegram Group Join Now