Q46E

Question

Show that the boundary value problem y''+λ2y=sint;    y(0)=0,    y(π)=1has a solution if and only if  λ±1,±2,±3,......

Step-by-Step Solution

Verified
Answer

The solution to the boundary value problem is:

 y=sin(λt)sin(λπ)+1λ2-1sin(t)

1Step 1: Use the given information to write the homogeneous differential equation.

Given that, 

 

The differential equation is,

 

 y''+λ2y=sint                                                ......(1)

 

Write the homogeneous differential equation of the equation (1),

 

y''+λ2y=0 

 

2Step 2: Find the complementary solution of the given equation.

The auxiliary equation for the above equation,

 m2+λ2=0m=±λi

 

 

The roots of the auxiliary equation are, 

 

 m1=λi,      m2=-λi

 

The complementary solution of the given equation is,

 

 yc=c1cos(λt)+c2sin(λt)

3Step 3:Now find the particular solution to find a general solution for the equation

Assume, the particular solution of equation (1),

yp(t)=Asin(t)+Bcos(t)                                    ......(2)


Now find the first and second derivatives of the above equation,

 yp'(t)=Acos(t)-Bsin(t)yp''(t)=-Asin(t)-Bcos(t)


Substitute the value of  yp(t)  and yp''(t)   in the equation (1),

y''+λ2y=sint-Asin(t)-Bcos(t)+λ2[Asin(t)+Bcos(t)]=sint(-1+λ2)Asin(t)+(-1+λ2)Bcos(t)=sint


Comparing all coefficients of the above equation,

(-1+λ2)A=1       A=1λ2-1(-1+λ2)B=0      B=0



Substitute the value of A and B in the equation (2),

yp(t)=Asin(t)+Bcos(t)yp(t)=1λ2-1sin(t)+(0)cos(t)yp(t)=1λ2-1sin(t)


Therefore, the particular solution of equation (1),

yp(t)=Asin(t)+Bcos(t)yp(t)=1λ2-1sin(t)+(0)cos(t)yp(t)=1λ2-1sin(t)



 

4Step 4: Find the general solution and use the given initial condition.

Therefore, the general solution is,

 y=yc(t)+yp(t)y=c1cos(λt)+c2sin(λt)+1λ2-1sin(t)                     ......(3)


Given the initial condition

y(0)=0,    y(π)=1


Substitute the value of y = 0 and t = 0 in the equation (3),

  y=c1cos(λt)+c2sin(λt)+1λ2-1sin(t)0=c1cos(0)+c2sin(0)+1λ2-1sin(0)c1=0


Substitute the value of y= 1 and t=π in the equation (3),

1=c1cos(λπ)+c2sin(λπ)+1λ2-1sin(π)c1cos(λπ)+c2sin(λπ)=1-1λ2-1sin(π)


Substitute the value of  c1  in the above equation,


(0)cos(λπ)+c2sin(λπ)=1-1λ2-1sin(π)c2sin(λπ)=1c2=1sin(λπ)


Substitute the value of  c1 and  c2 in the equation (3),

y=(0)cos(λt)+1sin(λπ)sin(λt)+1λ2-1sin(t)y=sin(λt)sin(λπ)+1λ2-1sin(t)                                                          ......(4)



5Step 5: Check for the value of λ ≠ ± 1 ,   ± 2 ,   ± 3 ,   . .....

From equation (4), we have:

sin(λπ)0,  λ2-10λπ,λ±1,nλn,λ±1,nλ0,±1,±2,±3,......


Substitute the value of  λ=0 in the equation (1),

y''+λ2y=sinty''+(0)2y=sinty''=sint


Take integration of the above equation,

 y'=-cost+Ay=-sint+At+B                                         ......(5)

 

 

Given the initial condition,

 y(0)=0,    y(π)=1


Substitute the value of y = 0 and t = 0 in the equation (5),

 y=-sint+At+B0=-sin(0)+A(0)+BB=0


Substitute the value of y = 1 and t=π  in the equation (5),

y=-sint+At+B1=-sinπ++B+B=1


Substitute the value of Bin in the above equation,

  +0=1A=1π


Substitute the value of A and Bin the equation (5),

y=-sint+At+By=-sint+1πt+0y=-sint+tπ


This solution exists if and only if  λ=0.

 

Therefore, the solution to the equation is:

  y=sin(λt)sin(λπ)+1λ2-1sin(t)  exits if and only if  λ±1,±2,±3,......