Green Function
Green Function
Introduction: ............................................................................................................................................ 2
One dimensional problems: General properties, Form of Green’s function, other ordinary conditions,
relation to integral equations, .................................................................................................................. 5
Solved Exercise.......................................................................................................................................... 7
Case 1: Finite initial and final boundary values given ........................................................................... 7
Case 2: Initial Boundary Condition give, But Final BC not give. .......................................................... 13
Case 3: Boundaries at infinity ............................................................................................................. 14
Solved Exercise........................................................................................................................................ 17
Tutorial Question .................................................................................................................................... 33
The Green’s function method is a powerful method to solve boundary value
problems and can be used not only for ordinary differential equations but also for
partial differential equations and integral equations.
. It is used as a convenient method for solving more complicated inhomogenous
differential equations. In physics, Green’s functions methods are used to describe a
wide variety of phenomena, ranging from the motion of complex mechanical
oscillators to the emission of sound waves from loudspeakers.
Green’s functions are named after the British mathematician George Green, who
developed the concept in the 1830s. Green’s function methods enable the solution of
a differential equation containing an inhomogeneous term (often called a source
term) to be related to an integral operator. It can be used to solve both partial and
exact differential equation. Green was the first person to create a mathematical
theory of electricity and magnetism and his theory formed the foundation for the
work of other scientists such as James Clerk Maxwell, William Thomson, and others.
Introduction:
Consider the differential equations
𝑑2 𝑦
=0
𝑑𝑥 2
This can be solved very easily and we will get the solutions as
𝑦 = 𝐴𝑥 + 𝐵
which is the equation for a straight line. The constants can be found if boundary
conditions are given. Similarly consider another homogeneous equation
𝑑2 𝑦
2
+ 𝑘2𝑦 = 0
𝑑𝑥
This can be solved to to get,
𝑦 = 𝐴 𝑠𝑖𝑛𝑘𝑥 + 𝐵𝑐𝑜𝑠𝑘𝑥
Thus there are simple techniques available to solve homogeneous equations. But if
we replace them with source terms like
𝑑2 𝑦
= ln 𝑥
𝑑𝑥 2
𝑑2 𝑦
2
+ 𝑘 2 𝑦 = 𝑡𝑎𝑛𝑥
𝑑𝑥
then the problem become difficult to solve. Before thinking of solving such
nonhomogeneous equations let us look at different types of differential operators
∫ 𝛿 (𝑥 − 𝑡 )𝑑𝑥 = 1
𝑎𝑙𝑙𝑠𝑝𝑎𝑐𝑒
∫ 𝛿 (𝑥 − 𝑡 )𝑓 (𝑡 )𝑑𝑡 = 𝑓 (𝑥)
𝑑𝐺 𝑑𝐺 1
− =
𝑑𝑥 𝑑𝑥 𝑝(𝑡 )
This property shows that the values of GF must be different for x less than t and x
greater than t. So label GF before t as 𝐺1 (𝑥, 𝑡) and GF after t as 𝐺2 (𝑥, 𝑡). We have
taken the second integral as zero which means that
𝐺2 (𝑥, 𝑡 + 𝜖) − 𝐺1 (𝑥, 𝑡 − 𝜖) = 0
AT 𝑥 = 𝑡 𝐺1 = 𝐺2 or Green functions is
Solved Exercise
𝒅𝟐
1. Derive the Green’s function for the operator with the boundary conditions y(0)
𝒅𝒙𝟐
= 0 and y(1) = 0.
Solution
Here it is given that
𝑑2
= 𝑓 (𝑥 )
𝑑𝑥 2
For the homogenous equation
𝑑2
=0
𝑑𝑥 2
𝑑 𝑑𝑦 𝑑𝑦
= 0, =constant. Integrating
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑦 = 𝐴𝑥 + 𝐵
First Boundary condition implies
𝑦(0) = 0 ⇒ 𝐵 = 0 𝑢1 (𝑥) = 𝐴𝑥 , 𝑢1 (𝑡 ) = 𝐴𝑡, 𝑢1′ (𝑥) = 𝐴.
Second Boundary condition implies
𝑦(1) = 0 ⇒ 0 = 𝐴 + 𝐵 , 𝐵 = −𝐴, 𝑢2 (𝑥) = 𝐴𝑥 − 𝐴, 𝑢2 (𝐴) = 𝐴𝑡 − 𝐴, 𝑢2′ (𝑥) = 𝐴
Then Wronskian,
𝑊 = 𝑢1 (𝑡 )𝑢2′ (𝑡 ) − 𝑢1′ (𝑡 )𝑢2 (𝑡) = 𝐴2
For 𝑥 < 𝑡
𝑢1 (𝑥)𝑢2 (𝑡 )
𝐺1 (𝑥, 𝑡 ) =
𝐴
𝐺1 (𝑥, 𝑡 ) = 𝑥 (𝑡 − 1)
For 𝑥 > 𝑡
𝑢2 (𝑥)𝑢1 (𝑡 )
𝐺2 (𝑥, 𝑡 ) =
𝐴
𝐺2 (𝑥, 𝑡 ) = 𝑡(𝑥 − 1)
𝒅𝟐
2. Derive the Green’s function for the operator with the boundary conditions y(0)
𝒅𝒙𝟐
= 0 and y(a) = 0.
Solution Here it is given that
𝑑2
=0
𝑑𝑥 2
𝑦 = 𝐴𝑥 + 𝐵
𝑦 (0) = 0 ⇒
𝐵=0
𝑢1 (𝑥) = 𝐴𝑥
𝑢1 (𝑡 ) = 𝐴𝑡
𝑢1′ (𝑥) = 𝐴
𝑦 (𝑎 ) = 0 ⇒
0 = 𝐴𝑎 + 𝐵
𝐵 = −𝐴𝑎
𝑢2 (𝑥) = 𝐴𝑥 − 𝐴𝑎
𝑢2 (𝑡 ) = 𝐴𝑡 − 𝐴𝑎
𝑢2′ (𝑥) = 𝐴
Then Wronskian,
𝑊 = 𝑢1 (𝑡 )𝑢2′ (𝑡 ) − 𝑢1′ (𝑡 )𝑢2 (𝑡)
= 𝐴1 𝑥𝐴2 − 𝐴1 ( 𝐴2 𝑥 − 𝐴2 𝑎 )
= 𝐴1 𝐴2 𝑥 − 𝐴1 𝐴2 𝑥 + 𝐴1 𝐴2 𝑎
𝑊 = 𝐴2 𝑎
For 𝑥 < 𝑡
𝑢1 (𝑥)𝑢2 (𝑡 )
𝐺1 (𝑥, 𝑡 ) =
𝑊𝑝(𝑡)
𝑥 (𝑡 − 1)
𝐺1 (𝑥, 𝑡 ) =
𝑎
For 𝑥 > 𝑡
𝑢2 (𝑥)𝑢1 (𝑡 )
𝐺2 (𝑥, 𝑡 ) =
𝑊𝑝(𝑡)
𝑡 (𝑥 − 1)
𝐺2 (𝑥, 𝑡 ) =
𝑎
𝒅𝟐
3. Derive the Green’s function for the operator with the boundary conditions y(0)
𝒅𝒙𝟐
= 0 and y’(a) = 0.
Solution Here it is given that
𝑑2
=0
𝑑𝑥 2
It’s Solution is,
𝑦 = 𝐴𝑥 + 𝐵
The First BC gives 𝑦(0) = 0 implies 0 = 𝐴 × 0 + 𝐵 and hence 𝐵 = 0
𝑢1 (𝑥) = 𝐴𝑥
𝑢1 (𝑡 ) = 𝐴𝑡
𝑢1′ (𝑥) = 𝐴
The second BC gives 𝑦(𝑎) = 0 implies
𝐴=0
𝑢2 ( 𝑥 ) = 𝐵
𝑢2 ( 𝑡 ) = 𝐵
𝑢2′ (𝑥) = 0
Then Wronskian,
𝑊 = 𝑢1 (𝑡 )𝑢2′ (𝑡 ) − 𝑢1′ (𝑡 )𝑢2 (𝑡)
= −𝐴𝐵
For 𝑥 < 𝑡
𝑢1 (𝑥)𝑢2 (𝑡 )
𝐺1 (𝑥, 𝑡 ) =
𝑊𝑝(𝑡)
𝐺1 (𝑥, 𝑡 ) = −𝑥
For 𝑥 > 𝑡
𝑢2 (𝑥)𝑢1 (𝑡 )
𝐺2 (𝑥, 𝑡 ) =
𝑊𝑝(𝑡)
𝐺2 (𝑥, 𝑡 ) = −𝑡
4. 4. Obtain the Green’s function for the operator d 2 dx2 corresponding to the
boundary conditions 𝒚(𝟎) = 𝟎; 𝒚′ (𝟏) = 𝟎
Answer:
Solution is same as in the above problem with same answer
𝒅𝟐 𝒚
5. Deduce Green’s function of the operator ( 𝒅𝒙𝟐 + 𝒌𝟐 ) with boundary condition
𝒚(𝟎) = 𝟎, 𝒚(𝑳) = 𝟎
𝒅𝟐 𝒚
+ 𝒌𝟐 = 𝒇(𝒙)
𝒅𝒙𝟐
It’s solution is
𝑦 = 𝐴𝑠𝑖𝑛𝑘𝑥 + 𝐵𝑐𝑜𝑠𝑘𝑥
𝑢1 (𝑥) is defined as the value of 𝑦 at applying first boundary condition and 𝑢2 (𝑥) is
defined as the value of 𝑦 at applying second boundary condition
𝑦 (0) = 0 ⇒
𝐵=0
𝑢1 (𝑥) = 𝐴𝑠𝑖𝑛𝑘𝑥
𝑢1 (𝑡 ) = 𝐴𝑠𝑖𝑛𝑘𝑡
𝑢1′ (𝑥) = 𝐴𝑐𝑜𝑠𝑘𝑥
Similary 𝑦(𝐿) = 0 ⇒
0 = 𝐴𝑠𝑖𝑛𝑘𝐿 + 𝐵𝑐𝑜𝑠𝑘𝐿
𝐴𝑠𝑖𝑛𝑘𝐿
𝐵=−
𝑐𝑜𝑠𝑘𝐿
𝑎2 𝑐𝑜𝑠𝑘𝐿 𝑠𝑖𝑛𝑘𝑥𝑐𝑜𝑠𝑘𝐿 − 𝑠𝑖𝑛𝑘𝐿𝑐𝑜𝑠𝑘𝑥
𝑢2 (𝑥) = 𝐴𝑠𝑖𝑛𝑘𝑥 − = 𝐴( )
𝑐𝑜𝑠𝑘𝐿 𝑐𝑜𝑠𝑘𝐿
𝑠𝑖𝑛𝑘 (𝑥 − 𝐿)
𝑢2 ( 𝑥 ) = 𝐴
𝑐𝑜𝑠𝑘𝐿
𝑠𝑖𝑛𝑘 (𝑡 − 𝐿)
𝑢2 ( 𝑡 ) = 𝐴
𝑐𝑜𝑠𝑘𝐿
𝑘𝑐𝑜𝑠𝑘(𝑥 − 𝐿)
𝑢′2 (𝑡 ) = 𝐴
𝑐𝑜𝑠𝑘𝐿
𝐴2 𝑘
Then Wronskian 𝑊 = (𝑠𝑖𝑛𝑘𝐿),
𝑐𝑜𝑠𝑘𝐿
For 𝑥 < 𝑡
𝑠𝑖𝑛𝑘𝑥𝑠𝑖𝑛𝑘(𝑡 − 𝐿)
𝐺1 (𝑥, 𝑡 ) =
𝑘𝑠𝑖𝑛𝑘𝐿
For 𝑥 > 𝑡
𝑠𝑖𝑛𝑘(𝑥 − 𝐿)𝑠𝑖𝑛𝑘𝑡
𝐺2 (𝑥, 𝑡 ) =
𝑘𝑠𝑖𝑛𝑘𝐿
6. Find an appropriate Green’s function for 𝒚" + 𝟏/𝟒𝒚 = 𝒇(𝒙) with boundary
condition 𝒚(𝟎) = 𝒚(𝝅) = 𝟎
𝑑2 𝑦 1
+ 𝑦=0
𝑑𝑥 2 4
𝑑2 𝑦 1 2
+( ) 𝑦=0
𝑑𝑥 2 2
So it’s solution is
1 1
𝑦 = 𝐴 sin ( ) 𝑥 + 𝐵𝑐𝑜𝑠 ( ) 𝑥
2 2
𝑦 (0) = 0 ⇒
𝐵=0
1
𝑢1 (𝑥) = 𝐴 sin ( ) 𝑥
2
1
𝑢1 (𝑡 ) = 𝐴 sin ( ) 𝑡
2
1 1
𝑢1′ (𝑥) = 𝐴𝑐𝑜𝑠 𝑥
2 2
Similary 𝑦(𝜋) = 0 ⇒
𝐴=0
1
𝑢2 (𝑥) = 𝐵𝑐𝑜𝑠 𝑥
2
1
𝑢2 (𝑡 ) = 𝐵𝑐𝑜𝑠 𝑡
2
1 1
𝑢′2 (𝑡 ) = − 𝐵𝑠𝑖𝑛 𝑥
2 2
Then Wronskian
𝑊 = 𝑢1 𝑢2′ − 𝑢1′ 𝑢2
𝐴𝐵
𝑊= −
2
For 𝑥 < 𝑡
1 1
𝐺1 (𝑥, 𝑡 ) = −2 sin ( ) 𝑥𝑐𝑜𝑠 ( ) 𝑡
2 2
For 𝑥 > 𝑡
1 1
𝐺2 (𝑥, 𝑡 ) = −2 cos ( ) 𝑥𝑠𝑖𝑛 ( ) 𝑡
2 2
𝒅𝟐
1. Derive the Green’s function for the differential equation = 𝟎 with boundary
𝒅𝒙𝟐
𝒅𝟐 𝒚
1. Find the Greens function for − 𝒌𝟐 𝒚 = 𝒇(𝒙) ; 𝒚(±∞) = 𝟎
𝒅𝒙𝟐
It’s solution is
𝑦 = 𝐴𝑒 𝑘𝑥 + 𝐵𝑒 −𝑘𝑥
Then, first boundary condition 𝑦(+∞) = 0 ⇒
0 = 𝐴𝑒 ∞ + 𝐵𝑒 ∞
𝐴𝑒 ∞ = 0, 𝐴 = 0. So 𝑢1 (𝑥) = 𝐵𝑒 −𝑘𝑥 , 𝑢1 (𝑡 ) = 𝐵𝑒 −𝑘𝑡 , 𝑢1′ (𝑡 ) = −𝑘𝐵𝑒 −𝑘𝑡 . Second
boundary condition
𝑦(−∞) = 0 ⇒
0 = 𝐴𝑒 −∞ + 𝐵𝑒 −∞
0 = 0 + 𝐵𝑒 +∞
𝐵𝑒 +∞ = 0
𝐵=0
So 𝑢2 (𝑥) = 𝐴𝑒 𝑘𝑥 , 𝑢2 (𝑡 ) = 𝐴𝑒 𝑘𝑡 , 𝑢2′ (𝑡 ) = 𝑘𝐴𝑒 𝑘𝑡 . Then Wronskian, 𝑊 = 2𝑘𝐴𝐵
For 𝑥 < 𝑡
𝑒 𝑘(𝑡−𝑥)
𝐺1 (𝑥, 𝑡 ) =
2𝑘
For 𝑥 > 𝑡
𝑒 𝑘(𝑥−𝑡)
𝐺2 (𝑥, 𝑡 ) = −
2𝑘
We’ve by definitions
ℒ𝑦(𝑥) = 𝑓 (𝑥)
ℒ𝐺 (𝑥, 𝑡 ) = 𝛿 (𝑥 − 𝑡 )
𝑦(𝑥) = ∫ 𝐺 (𝑥, 𝑡 )𝑓(𝑡 )𝑑𝑡
Poisson’s equation says
𝜌
∇2 𝜙 = −
𝜀0
∇2 𝐺 = 𝛿(𝑟⃗⃗⃗1 − ⃗⃗⃗
𝑟2 )
Then we get using definitions
𝜌(𝑟1 ) 3
𝜙(𝑟⃗⃗⃗2 ) = ∫ 𝐺 (⃗⃗⃗ 𝑟2 )
𝑟1 , ⃗⃗⃗ 𝑑 𝑟1
𝜀0
But from electrodynamics we know
𝜌(𝑟1 )𝑑 3 𝑟1
𝜙(𝑟⃗⃗⃗2 ) = ∫
4𝜋𝜀0 |𝑟⃗⃗⃗2 − ⃗⃗⃗
𝑟1 |
Comparing we get,
1
𝐺 (⃗⃗⃗ 𝑟2 ) =
𝑟1 , ⃗⃗⃗
4𝜋|𝑟⃗⃗⃗2 − ⃗⃗⃗
𝑟1 |
This is the Green’s Function for Poisson’s equation.
Readers are requested to read the chapter on Sturm Liouville operator in Arfkan 7th
Edition before reading this section. Let
ℒ𝜙𝑛 (𝑥) = 𝜆𝑛 𝜙𝑛 (𝑥)
Where 𝜙𝑛 (𝑥) is the eigen function and 𝜆𝑛 is the eigen value. Usually we have
ℒ𝑦(𝑥) = 𝑓 (𝑥)
and the solution is always written in terms of Greens function. Here we assume
Greens function in terms of eigen functions.
Where 𝜙𝑛 (𝑥) are orthogonal eigen functions and 𝑐𝑛 (𝑡) is unknown which is to be
found out.
ℒ𝐺 (𝑥, 𝑡 ) = 𝛿 (𝑥 − 𝑡 )
Substituting
𝛿 (𝑥 − 𝑡 ) = ∑ 𝑐𝑛 (𝑡 )𝜆𝑛 𝜙𝑛 (𝑥)
𝑛
∗
Multiplying with 𝜙𝑚 (𝑥) and integrate over x
∗ ∗
∫ 𝜙𝑚 (𝑥)𝛿 (𝑥 − 𝑡 )dt = ∑ 𝑐𝑛 (𝑡 )𝜆𝑛 ∫ 𝜙𝑚 (𝑥)𝜙𝑛 (𝑥)dx
𝑛
∗
𝜙𝑚 (𝑥) = ∑ 𝑐𝑛 (𝑡 )𝜆𝑛 𝛿𝑚𝑛
𝑛
∗
𝜙𝑚 (𝑥) = 𝑐𝑚 (𝑡 )𝜆𝑚
Thus,
∗ ( )
𝜙𝑚 𝑥
𝑐𝑚 (𝑡 ) =
𝜆𝑚
Or,
𝜙𝑛∗ (𝑥)
𝑐𝑛 (𝑡 ) =
𝜆𝑛
Then
𝜙𝑛∗ (𝑥)𝜙𝑛 (𝑥)
𝐺 (𝑥, 𝑡 ) = ∑
𝜆𝑛
𝑛
∗ ( )
𝑜𝑟, ∑(𝜆𝑛 − 𝜆)𝑔𝑛 𝛿𝑚𝑛 = 𝑢𝑚 𝑥′
𝑛
∗ ( )
𝑜𝑟, 𝑔𝑚 (𝜆𝑚 − 𝜆) = 𝑢𝑚 𝑥′
∗ ( )
𝑢𝑚 𝑥′
𝑔𝑚 =
( 𝜆𝑚 − 𝜆 )
𝑢𝑛∗ (𝑥 ′)
∴ 𝑔𝑛 =
( 𝜆𝑛 − 𝜆 )
Using this value in Eqn (3), we get
𝑢𝑛∗ (𝑥 ′)𝑢𝑛 (𝑥)
𝐺(𝑥 , ⃗⃗⃗
𝑥′) = ∑
( 𝜆𝑛 − 𝜆 )
𝑛
𝑢𝑛 (𝑥 ) = ∫ 𝐺(𝑥 , ⃗⃗⃗
𝑥 ′ )𝑓(𝑥 ′ )𝑑 3 𝑥′
Ω
Note:
1) Green’s function (G.F) converts differential equation into integral equation
2) If 𝐿𝑢(𝑥) = 𝑓 (𝑥) i.e 𝜆 = 0, then G.F will be of the form
𝑢𝑛 (𝑥)𝑢𝑛∗ (𝜉 )
𝐺 (𝑥, 𝜉 ) = ∑
𝜆𝑛
𝑛
Proof:
Consider an ordinary differential equation of order n.
𝑑𝑛 𝑦 𝑑𝑦
i.e 𝑎𝑛 (𝑥) + ⋯ … … … . +𝑎1 (𝑥) + 𝑎0 𝑦 = 𝑓 (𝑥) − − − − − − − (1)
𝑑𝑥 𝑛 𝑑𝑥
=0
𝑥 ′ +𝜀
𝑑 𝑛−1 1
lim [ 𝑛−1 𝐺 (𝑥, 𝑥 ′ )] =
𝜀→0 𝑑𝑥
𝑥 ′ −𝜀
𝑎𝑛 (𝑥′)
𝑑𝑛−1 𝐺 1
Thus, has discontinuity equal to at 𝑥 = 𝑥′
𝑑𝑥 𝑛 𝑎𝑛 (𝑥′)
Important Question
1) Calculate the green function of the problem
𝒅𝟐 𝒖 𝒘
+ 𝒌𝟐 𝒖 = 𝟎 𝒇𝒐𝒓 𝒖(𝟎) = 𝟎 , 𝒌=√
𝒅𝒙𝟐 𝒄
a) When 𝒌𝟐 = −𝝀 (−𝒗𝒆)
b) When 𝒌𝟐 = +𝝀 ( +𝒗𝒆 )
Solution:
a) For 𝒌𝟐 = −𝝀
The above equation will be of the form,
𝑑2 𝑢
− 𝜆𝑢 = 0
𝑑𝑥 2
𝑑2 𝑢 2
𝑜𝑟, + (√−𝜆) 𝑢 = 0 − − − − − −(1)
𝑑𝑥 2
This is 2nd ordered differential equation which has the solution of type,
𝑢(𝑥) = 𝐴𝑒 √−𝜆𝑥 + 𝐵𝑒 −√−𝜆𝑥 − − − − − −(2)
Now, using Boundary condition 𝑢(0) = 0, we get
𝐴𝑒 √−𝜆.0 + 𝐵𝑒 −√−𝜆.0 = 0
⇒ 𝐴 + 𝐵=0
⇒ 𝐴 = −𝐵
∴ 𝑢(𝑥) = 𝐴(𝑒 √−𝜆𝑥 − 𝑒 −√−𝜆𝑥 )
Again,
Using Boundary condition 𝑢(𝑙) = 0, we get
𝐴 (𝑒 √𝜆𝑥 − 𝑒 −√−𝜆𝑥 ) = 0
2𝑖𝑠𝑖𝑛√𝜆𝑙 = 0
𝑠𝑖𝑛√𝜆𝑙 = sin 𝑛𝜋 , 𝑛 = 1, 2, 3 … . .
√𝜆𝑙 = 𝑛𝑝𝑖
𝑛2 𝜋 2
𝜆𝑛 = 2
𝑙
𝑛𝜋
∴ 𝑢𝑛 (𝑥) = 2𝑖𝐴𝑠𝑖𝑛 ( )𝑥
𝑙
Now, To find the value of A, normalizing,
𝑙
∫ |𝑢𝑛 (𝑥)|2 𝑑𝑥 = 1
0
𝑙
𝑛𝜋
𝑜𝑟, (2𝑖). (−2𝑖) ∫ |𝐴|2 sin2 ( ) 𝑥𝑑𝑥 = 1
0 𝑙
|2 𝑙
4|𝐴 𝑛𝜋
∫ [1 + 𝑐𝑜𝑠2 ( ) 𝑥] 𝑑𝑥 = 1
2 0 𝑙
4|𝐴|2
.𝑙 = 1
2
1
𝐴=
√2𝑙
2 𝑛𝜋
∴ 𝑢𝑛 (𝑥) = 2𝑖 √ sin ( ) 𝑥
𝑙 𝑥
2 𝑛𝜋𝑥 𝑛𝜋𝑥′
(2𝑖)(2𝑖) sin ( ) sin ( )
𝑙 𝑙 𝑙
= ∑
𝑛𝜋 2
𝑛 ( ) + 𝑘2
𝑙
8 𝑛𝜋𝑥 𝑛𝜋𝑥 ′ 2
− . sin ( ) . sin ( ).𝑙
𝑙 𝑙 𝑙
= ∑
𝑛2 𝜋 2 + 𝑘 2
𝑛
𝑛𝜋𝑥 𝑛𝜋𝑥 ′
∴ 𝐺 (𝑥, 𝑥′) = ∑ −8𝑙 . sin ( ) . sin ( )
𝑙 𝑙
𝑛
𝑑2 𝑢 2
𝑜𝑟, + (√𝜆) 𝑦=0
𝑑𝑥 2
The above 2nd ordered differential equation has a solution of type,
𝑢(𝑥) = 𝐴𝑠𝑖𝑛√𝜆𝑥 + 𝐵𝑐𝑜𝑠√𝜆𝑥 − − − − − (2)
Now, using Boundary condition, 𝑢(0) = 0
⇒ 𝐴𝑠𝑖𝑛√𝜆. 0 + 𝐵𝑐𝑜𝑠√𝜆. 0 = 0
⇒𝐵=0
And againa Using B.C, 𝑢(𝑙) = 0
𝑢(𝑙) = 𝐴𝑠𝑖𝑛√𝜆. 𝑙 = 0
For non-trivial solution, 𝐴 ≠ 0
∴ 𝑠𝑖𝑛√𝜆. 𝑙 = 𝑠𝑖𝑛𝑛𝜋 = 0
𝜆𝑛 = 𝑛2 𝜋 2 /𝑙2
𝑛𝜋
∴ 𝑢𝑛 (𝑥) = 𝐴𝑠𝑖𝑛 ( ) 𝑥 − − − − − (3)
𝑙
2
On normalizing Eqn(3) , we get the value of 𝐴 = √
𝑙
2
On normalizing Eqn (3) we get the value of 𝐴 = √
𝑙
2 𝑛𝜋
∴ 𝑢𝑛 (𝑥) = √ 𝑠𝑖𝑛 ( ) 𝑥
𝑙 𝑙
Hence, Green function will be,
𝑛𝜋 𝑛𝜋
2 sin ( ) 𝑥 . sin ( ) 𝜉
𝐺 (𝑥, 𝜉 ) = ∑ 𝑙 𝑙 𝑓𝑜𝑟 𝜉 > 0
𝑛 2𝜋 2
𝑙 2
𝑛 −𝑘
𝑙2
𝑛𝜋 𝑛𝜋
sin ( ) 𝑥 . sin ( ) 𝜉
= −8𝑙 ∑ 𝑙 𝑙 𝑓𝑜𝑟 𝜉 < 0
𝑛2 𝜋 2 2
𝑛 +𝑘
𝑙2
𝑚2
𝑥𝑦"(𝑥) + 𝑦′(𝑥) − 𝑦(𝑥)
Type V ⇒ 𝑥
Procedure:
Write 𝑦(𝑥) = 𝐺 (𝑥, 𝜉 ) and 𝑓 (𝑥) = 𝛿 (𝑥 − 𝜉 )
Solve it for 𝑥 ≠ 𝜉, such that 𝛿 (𝑥 − 𝜉 ) = 0
Write down 2nd ordered Differential equation of it’s solution. The solution will
be of the form,
𝐴𝑥 + 𝐵 0 ≤ 𝑥 ≤ 𝜉
1) 𝐺 (𝑥, 𝜉 ) = {
𝐶𝑥 + 𝐷 𝜉 < 𝑥 ≤ 1
2) 𝐺 (𝑥, 𝜉 ) = 𝐴𝑠𝑖𝑛𝑥 + 𝐵𝑐𝑜𝑠𝑥 0≤𝑥≤𝜉
= 𝐶𝑠𝑖𝑛𝑥 + 𝐷𝑐𝑜𝑠𝑥 𝜉<𝑥≤1
3) 𝐺 (𝑥, 𝜉 ) = 𝐴𝑥 𝑚 + 𝐵𝑥 −𝑚 0≤𝑥≤𝜉
= 𝐶𝑥 𝑚 + 𝐷𝑥 −𝑚 𝜉<𝑥≤1
Use Boundary condition to find out 𝐴, 𝐵, 𝐶 and 𝐷. Write down Green function
( New )
Use continuous Property of Green Function [ 𝐺2 (𝑥, 𝜉 ) = = 𝐺1 (𝑥, 𝜉 ) ]𝑥=𝜉
Use discontinuity property or jumping property
′(𝑥,𝜉) ′(𝑥,𝜉) 1
𝐺2 − 𝐺1 = |
𝑝(𝑥) 𝑥=𝜉
Solved Question:
1. Calculate the Ground Funciton for 𝒚"(𝒙) = −𝒇(𝒙) with Boundary condition
𝒚(𝟎) = 𝟎 𝒂𝒏𝒅 𝒚′ (𝟏) = 𝟎; Using Dirac delta function.
Solve it for
a) 𝒇(𝒙) = 𝒙𝟐 b) 𝒇(𝒙) = 𝒔𝒊𝒏𝝅𝒙 c) 𝒇(𝒙) = 𝒄𝒐𝒔𝝅𝒙
Solution:
The given equation is,
𝑦"(𝑥) = −𝑓(𝑥) − − − −(𝑖)
Or −𝑦"(𝑥) = 𝑓(𝑥) − − − − − (𝑖𝑖)
And 𝑦(0) = 𝑦(1) = 0
Let 𝐺 (𝑥, 𝜉 ) be the required green’s function. Then
−𝐺"(𝑥, 𝜉 ) = 𝛿(𝑥, 𝜉) -------(iii)
For 𝑥 ≠ 𝜉, R.H.S is zero and Eqn(3) reduces to
−𝐺"(𝑥, 𝜉 ) = 0
⇒ 𝐺"(𝑥, 𝜉 ) = 0
Which is 2nd ordered differential equation having solution
𝐴𝑥 + 𝐵 0 ≤ 𝑥 ≤ 𝜉
1) 𝐺 (𝑥, 𝜉 ) = { − − − − − − − (4)
𝐶𝑥 + 𝐷 𝜉 < 𝑥 ≤ 1
Now, Using Boundary condition,
𝐺 (0, 𝜉 ) = 𝐴. 0 + 𝐵 = 0
⇒𝐵 =0
Again, 𝐺 (1, 𝜉 ) = 𝐶. 1 + 𝐷 = 0
⇒ 𝐶 = −𝐷
𝐴𝑥 0 ≤ 𝑥 ≤ 𝜉
∴ 𝐺 (𝑥, 𝜉 ) = {
𝐷(1 − 𝑥) 𝜉 < 𝑥 ≤ 1
Now, using Continuous equation we have,
𝐴𝜉 𝜉
𝐷 (1 − 𝜉 ) = = 𝐴( )
1−𝜉 1−𝜉
vi) Using Jumping Property
Here
𝑝(𝑥) = 1
−𝐷 − 𝐴 = −1
𝐷+𝐴=1
⇒𝐷 =1−𝐴
𝐴𝜉 𝐴𝜉
𝐷= 𝑎𝑛𝑑 𝜉 =
1−𝜉 1−𝜉
𝐷(1 − 𝜉)
=𝐴
𝜉
𝜉 − 𝐷(1 − 𝜉)
𝐷=
𝜉
𝐷𝜉 = 𝜉 − 𝐷(1 − 𝜉)
𝐷 = +𝜉
Here required Green function will be,
𝐺 (𝑥, 𝜉 ) = 𝑥(1 − 𝜉) 0≤𝑥≤𝜉
= 𝜉(1 − 𝑥) 𝜉<𝑥≤1
a) 𝒇(𝒙) = 𝒙𝟐
The solution of given equation for 𝑓 (𝑥) = 𝑥 2 is,
1
𝑦(𝑥) = ∫ 𝐺(𝑥, 𝜉)𝑓(𝜉 )𝑑𝜉
0
𝑥=𝜉 1
𝑦 (𝑥 ) = ∫ 𝐺(𝑥, 𝜉)𝜉 2 𝑑𝜉 + ∫ 𝐺(𝑥, 𝜉)𝜉 2 𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
= ∫ 𝜉(1 − 𝑥) 𝜉 𝑑𝜉 + ∫ 𝑥(1 − 𝜉) 𝜉 2 𝑑𝜉
2
0 𝑥=𝜉
𝑥=𝜉 1 1
𝜉4 𝜉3 𝜉4
(
= 1−𝑥 ) | +𝑥 | −𝑥 |
4 0 3 𝑥=𝜉 4 𝑥=𝜉
𝑥4 x5 𝑥 𝑥4 𝑥 x5
= − + − −
4
4 3 3 4
4
3𝑥 4 − 4𝑥 4 − 3𝑥 + 4𝑥 𝑥 − 𝑥 4 𝑥 (1 − 𝑥 3 )
= = =
12 12 12
b) 𝒇(𝒙) = 𝒔𝒊𝒏𝝅𝒙
Solution:
The solution of given equation for 𝑓 (𝑥) = 𝑠𝑖𝑛𝜋𝑥 is,
1
𝑦(𝑥) = ∫ 𝐺(𝑥, 𝜉)𝑓(𝜉)𝑑𝜉
0
𝑥=𝜉 1
𝑦 (𝑥 ) = ∫ 𝐺(𝑥, 𝜉)𝑓(𝜉)𝑑𝜉 + ∫ 𝐺(𝑥, 𝜉)𝑓(𝜉)𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
𝑦 (𝑥 ) = ∫ 𝜉 (1 − 𝑥)𝑠𝑖𝑛𝜋 𝜉𝑑𝜉 + ∫ 𝑥 (1 − 𝜉 ) 𝑠𝑖𝑛𝜋𝜉𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
= ∫ 𝜉𝑠𝑖𝑛𝜋 𝜉𝑑𝜉 + ∫ (1 − 𝜉 ) 𝑠𝑖𝑛𝜋𝜉𝑑𝜉
0 𝑥=𝜉
𝒅𝟐 𝒖
2. Using Green’s function method, Solve + 𝒚 = 𝒄𝒐𝒔𝒆𝒄𝒙 subject to the boundary
𝒅𝒙𝟐
conditions,
𝒚(𝟎) = 𝒚(𝝅/𝟐) = 𝟎
Given Equation is,
𝑑2 𝑢
+ 𝑦 = 𝑐𝑜𝑠𝑒𝑐𝑥 − − − − − (1)
𝑑𝑥 2
𝑑 2 𝐺(𝑥, 𝑥 ′ )
2
+ 𝐺 (𝑥, 𝑥 ′ ) = 𝛿 (𝑥 − 𝑥 ′ ) − − − − − (2)
𝑑𝑥
Where 𝐺 (𝑥, 𝑥 ′ ) be the required Green’s function
For 𝑥 = 𝑥′, R.H.S is zero and Eqn (2) reduces to homogenous equation,
𝑑2 𝐺(𝑥,𝑥 ′ )
+ 𝐺 (𝑥, 𝑥 ′ ) = 0 which has a solution of type,
𝑑𝑥 2
′ 𝑑 𝑑𝑦
𝑑𝐺 𝑥 +𝜀 [∴ [𝑝(𝑥) ] + [𝑞(𝑥) + 𝜆𝑤(𝑥)]𝑦 = 0
| =1 𝑑𝑥 𝑑𝑥
𝑑𝑥 𝑥′−𝜀
𝑑 2 𝑦 (𝑥 )
𝑑𝐺 𝑑𝐺 + 𝑦 = 𝑐𝑜𝑠𝑒𝑐𝑥
| − | =1 𝑑𝑥 2
𝑑𝑥 𝑥>𝑥′ 𝑑𝑥 𝑥<𝑥′
𝑆𝑜 𝑝=1]
sin2 𝑥 ′
⇒ 𝐴[ + 𝑐𝑜𝑠𝑥 ′ ] = −1
𝑐𝑜𝑠𝑥 ′
⇒ [sin2 𝑥 ′ + cos2 𝑥 ′ ] = −𝑐𝑜𝑠𝑥′
⇒ 𝐴 = −𝑐𝑜𝑠𝑥′
∴ 0 = −𝑐𝑜𝑠𝑥 ′ . 𝑡𝑎𝑛𝑥 ′ = −𝑠𝑖𝑛𝑥′
Hence the required Green’s function is,
−𝑐𝑜𝑠𝑥′𝑠𝑖𝑛𝑥 0 ≤ 𝑥 ≤ 𝑥′
𝐺 (𝑥, 𝜉 ) = { 𝜋
−𝑠𝑖𝑛𝑥′𝑐𝑜𝑠𝑥 𝑥′ < 𝑥 ≤
2
Then, the general solution of given equation is,
𝜋
2
𝑦(𝑥) = ∫ 𝐺 (𝑥, 𝑥 ′ )𝑓(𝑥 ′ )𝑑𝑥′
0
𝑥=𝑥′ 𝜋/2
𝑦 (𝑥 ) = ∫ 𝐺 (𝑥, 𝑥 ′ )𝑐𝑜𝑠𝑒𝑐𝑥′𝑑𝑥′ + ∫ 𝐺 (𝑥, 𝑥 ′ )𝑐𝑜𝑠𝑒𝑐𝑥′𝑑𝑥′
0 𝑥=𝑥′
𝑥=𝑥′ 𝜋/2
= ∫ −𝑠𝑖𝑛𝑥 ′ 𝑐𝑜𝑠𝑥𝑐𝑜𝑠𝑒𝑐𝑥′𝑑𝑥′ + ∫ 𝑐𝑜𝑠𝑥 ′ 𝑠𝑖𝑛𝑥 𝑐𝑜𝑠𝑒𝑐𝑥′𝑑𝑥′
0 𝑥=𝑥′
𝑥=𝑥 ′ 𝜋/2
= −∫ 𝑐𝑜𝑠𝑥 𝑑𝑥 ′ − ∫ 𝑠𝑖𝑛𝑥. 𝑐𝑜𝑡𝑥′𝑑𝑥′
0 𝑥=𝑥′
′ 𝜋/2
= −𝑐𝑜𝑠𝑥[𝑥 ′ ]0𝑥=𝑥 − 𝑠𝑖𝑛𝑥 [𝑙𝑛𝑠𝑖𝑛𝑥′]𝑥=𝑥′ [ ∴ ∫ 𝑐𝑜𝑡𝑥 = 𝑙𝑛𝑠𝑖𝑛𝑥]
= −𝑥𝑐𝑜𝑠𝑥 − 𝑠𝑖𝑛𝑥 [ 𝑙𝑛𝑠𝑖𝑛(𝜋/2) − 𝑙𝑛𝑠𝑖𝑛𝑥 ]
𝑠𝑖𝑛(𝜋/2)
= 𝑥𝑐𝑜𝑠𝑥 − 𝑠𝑖𝑛𝑥 [ln ( )]
𝑠𝑖𝑛𝑥
1
= −𝑥𝑐𝑜𝑠𝑥 − 𝑠𝑖𝑛𝑥 ln ( )
𝑠𝑖𝑛𝑥
= 𝑥𝑐𝑜𝑠𝑥 − 𝑠𝑖𝑛𝑥 ln(𝑐𝑜𝑠𝑒𝑐𝑥 )
∴ 𝑦(𝑥) = −𝑥𝑐𝑜𝑠𝑥 + 𝑠𝑖𝑛𝑥 ln 𝑠𝑖𝑛𝑥
Which is required solution.
Tutorial Question
1) Calculate the green’s function for 𝒚"(𝒙) = −𝒇(𝒙) with the following initial conditions
Solution: Here
Given:
−𝐺"(𝑥, 𝜉) = 0 ⇒ 𝐺(𝑥, 𝜉) = 0
𝐴𝑥 + 𝐵 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = } − − − − − (3)
𝐶𝑥 + 𝐷 𝜉 < 𝑥 ≤ 1
𝐺(𝑥, 0) = 𝐴. 0 + 𝐵 = 0
⇒𝐵=0
And 𝑦 ′ (1) = 0
𝐺( 1 , 𝜉) = 0
⇒𝐶=0
Hence,
𝐴𝑥 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = } − − − −(4)
𝐷 𝜉<𝑥≤1
𝐴𝜉 = 𝐷 − − − −(5)
1
and Since differential equation is 2nd ordered, the 1st derivative of G has discontinuity equal to 𝑝(𝑥) = −1
𝑜𝑟, 0 − 𝐴 = −1 ⇒ 𝐴 = 1 − − − −(6)
1. 𝜉 = 𝐷 ⇒ 𝐷 = 𝜉 − − − −(7)
𝑥 0≤𝑥≤𝜉
𝐺(𝑥, 𝜉) =
𝜉 𝜉<𝑥≤1
a) 𝒇(𝒙) = 𝒙𝟐
𝑥=𝜉 1
𝑦(𝑥) = ∫ 𝐺(𝑥, 𝜉) 𝑓(𝜉)𝑑𝜉 + ∫ 𝐺(𝑥, 𝜉) 𝑓(𝜉)𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
=∫ 𝜉. 𝜉 2 𝑑𝜉 + ∫ 𝑥. 𝜉 2 𝑓(𝜉)𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
𝜉4 𝜉3
= | + 𝑥. |
4 0 4 𝑥=𝜉
𝑥4 𝑥 𝑥3 4𝑥 − 𝑥 4
= + − .𝑥 =
4 3 3 12
Solution,
𝑥=𝜉 1
𝑦(𝑥) = ∫ 𝐺(𝑥, 𝜉) 𝑐𝑜𝑠𝜉. 𝑑𝜉 + ∫ 𝐺(𝑥, 𝜉) 𝑐𝑜𝑠𝜉𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
=∫ 𝐺(𝑥, 𝜉) 𝑐𝑜𝑠𝜋𝜉. 𝑑𝜉 + ∫ 𝐺(𝑥, 𝜉) 𝑐𝑜𝑠𝜋𝜋𝜉𝑑𝜉
⏟0 ⏟𝑥=𝜉
𝜉<𝑥 𝜉>𝑥
𝑥=𝜉 1
=∫ 𝜉. 𝑐𝑜𝑠𝜋𝜉. 𝑑𝜉 + ∫ 𝑥. 𝑐𝑜𝑠𝜋𝜋𝜉𝑑𝜉
0 𝑥=𝜉
1
∴ 𝑦 (𝑥) = ( −1 + 𝑐𝑜𝑠𝜋𝑥)
𝜋2
2. 𝒚′ (𝟎) = 𝒚(𝟏) = 𝟎
−𝐺"(𝑥, 𝜉) = 0 ⇒ 𝐺"(𝑥, 𝜉) = 0
𝐴𝑥 + 𝐵 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = } − − − − − (3)
𝐶𝑥 + 𝐷 𝜉 < 𝑥 ≤ 1
𝐺′(0, 𝜉) = 0
⇒𝐴+0=0
⇒𝐴=0
And 𝐺(1, 𝜉) = 0
⇒ 𝐶 . 1 + 𝐷 ⇒ 𝐶 = −𝐷
𝐵 0≤𝑥≤𝜉
∴ 𝐺(𝑥, 𝜉) = } − − − −(4)
𝐷(1 − 𝑥) 𝜉 < 𝑥 ≤ 1
𝑜𝑟, 𝐷( 1 − 𝜉) = 𝐵 − − − − − (5)
1 1
𝐺′2 (𝑥, 𝜉)|𝑥=𝜉+ − 𝐺 ′1 (𝑥, 𝜉)|𝑥=𝜉− = =
𝑝(𝑥) −1
= −𝐷 − 0 = −1
⇒𝐷=1
1(1−𝜉) =𝐵
⇒𝐵 =1− 𝜉
1−𝜉 0≤𝑥≤𝜉
𝐺(𝑥, 𝜉) = } − − − −(6)
1−𝑥 𝜉<𝑥≤1
𝑥=𝜉 1
𝑦(𝑥) = ∫ (1 − 𝑥) 𝜉 2 𝑑𝜉 + ∫ (1 − 𝑥) 𝜉 2 𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉 1
𝜉3 𝜉3 𝜉4
= (1 − 𝑥) [ ] +[ − ]
3 0 3 3 𝑥=𝜉
𝑥3 1 1 𝑥3 𝑥4
= (1 − 𝑥) + − − +
3 3 4 3 4
𝑥3 𝑥4 1 1 𝑥3 𝑥4
= − + − − +
3 3 3 4 3 4
1 𝑥4 1 − 𝑥4
= + =
12 12 12
1 − 𝑥4
∴ 𝑦(𝑥) =
12
b) 𝒇(𝒙) = 𝒄𝒐𝒔𝝅𝒙
Hence,
𝑥=𝜉 1
𝑦(𝑥) = ∫ (1 − 𝑥) 𝑐𝑜𝑠𝜉. 𝑑𝜉 + ∫ (1 − 𝜉) 𝑐𝑜𝑠𝜋𝜉𝑑𝜉
0 𝑥=𝜉
1
1−𝑥 𝑠𝑖𝑛𝜋𝜉 1
= . 𝑠𝑖𝑛𝜋𝑥 + 0 − (1 − 𝑥) + [ 𝑐𝑜𝑠𝜋𝜉]
𝜋 𝜋 𝜋 𝑥=𝜉
1
∴ 𝑦 (𝑥) = [𝑐𝑜𝑠𝜋𝜉 + 1]
𝜋2
Which is req. Solution.
3) Calculate the G.F for 𝒚”(𝒕) + 𝒚(𝒕) = 𝒇(𝒕) subjected to initial conditions 𝒚(𝟎) = 𝒚′ (𝟎) = 𝟎
Solution
Here,
−𝐺"(𝑥, 𝜉) = 0 ⇒ 𝐺"(𝑥, 𝜉) = 0
𝐴𝑠𝑖𝑛√𝑘𝑡 + 𝐵𝑐𝑜𝑠√𝑘𝑡 0 ≤ 𝑡 ≤ 𝑡0
𝐺(𝑡, 𝑡0 ) = } − − − − − (3)
𝐶𝑠𝑖𝑛√𝑘𝑡 + 𝐷𝑐𝑜𝑠√𝑘𝑡 𝑡0 < 𝑡 ≤ 1
1) 𝐺(0, 𝑡0 ) = 0
𝐴𝑠𝑖𝑛√𝑘. 0 + 𝐵𝑐𝑜𝑠√𝑘. 0 = 0
⇒𝐵=0
√𝑘𝐴 𝑐𝑜𝑠√𝑘. 0 = 0
⇒𝐴=0
∴ 𝐺 ′ (0, 𝑡0 ) = 0
0 0 ≤ 𝑡 ≤ 𝑡0
𝐺(𝑡, 𝑡0 ) = } − − − −(4)
𝐶𝑠𝑖𝑛√𝑘𝑡 + 𝐷𝑐𝑜𝑠√𝑘𝑡 𝑡0 < 𝑡 ≤ 1
⇒ 𝐶𝑠𝑖𝑛√𝑘𝑡0 + 𝐷𝑐𝑜𝑠√𝑘𝑡0 = 0
⇒ 𝐷 = −𝐶𝑡𝑎𝑛√𝑘𝑡0 -----(5)
1
𝐺′2 (𝑡, 𝑡0 )|𝑡=𝑡0 +𝜀 − 𝐺 ′1 (𝑡, 𝑡0 )|𝑡=𝑡0 −𝜀 = =1
𝑝(𝑥)
𝑠𝑖𝑛√𝑘𝑡0
𝐶√𝑘𝑐𝑜𝑠√𝑘𝑡0 + 𝐶√𝑘 𝑠𝑖𝑛√𝑘𝑡0 = 1
𝑐𝑜𝑠√𝑘𝑡0
𝐶√𝑘
=1
𝑐𝑜𝑠√𝑘𝑡0
𝐶√𝑘 = 𝑐𝑜𝑠√𝑘𝑡0
𝑐𝑜𝑠√𝑘𝑡0
𝐶= − − − (7)
√𝑘
−𝑠𝑖𝑛√𝑘𝑡0
∴ 𝐷= − − − (8)
√𝑘
Hence Substituting Eqn (7) and Eqn (8) in Eqn (4) , We get
0
𝐺(𝑡, 𝑡0 ) = {𝑠𝑖𝑛√𝑘𝑡𝑐𝑜𝑠√𝑘𝑡0 −𝑐𝑜𝑠√𝑘𝑡𝑠𝑖𝑛√𝑘𝑡0
+
√𝑘 √𝑘
0 0 ≤ 𝑡 ≤ 𝑡0
∴ 𝐺(𝑡, 𝑡0 ) = {𝑠𝑖𝑛√𝑘(𝑡 − 𝑡0 )
𝑡0 < 𝑡 ≤ 1
√𝑘
Putting,
𝑡 − 𝑡0 = 𝑢
⇒ 𝑑𝑡0 = −𝑑𝑢
When 𝑡0 = 0, 𝑢 = 𝑡
When 𝑡0 = 𝑡 , 𝑢 = 0
0
1
𝑦= ∫ 𝑠𝑖𝑛√𝑘 𝑒 −(𝑡−𝑢) (−𝑑𝑢)
√𝑘 𝑡
0
1 −𝑡
𝑒4 1
= 𝑒 [ [𝑠𝑖𝑛√𝑘𝑡 − √𝑘𝑐𝑜𝑠√𝑘𝑡 ] − ( 0 − √𝑘) ]
√𝑘 𝑘+1 𝑘+1 𝑡
𝑒 𝑡 𝑒 −𝑡
∴𝑦 = [𝑠𝑖𝑛√𝑘𝑡 − √𝑘𝑐𝑜𝑠√𝑘𝑡] + √𝑘
√𝑘(𝑘 + 1)
1
= [𝑠𝑖𝑛√𝑘𝑡 − √𝑘𝑐𝑜𝑠√𝑘𝑡]
√𝑘(𝑘 + 1)
4) Find the green’s function for 𝒚"(𝒙) − 𝑨𝟐 𝒚(𝒙) = −𝒇(𝒙) subjected to initial conditions
𝒚(𝟎) = 𝒚′ (𝟏) = 𝟎
Solution:
Here 𝑝0 (𝑥) = −1
𝑑 𝑑𝑦
[ On comparing Eqn(1) with 𝑑𝑥 [𝑝(𝑥) 𝑑𝑥 ] + [𝑞(𝑥) + 𝜆2 𝑤(𝑥)]
Let 𝐺(𝑥, 𝜉) be the green function then it satisfies the given differential equation so we have
𝐵𝑒 𝐴𝑥 + 𝐶𝑒 −𝐴𝑥 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = } − − − − − (4)
𝐷𝑒 𝐴𝑥 + 𝐸𝑒 −𝐴𝑥 𝜉 < 𝑥 ≤ 1
i) 𝐺(0, 𝜉) = 0
⇒ 𝐵 + 𝐶 = 0 ⇒ 𝐵 = −𝐶
ii) 𝐺′(1, 𝜉) = 0
⇒ 𝐴𝐷𝑒 𝐴 − 𝐸𝐴𝑒 −𝐴 = 0
⇒ 𝐷 = −𝑒 −2𝐴 𝐸
2𝐵𝑠𝑖𝑛ℎ𝐴𝑥 0≤𝑥≤𝜉
∴ 𝐺(𝑥, 𝜉) = { −𝐴
2𝐸𝑒 𝑐𝑜𝑠ℎ𝐴(1 − 𝑥) 𝜉 < 𝑥 ≤ 1
𝑒 𝐴 𝐵 𝑠𝑖𝑛ℎ𝐴𝜉
∴ 𝐸= − − − − − (5)
𝑐𝑜𝑠ℎ𝐴(1 − 𝜉)
1
𝐺′2 (𝑥, 𝜉)|𝑥=𝜉+ − 𝐺 ′1 (𝑥, 𝜉)|𝑥=𝜉− = |
𝑝(𝑥) 𝑥=𝜉
2𝐴𝐵𝑠𝑖𝑛ℎ𝐴
𝑜𝑟, =1
𝑐𝑜𝑠ℎ𝐴(1 − 𝜉)
𝑐𝑜𝑠ℎ𝐴(1 − 𝜉)
∴𝐵= − − − −(7)
2𝐴𝑠𝑖𝑛ℎ𝐴
𝑒 𝐴 𝑠𝑖𝑛ℎ𝐴𝜉 𝑐𝑜𝑠ℎ𝐴(1 − 𝜉)
𝐸=
𝑐𝑜𝑠ℎ𝐴(1 − 𝜉) 2𝐴𝑠𝑖𝑛ℎ𝐴
𝑒 𝐴 𝑠𝑖𝑛ℎ𝐴𝜉
∴ 𝐸=
2𝐴𝑠𝑖𝑛ℎ𝐴
𝑠𝑖𝑛ℎ𝐴𝑥𝑐𝑜𝑠ℎ𝐴(1 − 𝜉)
𝐺(𝑥, ) = 0≤𝑥<𝜉
𝐴𝑐𝑜𝑠ℎ𝐴
𝑠𝑖𝑛ℎ𝐴𝜉𝑐𝑜𝑠ℎ𝐴(1 − 𝑥)
= 𝜉≤𝑥<1
𝐴𝑐𝑜𝑠ℎ𝐴
Solution:
1
Here 𝑦”(𝑥) + 4
𝑦(𝑥) = 𝑥 − − − − − −(𝑖)
1
𝐺”(𝑥, 𝑡) + 𝐺(𝑥, 𝑡) = 𝛿(𝑥 − 𝑡) − − − −(2)
4
𝑥 𝑥
𝐴𝑠𝑖𝑛 + 𝐵𝑐𝑜𝑠 0≤𝑥<𝑡
𝐺(𝑥, 𝑡) = 2 2 } − − − −(3)
𝑥 𝑥
𝐶𝑠𝑖𝑛 + 𝐷𝑐𝑜𝑠 𝑡<𝑥≤1
2 2
Now, Using Boundary condition
1) 𝐺(0, 𝑡) = 0 ⇒ 𝐵 = 0
2) 𝐺(1, 𝑡) = 0
𝐶 1 𝐷 1
𝑠𝑖𝑛 + 𝑐𝑜𝑠 = 0
2 2 2 2
𝐷𝑠𝑖𝑛1/2
𝐶=
𝑐𝑜𝑠1/2
𝑥
𝐴𝑠𝑖𝑛 0≤𝑥<𝑡
2
𝐺(𝑥, 𝑡) = 𝐷𝑠𝑖𝑛1/2 𝑐𝑜𝑠𝑥/2 𝑥
+ 𝐷𝑐𝑜𝑠 𝑡<𝑥≤1
𝑐𝑜𝑠1/2 2
𝐴𝑠𝑖𝑛𝑥/2 0≤𝑥<𝑡
{𝐷𝑐𝑜𝑠 (1 − 𝑥 ) 𝑠𝑒𝑐1 − − − − − − − −(4)
2 𝑡<𝑥≤1
2
t 1t 1
A sin D cos sec
2 2 2
1t
D cos
2
A ------------(6)
t 1
sin cos
2 2
1
𝐺′2 (𝑥, 𝑡)|𝑥=𝑡 = 𝐺′1 (𝑥, 𝑡)|𝑥=𝑡 = =1
𝑝(𝑥)
1−t
𝐷 sin ( 2 ) 𝐴 𝑥
| − cos ( )| =1
2 cos (1) 2 2 𝑥=𝑡
2 𝑥=𝑡
1−t
𝐷 sin ( 2 ) 𝐴 𝑡
− cos = 1 − − − − − (6)
2 cos 1 2 2
2
1
D sec 2 t 1t t 1 t
Or, sin .sin cos cos 1
2 sin t 2 2 2 2
2
1
D sec 2 t 1 t
cos 1
2 sin t 2 2
2
D 2 sin t
2
1t
cos
2
A
2 cos 1
2
1t
cos
2 .sin x 0 x<t
2 cos 1 2
G(x, t) 2
1x
cos
2 .2 sin t t<x 1
2 cos 1 2
2
𝟏
b. – 𝒚”(𝒙) − 𝟒 𝒚(𝒙) = 𝒇(𝒙) with Boundary condition 𝒚(𝟎) = 𝒚(𝝅) = 𝟎
Solution.
Here
1
𝑦”(𝑥) + 𝑦(𝑥) = −𝑓(𝑥) − − − − − −(1)
4
And
1
– 𝑦”(𝑥) − 𝑦(𝑥) = 𝑓(𝑥)
4
So, 𝑝(𝑥) = 1
Let 𝐺(𝑥, 𝜉) be the green’s function, then it must satisfies the given green’s function with source 𝛿(𝑥, 𝜉)
1
𝐺"(𝑥, 𝜉) + 𝐺(𝑥, 𝜉) = 𝛿(𝑥 − 𝜉) − − − − − −(2)
4
𝑥 𝑥
𝐴𝑠𝑖𝑛 ( ) + 𝐵𝑐𝑜𝑠 ( ) 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = 2 2 } − − − − − (3)
𝑥 𝑥
𝐶𝑠𝑖𝑛 ( ) + 𝐷𝑐𝑜𝑠 ( ) 𝜉 < 𝑥 ≤ 𝜋
2 2
i) 𝐺(0, 𝜉) = 0
⇒𝐵=0
ii) 𝐺′(1, 𝜉) = 0
𝜋 𝜋
⇒ 𝐶𝑠𝑖𝑛 ( ) + 𝐷𝑐𝑜𝑠 ( ) = 0
2 2
⇒𝐶=0
𝑥
𝐴𝑠𝑖𝑛 ( ) 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = 2 } − − − − − (4)
𝑥
𝐷𝑐𝑜𝑠 ( ) 𝜉 < 𝑥 ≤ 𝜋
2
𝜉 𝜉
𝐷𝑐𝑜𝑠 = 𝐴𝑠𝑖𝑛
2 2
sin(𝜉/2)
∴𝐷=𝐴 = tan(𝜉/2) − − − − − −(5)
cos(𝜉/2)
1
𝐺′2 (𝑥, 𝜉)|𝑥=𝜉− − 𝐺 ′1 (𝑥, 𝜉)|𝑥=𝜉− = = −1
𝑝(𝑥)
𝐷 𝐴
− sin(𝜉/2) − cos(𝜉/2) = −1
2 2
2 cos(𝜉/2) sin(𝑥/2) 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) =
2sin(𝜉/2) cos(𝜉/2) 𝜉 < 𝑥 ≤ 1
𝒚′ (𝟎) = 𝒚′ (𝟏) = 𝟎
Solution:
𝑝(𝑥) = 1
Let 𝐺(𝑥, 𝜉) be the green function then it satisfies the given differential equation so we have
𝐴𝑠𝑖𝑛𝑥 + 𝐵𝑐𝑜𝑠𝑥 0 ≤ 𝑥 ≤ 𝜉
𝐺(𝑥, 𝜉) = } − − − − − (3)
𝐶𝑠𝑖𝑛𝑥 + 𝐷𝑐𝑜𝑠𝑥 𝜉 < 𝑥 ≤ 1
⇒𝐴=0
⇒ 𝐶 = 𝐷𝑡𝑎𝑛1
So Eqn (2) will becomes
𝐵𝑐𝑜𝑠𝑥 0≤𝑥≤𝜉
𝐺(𝑥, 𝜉) =
𝐷[𝑡𝑎𝑛1 𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥] 𝜉 < 𝑥 ≤ 1
𝐵𝑐𝑜𝑠𝑥 0≤𝑥≤𝜉
𝐺(𝑥, 𝜉) = } − − − − − (4)
𝐷𝑠𝑒𝑐1cos(1 − 𝑥) 𝜉 < 𝑥 ≤ 1
Now,
𝐷𝑠𝑒𝑐1𝑐𝑜𝑠(1 − 𝜉)
⇒ 𝐵=
𝑐𝑜𝑠𝜉
1
𝐺′2 (𝑥, 𝜉)|𝑥=𝜉+ − 𝐺 ′1 (𝑥, 𝜉)|𝑥=𝜉− = =1
𝑝(𝑥)
𝐷𝑠𝑒𝑐1𝑐𝑜𝑠(1 − 𝜉)
𝐷𝑠𝑒𝑐1𝑠𝑖𝑛(1 − 𝜉) + 𝐷𝑠𝑒𝑐1 𝑠𝑖𝑛 𝜉 = 1
𝑐𝑜𝑠𝜉
𝐷𝑠𝑒𝑐1
[𝑠𝑖𝑛(1 − 𝜉)𝑐𝑜𝑠𝜉 + 𝑐𝑜𝑠(1 − 𝜉) 𝑠𝑖𝑛 𝜉] = 1
𝑐𝑜𝑠𝜉
⇒ 𝐷 = 𝑐𝑜𝑡1. 𝑐𝑜𝑠𝜉
And
𝑐𝑜𝑠(1 − 𝜉)
𝐵 = 𝑠𝑒𝑐1 . 𝑐𝑜𝑡1. 𝑐𝑜𝑠𝜉
𝑐𝑜𝑠𝜉
𝐵 = 𝑐𝑜𝑠𝑒𝑐1 . 𝑐𝑜𝑠(1 − 𝜉)
𝑥=𝜉 1
𝑦(𝑥) = ∫ 𝑐𝑜𝑠𝑒𝑐1. cos(1 − 𝑥) . 𝑐𝑜𝑠𝜉 𝜉 2 . 𝑑𝜉 + ∫ 𝑐𝑜𝑠𝑒𝑐1. cos(1 − 𝜉) . 𝑐𝑜𝑠𝑥 𝜉 2 𝑑𝜉
0 𝑥=𝜉
𝑥=𝜉
𝑐𝑜𝑠𝑥 1
= 𝑐𝑜𝑠𝑒𝑐1. cos(1 − 𝑥) ∫ 𝑐𝑜𝑠𝜉 𝜉 2 . 𝑑𝜉 + ∫ cos(1 − 𝜉) 𝜉 2 𝑑𝜉
0 𝑠𝑖𝑛1 𝑥=𝜉
Considering,
𝑥=𝜉
∫ 𝑐𝑜𝑠𝜉 𝜉 2 . 𝑑𝜉
0
𝑥
= 𝑠𝑖𝑛𝜉 𝜉 2 |0𝑥 − 2 ∫ 𝜉𝑠𝑖𝑛𝜉𝑑𝜉
0
𝑥
= 𝑥 2 𝑠𝑖𝑛𝑥 − 2 [(−𝜉𝑐𝑜𝑠𝜉)0𝑥 + ∫ 𝑐𝑜𝑠𝜉𝑑𝜉 ]
0
Again,
1 1
∫ cos(1 − 𝜉) 𝜉 2 𝑑𝜉 = [−𝜉 2 sin(1 − 𝜉) ]1𝑥 + 2 ∫ 𝜉 sin(1 − 𝜉) 𝑑𝜉
𝑥=𝜉 𝑥=𝜉
1
= +𝑥 2 sin(1 − 𝑥) + [𝜉 cos(1 − 𝜉) ]1𝑥=𝜉 − ∫ cos(1 − 𝜉) 𝑑𝜉
𝑥=𝜉
= +𝑥 2 sin(1 − 𝑥) + 2[1 − 𝑥𝑐𝑜𝑠(1 − 𝑥) − sin(1 − 𝑥)]
cos(1 − 𝑥) 2
𝑦(𝑥) = [𝑥 𝑠𝑖𝑛𝑥 + 2𝑥𝑐𝑜𝑠𝑥 − 2𝑠𝑖𝑛𝑥]
𝑠𝑖𝑛1
𝑐𝑜𝑠𝑥 2
+ [𝑥 sin(1 − 𝑥) + 2 − 2𝑥𝑐𝑜𝑠(1 − 𝑥) − 2 sin(1 − 𝑥) ]
𝑠𝑖𝑛1
1
= [𝑥 2 𝑠𝑖𝑛𝑥 𝑐𝑜𝑠(1 − 𝑥) − 2𝑠𝑖𝑛𝑥 cos(1 − 𝑥) + 𝑥 2 sin(1 − x) cosx + 2cosx − 2cosx sin(1 − x)]
𝑠𝑖𝑛1
1
= [x 2 {𝑠𝑖𝑛𝑥 𝑐𝑜𝑠(1 − 𝑥) + 𝑐𝑜𝑠𝑥𝑠𝑖𝑛(1 − 𝑥)} − 2{cosx sin(1 − x) + 𝑠𝑖𝑛𝑥 cos(1 − 𝑥) + 2𝑐𝑜𝑠𝑥}]
𝑠𝑖𝑛1
1
= [x 2 sin(𝑥 + 1 − 𝑥) − 2sin(1 − 𝑥 + 𝑥)] + 2𝑐𝑜𝑠𝑥
𝑠𝑖𝑛1
𝑥 2 − 2𝑠𝑖𝑛1 + 2𝑐𝑜𝑠𝑥
=
𝑠𝑖𝑛1
(𝑥 2 −2)𝑠𝑖𝑛1+2𝑐𝑜𝑠𝑥
Hence required general solution is , 𝑦(𝑥) =
𝑠𝑖𝑛1
7) Find the green function and solve 𝒖𝒕 (𝒙, 𝒕) = 𝑫𝒖𝒙𝒙 (𝒙, 𝒕) + 𝒆−𝒙 𝒔𝒊𝒏𝒕
Solution
u x , t 2u x, t
D e x sin t ----(1)
x x 2
Let 𝐺(𝑥, 𝑥0 , 𝑡, 𝑡0 ) be the green’s function for above differential equation then it satisfies Eqn (1) with
𝛿 − 𝑓𝑢𝑛𝑐𝑖𝑜𝑛 source as
2
G x , x0 , t , t0 D 2 G x , x0 , t , t0 x x0 t t0 -----(2)
x x
𝑒 𝑖𝑘𝑥0
=
√2𝜋
e ikx0
G k , t ik DG k , t t t0
2
x 2
e ikx0
G k , t ik DG k , t t t0 ------(3)
2
x 2
Now,
2 𝐷𝑡
Multiplying by integral by factor 𝑒 𝑘 on both sides we get,
2
d e k Dt e ikx0
g k , t e k Dt k 2 DG k , t x x0
2 2
e k Dt
dt 2
2
d k 2 Dt e k Dt e ikx0
e g k , t x x0
dt 2
t
1
e k Dt g k , t e k Dt t t0 e ikx0 dt
2 2
2 0
1 ikx0 k2 Dt
e e
2
0 𝑡 < 𝑡0
∴ 𝑔(𝑘, 𝑡) = { 1 𝑖𝑘𝑥0 −𝑘2 𝐷(𝑡−𝑡0 ) − − − − − −(4)
𝑒 .𝑒 𝑡 > 𝑡0
√2𝜋
Now,
Using Inverse transform of Eqn (4) we get,
1 1 ikx0 k 2 D t t0 ikx
G x , t , x0 t0 e e e dk
2 2
1 1 ik ( x x0 ) k D t t0 ikx
2
2 2
e e e dk
x x0 2
1
2 D t t0 ax2 bx b2 4 a
e e e
2 D t t0 a
(𝑥−𝑥0 )2
1 −
4𝐷(𝑡−𝑡0 )
𝑒 𝑡0 < 𝑡
𝐺(𝑥, 𝑥0 , 𝑡, 𝑡0 ) = √4𝜋𝐷(𝑡 − 𝑡0 )
0 𝑡0 > 𝑡
The solution is ,
U x, t G x , x , t , t f x , t dx dt
0 0 0 0 0 0
x0 t0 0
x x0 2
1
4 D t t0
t0 0 4 D t t0
e e x0 sin t0 dx0 dt0
x x0 2
1
4 D t t0 x x0
0 4 D t t0
e e e x sin t0 dx0 dt0
1
1
sin t0 4 D t t0
ex 4 D t t0 1
e dx0 dt0
0
t t0
t
D t t0
e x sin t0 e dx0 dt0
0
t
t
e Dt0
e e x Dt
e
Dt0
sin t0 dt0 e e 2 D sin t0 cos t0
x Dt
0 D 1 0
t
e Dt0
x Dt
e e 2 D sin t0 cos t0
D 1 0
e x eDt Dt
e D sin t cos t 1( 1)
D2 1
e x Dt Dt
U x , t e D sin t cos t 1
D2 1
Solution:
1
𝑢(𝑥, 0) =
1 + 𝑥2
Let 𝐺(𝑥, 𝑥0 , 𝑡, 𝑡0 ) be the green’s function of the above differential equation then it satisfies the above
equation as,
2
G x , x0 , t , t0 D 2 G x , x0 , t , t0
x x
2
G x , x0 , t , t0 D 2 G x , x0 , t , t0 0 ----(1)
x x
Let 𝐺(𝑘, 𝑡) be the fourier transform then taking fourier transform of Eqn (1) we get,
G k , t Dk 2 G k , t 0
x
𝜋
= √ 𝑒 −|𝑘|
2
𝜋 −|𝑘| −𝐷𝑘 2 𝑡
∴ 𝐺(𝑘, 𝑡) = √ 𝑒 𝑒
2
𝒅𝟐 𝒚
9) Use Green’s function method to solve 𝒅𝒙𝟐 + 𝒚 = 𝒇(𝒙) with boundary condition 𝒚(𝟎) = 𝒚′ (𝟎) = 𝟎
𝛿(𝑥)
∇2 𝜙(𝑥) = − − − −(1)
𝜀0
1
𝑔(𝑘, 𝑥 ′ ) = ∫ 𝐺(𝑥, 𝑥 ′ )𝑒 −𝑖𝑘𝑥 𝑑3 𝑥 − − − −(3)
(2𝜋)3/2
1
(𝑖𝑘)2 𝑔(𝑘, 𝑥 ′ ) = ∫ 𝛿(𝑥 − 𝑥 ′ )𝑒 −𝑖𝑘𝑥 𝑑3 𝑥
(2𝜋)3/2
1 𝑒 −𝑖𝑘𝑥
(𝑖𝑘)2 𝑔(𝑘, 𝑥 ′ ) = − − − − − − (4)
(2𝜋)3/2 𝑘 2
1 𝑒 𝑖𝑘𝑥 − 𝑒 −𝑖𝑘𝑥
𝐺(𝑥, 𝑥 ′ ) = − ∫ 𝑑 3
𝑘
(2𝜋)3 𝑘2
′)
1 3
𝑒 𝑖𝑘(𝑥−𝑥
=− ∫𝑑 𝑘
(2𝜋)3 𝑘2
𝑑3 𝑘 = 𝑘 2 𝑑𝑘 𝑠𝑖𝑛𝜃𝑑𝜙
2 ik x x '
1
Then, G x , x '
2
3
k dk d sin d e
2 k2
0 0 0
1 ik x x '
2
dk d sin 2 e
3
0 0
When 𝜃 = 0, 𝑦 = 1 ; 𝜃 = 𝜋 , 𝑦 = −1
And 𝑘(𝑥 − 𝑥 ′ ) = 𝑘 |𝑥 − 𝑥 ′ |𝑦
1
1
G x , x ' dk dy e
ik x x ' y
2
2
0 1
1
1
eik x x ' y
2
2 0 dk ik x x '
1
ik x x ' ik x x '
1 e e
2 0
dk.
2
ik x x '
1
2i sin k x x '
2
2 dk.
0
ik x x '
1 2
sin k x x '
2
2
x x' dk.
0
k
1 2
2 x x'
2
2
1
G x , x '
4 x x '
1 𝛿(𝑥)
= ∫ 𝑑3 𝑥 ′
4𝜋𝜀 |𝑥 − 𝑥 ′ |
𝑑 𝑑𝑦
[𝑝(𝑥) ] + 𝜆 𝑓(𝑥) 𝐺(𝑥, 𝑥 ′ ) = 𝛿(𝑥 − 𝑥 ′ ) − − − (1)
𝑑𝑥 𝑑𝑥
Integrating from 𝑥 ′ − 𝜖 to 𝑥 ′ + 𝜀
′ ′ ′
𝑑𝐺 𝑥 +𝜀 𝑥 +𝜀 𝑥 +𝜀
[𝑝(𝑥) ] +𝜆∫ 𝑓(𝑥)𝐺(𝑥, 𝑥 ′ )𝑑𝑥 = ∫ 𝛿(𝑥 − 𝑥 ′ )𝑑𝑥
𝑑𝑥 𝑥 ′ −𝜀 𝑥 ′ −𝜀 𝑥 ′ −𝜀
𝑑𝐺 𝑑𝐺
So, 𝑝(𝑥) | − 𝑝(𝑥) | =1
𝑑𝑥 𝑥 ′ +𝜀 𝑑𝑥 𝑥 ′ −𝜀
𝑑𝐺 𝑑𝐺 1
| − | = − − − −(2)
𝑑𝑥 𝑥 ′ +𝜀 𝑑𝑥 𝑥 ′ −𝜀 𝑝(𝑥)
Let 𝑢(𝑥) and 𝑣(𝑥) be two linearly independent solutions of Homogenous equaton
1
𝐵(𝑥 ′ )𝑣 ′ (𝑥 ′ ) − 𝐴(𝑥 ′ )𝑢′ (𝑥 ′ ) = − − − − − (4)
𝑝(𝑥 ′ )
𝑢(𝑥 ′ )
′
0 𝑢(𝑥 ) 𝑝(𝑥 ′ )
𝐵(𝑥 ′ ) = | | =
1/𝑝(𝑥 ′ ) 𝑢′(𝑥) 𝑣𝑢′ − 𝑢𝑣 ′
𝑢(𝑥 ′ )
𝐵(𝑥 ′ ) =
𝑝(𝑥 ′ )[𝑢𝑣 ′ − 𝑣𝑢′ ]
𝑢(𝑥 ′ )
∴ 𝐵(𝑥 ′ ) =
𝑝(𝑥 ′ )𝑤[𝑢, 𝑣]
Here 𝑤[𝑢, 𝑣] = 𝑢(𝑥 ′ )𝑣 ′ (𝑥 ′ ) − 𝑣(𝑥 ′ )𝑢′(𝑥 ′ ) is called wronskian
Similarly,
𝑣(𝑥 ′ ) 0)
| ′ ′ 1 |
𝑣 (𝑥 ) ′)
𝑝(𝑥
𝐴(𝑥 ′ ) =
𝑣(𝑥 ′ )𝑢′ (𝑥 ′ ) − 𝑢(𝑥 ′ )𝑣 ′ (𝑥 ′ )
𝑣(𝑥 ′ )
=
𝑝(𝑥 ′ )[𝑢′ (𝑥 ′ )𝑣(𝑥 ′ ) − 𝑣 ′ (𝑥 ′ )𝑢(𝑥 ′ )]
𝑣(𝑥 ′ )
𝐴(𝑥 ′ ) =
𝑝(𝑥 ′ )𝑤[𝑢, 𝑣]
Where
∞
Where 𝜙𝑛 (𝑟) is basis function with respect to the basis function (2) will be of the form for 𝑟1 ≠ 𝑟2
Now,
∞ ∞ ∞
∞ ∞