Here, question is incorrect as y+4y=0 is not a differential equation also y(0)=4,y(0)=6
is not possible as we are getting two different y values at x=0.
Let us take the differential equation as y′+4y=0 and the boundary condition as y(0)=4.
y′+4y=0⇒dxdy+4y=0⇒dxdy=−4y⇒ydy=−4dx
Integrating both sides, we get
∫ydy=∫(−4)dx⇒ln y=−4x+c ...(1)
Now, using boundary condition as y(0)=4
ln 4=−4×0+c⇒c=ln 4
From equation (1), we get
ln y=−4x+ln 4⇒4x=ln 4−ln y⇒4x=ln (y4)⇒e4x=y4⇒y.e4x=4
Comments