Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How to solve $\dfrac{{{d^2}y}}{{d{x^2}}} + {a^2}y = 0$.

Answer
VerifiedVerified
491.1k+ views
Hint: 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,
$\dfrac{{{d^2}y}}{{d{x^2}}} + {a^2}y = 0$
Now, the characteristic equation of the differential equation is,
${r^2} + {a^2} = 0$
Now, subtracting both sides by ${a^2}$, we get,
$ \Rightarrow {r^2} = - {a^2}$
$ \Rightarrow {r^2} = - 1.{a^2}$
Taking square root on both the sides, we get,
$ \Rightarrow r = \pm \sqrt { - 1} .a$
We know, $\sqrt { - 1} = i$.
So, using this property, we get,
$ \Rightarrow r = \pm ai$
$ \Rightarrow r = ai{\text{ or }}r = - ai$
Therefore, by the method of undetermined coefficients, the solution of the differential equation, will be,
$y = {c_1}{e^{aix}} + {c_2}{e^{ - aix}}$
Now, we know, ${e^{i\theta }} = \cos \theta + i\sin \theta $ and ${e^{ - i\theta }} = \cos \theta - i\sin \theta $.
Thus, by using this property, we get,
$ \Rightarrow y = {c_1}\left( {\cos ax + i\sin ax} \right) + {c_2}\left( {\cos ax - i\sin ax} \right)$
$ \Rightarrow y = {c_1}\cos ax + i{c_1}\sin ax + {c_2}\cos ax - i{c_2}\sin ax$
Taking the cosine and sine terms common, we get,
$ \Rightarrow y = \cos ax\left( {{c_1} + {c_2}} \right) + \sin ax\left( {i{c_1} - i{c_2}} \right)$
Now, here, ${c_1} + {c_2} = A$, since, sum of constants is also a constant.
And, $i{c_1} - i{c_2} = B$, since, subtracting a constant from another constant is also a constant.
$ \Rightarrow y = A\cos ax + B\sin ax$

Therefore, the solution of the differential equation $\dfrac{{{d^2}y}}{{d{x^2}}} + {a^2}y = 0$ is $y = A\cos ax + B\sin ax$.

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
$\dfrac{{dy}}{{dx}} = p$
$ \Rightarrow \dfrac{{{d^2}y}}{{d{x^2}}} = \dfrac{{dp}}{{dx}}$
$ \Rightarrow \dfrac{{{d^2}y}}{{d{x^2}}} = \dfrac{{dp}}{{dy}}.\dfrac{{dy}}{{dx}}$
$ \Rightarrow \dfrac{{{d^2}y}}{{d{x^2}}} = p\dfrac{{dp}}{{dy}}$
Thus, by substituting these values, we can solve the equation as a first order differential equation and find the required answer.