Follow your curiosity

What discovery has been shared with you?

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

The Finite Element Method for Solving Partial Differential Equations

Quick fact

FEM is the reason we can accurately simulate complex geometries like airplane wings and engine parts. Unlike finite difference methods, which require simple rectangular grids, FEM uses a mesh of triangles or tetrahedra that can conform to any shape, making it the standard tool in engineering analysis.

Why this is interesting

You can design a bridge, simulate blood flow, or predict heat distribution in a turbine blade—all without solving the underlying equations by hand. How does a computer actually do this?

Read the full explanation

Understanding The Finite Element Method for Solving Partial Differential Equations

Imagine you need to know how the temperature varies across a metal plate with an irregular shape. Writing down the heat equation is easy, but solving it exactly is impossible for all but the simplest shapes. FEM solves this by not even trying to get the exact solution. Instead, it divides the plate into many small, simple pieces—like a mosaic of triangles. On each triangle, the unknown temperature is approximated by a simple formula, often a linear or quadratic function, that is determined by values at a few points, called nodes. The key trick is to ensure these local approximations fit together smoothly at the boundaries between triangles. By requiring that the sum of all these local pieces satisfies a weak form of the original equation—weighted against test functions—FEM turns the continuous problem into a set of algebraic equations. The solution of these equations gives the approximate temperature at every node, from which the whole field can be reconstructed. The beauty is that this process is completely general: it works for heat, stress, fluid flow, electromagnetics, and almost any PDE, as long as you can break the domain into elements.

A deeper explanation

The mechanism begins with the 'strong form' of a PDE, which demands that the solution satisfy the equation at every point and meet boundary conditions exactly. For real-world domains, this is too strict. FEM constructs a 'weak form' by multiplying the PDE by a smooth 'test function', integrating over the domain, and using integration by parts to reduce the order of derivatives. This weakens the smoothness requirements on the solution, making it easier to approximate. The domain is then meshed into a finite number of non-overlapping elements (triangles, tetrahedra, etc.), and on each element the solution is approximated as a linear combination of basis (shape) functions, which are typically simple polynomials that are piecewise continuous across element boundaries. These shape functions are often defined so that they are 1 at one node and 0 at others, giving them a local support that makes the resulting global system sparse. The Galerkin method chooses the test functions to be the same as the basis functions, leading to a square linear system: the 'stiffness matrix' and 'load vector'. Solving this system yields the coefficients that define the approximated solution. The accuracy of FEM improves as the mesh is refined (h-refinement) or when higher-order polynomials are used (p-refinement), with convergence theory guaranteeing that the approximation approaches the true solution under certain conditions. This mechanism is why FEM can handle irregular geometries and varying material properties so effectively—it reduces the PDE to a linear algebra problem, which is what computers handle well.

Keep FACTREE close

Internet access is required. Updates arrive when you reopen or reload the app. You may need to sign in again in the installed app.