PadhaikoAll subjects

Classification & One-Dimensional Wave Equation

Engineering Mathematics III (ENSH 201)

Open in the Padhaiko app

4.1 Introduction & Classification of Second-Order PDEs

A partial differential equation (PDE) is an equation involving the partial derivatives of a dependent variable with respect to two or more independent variables. The coefficients in the equation may be functions of the independent variables or constants. Typically, denotes the dependent variable and (or ) are the independent variables, although a PDE may involve more than two independent variables. The order of a PDE is the order of the highest partial derivative appearing in the equation.

While ordinary differential equations (ODEs) suffice to model simple systems with a single independent variable, complex physical and engineering phenomena—such as fluid dynamics, avalanche modelling, heat transfer, boundary-layer flow, elasticity, quantum mechanics, and electromagnetic theory—require PDEs. Although special classes of PDEs admit closed-form analytical solutions (such as by separation of variables or Fourier series), many engineering PDEs require numerical techniques such as the finite difference method.

Definition

Second-Order Linear PDE in Two Independent Variables

The general form of a second-order linear partial differential equation in a two-dimensional domain with independent variables and is

where , and are functions of and or constants.

Definition

Classification of Second-Order Linear PDEs by Discriminant

The second-order linear PDE

is classified according to the sign of its discriminant :

  1. Elliptic if ,
  2. Parabolic if ,
  3. Hyperbolic if .

Classification of Standard Engineering PDEs

  1. One-Dimensional Wave Equation:

where , with representing the tension in the string and the linear mass density of the string. Comparing with equation (1), we have , , and . The discriminant is

Thus, the one-dimensional wave equation is hyperbolic.

  1. One-Dimensional Heat Equation:

where , with the thermal conductivity, the density, and the specific heat capacity. Comparing with equation (1), we have , , and . The discriminant is

Thus, the one-dimensional heat equation is parabolic.

  1. Two-Dimensional Laplace's Equation:

Comparing with equation (1), we have , , and . The discriminant is

Thus, Laplace's equation is elliptic.

  1. Two-Dimensional Poisson's Equation:

Comparing with equation (1), we have , , and . The discriminant is

Thus, Poisson's equation is elliptic.

Summary of Standard Second-Order Linear PDEs
EquationStandard FormCoefficients Classification
1D WaveHyperbolic
1D HeatParabolic
2D LaplaceElliptic
2D PoissonElliptic

Method of Separation of Variables

