We begin with a familiar problem: the one-dimensional Poisson equation on the unit interval \([0, 1]\) with homogeneous Dirichlet boundary conditions:

\[-\frac{d^2u}{dx^2} = f(x), \quad x \in [0, 1]\]

subject to boundary conditions:

\[u(0) = 0, \quad u(1) = 0\]

This equation models diverse physical phenomena: heat conduction in a rod, deflection of a loaded beam, or electrostatic potential in one dimension. The function \(u(x)\) represents the unknown solution we seek, while \(f(x)\) is the prescribed source term.

For our initial exploration, we choose a source term that gives a simple, known solution:

\[f(x) = \pi^2 \sin(\pi x)\]

This choice yields the analytical solution:

\[u(x) = \sin(\pi x)\]

We can verify this solution by direct substitution. The second derivative of \(u(x) = \sin(\pi x)\) is \(u''(x) = -\pi^2 \sin(\pi x)\), so:

\[-\frac{d^2u}{dx^2} = -(-\pi^2 \sin(\pi x)) = \pi^2 \sin(\pi x) = f(x) \quad \checkmark\]

The boundary conditions are satisfied: \(u(0) = \sin(0) = 0\) and \(u(1) = \sin(\pi) = 0 \checkmark\)

 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)