Recall the 1-D Heat equation, where heat flows along the \(x\) direction:
In 2-Dimensions, heat can flow in both the \(x\) and \(y\) directions. The equation becomes:
The right side represents the Laplacian of \(u\). For higher dimensions, this is denoted as:
Comparison of equations using the Laplacian:
\(\nabla^2 u\) represents how the value of \(u\) at a specific point compares to the average value of \(u\) at all nearby points.
We are looking for the Steady-State. This happens when the temperature stops changing with time, meaning \(u_t = 0\).
Laplace's Equation (Steady-state of 2D Heat Equation):
$$ \nabla^2 u = 0 $$More specifically in 2D:
$$ u_{xx} + u_{yy} = 0 $$ Consider a rectangular region defined by \(0 < x < a\) and
\(0 < y < b\).
We have four Boundary Conditions (BCs), one for each side of the
rectangle:
Since \(u_{xx} + u_{yy} = 0\) is a linear PDE, the principle of superposition applies.
If a boundary condition is 0, it is homogeneous.
Note: If all BCs are 0, it leads to the trivial solution \(u=0\), which we generally ignore.
Let's solve \(u_{xx} + u_{yy} = 0\) with the following boundary conditions:
This method is useful for linear homogeneous PDEs. We assume a solution of the form:
$$ u(x,y) = X(x)Y(y) $$Therefore:
$$ u_{xx} = X''Y \quad \text{and} \quad u_{yy} = XY'' $$Applying the homogeneous (zero) Boundary Conditions:
Note: We leave the non-homogeneous BC (\(u(a,y)=f(y)\)) for last.
Substituting into the PDE \(u_{xx} + u_{yy} = 0\):
$$ X''Y + XY'' = 0 $$Separating the variables:
$$ \frac{X''}{X} = -\frac{Y''}{Y} = \text{constant } (C) $$We separate this into two ODEs:
Solve the \(Y\) equation first (because it has complete homogeneous BCs: \(Y(0)=0\) and \(Y(b)=0\)).
Assuming \(C > 0\) (let \(C = \lambda^2\)):
$$ Y'' + CY = 0 $$The characteristic equation gives \(r = \pm \sqrt{-C}\) (imaginary), leading to:
$$ Y(y) = c_1 \cos(\sqrt{C}y) + c_2 \sin(\sqrt{C}y) $$Applying BCs:
Since we want a non-trivial solution (\(c_2 \neq 0\)), we must have \(\sin(\sqrt{C}b) = 0\).
$$ \sqrt{C}b = n\pi \Rightarrow C_n = \lambda_n = \frac{n^2\pi^2}{b^2} $$These are the eigenvalues. The associated eigenfunctions are:
$$ Y_n = \sin\left(\frac{n\pi y}{b}\right) $$Using the eigenvalues found above (\(C = \frac{n^2\pi^2}{b^2}\)):
$$ X'' - \frac{n^2\pi^2}{b^2}X = 0 $$The characteristic roots are \(r = \pm \frac{n\pi}{b}\).
The general solution can be written with exponentials, but for these boundary conditions, it is more convenient to use hyperbolic sine and cosine:
$$ X(x) = d_1 \cosh\left(\frac{n\pi x}{b}\right) + d_2 \sinh\left(\frac{n\pi x}{b}\right) $$Recall that \(\sinh(x) = \frac{1}{2}(e^x - e^{-x})\).
Applying the 3rd homogeneous BC: \(X(0) = 0\):
$$ X(0) = d_1 \cosh(0) + d_2 \sinh(0) = d_1(1) + 0 \Rightarrow d_1 = 0 $$So the eigenfunction for \(X\) is:
$$ X_n = \sinh\left(\frac{n\pi x}{b}\right) $$For each \(n = 1, 2, 3, \dots\), we have a solution \(u_n = X_n Y_n\):
$$ u_n = \sinh\left(\frac{n\pi x}{b}\right) \sin\left(\frac{n\pi y}{b}\right) $$The general solution is a linear combination of all \(u_n\):
Finally, use the right edge condition \(u(a,y) = f(y)\):
$$ f(y) = \sum_{n=1}^{\infty} \left[ c_n \sinh\left(\frac{n\pi a}{b}\right) \right] \sin\left(\frac{n\pi y}{b}\right) $$This is a Fourier Sine Series where the coefficient (the term in brackets) depends on \(f(y)\).
Let the bracketed term be the Fourier coefficient. Using the orthogonality formula for Fourier Sine Series (where length is \(b\)):
$$ c_n \sinh\left(\frac{n\pi a}{b}\right) = \frac{2}{b} \int_{0}^{b} f(y) \sin\left(\frac{n\pi y}{b}\right) dy $$Solving for \(c_n\):