Cartesian frame 2026-10-14
A Cartesian frame combines a chosen origin point with a Cartesian basis , including its ordering as an ordered basis. A point has coordinate vector when . The basis supplies measuring directions and unit lengths; the coordinate vector is the resulting tuple of numbers; the Cartesian frame additionally fixes where measurement starts. A vector already belongs to a vector space with a zero vector, so expressing it in a basis requires no additional choice of spatial origin.
For example, keeping the standard basis but moving the origin from to changes the coordinates of the physical point from to . This happens because is a different displacement vector. By contrast, the two diagrams above keep fixed and change only the basis. In a fixed reference Cartesian frame, a new frame with origin column and basis-column matrix describes points by ; the new coordinates are when is an orthogonal matrix.
Constant function Created 2026-09-24 Updated 2026-10-14
On a nonempty domain of a function , a constant function has one fixed value in its codomain:For example, on the real line is a horizontal graph. Its image of a function is the singleton even though its domain of a function has infinitely many inputs. A constant function from the real line to the real numbers has derivative zero and every nonzero real period of a function; there is no smallest positive period. It supplies a reference level from which variation can be measured.
A constant map between vector spaces is a linear map only when its value is the zero vector, since a linear map must preserve zero. A nonzero constant map is still an affine map. In a Fourier series, the constant term records the period average, while the other terms describe oscillation around that level.
Dot product Created 2026-09-28 Updated 2026-10-14
A dot product measures how much two Euclidean vectors point along each other. This article uses real Euclidean vectors in , with the usual Cartesian basis: multiply matching coordinates and add,The result is a scalar, while is the Euclidean norm. This real convention has no complex conjugation; for vectors over the complex numbers, use the convention specified in inner product.
For two nonzero Euclidean vectors, the same dot product records their angle through the cosine:Here is an inverse trigonometric function. The Cauchy-Schwarz inequality guarantees that the normalized ratio lies in . The zero vector has dot product zero with every vector, but its angle is undefined: the ratio would divide by zero. To outline the geometric identity, expand and compare with the law of cosines.[ref]
Take and . Their Euclidean norms are and , andThe unit vector selects the horizontal direction. The scalar projection says how far reaches along that direction; its vector projection is . Thus splits into an aligned part and an orthogonal projection residual.
The vector projection of onto the horizontal line is ; the orthogonal projection residual is and the angle is
. Details. For , the dot product proves orthogonality; both Euclidean norms are . For , : the scalar projection onto is , because reaches against that chosen direction. Its angle with is .
Keeping fixed and choosing of Euclidean norm gives . At angles , the dot products are . Positive values mean partial alignment, zero means orthogonality, and negative values mean a component against the other direction.
With Euclidean norms and , the dot product follows ; equal-length arrows show positive, zero, and negative alignment with
. Details. Euclidean vector Created 2026-10-03 Updated 2026-10-06
A Euclidean vector is a vector in a finite-dimensional real inner-product space, represented in Cartesian coordinates by an ordered tuple of real components.
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
Kernel of a linear map Created 2026-09-24 Updated 2026-10-14
The kernel of a linear map is the vector subspace of inputs sent to zero. Linearity makes it a vector subspace: if , then for all scalars . A vector in the kernel represents a change that the map cannot detect, since for every input .
For given by , the zero-output equations are and . ThusIncreasing the first input while decreasing the second by the same amount leaves the output unchanged. For the linear functional , the kernel is the straight line shown in its diagram. A linear map is injective exactly when its kernel is the zero vector subspace, because is equivalent to .
The kernel describes invisible changes, rather than all inputs that produce a specified nonzero output. If , the corresponding fiber of a function is the affine solution space of a linear equation . The difference of two inputs in that fiber belongs to the kernel; an input in that fiber need not. In particular, for the fiber cannot be a vector subspace, since it does not contain the zero vector.[ref]
Solution Sets. Margalit and Rabinoff, Interactive Linear Algebra, §2.4.2, Key Observation and Remark: translate the homogeneous solution set by any particular solution
For the linear functional , , the kernel is . Each fiber is the parallel straight line . The input vector space is two-dimensional, but the output is one scalar: a whole straight line of inputs collapses to one point of the output real line.
Linear independence Created 2026-09-24 Updated 2026-10-14
In a vector space over a specified field , a finite family of vectors is linearly independent when, for coefficients ,Here the left-hand zero is the zero vector, while the right-hand zeros belong to the field . Thus linear independence excludes every nontrivial linear relation. For an infinite family, require this condition for every finite subfamily.[ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/0bbc30e3f1d7933ea07a2d2e9ab050d9_MIT18_06SCF11_Ses1.9sum.pdf. MIT 18.06SC, Strang lecture summary 9, p. 1: linear independence
For and over the real numbers, the linear relation gives and . Adding and subtracting yields , hence . This verifies linear independence directly and explains why the linear combination giving has exactly the coefficients .
A linearly independent family cannot contain the zero vector: a coefficient of on that entry and on every other entry would be a nontrivial linear relation. The empty family is linearly independent, because its empty sum is the zero vector and there are no coefficients that could be nonzero. Linear independence identifies a collection without redundant vectors; combined with a spanning set, it gives a basis. The uniqueness of linear combination coefficients makes its representations unambiguous.
Null direction of a linear map 2026-10-14
A null direction of a linear map is represented by a nonzero vector in its kernel. Every scalar multiple is an undetectable displacement: . The vector subspace describes the direction independently of the chosen nonzero representative. More generally, a basis of the kernel supplies all independent null directions of a linear map; their number is the nullity. The zero vector belongs to the kernel but supplies no direction.
Orthogonal projection onto a finite-dimensional subspace Created 2026-09-24 Updated 2026-10-14
A finite-dimensional linear subspace of an inner product space has a unique closest vector to any given vector . This is its orthogonal projection . If is an orthogonal basis of , compute it one direction at a time:The inner product convention here is linear in its first argument, including over the complex numbers. For an orthonormal basis, each denominator is one. When consists only of the zero vector, the empty sum gives . The finite-dimensional formula is described in Francis Narcowich, Inner Products and Norms: minimization problems.
Take and , using the dot product. With ,The orthogonal projection residual has . To verify the best approximation directly, every candidate in the line is , andThe smallest squared Euclidean norm error is therefore , attained only at . The diagram connects the perpendicular residual to this one-variable quadratic polynomial.
The perpendicular residual identifies the closest point on a line and the unique minimum of the squared error
. Details. The general mechanism is the Pythagorean theorem in an inner-product space. For any , the vectors and are orthogonal, soMoving away from inside adds a nonnegative squared norm, which is zero only when . This proves both optimality and uniqueness.
The useful feature is separation of preparation from evaluation. Construct an orthonormal basis once with the Gram-Schmidt process, then obtain each new best approximation using inner products instead of a fresh optimization problem. When is the column space of a matrix, this gives linear least squares; when is spanned by orthogonal polynomials, it gives a least-squares polynomial in an orthogonal-polynomial basis. The ambient inner product space need not be a Hilbert space for this finite-dimensional construction. In an infinite-dimensional target linear subspace, existence requires additional hypotheses, supplied by orthogonal decomposition by a closed subspace.
Orthogonal vectors Created 2026-09-24 Updated 2026-10-14
Two vectors are orthogonal when their inner product is zero.
For real Euclidean vectors, the inner product is the dot product, so and are orthogonal: . For nonzero Euclidean vectors, this means their angle is . The zero vector is orthogonal to every vector, although it has no direction or defined angle.[ref]
https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/resources/lecture-14-orthogonal-vectors-and-subspaces/. Strang, MIT 18.06, Lecture 14: orthogonal vectors and subspaces
In an abstract inner product space, orthogonality always refers to its chosen inner product. For example, the weighted inner product makes and orthogonal, since . Their ordinary dot product is , so their arrows are not perpendicular in the usual Cartesian coordinate system. The algebraic definition also applies to functions, where arrows need not be available.
Past exam of the mathematics course of the University of Cambridge 2004 ia Paper 1 6A Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2004 ia Paper 1 8C ii Solution Created 2026-09-24 Updated 2026-09-24
Scalar projection 2026-10-14
The scalar projection of a real Euclidean vector onto a nonzero Euclidean vector is its signed component along the unit vector :For , the scalar projection onto is , while that onto is . Reversing the measuring direction reverses the sign; the scalar projection is not necessarily a nonnegative length. For nonzero , it also equals , using the angle with and its cosine. For the zero vector it is zero, even though that angle is undefined.
Tangent vector Created 2026-09-24 Updated 2026-10-14
A tangent vector at a point of a smooth manifold without boundary records an instantaneous velocity through . Its base point is part of the data; measuring its length additionally requires a Riemannian metric. Intrinsically, a smooth curve with defines its tangent vector by how every local smooth function changes along it:This is a derivation at a point. Two smooth curves through represent the same tangent vector if these derivatives agree for every such smooth function; equivalently, their coordinate velocity vectors agree in one manifold chart. The chain rule makes that agreement independent of the chosen manifold chart. [ref]
For an embedded submanifold of Euclidean space, the intrinsic tangent vector is represented by the ordinary derivative , with its base point retained. A drawn arrow starting at represents that tangent vector; its endpoint need not lie on the embedded submanifold. Nor is a tangent vector required to be a unit tangent vector: a stationary smooth curve gives the zero vector, which belongs to the tangent space but has no direction to normalize.
Here are explicit calculations. In , and have different routes but the same tangent vector at . For , both give . For a circle of radius , has tangent vector at : changing changes the speed or reverses travel without changing the circle.
A reparametrization with gives, by the chain rule, . A regular change of curve parameter has . The singular choice instead givesBoth describe the same parabola, whose tangent line at the origin is still the horizontal axis. The zero velocity diagnoses this singular change of curve parameter, whose inverse is not differentiable at zero; it does not show that the geometric tangent line is absent. The regular curve supplies its nonzero direction.
The diagram is an analytical illustration of these exact parametric curves, with equal parameter increments marked on each route. It separates geometry from traversal: the tangent line depends on the route, while a velocity vector also depends on how the curve parameter advances.
Trivial kernel Created 2026-09-28 Updated 2026-10-14
A linear map has a trivial kernel when : the zero vector is the only input producing the zero output. The kernel is a singleton set, not the empty set, because every linear map sends zero to zero. Equivalently, its nullity is zero and is injective. This holds even without a finite-dimensional hypothesis; see Linear Algebra Done Right by Sheldon Axler (4th edition).
The reason this zero-output test controls all outputs is linearity:With a trivial kernel, equal outputs force equal inputs. Therefore every equation has at most one solution. Existence is a separate question: must belong to the image of a linear map. In the fiber description under nullity, is just the single point .
For example, the linear map , , has trivial kernel and full column rank:The output comes from exactly , while is unreachable. Conversely, , , is surjective and has full row rank, but its kernel is : every output comes from the solution straight line .
For an matrix, a trivial kernel is equivalent to matrix rank and linear independence of its columns. It can therefore occur only if . If , the rank-nullity theorem also forces surjectivity, giving an invertible matrix; if , the example shows why unique recovery of reachable inputs does not imply that every output is reachable. Finally, a trivial kernel guarantees exact uniqueness without guaranteeing numerical stability: the singular matrix example has trivial kernel for every , even as its condition number grows without bound when approaches zero.
A family is linearly independent if and only if every vector in its linear span has unique coefficients as a linear combination of that family. For a short proof, subtract two representations to get ; linear independence forces each difference to vanish. Conversely, uniqueness applied to the zero vector forces every linear relation to use only zero coefficients. This explains the practical role of linear independence: a coordinate vector relative to an ordered basis is unambiguous.
Unit vector Created 2026-09-24 Updated 2026-10-03
Vector addition 2026-10-14
Vector addition is the vector space operation combining two vectors into their sum. It is commutative and associative, has the zero vector as identity, and distributes with scalar multiplication as specified by the vector space axioms. Coordinatewise addition describes it after choosing a basis.





