Question
Question: Show that \[y = A\cos nx + B\sin nx\], is a solution of the differential equation: \(\dfrac{{{d^2}y}...
Show that y=Acosnx+Bsinnx, is a solution of the differential equation: dx2d2y+n2y=0.
Solution
We see that the given differential equation is the second order differential equation. It means that we differentiate the equation y=Acosnx+Bsinnx two times to obtain the second order differential equations. The differentiation is a method of finding a function that generates the rate of change between one variable and another variable. In this equation y=Acosnx+Bsinnx, y is the dependent variable and x is the independent variable.
Complete step by step solution:
The equation given in the problem is as follows.
y=Acosnx+Bsinnx.
We can differentiate the above equation with respect to x by using Chain rule.
dxd(y)=dxd(Acosnx+Bsinnx) dxdy=−Asinnx(dxd(nx))+Bcosnx(dxdnx) =−nAsinnx+Bnsinnx
The required differential equation needs the second order of differential equation therefore, we will again differentiate the above equation with respect to x.
dx2d2y=−Ancosnx(dxd(nx))+Bnsinnx(dxdnx) =−n2Acosnx−Bn2sinnx =−n2(Acosnx+Bsinnx)
We know that y=Acosnx+Bsinnx which can be used in the above equation. So, substitute the value of (Acosnx+Bsinnx) with y in the above expression.
dx2d2y=−n2(y) ⇒dx2d2y+n2y=0
Hence, the above result proves the required equation is dx2d2y+n2y=0. Thus, it is proved that y=Acosnx+Bsinnx is a solution of the differential equation: dx2d2y+n2y=0.
Additional Information:
A differential equation is like an equation of dependent terms differentiated to the different orders. There are a lot of ways of solving such types of equations.
Note:
Make sure to use proper chain rules while doing the differentiation. You should know the basic formula of the trigonometry such as the differential of sinx is dxd(sinx)=cosx and the differential of cosx is dxd(cosx)=−sinx. Also don’t get confused with the process of differentiation and the process of the integration.