Question
Question: How to solve \(\dfrac{{{d^2}y}}{{d{x^2}}} + {a^2}y = 0\)....
How to solve dx2d2y+a2y=0.
Solution
To solve this problem we will use the method of undetermined coefficients. In this method, we take a second order differential equation and in this case it is a homogeneous equation. Then, we will convert the equation into its characteristic equation and then accordingly solve the equation. Then we will write the solution of the differential equation based on the solution of the characteristic equation. So, let us see how to solve the problem.
Complete solution:-
The given differential equation is,
dx2d2y+a2y=0
Now, the characteristic equation of the differential equation is,
r2+a2=0
Now, subtracting both sides by a2, we get,
⇒r2=−a2
⇒r2=−1.a2
Taking square root on both the sides, we get,
⇒r=±−1.a
We know, −1=i.
So, using this property, we get,
⇒r=±ai
⇒r=ai or r=−ai
Therefore, by the method of undetermined coefficients, the solution of the differential equation, will be,
y=c1eaix+c2e−aix
Now, we know, eiθ=cosθ+isinθ and e−iθ=cosθ−isinθ.
Thus, by using this property, we get,
⇒y=c1(cosax+isinax)+c2(cosax−isinax)
⇒y=c1cosax+ic1sinax+c2cosax−ic2sinax
Taking the cosine and sine terms common, we get,
⇒y=cosax(c1+c2)+sinax(ic1−ic2)
Now, here, c1+c2=A, since, sum of constants is also a constant.
And, ic1−ic2=B, since, subtracting a constant from another constant is also a constant.
⇒y=Acosax+Bsinax
Therefore, the solution of the differential equation dx2d2y+a2y=0 is y=Acosax+Bsinax.
Notes:-
There is also an alternative method to this problem. We can also reduce this second order differential equation into a first order differential equation, by assuming
dxdy=p
⇒dx2d2y=dxdp
⇒dx2d2y=dydp.dxdy
⇒dx2d2y=pdydp
Thus, by substituting these values, we can solve the equation as a first order differential equation and find the required answer.