PadhaikoAll subjects

Heat Equation (1D, 2D) & Laplace Equation

Engineering Mathematics III (ENSH 201)

Open in the Padhaiko app

4.3 One-Dimensional Heat Equation

Heat conduction in a solid medium is governed by three fundamental physical principles:

  1. Direction of Heat Flow: Heat flows from a region of higher temperature to a region of lower temperature.
  2. Thermal Energy Storage: The quantity of heat in a body is proportional to its mass and its temperature.
  3. Fourier's Law of Heat Conduction: The rate of heat flow across an area is proportional to both the cross-sectional area and the rate of change of temperature with respect to distance normal to that area.
Theorem

Derivation of the One-Dimensional Heat Equation

Consider heat flow along the -axis in a homogeneous bar of uniform cross-sectional area , density , specific heat capacity , and thermal conductivity , whose lateral surface is insulated so that heat flows only perpendicular to the cross-section . The temperature at distance from the origin at time satisfies the one-dimensional heat equation:

Proof

Consider an elemental slab of the bar between and of cross-sectional area and thickness , having mass .

  1. Rate of Heat Storage in the Slab: The rate of increase of thermal energy inside the slab per unit time is
  1. Net Rate of Heat Conduction into the Slab (Fourier's Law): Let denote the rate of heat inflow across the face at and denote the rate of heat outflow across the face at :

where the minus sign reflects that heat flows in the direction of decreasing temperature. The net rate of heat entering the slab is

  1. Equating Storage and Conduction & Taking the Limit: Equating (1) and (2):

Dividing through by :

Taking the limit as :

Writing the thermal diffusivity as yields

Solutions of the One-Dimensional Heat Equation

Theorem

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

By separation of variables , the one-dimensional heat equation

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

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

Because the transient temperature of a cooling bar must remain bounded and decay as , Case I () is the physically feasible transient solution, whereas Case III () represents a time-independent steady-state linear temperature profile .

Proof

Substituting into (1) gives

Hence .

Hence .

Hence .

Theorem

II. Solution of 1D Heat Equation with Ends at Zero Temperature

For a homogeneous bar of length governed by with zero-temperature boundary conditions (Dirichlet conditions)

and initial temperature distribution for , the solution is

Proof

Starting from the physically feasible transient solution

applying gives , leaving

Applying in (4) gives (). Setting and superposing:

Setting in (5) gives the half-range Fourier sine expansion of on :

Theorem

III. Solution of 1D Heat Equation with Insulated Ends

For a homogeneous bar of length governed by whose ends are thermally insulated (Neumann boundary conditions)

and initial temperature distribution for , the solution is

where the half-range Fourier cosine coefficients are

Proof

Starting from

differentiating partially with respect to gives

Applying in (4) gives . Applying in (4) gives

Writing (with for the constant mode) and superposing gives (5). Setting in (5):

which is the half-range Fourier cosine series of on .

AspectEnds at Zero Temperature (Dirichlet)Insulated Ends (Neumann)
Boundary Conditions
Spatial Eigenfunctions () (, includes )
Series Expansion at Half-range sine seriesHalf-range cosine series (with )
Steady State ()Decays to everywhereApproaches average initial temperature

Worked Out Examples: 1D Heat Equation (1–8)

Example 1

1

Find the temperature in a bar that is perfectly insulated laterally, with its ends kept at temperature and whose initial temperature is . The bar's length is , with a constant cross-section area of , density , thermal conductivity , and specific heat .

Calculating the thermal diffusivity and setting up the problem: The one-dimensional heat equation is

where , , and . Thus,

The boundary conditions are and , and the initial condition is for .

Applying the boundary conditions: Starting from , the condition gives , and gives

With and , superposition yields

Computing the Fourier sine coefficients : Setting in (4) gives on . By Euler's formula:

Writing the complete temperature distribution: Substituting into (4):

Answer:
Example 2

2

Solve the one-dimensional heat equation with boundary and initial conditions , , and .

Applying the zero-temperature boundary conditions: Applying () and () to the transient solution gives

Computing the Fourier sine coefficients : Setting in (4) gives for . By Euler's formula:

Writing the complete solution: Substituting into (4):

Answer:
Example 3

3

Solve the one-dimensional heat equation under the conditions: (i) is not infinite as , (ii) , (iii) for .

Applying the boundary conditions on : Since remains bounded and decays as , we start from

Applying gives , and applying gives (). Superposing with yields

Computing the Fourier sine coefficients : Setting in (4) gives on . By Euler's formula:

Writing the complete solution: Substituting into (4):

Answer:
Example 4

4

A homogeneous rod of conducting material of length has its ends kept at zero temperature, and the initial temperature is

Find the temperature at any time.

Applying the boundary conditions on : Here , , and . Applying these boundary conditions to gives and (). Thus,

Computing the Fourier sine coefficients : Setting in (4) gives on . Splitting the integral at :

Writing the complete temperature series: Substituting into (4):

Answer:
Example 5

5

Solve the one-dimensional heat equation under the conditions: (i) is not infinite as , (ii) for and , (iii) for between and .

Applying the insulated-end boundary conditions: Starting from , differentiating with respect to gives

Applying gives , and applying gives (). Superposing with yields

Computing the Fourier cosine coefficients and : Setting in (5) gives on . By Euler's formulas:

and for :

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

Answer:
Example 6

6

Solve under the boundary conditions and and the initial condition for .

Applying the insulated-end boundary conditions on : Differentiating with respect to and applying and gives and (). Superposing with yields

Computing the Fourier cosine coefficients and : Setting in (5) gives on . By Euler's formulas:

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

Answer:
Example 7

7

A rod of length has its ends and maintained at and respectively until steady-state conditions prevail. If is suddenly reduced to , find the temperature at a distance from at time .

Finding the initial steady-state temperature profile: Prior to , the rod is in steady state (), so the heat equation reduces to

Applying the pre-existing end conditions and gives the steady-state distribution at :

Solving the transient problem after is reduced to : For , the boundary conditions are and . Thus the temperature is given by

where, using :

Hence,

Answer:
Example 8

8

A rod of length has its ends and maintained at and respectively until steady-state conditions prevail. If the change consists of raising the temperature of to and reducing that of to , find the temperature distribution in the rod at time .

Finding the initial steady state before the temperature change: In the initial steady state (), . With and , the initial temperature distribution at is

Splitting into a new steady-state part and a transient part :

For the new steady state satisfying and :

Writing , the transient component satisfies:

  • Boundary conditions:
  • Initial condition at :

Solving for the transient temperature : With and , the transient solution is

where

Combining steady-state and transient parts: Adding gives

Answer:

Exercise - 17

Exercise - 17

Question 1

A uniform rod of length has its ends maintained at a temperature and the initial temperature of the rod is for . Find the temperature .

Formulating the boundary-value problem: The temperature distribution in the uniform rod is governed by the one-dimensional heat equation

with zero-temperature end conditions and , and initial temperature

Separating variables and general solution: The solution of the heat equation satisfying the homogeneous boundary conditions and is

Applying the initial condition: Setting :

Comparing coefficients of on both sides:

Obtaining the temperature distribution: Substituting gives the solution corresponding to mode :

In terms of the general -th harmonic expression, this is written as with .

Answer:

Printed: (with : )

Question 2

A rod of length with insulated sides is initially at a uniform temperature . Its ends are suddenly cooled to and are kept at that temperature. Find the temperature function .

Formulating the boundary-value problem: The one-dimensional heat equation is

subject to the Dirichlet boundary conditions and , and uniform initial temperature .

General solution for zero-temperature boundaries: Using separation of variables, the solution satisfying and is

Determining the Fourier sine coefficients: At , the initial condition gives

The Fourier sine coefficient is

Assembling the temperature function: Substituting into the series gives

Answer:
Question 3

Solve the one-dimensional heat equation under the boundary conditions when and , and the initial condition for .

Formulating the boundary-value problem: The PDE is for , with insulated boundaries

and initial condition for .

General solution for insulated ends:

The general solution satisfying the boundary conditions is

Evaluating the Fourier cosine coefficients: Setting :

For , integrating by parts with and :

Assembling the solution: Substituting and yields

As noted in the erratum, the textbook printed a plus sign before .

Answer:

Printed:

Question 4

A rod of length has its ends and kept at , and the initial temperature of the rod is in the interval . Find the temperature .

Formulating the problem: The rod has length with ends maintained at :

The initial temperature is for . The general solution satisfying the boundary conditions is

Evaluating the Fourier sine coefficients: At :

Letting , we integrate by parts with and :

Multiplying by :

Writing the final temperature distribution: Substituting into the series gives

Answer:

4.4 Two-Dimensional Heat Equation & Laplace's Equation

Theorem

Derivation of the Two-Dimensional Heat Equation

Consider heat flow in a thin metal plate of uniform thickness , density , specific heat capacity , and thermal conductivity , whose flat faces are insulated so that heat flows only parallel to the -plane. The temperature at point at time satisfies the two-dimensional heat equation:

Proof

Consider an infinitesimal rectangular element of the plate with side lengths and and uniform thickness .

  1. Heat Entering and Leaving Across the Four Edges (Fourier's Law):
    • Heat entering per second across side (at , of area ):
  1. Net Rate of Heat Conduction into the Element: Subtracting outflow from inflow gives the total heat gained by element per second:
  1. Rate of Heat Storage & Limit as : The rate of thermal energy storage in the element of mass is

Equating (1) and (2), dividing by , and taking the limit as and :

Definition

Laplace's Equation (Steady-State Heat Equation)

In the steady-state condition, the temperature is independent of time , so . The heat equation then reduces to Laplace's equation:

General Solutions of Laplace's Equation in Cartesian Coordinates

Theorem

I. General Solutions of the Two-Dimensional Laplace Equation

By separation of variables , the two-dimensional Laplace equation

yields , giving three families of product solutions:

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

In boundary-value problems on a rectangular plate or semi-infinite strip, we choose Case I when homogeneous boundary conditions are prescribed on the vertical edges , and Case II when homogeneous boundary conditions are prescribed on the horizontal edges .

Proof

Substituting into (1) gives

Theorem

II. General Solutions of the Three-Dimensional Laplace Equation

Assuming a product solution for the three-dimensional Laplace equation

gives

Proof

Since are independent variables in (2), each ratio , , and must be constant with . Setting , , and produces the three ODEs

whose general solutions multiply to give the first form. Reversing the signs of the separation constants gives the second form.

Worked Out Examples: 2D Heat & Laplace Equations (1–8)

Example 1

1

Solve subject to the conditions and when .

Separating variables and listing all three cases: Substituting into gives

  • Case I (): and , giving
  • Case II (): and , giving
  • Case III (): and , giving

Since the boundary data at is and , the only feasible form is Case I:

Applying the conditions at : Using in (3):

Thus (3) becomes

Differentiating (4) partially with respect to :

Setting and using :

Since , equating coefficients of and gives

Substituting , , and into (4) gives

Answer:
Example 2

2

If Laplace's equation satisfies the conditions , for all , and for all , then show that its solution is .

Separating variables and choosing the feasible form: Substituting into and choosing separation constant (since is periodic in ):

Applying the boundary conditions:

  1. Setting () in (3) gives , so
  1. To satisfy as (with ), the coefficient of must vanish, so :
  1. Applying in (5):

Substituting and into (5) gives

Answer:
Example 3

3

An infinitely long plane uniform plate is bounded by two parallel edges and an end at right angles to them. The breadth is ; this end is maintained at a temperature at all points and the other edges are at zero temperature. Determine the temperature at any point of the plate in the steady state.

Formulating the boundary-value problem: In the steady state, the temperature satisfies Laplace's equation

with boundary conditions

The feasible separated solution is

Applying the homogeneous boundary conditions:

  1. Using in (3) gives , so
  1. Using in (4) gives ().
  2. Using as requires . Setting and superposing gives

Computing the Fourier sine coefficients at : Setting in (5) gives on , so

Substituting into (5):

Answer:
Example 4

4

Solve Laplace's equation under the conditions and .

Applying the homogeneous boundary conditions on , , and : Starting from the separated solution

  1. , reducing (3) to
  1. .
  2. .

Substituting and into (4):

Applying the non-homogeneous condition at :

Setting in (5) and using :

Hence,

Substituting into (5) gives

Answer:
Example 5

5

Solve Laplace's equation under the conditions and for .

Applying the homogeneous boundary conditions on , , and :

Starting from

  1. , giving .
  2. ().
  3. .

Substituting and into (4) and superposing with :

Applying the condition : Setting in (5):

By the half-range Fourier sine formula on :

Simplifying into hyperbolic sine form: Substituting into (5) and factoring from numerator and denominator:

Answer:
Example 6

6

Solve under the conditions: (i) for all , (ii) , for all , (iii) for .

Applying the homogeneous boundary conditions: Starting from

  1. , so .
  2. ().
  3. .

Writing and superposing:

Computing the Fourier sine coefficients : Setting in (5) gives on . By Euler's formula:

Writing the complete solution: Substituting into (5):

Answer:
Example 7

7

An infinitely long metal plate in the form of the area enclosed between the lines and for positive values of has temperature zero along the edges , , and at infinity. In the steady state the temperature at any point of the plate satisfies . If the edge is kept at a constant temperature , find the steady-state temperature .

Formulating the boundary conditions (and noting the textbook's coordinate convention):

Following the textbook's worked derivation (with strip width and ), the boundary conditions are

Starting from

applying gives , applying gives (), and applying gives . Setting and superposing:

Computing the Fourier sine coefficients : Setting in (5) gives on , so

Substituting into (5) gives the textbook's solution:

With the original axes stated in the prompt ( and ), interchanging and yields

Answer:
Example 8

8

A rectangular plate with insulated surfaces is wide and so long compared to its width that it may be considered infinite in length without introducing an appreciable error. If the temperature of the short edge is given by

and the two long edges , as well as the other short edge are kept at , find the steady-state temperature at any point of the plate.

Applying the homogeneous boundary conditions on , , and : In the steady state, satisfies with , , and . Starting from

, (), and . Superposing with gives

Computing the Fourier sine coefficients : Setting in (5) gives on . Splitting the integral at :

Writing the complete steady-state solution: Substituting into (5):

Answer:

Exercise - 18

Exercise - 18

Question 1

Laplace's equation satisfies the conditions (i) for all and (ii) for all . Show that .

Separating variables in Laplace's equation: Assuming , Laplace's equation becomes

Because the boundary condition is periodic in , we choose :

Applying the condition at infinity: Condition (i) states for all . Since as (with ), we must have . Thus:

where and .

Applying the boundary condition at : Condition (ii) states . Setting :

Equating coefficients of harmonic terms:

Substituting these values into gives

Answer:
Question 2

Solve for and with conditions , , and .

Formulating the Dirichlet boundary-value problem: Laplace's equation on the square domain , is subject to

Separating variables and determining the product solution: Letting , the homogeneous conditions on require

For :

By superposition, the solution is

Evaluating the Fourier sine coefficients: At , . Using :

For :

Thus:

For even , .

Assembling the solution: Substituting into the series gives the full solution:

As noted in the erratum, the printed textbook formula omitted the Fourier coefficient .

Answer:

Printed:

Question 3

Solve under the conditions (i) for all when and , (ii) as , and (iii) for .

Formulating the problem on the semi-infinite strip: The potential satisfies Laplace's equation for and , subject to

and the base condition for .

Constructing the general solution: Separation of variables with and gives spatial eigenfunctions

The equation for is . With as , the growing exponential must vanish, leaving . By superposition, the solution is

Expanding the boundary condition using the triple-angle identity:

Setting :

Equating coefficients:

Writing the final solution: Substituting and into the series yields

Answer:
Question 4

A rectangular plate with insulated surfaces is wide and so long compared to its width that it may be considered infinite in length without any appreciable error. If the temperature along one short edge is given by for while the two long edges and as well as the other short edge are kept at , find the steady-state temperature.

Formulating the semi-infinite plate problem: The semi-infinite strip is bounded by and . The steady-state temperature satisfies Laplace's equation

with boundary conditions , , as , and edge temperature .

Constructing the general solution: Separation of variables gives spatial eigenfunctions satisfying and :

The factor satisfying as is . The general solution is

Matching the edge temperature at : Setting :

Comparing coefficients of like terms:

Therefore, the steady-state temperature is

Answer:
Question 5

A square plate is bounded by the lines , , , and . Its faces are insulated and the temperature along the horizontal edge is given by when , while the other three edges are kept at . Find the steady-state temperature in the plate.

Formulating the boundary-value problem on the square plate: The plate occupies the region , . Laplace's equation is

subject to three zero-temperature edges:

and top edge temperature for .

Separation of variables and superposition: The homogeneous conditions on and give eigenfunctions

The condition gives . By superposition:

Evaluating the Fourier coefficients: Setting :

Defining , the half-range Fourier sine coefficient is

Letting , integrating by parts gives:

Thus:

For even , . For odd ():

Assembling the solution: Substituting gives

As noted in the erratum, the printed textbook formula had inside the numerator and exponent in the denominator.

Answer:

Printed:

Past exam questions for Engineering Mathematics III

← Classification & One-Dimensional Wave EquationContinuity, Navier–Stokes & Euler's Equation of Motion →