Module

for

Hyperbolic P.D.E.'s

 

Background for Hyperbolic Equations

Wave Equation

    
As an example of a
hyperbolic partial differential equation, we consider the wave equation  

        
[Graphics:Images/FiniteDifferencePDEMod_gr_1.gif]   
        
for    0 < x < a   and   0 < t < b,  with the boundary conditions  

        

[Graphics:Images/FiniteDifferencePDEMod_gr_2.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_3.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_4.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_5.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_6.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_7.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_8.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_9.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_10.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_11.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_12.gif]

[Graphics:Images/FiniteDifferencePDEMod_gr_13.gif]



The wave equation models the displacement u of a vibrating elastic string with fixed ends at  
x=0  and  x=a.  Although analytic solutions to the wave equation can be obtained with Fourier series, we use the problem as a prototype of a hyperbolic
equation.

Proof  Finite Difference Method for PDE's  Finite Difference Method for PDE's  

 

Computer Programs  Finite Difference Method for PDE's  Finite Difference Method for PDE's  

Program (Finite-Difference Solution for the Wave Equation)  To approximate the solution of the wave equation  [Graphics:Images/FiniteDifferencePDEMod_gr_14.gif]  over the rectangle  [Graphics:Images/FiniteDifferencePDEMod_gr_15.gif]  with  [Graphics:Images/FiniteDifferencePDEMod_gr_16.gif],  for  [Graphics:Images/FiniteDifferencePDEMod_gr_17.gif],  and  [Graphics:Images/FiniteDifferencePDEMod_gr_18.gif],  for  [Graphics:Images/FiniteDifferencePDEMod_gr_19.gif].  

[Graphics:Images/FiniteDifferencePDEMod_gr_20.gif]
[Graphics:Images/FiniteDifferencePDEMod_gr_21.gif]

Example 1.  Consider the wave equation where  [Graphics:Images/FiniteDifferencePDEMod_gr_22.gif].  The string at rest has length  [Graphics:Images/FiniteDifferencePDEMod_gr_23.gif].  Assume that the initial position is

        [Graphics:Images/FiniteDifferencePDEMod_gr_24.gif].  

Use the finite difference method to solve the wave equation over the rectangle  [Graphics:Images/FiniteDifferencePDEMod_gr_25.gif].  Compare the solution with the exact solution:  

        [Graphics:Images/FiniteDifferencePDEMod_gr_26.gif].  

Solution 1.

 

Example 2.  Consider the wave equation where  [Graphics:Images/FiniteDifferencePDEMod_gr_51.gif].  The string at rest has length  [Graphics:Images/FiniteDifferencePDEMod_gr_52.gif].  Assume that the initial position

        [Graphics:Images/FiniteDifferencePDEMod_gr_53.gif]  

Use the finite difference method to solve the wave equation over the rectangle  [Graphics:Images/FiniteDifferencePDEMod_gr_54.gif].  
Solution 2.

 

Example 3.  Consider the wave equation where  [Graphics:Images/FiniteDifferencePDEMod_gr_78.gif].  The string at rest has length  [Graphics:Images/FiniteDifferencePDEMod_gr_79.gif].  Assume that the initial position

        [Graphics:Images/FiniteDifferencePDEMod_gr_80.gif]  

Use the finite difference method to solve the wave equation over the rectangle  [Graphics:Images/FiniteDifferencePDEMod_gr_81.gif].  
Solution 3.

 

Research Experience for Undergraduates

Finite Difference Method for PDE's  Finite Difference Method for PDE's  Internet hyperlinks to web sites and a bibliography of articles.  

 

Download this Mathematica Notebook Hyperbolic P.D.E's

 

Return to Numerical Methods - Numerical Analysis

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004