Professional Documents
Culture Documents
Unit-5 (1)
Unit-5 (1)
5.1 INTRODUCTION
In the theory of differential equations an important role is played by certain
mathematical objects known as Green’s functions. These functions, besides being of
fundamental importance in many applications, serve as mathematical characterization
of important physical concepts. Consequently, for introducing Green’s functions we
have considered, in this unit two approaches: (i) physical and (ii) mathematical.
Since the motivation for their study can be brought to sharper focus through the first
approach, therefore in Sec.5.2, we shall start with an example from mechanics, whose
solution turns out to be an example of Green’s function. In Sec. 5.3 we shall define
Green’s function for a boundary value problem (bvp) and show how it can be
constructed for a given bvp. We shall also give here a method of solving a bvp using
its Green’s function. Since the construction of Green’s function for a bvp is quite an
involved process we have given in Sec.5.4 an alternative procedure for the
construction of Green’s functions for linear, non-homogeneous, second order
differential equations by establishing a relationship between the method of variation of
parameters and Green’s functions.
Objectives
After studying this unit you should be able to
• define and construct Green’s functions for a boundary value problem;
• obtain solution of a given boundary value problem using its Green’s function.
x P M U A
α1 α2 x X
O
y δ
F1 V
Q
F2
N OP = x , OM = s
L PQ = y, MN = δ
Fig.1
For determining the deflection y( x ) of the string at any point P at a distance x from
O, we determine the governing equations, keeping in view, that the system is in
equilibrium. Thus, through the balance of horizontal and vertical components of the
forces, we have
F1 cos α 1 = F2 cos α 2 = T (1)
F1 sin α 1 + F2 sin α 2 = − L (2)
From Eqns.(1) and (2), we can write
L
tan α 1 + tan α 2 = − (3)
T
Substituting the values of tan α 1 and tan α 2 from the similar triangles OMN and
AMN , we get
−δ −δ L
+ =−
s l−s T
or,
L
δ= (l − s ) s (4)
Tl
In the above equation δ denotes the transverse deflection of the point of the string that
was located at a distance s from the origin.
For determining the deflection y( x ) at any point x , we have from triangles OPQ and
y δ
OMN : = .
x s
Substituting the value of δ from Eqn.(4) in the above equation, we get
L
y( x ) = (l − s ) x , 0≤x≤s
Tl
Similarly, if the position of the point P where deflection is observed is changed to
y l−x
point U then from triangles AUV and AMN we have, = .
δ l−s
L
or, y= (l − x ) s , s ≤ x ≤ l .
Tl
L (5a)
(l − s) x , 0 ≤ x ≤ s
Thus y( x , s) = Tl
L (5b)
(l − x )s, s ≤ x ≤ l
Tl
It may be noted that in writing Eqns.(5a) and (5b) we have replaced y( x ) by
y( x, s) which indicates that the deflection y depends both on points s where the load
is applied and the point x where deflection is observed.
152
Green’s Function Method
If the roles of x and s are interchanged, that is, the load L is now at x and the
deflection is measured at s(> x ) then the expression for deflection is obtained from
L
Eqn.(5 b) with x and s , interchanged. Thus, we get y( x , s) = (l − s) x .
Tl
Further, when L assumes the value unity, the deflection y( x, s) becomes
g( x , s) where g( x , s) is given by
(l − s ) x
, 0≤x≤s (6a)
g ( x , s) = T l
(l − x )s
, s≤x≤l (6b)
Tl
The function g( x , s) is called an influence function. The word influence is used in
the sense that the function g( x , s) describes the influence which a unit load
concentrated at the point s has at any point x of the given string.
Now we shall show that the influence function g(x, s) associated with the stretched
string with fixed ends satisfies the following properties
(i) It is symmetric, that is, g( x , s) = g (s, x ) .
(ii) It satisfies the boundary conditions g (0, s) = g (l, s) = 0 , for all values of s
satisfying 0 ≤ s ≤ l .
(iii) It is a continuous function of x on the interval [ 0, l ] .
(iv) g x ( x , s) is continuous for 0 ≤ x < s and s < x ≤ l but has a jump
1
− at x = s .
T
We examine these properties for g( x , s) defined in (6a) and (6b).
For proving property (i), we interchange the role of x and s in (6a) and (6b) and
obtain g(s, x ) = g ( x , s) .
For property (ii), put x = 0 in (6 a) and x = l in (6 b) to get g (0, s) = g (l, s) = 0 .
For property (iii), we equate left handed limit = right handed limit = value of the
function at x = s
( l − s ) x (l − s )s
Thus, lim− g( x , s) = lim− =
x →s x →s Tl Tl
(l − x )s (l − s)s
lim+ g ( x , s) = lim+ =
x →s x →s Tl Tl
l−s
At x = s, g ( x , s) = g(s, s) = s
Tl
Hence, g( x , s) is a continuous function of x on the interval [ 0, l ] .
∫
y( x ) = w (s) g ( x , s) ds (12)
0
Eqn.(12) reveals that the deflection of the string under any piecewise continuous
distributed load can be obtained by evaluating the integral (12), once we have the
knowledge of g( x , s) .
You may now try the following exercises.
E1) Find the deflection curve of a string of length l bearing a load per unit length as
given below
l
0, 0 ≤ x < 2
w(x) = .
l
− 1 , <x≤l
2
E2) Determine the deflection curve of a string of length l bearing concentrated load
l l 3l
P at x = , − 2P at x = and 3P at x = .
4 2 4
Let us now see how the properties satisfied by the influence function g( x , s) can be
modified to define the Green’s functions for boundary value problems.
(ξ − 2) x + (ξ − 1) , 0≤x≤ξ
G ( x , ξ) = −
(ξ − 1) x + (−1) , ξ ≤ x ≤ 1.
***
Example 2: Construct Green’s function for the differential equation
d 2 y dy
x 2 + = 0 , under the conditions y( x ) is bounded as x → 0 and
dx dx
y(1) = αy ′(1), α ≠ 0 .
D B −1
or, − = ⇒ D − B = −1 (26)
ξ ξ ξ
Further, boundary condition that G ( x , ξ) is bounded as x → 0 gives
B=0, (27)
also G (1, ξ) = α G ′(1, ξ) yields , C = αD (28)
157
Ordinary Differential
Equations
A (e x − e − x ) ⇒ 2 A sinh x , 0≤x≤ξ
∴ G ( x , ξ) = x 2− x
C (e − e ) , ξ ≤ x ≤1
Using the condition of continuity of G ( x , ξ) at x = ξ , we get
A (e ξ − e − ξ ) = C{e ξ − e 2 − ξ }
or, (C − A ) e ξ + ( A − C e 2 ) e − ξ = 0 (33)
Using the jump condition
lim+ G x ( x , ξ) − lim− G x ( x, ξ) = −1 (34)
x →ξ x →ξ
Substituting the value of G x in Eqn.(34) and then taking the indicated limit, we get
( C − A) e ξ − e − ξ ( A − C e 2 ) = −1 (35)
Solving Eqns.(33) and (35), we get
1
C − A = − e −ξ (36)
2
1
A − C e2 = eξ (37)
2
Combining Eqns.(36) and (37), we get
1 1
A= 2
(e ξ − e − ξ + 2 ) ; C= sinh ξ (38)
2(1 − e ) (1 − e 2 )
e − e −1 e 2 − 1
Now sinh 1 = = or , (1 − e 2 ) = −2e sinh 1 (39)
2 2e
1
− sinh 1 sinh (ξ − 1) sinh x , 0≤x≤ξ
Thus, G ( x , ξ) =
1
− sinh ξ. (e x − e 2 − x ) , ξ ≤ x ≤ 1
2 e sinh 1
1
sinh 1 sinh (ξ − 1) sinh x , 0≤x≤ξ
or, G ( x , ξ) = − (42)
1
sinh ξ sinh ( x − 1) , ξ ≤ x ≤1
sinh 1
***
Example 4: Construct Green’s function for the following boundary value problem
d2y
+ k2y = 0 , y(0) = y(1) = 0
dx 2
Solution: Keeping in view that G ( x , ξ) satisfies the homogeneous differential
d 2G
equation 2
+ k 2 G ( x , ξ) = 0 , for 0 ≤ x ≤ ξ , ξ ≤ x ≤ 1 , we can write
dx
158
Green’s Function Method
A cos kx + B sin kx , 0≤x≤ξ
G ( x , ξ) = (43)
C cos kx + D sin kx , ξ ≤ x ≤1
G ( x , ξ) satisfies the conditions G (0, ξ) = 0 = G (1, ξ) (44)
Using conditions (44), we get
A = 0, and C cos k + D sin k = 0 (45)
Hence, G ( x , ξ) assumes the following form
B sin kx , 0≤x≤ξ
sin k ( x − 1)
G ( x , ξ) = (46)
−C , ξ ≤ x ≤1
sin k
Using the continuity condition at x = ξ , we get
C C
B sin k ξ = sin k (1 − ξ) = − {sin k ξ cos k − cos k ξ sin k }
sin k sin k
C
∴ B=− sin k (ξ − 1)
sin k sin k ξ
C sin k (1 − ξ) sin k x
, 0≤x≤ξ
sin k sin k ξ
Hence, G ( x , ξ) = (47)
C sin k (1 − x ) sin k ξ
, ξ ≤ x ≤1
sin k sin k ξ
The jump discontinuity condition to be satisfied is
lim G x ( x , ξ) − lim(x ) G x ( x , ξ) = −1 (as p 0 ( x ) = 1) (48)
x →ξ + x →ξ −
Eqn.(48) yields
C sin k (1 − ξ)
cos k (1 − ξ) (−1) k sin k ξ − C k cos k ξ = −1 (49)
sin k sin k ξ sin k sin k ξ
simplifying Eqn.(49), we get
1 sin k sin k ξ sin k ξ
C= = (50)
k sin k ξ cos k (1 − ξ) + cos k ξ sin k (1 − ξ) k
sin k (1 − ξ) sin k x
, 0≤x≤ξ
k sin k
∴ G ( x , ξ) =
sin k ξ sin k (1 − x )
, ξ ≤ x ≤1
k sin k
***
Example 5: Construct Green’s function for the boundary value problem
d3y
= 0 , y(0) = y(1) = 0 , y ′(0) + y ′(1) = 0
dx 3
d 3G
Solution: We have to obtain G ( x , ξ) satisfying = 0 , G (0, ξ) = 0 ,
dx 3
G (1, ξ) = 0 , G x (0, ξ) + G x (1, ξ) = 0 , G (ξ − , ξ) = G (ξ + , ξ) = G (ξ, ξ)
∂G ∂G
Also, (1, ξ) − (0, ξ) = 1
∂x ∂x
d 3G Ax 2 + Bx + C , 0≤x≤ξ
= 0 ⇒ G ( x , ξ ) = (51)
dx 3 2
Dx + Ex + F , ξ ≤ x ≤1
Where A, B, C, D, E and F are to be determined using the above conditions:
159
Ordinary Differential G (0, ξ) = 0 ⇒ C = 0 , (52)
Equations
G (1, ξ) = 0 ⇒ D + E + F = 0 (53)
∂G (0, ξ) ∂G (1, ξ)
Further, + = 0 ⇒ (2Ax + B) x =0 + (2Dx + E ) x =1 = 0
∂x ∂x
or, B + 2D + E = 0 (54)
2 2
Further, continuity condition yields Aξ + Bξ + C = Dξ + Eξ + F
or, (A − D) ξ 2 + (B − E ) ξ + (C − F) = 0 (55)
∂G (1, ξ) ∂G (0, ξ)
Finite jump condition gives − = −1 = 2D + E − B (56)
∂x ∂x
1
Combining Eqns.(54) and (56) we get, B =
2
1 1
Also, from Eqn.(52), C = 0 . Further, 2D + E = ⇒ D − F = . It is not possible to
2 2
solve explicitly for the remaining arbitrary constants A, D, E, F . In short, we remark
that Green’s function does not exist for the given bvp.
***
Example 5 shows that construction of Green’s function is not always possible for a
given boundary value problem. But then the question arises: Is there a way to
establish the existence of Green’s function without going into the detailed working as
done in Example 5? The theorem on the existence of Green’s function guarantees
the existence of Green’s function for a given bvp. The application of this theorem to a
given problem results in establishing the existence or non-existence of Green’s
function without going into the detailed working. We shall now state this theorem.
∫
y( x ) = G ( x , ξ) f (ξ) dξ
a
(62)
∫0
∫
Hence, y( x ) = − (cos x sin ξ) ξ dξ + (− sin x cos ξ)ξ dξ
x
(68)
π
x π 2
∫
= cos x [ (ξ cos ξ) 0x − cos ξ dξ ] − sin
0
x [ (ξ sin ξ) x2 ∫
− sin ξ dξ ]
x
π π
= cos x ( x cos x − 0) − cos x sin x − sin x − x sin x + sin x (− cos + cos x )
2 2
π
= x (cos 2 x + sin 2 x ) − sin x
2
π
= x − sin x.
2
***
You may now try the following exercise.
E4) Using Green’s function, solve the boundary value problem
d2y
− 2 − y = x , y(0) = y(1) = 0
dx
You must have realised that the procedure discussed above for the construction of
Green’s function for a boundary value problem is quite an involved process.
Consequently, in the next section, we look for an alternative procedure to construct
Green’s function by establishing a relationship between the method of variation of
parameters and the Green’s function approach for linear, non-homogeneous
differential equation of second order with variable or constant coefficients.
W ( x ) = y1 ( x ) y ′2 ( x ) − y1′ ( x ) y 2 ( x ) (72)
For obtaining y as defined in Eqn.(70) we have to obtain the respective integrals of
du 1 du 2
and between a to x and x to b . Thus,
dx dx
x b
y 2 (t) f (t) y1 ( t ) f ( t )
u1 (x) = −
a
∫
W(t) p 0 (t)
dt , u 2 ( x ) = −
x
∫
W(t ) p 0 (t )
dt
Hence,
x b
y 2 (t) f (t) y1 ( t ) f ( t )
y( x ) = − y 1 ( x ) ∫
a
W (t) p 0 (t)
dt − y 2 ( x )
x
W∫( t ) p 0 ( t )
dt (73)
Solution (73) has to satisfy the conditions y(a ) = 0 , and y(b) = 0 . Thus, for y(a ) to
be zero, the first integral on the rhs of Eqn.(73) is zero and if for arbitrary values of
function f ( x ), y 2 ( x ) is zero when x = a then y(a ) = 0 . Similarly, for y(b) to be zero
the second integral on the rhs of Eqn.(73) is zero and the first integral vanishes for all
arbitrary values of f ( x ) , if for x = b, y1 (b) = 0 .
Assuming that y1 ( x ) and y 2 ( x ) are so chosen that these solutions satisfy the
conditions y 2 (a ) = 0 , and y1 (b) = 0 , we can write
x y1 ( x ) y 2 ( t ) b
y 2 ( x ) y1 ( t )
y( x ) = − ∫
a W ( t ) p 0 ( t )
f ( t ) dt +
x
∫
W(t ) p 0 (t )
f ( t ) dt
(74)
∫
y( x ) = − G ( x , t ) f ( t ) dt
a
(75)
y1 ( t ) y 2 ( x )
W ( t ) p ( t ) , x ≤ t ≤ b, i.e. a ≤ x ≤ t
0
where, G ( x, t ) = (76)
y1 ( x ) y 2 ( t )
, a ≤ t ≤ x , i.e. t ≤ x ≤ b
W ( t ) p 0 ( t )
The function G ( x , t ) as defined in (76) satisfies all the properties of the Green’s
function. It is continuous at x = t , i.e., lim− G ( t − , t ) = lim+ G ( t + , t ) = G ( t , t ) . Also
t →t t →t
G ( x , t ) satisfies the boundary conditions, that is,
y ( t ) y 2 (a )
G (a , t ) = 1 = 0 as y 2 (a ) = 0 ,
p 0 (t) W(t )
y1 (b) y 2 ( t )
similarly, G (b, t ) = = 0 as y1 (b) = 0
W(t) p 0 (t)
Further, G ( x , t ) satisfies the homogeneous differential equation
p 0 ( x ) y ′′( x ) + p1 ( x ) y ′( x ) + p 2 ( x ) y( x ) = 0 , as shown through method of variation of
parameters.
163
Ordinary Differential
∂G ∂G −1
Equations To verify the jump condition − =
∂x x = t + ∂x t −1 p 0 ( t )
y1 ( t ) y ′2 ( x )
p ( t ) W ( t ) , a≤x≤t
We have, G x ( x , t ) = 0 (77)
y′ ( x ) y 2 (t )
1 , t≤x≤b
W ( t ) p 0 ( t )
∂G ∂G y ′ ( t ) y 2 ( t ) − y1 ( t ) y ′2 ( t ) −1
Hence, − = 1 = (78)
∂x x = t + ∂x x = t − p 0 (t) W(t) p 0 (t)
Also, G ( x, t ) = G ( t , x ) .
Thus, G ( x , t ) defined by Eqn.(76)satisfies all the conditions that are necessary for it to
be termed as Green’s function.
Let us consider the following example.
Example 7: Determine the appropriate Green’s function by using the method of
variation of parameters for the boundary value problem
d2y
− 2 = f ( x ) , y ′(0) = 0 , y(1) = 0 ,
dx
and express the solution as a definite integral.
Solution: We have to determine y1 ( x ) and y 2 ( x ) as two linearly independent
d2y
solutions of the associated homogeneous differential equation = 0 . So that
dx 2
y1′ (0) = 0 , y 2 (1) = 0 .
We take, y1 ( x ) = 1 and y 2 ( x ) = 1 − x
The Wronskian of these two functions is
1 1− x
W(x ) = = −1 ≠ 0 .
0 −1
The Green’s function can now be constructed by using Eqn.(76). We obtain
x − 1 , 0 ≤ x ≤ ξ
G ( x , ξ) = (79)
ξ −1 , ξ ≤ x ≤1
Thus solution of a given bvp as a definite integral is given by
1
∫
y ( x ) = G ( x , ξ ) f ( ξ ) dξ . (80)
0
***
There are certain limitations of formula (76) for obtaining Green’s function. This
method can be used only if we know the solution of the corresponding homogeneous
differential equation, which we know is not always possible. Consequently, we give
an alternative approach for developing Green’s function expansion in a series of
suitably chosen orthogonal functions. We take up an example that illustrate the use of
eigen function expansion for obtaining Green’s function for ODEs.
Example 8: Construct Green’s function for the non-homogeneous problem
d2y
= f ( x ) , y ( 0) = y ( l ) = 0 (81)
dx 2
Solution: As per definition G ( x , ξ) satisfies
2
d G
= δ( x − ξ) (82)
dx 2
G (0, ξ) = G (l, ξ) = 0 (83)
164
Green’s Function Method
Since G ( x , ξ) vanishes at both the ends of the interval (0, l) therefore it can be
expanded in terms of a series of suitably chosen orthogonal functions. Herein, we
choose Fourier sine series for G ( x , ξ) , that is
∞
nπx
G ( x , ξ) =
n =1
∑ l
γ n (ξ) sin
, (84)
∂ 2G ∞ n 2 π2 nπ
∂x 2
=
n =1
∑ −
l
γ (ξ) sin
2 n
l
x (85)
2l nπ
or, γ n (ξ ) = − 2 2
sin ξ.
n π l
2l ∞ 1 nπξ nπ
Hence, G (x, ξ ) = − 2
π n =1 n 2∑ sin
l
sin
l
x (88)
Through the explicit formula (76) the Green’s function for the given problems turns
out to be
x ( l − ξ)
(0 ≤ x ≤ ξ )
G ( x , ξ) = l (89)
ξ (l − x )
(ξ ≤ x ≤ l )
l
Though the two expressions given by Eqns.(88) and (89) for the Green’s function
appear to be different but they are same. You can verify it by expanding Eqn.(89) in a
Fourier sine series. In order to obtain the solution of the non-homogeneous bvp (82)
we use the formula
l
We now end this unit by giving a summary of what we have learnt in it.
5.5 SUMMARY
In this unit, we have covered the following:
1. Introduced the concept of Green’s function through physical consideration that
has eventually led to the definition of influence function.
2. Employed the influence function for obtaining the deflection of the stretched
string of negligible mass under piecewise continuous distributed load.
3. Enlarged the scope of the influence function by defining Green’s function in the
context of boundary value problems associated with linear ODE with constant or
variable coefficients.
4. Constructed Green’s functions for bvps and obtained the solution of bvps via
Green’s functions.
5. Outline a procedure for constructing Green’s function via the method of
variation of parameters.
5.6 SOLUTIONS/ANSWERS
lx
− , 0≤x≤l
E1) y( x ) = 82T 2
4 x − 5lx + l , l
≤x≤l
8T 2
Px l
2T , 0≤x≤
4
P (l − 2 x )
,
l
≤x≤
l
E2) y( x ) =
4T 4 2
3P(l − x ) 3l
2T , ≤x≤l
4
ξ
ln , 0≤x≤ξ
E3) a) G ( x , ξ) = l
x
ln , ξ≤x≤l
l
x 1
ξ − , 0≤x≤ξ
2 ξ
b) G ( x , ξ) =
ξ x − 1 , ξ ≤ x ≤1
2 x
d) Green’s function does not exist, bvp has infinite number of solutions.
166
Green’s Function Method
sinh k (ξ − 1) sinh x
, 0≤ x≤ξ
k sinh k
e) G ( x , ξ) =
sinh k ξ sinh k ( x − 1)
, ξ ≤ x ≤1
k sinh k
∫ ∫
x
ξ sinh ξ dξ = (ξ cosh ξ) 0 − cosh ξ dξ = x cosh x − sinh x
0 0
and
1
1
E5) Solution in all cases is given by y( x ) = ∫ G ( x , ξ ) f ( ξ ) dξ .
0
a) We take y1 ( x ) = x, y 2 ( x ) = 2 − x which satisfy
y1 (0) = 0, y 2 (1) = 2 − 1 = 1, y ′2 (1) = −1 .
∴ y 2 (1) + y ′2 (1) = 0
ξ 2−ξ
W (ξ) = = −ξ − 2 + ξ = −2 ≠ 0
1 −1
ξ( 2 − x )
(−2) , 0≤x≤ξ
Hence, G ( x, ξ) =
x (2 − ξ)
, ξ ≤ x ≤1
(−2)
167
Ordinary Differential
cos ξ sin ( x − 1)
Equations
, 0≤x≤ξ
cos 1
Thus, G ( x , ξ) =
cos x sin (ξ − 1)
, ξ ≤ x ≤1
cos 1
c) y1 ( x ) = x , y 2 ( x ) = 1
W (ξ) = ξ × 0 − 1.1 = −1 ≠ 0
ξ
, 0≤x≤ξ
Hence, G ( x , ξ) = − 1
x
, ξ ≤ x ≤1
−1
—x—
168