Goal: Understand solutions of the heat equation under different boundary conditions.
1. Zero Endpoint Temperatures
Heated Rod (Dirichlet Conditions): A rod of length \(L\) has both ends held at zero temperature. The temperature distribution evolves according to the heat equation and can be expressed as a Fourier sine series.
Let \(u(x,t)\) denote the temperature at position \(x\) and time \(t\). The constant \(k\) is the thermal diffusivity of the material, which measures how quickly heat spreads.
Some Thermal Diffusivity Constants
| Material | Thermal Diffusivity \(k\) (cm²/s) |
|---|---|
| Silver | 1.70 |
| Copper | 1.15 |
| Aluminum | 0.85 |
| Iron | 0.15 |
| Concrete | 0.005 |
Heat Equation:
Endpoint Conditions:
Initial Condition:
Solution:
Coefficients:
The coefficients \(b_n\) are the Fourier sine coefficients of the initial temperature distribution \(f(x)\):
Note: As \(t \to \infty\), the temperature of the rod approaches 0:
Physically, the rod cools down completely because heat escapes through the ends.
2. Insulated Endpoint Temperatures
Heated Rod (Neumann Conditions): A rod of length \(L\) has both ends insulated, meaning no heat can flow in or out at the endpoints. The temperature distribution evolves according to the heat equation and can be expressed as a Fourier cosine series (plus a constant term for the average temperature).
Heat Equation:
Endpoint Conditions (Insulated):
Initial Condition:
Solution:
Coefficients:
The coefficients are the Fourier cosine coefficients of the initial temperature distribution \(f(x)\):
Note: As \(t \to \infty\), the temperature of the rod approaches the average of the initial temperature:
Physically, the heat redistributes evenly and the total energy is conserved because the ends are insulated.
3. Practice Questions
Zero Endpoint Temperatures
Example 1.1: Suppose a rod of length \(L = 50\ \text{cm}\) is immersed in steam until its temperature is \(u_0 = 100^\circ\text{C}\) throughout. At time \(t = 0\), its lateral surface is insulated, and its two ends are embedded in ice at \(0^\circ\text{C}\). Calculate the rod’s temperature at its midpoint after half an hour if it is made of iron.
Example 1.2: Suppose that a rod \(\text{40 cm}\) long with insulated lateral surface is heated to a uniform temperature of \(100^\circ\text{C}\), and that at time \(t = 0\) its two ends are embedded in ice at \(0^\circ\text{C}\).
- Find the formal series solution for the temperature \(u(x, t)\) of the rod.
- In the case the rod is made of copper, show that after \(5\) minutes the temperature at its midpoint is about \(15^\circ\text{C}\).
- In the case the rod is made of concrete, find the time required for its midpoint to cool to \(15^\circ\text{C}\).
Example 1.3: Solve the boundary value problems:
-
\[ u_t = 3 u_{xx}, \quad 0 < x < \pi, \ t>0; \quad u(0,t)=u(\pi,t)=0, \quad u(x,0)=4\sin 2x \]
-
\[ u_t = 2 u_{xx}, \quad 0 < x < 1, \ t>0; \quad u(0,t)=u(1,t)=0, \quad u(x,0)=5\sin \pi x - 5\sin 3\pi x \]
-
\[ u_t = u_{xx}, \quad 0 < x < \pi, \ t>0; \quad u(0,t)=u(\pi,t)=0, \quad u(x,0)=4\sin 4x \cos 2x \]
-
\[ 2 u_t = u_{xx}, \quad 0 < x < 1, \ t>0; \quad u(0,t)=u(1,t)=0, \quad u(x,0)=4\sin \pi x \cos^3\pi x \]
-
\[ u_t = 2 u_{xx}, \quad 0 < x < 3, \ t>0; \quad u(0,t)=u(3,t)=0, \quad u(x,0)=x(3-x) \]
Insulated Ends
Example 2.1: We consider a rod of length \(L = 50\ \text{cm}\) whose initial temperature forms a triangular profile along its length: the temperature starts at 0°C at the left end (\(x = 0\)), rises linearly to 100°C at the midpoint (\(x = 25\ \text{cm}\)), and then decreases linearly back to 0°C at the right end (\(x = 50\ \text{cm}\)). At time \(t = 0\), the rod’s lateral surface and its two ends are insulated. Assume the thermal diffusivity of the material is \(k\). Find the temperature distribution \(u(x,t)\) along the rod for \(t > 0\).
Example 2.2: Consider a copper rod of length \(\text{50 cm}\) with its sides insulated. Initially, the rod’s temperature varies along its length according to \(u(x, 0) = 2x\), and the two ends are insulated from the start.
- Determine the temperature distribution \(u(x, t)\) along the rod over time.
- Calculate the temperature at the point \(x = 10\) after \(1\) minute has passed.
- Estimate the time it will take for the temperature at \(x = 10\) to drop to \(45^\circ\text{C}\).
Example 2.3: Solve the boundary value problems:
-
\[ u_t = 10 u_{xx}, \quad 0 < x < 5, \ t>0; \quad u_x(0,t)=u_x(5,t)=0, \quad u(x,0)=7 \]
-
\[ 3 u_t = u_{xx}, \quad 0 < x < 2, \ t>0; \quad u_x(0,t)=u_x(2,t)=0, \quad u(x,0)=\cos^2 2 \pi x \]
-
\[ u_t = u_{xx}, \quad 0 < x < 2, \ t>0; \quad u_x(0,t)=u_x(2,t)=0, \quad u(x,0)=10 \cos \pi x \cos 3 \pi x \]
-
\[ 5 u_t = u_{xx}, \quad 0 < x < 10, \ t>0; \quad u_x(0,t)=u_x(10,t)=0, \quad u(x,0)=4x \]
-
\[ u_t = u_{xx}, \quad 0 < x < 100, \ t>0; \quad u_x(0,t)=u_x(100,t)=0, \quad u(x,0)=x(100-x) \]
Worked examples
Example 3.1: Consider the linear, homogeneous Convection-Diffusion Equation in one dimension:
-
\[ X'' - \frac{v}{D}X' - \frac{\lambda}{D}X = 0, \quad T' - \lambda T = 0 \]
-
\[ D X'' - v X' + \lambda X = 0, \quad T' - \lambda T = 0 \]
-
\[ D X'' - v X' - \lambda X = 0, \quad T' + \lambda T = 0 \]
-
\[ \frac{1}{D}X'' - \frac{v}{D}X' + \lambda X = 0, \quad T' + \lambda T = 0 \]
-
\[ D X'' - v X' + \lambda X = 0, \quad T' + \lambda T = 0 \]
Solution: Assume a separated solution \(u(x,t) = X(x)T(t)\) and substitute into the PDE:
Divide through by \(XT\):
Set both sides equal to a separation constant \(-\lambda\):
This gives the resulting system of ordinary differential equations:
Example 3.2: The solution to the heat conduction problem:
is given by
for some constants \(c_n\), \(n \geq 1\). What is \(c_5\)?
Solution: Since \(u(x,0)=25\),
This is the Fourier sine series of \(25\) on \(0 < x < 5\). The coefficients are given by:
Compute the integral:
Now substitute \(n = 5\):
Final Answer:
Example 3.3: The heat conduction problem:
has solution:
Solution: As \(t \to \infty\), all exponential terms decay to zero:
So
Compute \(a_0\):
Split the integral:
Therefore as \(t \to \infty\), for all \(x\in[0, 30]\)
In particular at \(x = 15\):
Example 3.4: Consider the heat conduction problem:
It is observed empirically that as \(t \to \infty\), \(u(x,t)\) approaches a steady-state temperature \(u_{ss}(x)\) that corresponds to setting \(u_t = 0\) in the boundary value problem. What is the temperature at \(x=5\) as \(t \to \infty\)?
Solution: As \(t \to \infty\), the solution approaches a steady-state profile, so:
Solve:
Apply boundary conditions:
So the steady-state solution is:
Evaluate at \(x=5\):
Final Answer: 25