Q22 E

Question

Verify that the function ϕ(x)=c1ex+c2e-2x is a solution to the linear equation d2ydx2+dydx-2y=0 for any choice of the constants c1 and c2. Determine c1 and c2 so that each of the following initial conditions is satisfied.

(a) y(0)=2, y'(0)=1

(b) y(1)=1, y'(1)=0


Step-by-Step Solution

Verified
Answer
  1. c1=53 and c2=13
  2. c1=23e and c2=13e-2
1Step 1: Taking the given function as y

First of all, take the given function as, ϕx=y.

2Step 2: Differentiating the given function concerning x

Differentiating ϕx=y=c1ex+c2e-2x, concerning x,

dydx=c1ex-2c2e-2x

Again, differentiating concerning x,

d2ydx2=c1ex+4c2e-2x

3Step 3: Simplification of the differential equation obtained in step 2

d2ydx2=c1ex+4c2e-2xd2ydx2=c1ex+4c2e-2x-c1ex+2c2e-2x+c1ex-2c2e-2xd2ydx2=c1ex+4c2e-2x-c1ex-2c2e-2x+c1ex-2c2e-2xd2ydx2=c1ex+4c2e-2x-dydx+c1ex-2c2e-2xd2ydx2=2c1ex+2c2e-2x-dydxd2ydx2=2c1ex+c2e-2x-dydxd2ydx2=2y-dydxd2ydx2=2y-dydxd2ydx2+dydx-2y=0


Which is identical to the given differential equation.

Hence, ϕx=c1ex+c2e-2x is a solution to d2ydx2+dydx-2y=0, for any choice of the constants c1 and c2.

4Step 4(a): Determining c 1 and satisfying the initial condition given in part (a)

As given in part (a) of the question that when x = 0, y = 2

Therefore, we will put these values in the given function ϕx,

c1e0+c2e0=2c1+c2=2······1

Also, when x=0, y'=1

Therefore, we will put these values in dydx,

c1e0-2c2e0=1c1-2c2=1······2


Now, Subtracting (2) from (1),

3c2=1c2=13

Putting this value of c2 in (1),

c1+13=2c1=2-13c1=6-13c1=53


Thus, to satisfy the initial condition given in part (a), c1=53 and c2=13.

5Step 5(b): Determining c 1 and satisfying the initial condition given in part (b)

As given in part (b) of the question that when x = 1, y = 1

So, we will put these values in the given function ϕx,

c1e+c2e-2=1······3

Also, when x=1,y'=0

Consequently, we will put these values in dydx,

c1e-2c2e-2=0······4

Now, Subtracting (4) from (3),

3c2e-2=1c2=13e-2

Putting this value of c2 in (3),

c1e+13e-2e-2=1c1e+13=1c1e=1-13c1e=23c1=23e


Accordingly, to satisfy the initial condition given in part (b), c1=23e and c2=13e-2.