Shapes & spaces

Steklov eigenvalue calculator for a planar finite element mesh

Approximate Steklov boundary eigenvalues with triangular finite elements and an interior Schur complement.

Your numbers

Valid JSON. Planar points [x,y]; triangle rows [i,j,k]. Boundary inferred from singly incident edges.
Valid JSON; preserve the shown array or object structure.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A Steklov eigenfunction is harmonic inside its domain and has outward normal derivative proportional to its own value on the boundary. The eigenvalue links those two boundary quantities. This differs from a Dirichlet problem that fixes every boundary value to zero.

THE FORMULAP1triangularmesh K_ij=sumarea gradphi_i·gradphi_j. Boundarymass each edge L/6[[2,1],[1,2]]. Classifynodes from boundaryedges; Kii positive-definite ifconnectedboundarynonempty. S=Kbb-Kbi Kii^-1 Kib. SolveSx=lambda Bbb x viaCholeskytransformation, symmetricJacobi eigh. Constantmode lambda0=0; report positiveeigenpairswithrelativegeneralizedresidual andmassnormalization. Atmost150nodes mayneedworker/perf caps. Checkmeshactualboundaryedges andconnectedcomponents.

A worked example

With the prefilled inputs, positiveEigenvalues = [1.732050807568877,1.7320508075688776]. Planar points [x,y]; triangle rows [i,j,k]. Boundary inferred from singly incident edges.

Good to know

P1 planar triangle finite elements,consistent boundary line mass,interior Schur complement. Finite-mesh Steklov approximation; no mesh-refinement error estimate.

Boundary vibration rather than a fixed wall

A Steklov eigenfunction is harmonic inside its domain and has outward normal derivative proportional to its own value on the boundary. The eigenvalue links those two boundary quantities. This differs from a Dirichlet problem that fixes every boundary value to zero.

The mesh calculation approximates that boundary spectrum using piecewise-linear finite elements. Its first constant mode has eigenvalue zero. Positive modes describe boundary variation, with the interior values determined by harmonic extension rather than by an independent interior mass matrix.

Steklov eigenvalue calculator for a planar finite element meshOne equilateral P1 triangle: Steklov λ = √3v = 1v = −1v = 0K v = λ B vvᵀBv = 1λ₀ = 0λ₁ = λ₂ = √3side length 1
Scroll across to see the full diagram.
For a single equilateral triangle of side1, the boundary-mass-normalized mode(1,−1,0) has eigenvalue√3. The second positive mode shares that eigenvalue; these are discrete finite-element values.

Compare with the Dirichlet Sturm Liouville eigenvalue and eigenfunction calculator. Solve boundarynormal-flux eigenvalues with interiorharmonicextension; one-dimensionalDirichleteigenproblemsfixboundaryvaluesandhaveadifferentoperator.

Supplying a connected planar mesh

Planar points [x,y]; triangle rows [i,j,k]. Boundary inferred from singly incident edges.Give planar vertex coordinates and triangular index triples. The engine identifies boundary edges from incidence-one edges instead of asking for a separate boundary-edge list; it accepts at most150 vertices and300 triangles. Each triangle needs positive area after orientation is interpreted consistently. Faces should meet along shared edges instead of overlapping in their interiors.

Boundary vertices are sorted by their input index and returned with the modes. An edge incident to more than two triangles is rejected, as are disconnected vertex incidence and a mesh without boundary. Disconnected components create additional zero modes, so connectedness must be checked rather than assumed from a drawing.

Stiffness and boundary mass

The stiffness matrix integrates the dot products of the linear basis gradients over every triangle. The boundary mass matrix instead integrates products of basis functions along exposed edges. Interior nodes have no boundary mass contribution in this formulation.

Eliminating the interior stiffness block produces a symmetric boundary operator. This Schur complement expresses the discrete harmonic extension automatically. Replacing it by a submatrix of the original stiffness matrix would freeze interior values incorrectly and solve a different problem.

The generalized eigenproblem

The boundary system has the form S v equal to lambda B v. A symmetric inverse square root of the positive boundary mass converts it into a symmetric ordinary eigenproblem. The eigenvectors should be normalized in the boundary-mass inner product.

Near-zero roundoff values belong to the constant mode only when their residual and multiplicity support that conclusion. The page should report the zero mode separately and count requested positive modes after it, avoiding an off-by-one result in the main answer.

An equilateral triangle worked check

For a single equilateral triangle of side one, all vertices lie on the boundary and there is no interior elimination. The stiffness diagonal is one over square root of three, with off-diagonal entries minus one over twice square root of three.

The boundary mass has diagonal two thirds and off-diagonal one sixth. On the two-dimensional subspace whose coordinates sum to zero, the generalized eigenvalue is square root of three. The repeated positive value is a property of this discrete mesh, not the exact continuum spectrum.

Interpreting modes and refinement

The returned modes contain boundary-node coordinates and an eigen residual. An interior harmonic reconstruction is mathematically determined but is not included as a separate full-node mode output in this release. Changing an eigenvector's sign has no mathematical effect. Within a repeated eigenspace, different orthonormal combinations can be equally valid.

Mesh refinement is needed to assess continuum accuracy. A small matrix residual only verifies the assembled discrete eigenproblem; it does not quantify geometric approximation error or prove that a coarse triangle mesh resolves a continuum mode. Boundary eigenvectors are expressed at the returned ordered boundary vertex labels. Their overall sign is arbitrary: multiplying a mode by minus one preserves its eigenvalue and boundary oscillation pattern. When eigenvalues repeat, different orthonormal combinations can represent the same eigenspace. Compare subspaces or residuals rather than requiring a particular eigenvector list to match another library coordinate for coordinate.

Scaling and validity checks

Scaling every coordinate by a positive factor L divides Steklov eigenvalues by L. The triangle gradients, areas and boundary lengths combine to produce that rule. It is a useful cross-check because a missing edge-length factor would break it.

Degenerate triangles, inconsistent boundaries and singular interior blocks must stop the solve. The calculator should retain assembly and residual diagnostics, while making clear that the output is a finite-element approximation on the supplied mesh. P1 planar triangle finite elements,consistent boundary line mass,interior Schur complement. Finite-mesh Steklov approximation; no mesh-refinement error estimate.

A few questions, answered

Why is there a zero eigenvalue?

The constant function is harmonic and has zero normal derivative on the boundary.

Are these exact continuum eigenvalues?

No; they are finite-element values for the entered mesh, requiring refinement studies for continuum accuracy.

Why can two modes look different between runs?

Signs are arbitrary and a repeated eigenspace admits multiple valid orthonormal bases.

How does changing all lengths affect the answer?

Multiplying lengths by L divides each Steklov eigenvalue by L.

Find your calculator

Start typing to explore the library.