Differential Eigensystems

A Laplacian's Eigenvalues & Eigenfunctions

Find the four smallest eigenvalues and eigenfunctions of a Laplacian operator, i.e. solutions to , over a 1D region.

Specify a Laplacian.

In[1]:=
Click for copyable input
\[ScriptCapitalL] = -Laplacian[u[x], {x}];

Numerically find the four smallest eigenvalues and eigenfunctions.

In[2]:=
Click for copyable input
NDEigensystem[\[ScriptCapitalL], u[x], {x, 0, \[Pi]}, 4]
Out[2]=

Visualize the eigenfunctions.

In[3]:=
Click for copyable input
NDEigensystem[\[ScriptCapitalL], u[x], {x, 0, \[Pi]}, 4]; Plot[Evaluate[%[[2]]], {x, 0, \[Pi]}]
Out[3]=

Related Examples

de es fr ja ko pt-br ru zh