Finite element method Created 2026-09-28 Updated 2026-10-14
The finite element method replaces an infinite-dimensional weak formulation by finitely many unknowns attached to a finite element mesh. Simple local functions, often piecewise polynomial functions, join to form a global approximation. The attraction is that each finite element can be integrated separately, while the assembled equations enforce a global balance. A piecewise-linear hat function only meets its immediate neighbors, so a large problem can have a sparse matrix rather than a dense one. Gilbert Strang's MIT lecture develops this connection from the one-dimensional weak formulation through local hats to the stiffness matrix and load integrals.[ref]
https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/676ba0a00eef45a6cb3823c4da61ee11_18-085F08-L18.pdf. Gilbert Strang, MIT 18.085, Lecture 18: Finite Elements in 1D, transcript pp. 2–8, 2008; accessed 2026-10-11
For the conforming Galerkin method, let be a real Hilbert space, a bounded coercive bilinear form, and a bounded linear functional. Given a conforming finite element space , the continuous and discrete problems areWriting in a basis of gives the linear systemHere is the stiffness matrix and is the vector of loads tested against the basis functions. The Galerkin method uses the same trial and test space in this construction. Finite element methods also use the Petrov-Galerkin method, with different trial and test spaces; testing against the trial space is therefore a property of this construction, rather than a definition of every finite element method.
The finite element solution of the one-dimensional Poisson equation below gives every entry explicitly. Refining the finite element mesh then improves the approximation by adding local degrees of freedom. For a symmetric coercive bilinear form, Galerkin orthogonality makes the discrete solution the best approximation in the energy norm; the geometry of orthogonal projection explains why this local construction yields a globally meaningful answer.
Consider the Poisson equation on an interval with homogeneous Dirichlet boundary conditions:Two integrations and the endpoint conditions give the exact solution . To approximate it, multiply by a test function that vanishes at both endpoints. Integration by parts givesThe boundary term is zero. Thus the weak formulation is to find such thatThe zero-trace Sobolev space consists of square-integrable functions with square-integrable weak derivatives and zero endpoint values in their continuous representatives; it does not require a classical second derivative. This is why continuous piecewise linear functions are admissible despite corners. The Poincaré inequality makes a coercive bilinear form on . Strang derives this one-dimensional weak formulation, the piecewise-linear hat functions, and their load and derivative-product integrals in the cited lecture; its endpoint example uses a free left endpoint, while both endpoints here are fixed.[ref]
https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/676ba0a00eef45a6cb3823c4da61ee11_18-085F08-L18.pdf. Strang, MIT 18.085, Lecture 18, transcript pp. 2–8: weak form, hat basis, and assembly
Take the uniform finite element mesh , , with . The continuous trial space isHere means polynomials of degree at most one on each interval. This is a conforming finite element space in , with interior piecewise-linear hat functions as a basis. Their endpoint values enforce the Dirichlet boundary conditions automatically. Set and test the weak formulation against each :Each interior hat has two slopes and , each over a length . Its squared derivative therefore integrates to . Adjacent hats have opposite slopes on their one shared interval, giving . All other derivative products vanish. The stiffness matrix is the tridiagonal matrixThe load is the area of a triangle of base and height one, including hats next to the boundary. Boundary hats are omitted because the boundary values are prescribed. The piecewise-linear hat function article explains how the same entries arise by adding local two-node contributions.
With four mesh intervals, , there are three unknowns:For example, the first row gives and the middle gives . The coefficients are the nodal values . At , linear interpolation gives , whereas : exactness at the nodes still leaves a visible error between them.
In this model the Galerkin method solution equals the nodal approximation obtained by linear interpolation on any finite element mesh. Indeed, on each interval , is the average of and is constant. Therefore . Summing proves Galerkin orthogonality for , and uniqueness gives . This argument relies on the constant diffusion coefficient, conformity and exact integration; nodal exactness is not a general promise for finite element methods with other operators or integration rules.
On a uniform mesh, direct subtraction of the chord from the parabola gives, on every element of length ,The largest value error is at an element midpoint. Its size and the energy norm error are exactlyThus gives and . With eight elements, , these become and . Halving the mesh spacing quarters the maximum value error but only halves the energy norm error: values and slopes converge at different rates. The figure shows the small value error at its own scale, where the four-to-one reduction becomes clear.
Finite field Created 2026-09-24 Updated 2026-10-13
A finite field is a field with finitely many elements: addition, subtraction, multiplication, and division by a nonzero element all stay inside a finite collection. Write , or , for a finite field with elements. The subscript counts elements; it does not prescribe modular arithmetic modulo . The field with four elements is the smallest example where that distinction matters.
Every finite field has size , where is a prime number and is a positive integer. To see the counting mechanism, use its prime field : the finite field is a finite-dimensional vector space over . For a basis , every element has exactly one expressionEach coefficient has choices, so there are expressions. Here is the characteristic of a field and is the dimension of a vector space. Thus sizes are possible, whereas are not prime powers and cannot be finite field sizes.
Conversely, every prime power occurs, and any two finite fields of the same size admit a field isomorphism. These are classification statements, beyond the counting argument. See Conrad's Theorems 1.5, 2.2, and 2.7.[ref]
https://kconrad.math.uconn.edu/blurbs/galoistheory/finitefields.pdf. Keith Conrad, Finite Fields, sections 1–2
Uniqueness means the arithmetic agrees after relabeling; it does not choose a basis, an irreducible polynomial for a quotient ring representation, or a particular field isomorphism. Even for the field with four elements, exchanging and preserves the arithmetic.The appeal for coding theory is exact, finite arithmetic with reliable division: polynomial interpolation and linear algebra work over a finite alphabet. A Reed-Solomon code represents messages by polynomials and adds redundancy by evaluating them at several distinct finite field elements. Forney's MIT notes develop this arithmetic as preparation for such error-correcting codes.[ref]
https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/8921c013c1d7802bb197572c52442b97_chap7.pdf. G. David Forney Jr., Introduction to finite fields, 2005
In cryptography, finite fields likewise supply exact arithmetic on finitely many symbols, with operations that can be implemented using bits.Historically, Évariste Galois published work on finite fields beyond prime fields in 1830, constructing them by adjoining elements satisfying irreducible polynomials over prime fields. Conrad's historical account also records E. H. Moore's 1893 terminology, from which the name Galois field and notation descend.[ref]
Finite greedy basis extension and choice 2026-10-14
For an explicit basis extension in , start with , where . Its linear span is the line . Adding preserves linear independence, because is outside that line, and gives a basis. Every vector has the finite linear combinationThe vector cannot be added while preserving linear independence: it is already in the linear span. Many choices outside the line work, so maximality does not select a unique basis.
For a finite-dimensional vector space with a supplied finite spanning set, a greedy algorithm scans the list, retaining each vector precisely when it is outside the linear span of those already retained. Starting with a linearly independent , the same scan adjoins only the needed vectors. Retained vectors remain linearly independent, and every skipped vector is in the final linear span, so the result is a basis containing . Finite reasoning needs no axiom of choice.
For an arbitrary vector space, this finite stopping argument is unavailable. Accepting Zorn's lemma asserts existence of a maximal element once every chain in a partial order has an upper bound; it supplies no general computational recipe. Over ZF, Zorn's lemma, the axiom of choice and the well-ordering theorem are equivalent. Particular infinite vector spaces can still have explicit bases, such as for the vector space of univariate polynomials over a specified field; infinity alone does not force a nonconstructive argument.[ref]
How to use Zorn’s lemma by Timothy Gowers. How to use Zorn’s lemma, “Further general remarks”, immediately after Example 1 continued: equivalence with choice and well-ordering
Flag (linear algebra) 2026-10-07
A flag is a strictly nested chain of vector subspaces of a fixed vector space. A complete flag contains a subspace of every possible dimension. For an action by linear maps, an invariant flag means that each of its vector subspaces is an invariant subspace. A basis adapted to an invariant complete flag makes all these maps upper triangular, connecting complete flags to simultaneous triangularization of a Lie algebra representation.
Use the negative-exponential forward discrete Fourier transform and the -normalized inverse discrete Fourier transform:For the circulant matrix with first column , the discrete Fourier mode is an eigenvector with eigenvalueIndeed, substitution into circular convolution givesThe columns of are , so the diagonalization of a matrix takes the formThe roots of unity give orthogonality of these eigenvectors; dividing each by makes the basis orthonormal. Consequently, every complex circulant matrix is a normal matrix, including ones that are not Hermitian matrices.
The sign convention matters. For , the circulant matrix isChanging the direction of the shift or the sign in the discrete Fourier transform changes which complex eigenvalue goes with which discrete Fourier mode. A real symmetric example alone would conceal that distinction.
For a linear system , put and . The equation becomes independent scalar equationsIf every is nonzero, divide to find the unique vector and apply the inverse discrete Fourier transform. If some , a vector satisfying the linear system exists exactly when at every such index; the corresponding remain free. This is a concrete version of the Fredholm alternative in a finite-dimensional setting.
With an appropriate Fast Fourier transform, multiplication or a compatible solve takes arithmetic operations, instead of forming a dense matrix and applying general Gaussian elimination. The gain comes from the periodic structure; an arbitrary matrix does not have this shared basis of discrete Fourier modes.[ref]
Free module Created 2026-09-24 Updated 2026-10-14
A free module is a module with a basis of a module : every element has exactly one expression with and only finitely many nonzero. Equivalently, the coefficient map is a module isomorphism. Existence means generation; uniqueness means linear independence in a module. For finite of size , this says , a finite free module. See Neil Strickland's Rings, Modules and Linear Algebra, section 11.
The integer lattice in the opening diagram is a free module over with basis of a module , . For example, , and comparing the two coordinates makes the coefficients unique. A different basis of a module is , , because ; in particular .
By contrast, and are linearly independent in a module, but generate only the submodule . They miss because has no integer solution. They would form a basis over the rational numbers. Even generation need not let one extract a basis of a module: the elements generate , since , but neither singleton generates it, and is a nontrivial linear relation between them. These are concrete failures of the usual vector space argument that divides by any nonzero coefficient.
The cyclic module has no basis of a module over : every element has the nontrivial relation , so no nonempty subset is linearly independent in a module, while the empty subset cannot generate this nonzero module. Specifying the scalar ring is essential: over , the same additive object is a free module with the one-element basis of a module , since each coefficient is itself a unique class in .
Fundamental matrix of a linear differential equation Created 2026-10-06 Updated 2026-10-14
For a system of linear differential equations , a fundamental matrix has columns forming a basis of its solution space. It solves and is invertible at every time in its interval. Every solution is for a constant vector : differentiating gives zero. Invertibility at one time implies invertibility throughout the interval by uniqueness of the initial value problem. This notion is distinct from a Markov-chain fundamental matrix or the projective-geometric matrix used in stereo vision.
Every finite-dimensional complex Lie algebra representation of a nilpotent Lie algebra decomposes into invariant generalized weight spaces. The nilpotence assumption is essential: a general solvable action can have extensions between distinct weights.
Here is a proof. For , nilpotence gives , hence . By the nilpotent commutator preserves generalized eigenspaces lemma, every generalized eigenspace of is invariant under every . Split successively by the acting operators of a basis of . Each resulting block is invariant under , and each basis operator has only one eigenvalue on it. The Lie theorem triangularizes the action on each block; its diagonal entries therefore give one and the same linear functional on every basis vector of that block. Every is strictly upper triangular there, proving that the block is . Distinct blocks have distinct weights, so this is a direct sum. On the zero generalized weight space, every acting operator is a nilpotent endomorphism, so the Engel theorem supplies a nonzero common annihilated vector whenever that space is nonzero.
Gram-Schmidt process Created 2026-09-24 Updated 2026-10-14
The Gram-Schmidt process turns a finite ordered family of linearly independent vectors in an inner product space over the real numbers into an orthonormal basis of their linear span. It keeps every successive linear span, so the first new vectors describe exactly the same directions as the first inputs. Its idea is geometric: remove the orthogonal projection onto directions already found, then divide the remaining vector by its norm. This makes a complicated basis easier to use without changing the vector subspace it describes.[ref]
Start with and . At step , use the previously obtained orthonormal set to defineThe sum is the orthogonal projection onto a finite-dimensional subspace , and is the orthogonal projection residual. Linear independence ensures : otherwise would already be a linear combination of earlier inputs. If the input family is linearly dependent, use only the retained orthonormal vectors in the sum and omit an input whenever its remainder is the zero vector; do not divide by zero. The retained outputs still form an orthonormal basis of the original linear span, but their number can be smaller than .
For a short verification, orthonormality makes every earlier inner product vanish:Also is minus a linear combination of earlier vectors, while is plus that same linear combination. These two inclusions, followed by division by a nonzero norm, giveThe argument also works in an inner product space over the complex numbers with the existing inner product convention, linear in the first argument: the coefficients remain . With the convention linear in the second argument, write instead.
For a first picture, take and in with the ordinary dot product. ThenSubtracting the diagonal component leaves an orthogonal direction; dividing by its norm makes its length one. If the second input were instead, its orthogonal projection would be the entire input and , revealing linear dependence.
Gram-Schmidt orthogonalization in : input vectors, subtraction of an orthogonal projection, and an orthonormal basis
. Details. For a full three-dimensional calculation, use the ordinary dot product and the input vectorsThe first two steps giveAt the third step, the inner products are and . ConsequentlyThe three numerator vectors have pairwise dot products and squared Euclidean norms . Thus the displayed outputs are indeed an orthonormal basis, and the three nonzero remainders also confirm linear independence of the inputs. Keeping the removed coefficients produces the QR decomposition below.
An immediate reward is a reusable orthogonal projection: once an orthonormal basis of a vector subspace is known, any vector hasFor the linear span of just the first two inputs in the three-dimensional example, gives . Its orthogonal projection residual is , visibly in the missing orthogonal direction. This is the geometry behind the linear least-squares problem.
The formulas above describe exact arithmetic. With floating-point arithmetic, subtracting an orthogonal projection nearly equal to the input can leave a small remainder; dividing by its small norm can magnify existing roundoff error. The Classical Gram-Schmidt and Modified Gram-Schmidt arrangements agree in exact arithmetic but can give different rounded results. Exact linear dependence and a small computed remainder therefore require different judgments in a numerical implementation.[ref]
https://nhigham.com/wp-content/uploads/2023/10/high95m.pdf. Higham, The Test Matrix Toolbox for Matlab, §8, p. 22
Group representation Created 2026-09-24 Updated 2026-10-14
A group representation is a group homomorphism from a group to the general linear group of a vector space. It realizes abstract group elements as invertible linear transformations.
The defining identities are and , so an inverse element is represented by a matrix inverse. A choice of basis gives a matrix representation, but the underlying action does not depend on that choice. The action need not distinguish every group element: the trivial representation sends all of them to .
Hamming code as a cyclic code 2026-10-14
Let generate , , and set . The binary cyclic code defined by has a parity-check matrix consisting of every nonzero vector of once, after choosing a basis and ordering its columns. It is therefore a Hamming code. Its generator polynomial is the minimal polynomial of an algebraic element , of degree .
Hermitian form Created 2026-09-24 Updated 2026-10-14
A Hermitian form is a sesquilinear form on a complex vector space satisfying conjugate symmetry,Hence is a real number for every vector. In a basis, the matrix of a Hermitian form has and obeys , equivalently : it is a Hermitian matrix. The coordinate rule remains . Conjugate symmetry does not imply positivity.[ref]
https://sites.math.washington.edu/~burke/crs/554/lectures/b-lecture4.pdf. Burke, Linear Analysis, Lecture 4, Hermitian symmetry
The diagonal contains more information than might be expected. For any complex sesquilinear form , put . Expanding four expressions gives the complex polarization identity in the linear-first convention:This is an algebraic identity, with no positivity assumption. If every is real, interchanging preserves the first difference and negates the second: use for . The identity then gives . Thus a complex sesquilinear form is a Hermitian form if and only if all its diagonal values are real. Testing only the basis vectors is insufficient: the off-diagonal example in sesquilinear form has zero diagonal entries in its matrix but a nonreal value at .
Consider the indefinite Hermitian formIts values at are . Moreover and are nonzero isotropic vectors: , yet . These vectors do not belong to the radical of a Hermitian form, and the usual Cauchy-Schwarz inequality would incorrectly require . An indefinite Hermitian form records signed geometry rather than defining a norm by .
There is a separate boundary case: is a positive semidefinite Hermitian form, since , but . Its radical of a Hermitian form is the entire second coordinate line. Positive definiteness is exactly the additional condition in a Hermitian inner product. The three examples below show why these distinctions matter: on the real slice , has an ellipse as its unit level, has hyperbolas, and has two parallel lines. These are slices of the complex examples, not drawings of their full four-dimensional domains.
Analytical illustration: real slices of positive definite, indefinite, and positive semidefinite Hermitian forms
. Details. Hyperbolic function Created 2026-10-05 Updated 2026-10-14
Hyperbolic functions combine the exponential function to describe a hyperbola much as trigonometric functions describe a circle. Their two basic members are the hyperbolic cosine and hyperbolic sine, defined for every real number byTheir derivatives exchange the two functions:These formulas follow by applying differentiation to the exponential function definitions. [ref]
https://openstax.org/books/calculus-volume-2/pages/2-9-calculus-of-the-hyperbolic-functions. Gilbert Strang and Edwin Herman, OpenStax Calculus Volume 2, §2.9: hyperbolic definitions and derivatives
Adding and subtracting gives and . Multiplying these equalities proves the hyperbolic Pythagorean identity:Consequently the parametric equation traverses the entire right branch of the unit hyperbola , where . For example, gives , while gives approximately . Compare on the unit circle, where the squared coordinates add to one. The minus sign changes the geometry from a closed circle to an unbounded hyperbola.
The other members are ratios and reciprocals: hyperbolic tangent is , hyperbolic cotangent is , and hyperbolic secant is ; denominators must be nonzero. The hyperbolic sine and hyperbolic cosine both solve the second-order linear differential equation . In fact has and , making this basis convenient for an initial value problem. Their geometry also makes hyperbolic substitution useful for integrals containing , and the hyperbolic cosine gives the physical catenary of a hanging chain.
Hyperbolic plane (quadratic form) Created 2026-09-29 Updated 2026-10-14
A hyperbolic plane is a two-dimensional vector space with a quadratic form and a basis satisfying and , where is the polar bilinear form of a quadratic form. Equivalently, . This definition also applies in characteristic two. Over the real numbers, the identity gives one positive and one negative square, hence signature zero. The signature statement is specific to real quadratic forms.




