The solution of the differential equation d 2 y d x 2 + y = 0 is

The solution of the differential equation d2ydx2+y=0 is
  1. y=3sinx+4cosx
  2. y=x2
  3. y=x+2
  4. y=logx

Solution

Given, d2ydx2+y=0

We will check if y=3sinx+4cosx is solution of the differential equation.

Differentiating this w.r.t x

dydx=3cosx-4sinx

Again differentiating w.r.t. x

d2ydx2=-3sinx-4cosx

d2ydx2=-3sinx+4cosx=-y

d2ydx2+y=0

Hence, y=3sinx+4cosx is solution of the differential equation d2ydx2+y=0.

Alternative Method:

Given is a second-order linear ordinary differential equation.

Its general solution is of the form y=cesx, where c is constant.

Differentiating this twice w.r.t. x, we get

d2ydx2=s2cesx+cesx=s2+1cesx

s2+1cesx=0, which is true if s2=-1s=±i

Therefore, we get y=ce±ix.

Using Euler's formula, this is equal to y=ccosx±isinx

From this, we see that the general solution to the original differential equation is of the form y=c1cosx+c2sinx, where c1 & c2 can be found from the initial conditions.

Now, we see that Only option 1 is of this form.

Asked in: AP EAMCET 2021 (19 Aug Shift 1)

Practice more Differential Equations questions on Aicharya