In each of the following examples verify that the given function is a solution of the corresponding differential equation. (i) y=c1sinx+c2cosx;d2ydx2+y=0 (ii) ysecx=tanx+c;dydx+ytanx=secx
Open in App
Solution
(i) given differential equation.
d2ydx2+y=0.....(1)
corresponding solution of above differential equation is
y=c1sinx+c2cosx....(2)
if y is a solution it must satisfy given differential equation.
differentiate equation (2) with respect to x
dydx=c1cosx−c2sinx
again differentiate above equation with respect to x we get.
d2ydx2=−c1sinx−c2cosx
or
d2ydx2+c1sinx+c2cosx=0.....(3)
from equation (2) we have y=c1sinx+c2cosx
Hence,
d2ydx2+y=0
Hence, y is solution of given differential equation.
(ii) given differential equation.
dydx+ytanx=secx...(4)
corresponding solution of above differential equation is
ysecx=tanx+c...(5)
if y is a solution it must satisfy given differential equation.
differentiate equation (4) with respect to x
secxdydx+ytanxsecx=sec2x
or
dydx+ytanx=secx
Hence, y is solution of given differential equation (4).