The method of separation of variables (also called Fourier's product method) is a fundamental technique for solving linear homogeneous partial differential equations. We assume that the solution (or ) can be written as a product of single-variable functions,

where each factor depends on only one independent variable. Substituting this product into the PDE and dividing through allows expressions in and expressions in (or ) to be collected on opposite sides of the equation. Because and are independent variables, both sides must equal a common separation constant , reducing the PDE to a pair of ordinary differential equations.

Worked Out Examples: Separation of Variables (1–4)

Example 1

1

Solve

Assuming a product solution and separating variables: Let the given partial differential equation be

Assume a solution of the form

where is a function of alone and is a function of alone. Substituting into (1):

Dividing by to separate the variables:

Since the left-hand side depends only on and the right-hand side depends only on , both sides must equal the same separation constant :

Solving the ODE for : Taking the first and last expressions in (2):

The auxiliary equation of this second-order ODE is

Hence, the general solution for is

Solving the ODE for and assembling : Taking the second and last expressions in (2):

Integrating both sides:

Combining :

where and .

Answer:
Example 2

2

Solve given that when , as well as at and .

Separating the variables: The given partial differential equation is

Assume a product solution . Substituting into (1):

Separating the variables and setting each ratio equal to a negative separation constant (since as and satisfies homogeneous boundary conditions at ):

Solving the ODEs for and : From the first and last terms of (2):

Its auxiliary equation is , so

From the second and last terms of (2):

Integrating both sides gives . Therefore,

Applying the boundary conditions at and : Using at in (3):

Since for a non-trivial solution, we get . Substituting into (3) gives

Using at in (4):

For a non-trivial solution (), we must have

Writing the general superposition solution: Substituting into (4) and setting :

By the principle of superposition, the most general solution is

Answer:
Example 3

3

Solve with .

Separating the variables: The given partial differential equation is

Assume a product solution . Substituting into (1):

Separating the variables and equating both sides to a constant :

Solving the ODEs for and : From the first and last ratios of (2):

From the second and last ratios of (2):

Integrating both sides:

Therefore, the product solution is

Applying the initial condition : Setting in (3):

Comparing coefficients and exponents on both sides gives

Substituting and into (3), the exponent of is , yielding

Answer:
Example 4

4

Solve given that when .

Separating the variables: The given partial differential equation is

Assume a product solution . Substituting into (1):

Separating the variables and setting each side equal to (since the boundary data at is , which is periodic in ):

Solving the ODEs for and : From the first and last ratios of (2):

Its auxiliary equation is , so

From the second and last ratios of (2):

Its auxiliary equation is , so

Hence, the general product solution is

Applying the conditions at : Using when in (3):

Equating like terms gives

Next, differentiating (3) partially with respect to :

Using when in (4):

Equating like terms with :

Assembling the complete solution: Expanding (3) and substituting , , , , and :

Answer:

4.2 One-Dimensional Wave Equation

To model the transverse vibrations of a stretched elastic string of length fixed at both ends, we make the following physical assumptions:

  1. The string is perfectly flexible and offers no resistance to bending.
  2. The tension in the string is large compared to the weight of the string, so gravitational forces can be neglected.
  3. Every particle of the string moves strictly vertically (along the -axis perpendicular to the equilibrium -axis), with no horizontal displacement.
  4. Both the vertical deflection and the slope at every point remain small in absolute value.
Theorem

Derivation of the One-Dimensional Wave Equation

The small transverse vibrations of a tightly stretched homogeneous elastic string of linear mass density under constant horizontal tension satisfy the one-dimensional wave equation:

Proof

Consider a tightly stretched elastic string of length fixed at its ends () and (). In its equilibrium position the string lies along the -axis, and during vibration each point undergoes a small vertical displacement along the -axis perpendicular to the -axis.

Let and be two neighbouring points on the string, let and be the tensions at and , and let the tangents to the string at and make angles and with the -axis, respectively.

  1. Horizontal Force Balance: Since the motion of the string is strictly vertical, there is no horizontal acceleration, so the horizontal components of the tensions at and must balance and equal a constant tension :
  1. Vertical Force Balance (Newton's Second Law): The net vertical restoring force acting on the element of mass (where is the mass per unit length) is . By Newton's second law ():
  1. Dividing by Constant Horizontal Tension : Using to divide the two terms on the left-hand side of (1):

Since the slope of the string at any point is , this becomes

  1. Taking the Limit as : Dividing through by and taking the limit as :

Multiplying by and setting (the square of the wave propagation speed) yields

Solutions of the One-Dimensional Wave Equation

Theorem

I. All Possible General Solutions of the 1D Wave Equation

By separation of variables , the one-dimensional wave equation

admits three families of product solutions depending on the separation constant :

  1. Case I ():
  1. Case II ():
  1. Case III ():

For a vibrating string with fixed ends, the motion must be periodic in and vanish at both endpoints and , so only Case I () is physically feasible.

Proof

Substituting into (1) gives

Multiplying and gives .

Multiplying and gives .

Multiplying and gives .

Theorem

II. Fourier Series Solution of the Vibrating String Problem

Consider the one-dimensional wave equation

subject to the fixed-end boundary conditions

and the initial conditions (initial deflection and initial velocity )

The complete solution is given by

where the Fourier sine coefficients and are

Proof

Starting from the periodic general solution (Case I):

  1. Boundary condition at : Setting in (3) gives . For a non-trivial solution, , so
  1. Boundary condition at : Setting in (4) gives . For a non-trivial solution,

Writing and and superposing over all yields equation (5).

  1. Initial deflection : Setting in (5):

which is the half-range Fourier sine series of on , giving

  1. Initial velocity : Differentiating (5) partially with respect to :

Setting in (7):

By the half-range sine series formula on ,

Worked Out Examples: Vibrating String (1–8)

Example 1

1

A tightly stretched string with fixed end points and is initially in a position given by . If it is released from rest from this position, find the displacement .

Formulating the boundary and initial value problem: The vibration of the string is governed by the one-dimensional wave equation

with boundary conditions and , and initial conditions

Applying the boundary conditions: Starting from the periodic solution

the condition gives , reducing (2) to

The condition gives (). By superposition,

where and .

Applying the zero initial velocity condition: Differentiating (4) partially with respect to :

Setting at gives for all . Thus (4) becomes

Matching the initial deflection using the triple-angle identity:

Setting in (5) and using :

Comparing like terms on both sides:

Substituting these coefficients into (5) gives

Answer:
Example 2

2

A tightly stretched string with fixed end points and is initially in a position given by . If it is released from rest from this position, find the displacement .

Setting up the wave equation and boundary conditions: The string satisfies the wave equation

with boundary conditions , and initial conditions

Applying and to the periodic product solution gives

Applying the initial velocity and initial displacement conditions: Since , we obtain for all , reducing (4) to

Setting in (5) and using :

Comparing coefficients of like sine terms gives

Substituting into (5) yields

Answer:
Example 3

3

A tightly flexible string has its ends fixed at and . At time , the string is given a shape defined by , where is a constant, and then released. Find the displacement of any point on the string at any time .

Formulating the problem and applying boundary and zero-velocity conditions: The string satisfies

with boundary conditions , and initial conditions , for .

Applying (), (), and () gives

Evaluating the Fourier sine coefficients : Setting in (5):

By the half-range Fourier sine formula on , and integrating by parts using Bernoulli's chain rule:

Writing the complete series solution: Substituting into (5):

Answer:
Example 4

4

The vibration of an elastic string is governed by the partial differential equation (). The length of the string is and the ends are fixed. The initial velocity is zero and the initial deflection is . Find the deflection of the vibrating string for .

Applying the boundary conditions on : Here and , with boundary conditions and , and initial conditions and for .

Starting from , the boundary condition gives , and gives (). Thus,

Applying the initial velocity and initial deflection: Differentiating (4) with respect to and applying gives , so

Setting in (5):

Comparing coefficients of like terms gives

Substituting into (5) yields

Answer:
Example 5

5

A tightly stretched string of length fixed at both end points and is initially at rest. The initial position is given by

If the string is suddenly released, find the deflection .

Applying the boundary and zero-velocity conditions: For the wave equation with , , and , separation of variables yields (as in the previous examples):

Computing the Fourier sine coefficients over the two half-intervals: Setting in (5) gives , where

Substituting into the series: Putting into (5):

Answer:
Example 6

6

Solve the one-dimensional wave equation corresponding to the initial deflection

initial velocity , and boundary conditions , .

Applying the boundary and zero-velocity conditions: As before, applying , , and to the separated solution yields

Computing the Fourier sine coefficients : By the half-range Fourier sine formula on :

Writing the complete displacement series: Substituting into (5):

Answer:
Example 7

7

The vibration of an elastic string is governed by the partial differential equation , where the length of the string is and the ends are fixed. The initial deflection is and the initial velocity is

Find the displacement .

Applying the boundary conditions and zero initial deflection: With and , the boundary conditions and reduce the periodic product solution to

Using the initial deflection condition in (4):

Thus (4) simplifies to

Applying the initial velocity condition: Differentiating (5) partially with respect to :

Setting in (6) gives , which is the half-range Fourier sine series of on :

Writing the complete displacement series: Substituting into (5):

Answer:
Example 8

8

Solve the wave equation with boundary and initial conditions , , , and . Find the displacement .

Applying the boundary conditions and zero initial deflection: Applying () and () gives

Using in (4) gives , so

Evaluating the Fourier sine coefficients from initial velocity: Differentiating (5) partially with respect to and setting :

By the half-range Fourier sine formula on :

Substituting into the series: Putting into (5) yields

Answer:

Exercise - 16

Exercise - 16

Question 1

A string is stretched and fastened to two points apart. Motion is started by displacing the string in the form from which it is released at time . Show that the displacement of any point at a distance from one end at a time is given by

Formulating the boundary-value problem: The transverse vibration of the stretched string is governed by the one-dimensional wave equation

with fixed-end boundary conditions and for all , and initial conditions

General solution satisfying boundary and initial velocity conditions: By separation of variables, the general solution of the wave equation satisfying and is

Differentiating partially with respect to :

Applying the zero initial velocity condition :

Therefore, the displacement simplifies to

Determining the Fourier coefficients from the initial displacement: Setting and applying :

Equating coefficients of like sine harmonics on both sides:

Substituting these coefficients back into the solution gives

Answer:
Question 2

Solve the wave equation under the boundary conditions , , and the initial conditions , for .

Formulating the solution: The one-dimensional wave equation is

with length , fixed ends , , and zero initial velocity . The general solution satisfying these boundary and initial velocity conditions is

Evaluating the Fourier coefficients : Setting , the initial condition gives

The half-range Fourier sine coefficient is given by

Integrating by parts with and :

Assembling the displacement series: Substituting into the series yields

Answer:
Question 3

The vibration of an elastic stretched string is governed by the partial differential equation (). The length of the string is and the ends are fixed. The initial velocity is zero and the initial deflection is . Find the deflection of the vibrating string for .

Formulating the problem: For this wave equation, and . The string has fixed ends and , and starts from rest with zero initial velocity . The general solution satisfying these conditions is

Matching the initial deflection: Setting :

Equating coefficients of on both sides:

Writing the final deflection: Substituting these coefficients into the series:

Answer:
Question 4

A tight string of length fastened at both ends is displaced from its position of equilibrium by imparting to each of its points an initial velocity given by

where is the distance from one end. Find the displacement at any subsequent time.

Formulating the boundary and initial conditions: The length of the string is . With fastened ends, the boundary conditions are and . The string starts from its equilibrium position, so the initial deflection is zero:

The initial velocity is given by

General solution for zero initial displacement: The general solution of the wave equation satisfying and is

Differentiating partially with respect to :

Setting :

Thus the Fourier sine coefficients satisfy

Evaluating the Fourier integrals:

Integrating by parts on :

For odd (), , so

Therefore:

giving

Assembling the series: For odd values of :

  • For : .
  • For : .
  • For : .

Substituting these into the solution for gives

Answer:
Question 5

Solve the wave equation for a tightly stretched string of length fixed at both ends if the initial deflection is and the initial velocity is zero.

Formulating the boundary-value problem: The governing partial differential equation is for and , subject to the fixed boundary conditions

and the initial conditions

The general solution satisfying the boundary conditions and the zero initial velocity condition is

Evaluating the Fourier coefficients :

Setting , the initial deflection gives

Setting , we integrate by parts:

Substituting :

Multiplying by :

Assembling the solution series: Substituting into the series expansion gives

Answer:

Past exam questions for Engineering Mathematics III

← Nonlinear First-Order PDEs & Charpit's MethodHeat Equation (1D, 2D) & Laplace Equation →