Heat Equation (1D, 2D) & Laplace Equation
Open in the Padhaiko app4.3 One-Dimensional Heat Equation
Heat conduction in a solid medium is governed by three fundamental physical principles:
- Direction of Heat Flow: Heat flows from a region of higher temperature to a region of lower temperature.
- Thermal Energy Storage: The quantity of heat in a body is proportional to its mass and its temperature.
- 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.
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 .
- Rate of Heat Storage in the Slab: The rate of increase of thermal energy inside the slab per unit time is
- 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
- 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
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 :
- Case I ():
- Case II ():
- 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
- Case I ():
Hence .
- Case II ():
Hence .
- Case III ():
Hence .
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 :
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 .
| Aspect | Ends at Zero Temperature (Dirichlet) | Insulated Ends (Neumann) |
|---|---|---|
| Boundary Conditions | ||
| Spatial Eigenfunctions | () | (, includes ) |
| Series Expansion at | Half-range sine series | Half-range cosine series (with ) |
| Steady State () | Decays to everywhere | Approaches average initial temperature |
Worked Out Examples: 1D Heat Equation (1–8)
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):
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):
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):
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):
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):
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):
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,
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
Exercise - 17
Exercise - 17
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 .
Printed: (with : )
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
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 .
Printed:
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
4.4 Two-Dimensional Heat Equation & Laplace's Equation
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 .
- Heat Entering and Leaving Across the Four Edges (Fourier's Law):
- Heat entering per second across side (at , of area ):
- Heat entering per second across side (at , of area ):
- Heat flowing out per second across side (at ):
- Heat flowing out per second across side (at ):
- Net Rate of Heat Conduction into the Element: Subtracting outflow from inflow gives the total heat gained by element per second:
- 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 :
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:
- Two-Dimensional Cartesian Form:
- Two-Dimensional Polar Form:
- Three-Dimensional Cartesian Form:
General Solutions of Laplace's Equation in Cartesian Coordinates
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:
- Case I ():
- Case II ():
- 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
- Case I ():
- Case II ():
- Case III ():
II. General Solutions of the Three-Dimensional Laplace Equation
Assuming a product solution for the three-dimensional Laplace equation
gives
- Choosing separation constants , , and yields
- Alternatively, choosing , , and yields
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)
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
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:
- Setting () in (3) gives , so
- To satisfy as (with ), the coefficient of must vanish, so :
- Applying in (5):
Substituting and into (5) gives
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:
- Using in (3) gives , so
- Using in (4) gives ().
- Using as requires . Setting and superposing gives
Computing the Fourier sine coefficients at : Setting in (5) gives on , so
Substituting into (5):
4
Solve Laplace's equation under the conditions and .
Applying the homogeneous boundary conditions on , , and : Starting from the separated solution
- , reducing (3) to
- .
- .
Substituting and into (4):
Applying the non-homogeneous condition at :
Setting in (5) and using :
Hence,
Substituting into (5) gives
5
Solve Laplace's equation under the conditions and for .
Applying the homogeneous boundary conditions on , , and :
Starting from
- , giving .
- ().
- .
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:
6
Solve under the conditions: (i) for all , (ii) , for all , (iii) for .
Applying the homogeneous boundary conditions: Starting from
- , so .
- ().
- .
Writing and superposing:
Computing the Fourier sine coefficients : Setting in (5) gives on . By Euler's formula:
Writing the complete solution: Substituting into (5):
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
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):
Exercise - 18
Exercise - 18
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
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 .
Printed:
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
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
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.
Printed: