Hessian matrix Created 2026-09-24 Updated 2026-10-14
The Hessian matrix describes how the slope of a function changes in different directions. For a real-valued function with continuous second partial derivatives on an open subset of , it is
The symmetry of second derivatives makes a symmetric matrix under these hypotheses. It is also the Jacobian matrix of the gradient: near , a small displacement changes by . Thus the gradient measures the current slope, while the Hessian measures its local variation. [ref]
For example, take the quadratic form
Its gradient and Hessian matrix are
The only critical point is the origin. Completing the square gives , so the origin is a strict global minimum. The eigenvalues and are both positive, recovering the same conclusion from the positive definiteness of the Hessian. Its eigenvectors identify the rotated directions in which the quadratic form has its smallest and largest bending.
Figure 1.
Positive, negative and mixed Hessian eigenvalues produce different critical-point geometry
. Contour plots of , , and . All three have a critical point at the origin; the first two have elliptical contours, while the last has positive and negative sectors meeting along its zero contours. Details.
For a fixed vector , restriction to a straight line gives the directional interpretation
This is the quadratic form associated with the Hessian matrix. For a unit eigenvector , it equals the corresponding eigenvalue. Opposite signs therefore mean that some directions bend upwards and others downwards. The second-derivative test turns this information into a classification when the gradient vanishes.
The same object is useful for computation. Newton's method in optimization chooses a displacement by solving when the Hessian matrix is an invertible matrix; this makes the gradient of the local quadratic model vanish. For the displayed , the equation gives , so one exact step reaches the minimum from any starting point. For a general function, a Hessian with opposite-sign eigenvalues or a large condition number need not give a useful minimizing step, and the local minimum need not be a global minimum.
The name honors Otto Hesse. [ref] An older geometric use is the Hessian criterion for flexes of a plane cubic, connecting a determinant of second partial derivatives with inflection points of an algebraic curve. Hesse's 1844 paper Über die Wendepuncte der Curven dritter Ordnung is an early source on that geometric problem. [ref]
Householder transformation Created 2026-10-03 Updated 2026-10-14
A Householder transformation is a reflection that leaves every direction in a chosen hyperplane fixed and reverses its normal direction. For a real unit vector , its matrix is
To understand the formula, decompose any vector into its orthogonal projection onto the normal and a perpendicular component:
Then . Subtracting twice the normal component changes its sign while retaining everything parallel to the mirror. A nonzero normal gives the equivalent formula , so normalization can be deferred.
For example, take . Its mirror is the straight line , and
The midpoint of these two vectors is , which lies on the mirror; their connecting segment is parallel to its normal. Both vectors have Euclidean norm five.
Figure 1.
A Householder reflection reverses the normal component and preserves the mirror component
. The mirror is . The vector becomes ; their midpoint is the orthogonal projection onto the mirror. Details.
Several useful properties follow from this decomposition. The Householder reflection is a symmetric matrix and an orthogonal matrix:
Reflecting twice restores the original vector; Euclidean norms and inner products are preserved. The eigenvalue is along and on , so . A reflection reverses orientation even though it preserves lengths.
The computational payoff is that the mirror can be chosen to send a whole vector onto one coordinate axis, eliminating several entries at once. Householder QR decomposition repeats this operation on the remaining parts of successive columns. For a real symmetric matrix, applying the same Householder reflection on both sides gives a matrix similarity that preserves symmetry and eigenvalues; this is the basis of Householder tridiagonalization.
Alston S. Householder's 1958 paper Unitary Triangularization of a Nonsymmetric Matrix develops this elimination method. Its motivation includes reducing the arithmetic needed for triangularization while retaining the conditioning advantages of orthogonal transformations. [ref] Over the complex numbers, for a unit is Hermitian and unitary, with the star denoting the conjugate transpose; the coordinate-axis construction below is stated for real vectors.
For two distinct intersecting straight lines through the origin, with independent real linear equations and , the nondegenerate centred hyperbolas having exactly those asymptotes are
Indeed, the homogeneous quadratic form of a centred hyperbola vanishes in its two asymptotic directions and hence is a nonzero scalar multiple of . Its equation has no linear terms because the origin is its centre, and its constant term is nonzero by nondegeneracy. Conversely, the invertible linear transformation takes the displayed curve to , a hyperbola, and its ends approach or . Distinct values of give disjoint level sets. In particular, the rectangular hyperbolas with asymptotes are , .
Two planes , with independent normal vectors meet in a straight line with direction . Any difference of two points on both planes is perpendicular to both normal vectors, which proves the direction statement. A particular point follows by solving the two linear equations; adding a real multiple of the direction gives the parametric equation of a straight line. For parallel normal vectors, the planes are either coincident or disjoint instead.
Isocline 2026-10-14
For the first-order ordinary differential equation defined on an open subset of the plane, an isocline of slope is the level set
Here is a constant. At every point of this isocline, the direction field prescribes a tangent vector proportional to for a solution of a differential equation. It does not generally prescribe the tangent line of the isocline itself. The level set can have several components or fail to be a smooth curve, and points outside are excluded.
For example, take on the whole plane. Its isoclines are the parallel straight lines
Each line has slope , while the direction field along it has slope . Thus the isocline carries horizontal segments even though the line itself rises. A function graph of a solution of a differential equation follows the segments, rather than following this line. Only the isocline with , namely , is also a solution of a differential equation.[ref]
Figure 1.
Isoclines label the prescribed slopes while exact solution graphs follow the direction field
. Details.
The first-order linear differential equation has the exact family
The initial condition selects and hence a unique solution of a differential equation for every real . The picture shows . For the solution of a differential equation stays on the isocline; for other it moves through different isoclines. These formulas check the pictured trajectories by direct differentiation, independently of how the direction field was sampled.
The zero-slope isocline is called a nullcline. Below the nullcline in this example, ; above it, . For , the solution of a differential equation meets it at , where and , a strict local minimum. The nullcline is therefore a useful guide to turning points, although it is not itself a solution of a differential equation. In the equivalent planar autonomous differential equation , , it is the nullcline for the second component; there is no equilibrium point, because the first component never vanishes.
This makes isoclines useful even when no explicit solution of a differential equation is available: organize a direction field by common slopes, read where function graphs rise or fall, and identify possible turning points on nullclines.
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 . Thus
Increasing 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]
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.
Figure 1.
Parallel input fibres of map to scalar outputs
. The blue input straight line is the kernel; the other colored input straight lines are its translations. The output panel is the one-dimensional real line, drawn vertically for alignment. All displayed geometry is exact illustrative mathematics. Details.
Linear functional Created 2026-09-24 Updated 2026-10-14
A linear functional is a linear map from a vector space to its scalar field :
Its output is one scalar, rather than an arbitrary vector in another space. In , gives , , and : adding the two inputs adds their measured values.
The level sets visualize what the measurement retains and discards. For this example they are parallel straight lines . Moving parallel to changes the input but leaves unchanged. The zero level set is its kernel of a linear map, while the other level sets are translates of that vector subspace.
Figure 1.
A linear functional groups vectors into parallel level sets with the same measured value
. Details.
Inputs need not be geometric arrows. On the vector space of polynomials of polynomial degree at most two, evaluating at zero is a linear functional, as is taking the definite integral from zero to one. For , they give and . Thus polynomial evaluation and integration are two different measurements of the same polynomial. Coordinate extraction is another measurement, developed under dual basis.
A linear functional is defined by linearity, not by continuity. In finite-dimensional real or complex normed vector spaces it is automatically continuous; in infinite dimension it need not be. The continuous dual space adds this requirement when small changes in the input should give small changes in the output.
Mean value theorem Created 2026-09-24 Updated 2026-10-14
The mean value theorem says that an average rate of change is attained as an instantaneous rate somewhere between the endpoints. Let and let the real-valued function be continuous on the closed interval and differentiable on the open interval . Then there exists such that
The right-hand side is the slope of the secant line joining to ; the left-hand side is the slope of the tangent line at . The derivative need not be continuous, and the function need not be differentiable at the endpoints. [ref]
For the polynomial on , the secant line has slope . Since the derivative is , the required interior point is . The tangent line there is , whereas the secant line is . Their equal slopes make them parallel, but they are distinct straight lines: the theorem equates rates, not heights.
Figure 1.
The secant line and interior tangent line to have equal slopes but different heights
. Details.
The practical strength is that the unknown point can disappear from an estimate. Under the same hypotheses, if the derivative satisfies throughout , where , then
Applying this to every subinterval proves Lipschitz continuity with Lipschitz bound . For example, on has , so an input change of size at most changes its output by at most , as long as both inputs lie in that interval. A local derivative bound therefore controls finite changes without computing an integral. The sign of the derivative similarly gives the derivative criterion for monotonicity.
Taking shows that a function with zero derivative throughout a real interval is a constant function, provided it is continuous at any included endpoints. The interval condition is essential: on the domain of a function , the function equal to zero on the left interval and one on the right interval has zero derivative everywhere. It is a locally constant function, yet not a constant function on the whole domain of a function. The mean value theorem cannot cross the gap.
A concise proof subtracts the secant line: set and . Then , and Rolle's theorem gives an interior point with . The geometric idea is to remove the average trend and find a horizontal tangent line in what remains.
Normal vector Created 2026-09-24 Updated 2026-10-14
A normal vector at a point of an embedded smooth manifold is orthogonal to every tangent vector in its tangent space, using the surrounding dot product. Its direction describes departure from the local tangent geometry. For a regular level set with nonzero gradient, is a normal vector: differentiation of along any curve on the level set gives .
For a plane curve, the normal direction is a straight line perpendicular to its unit tangent vector; the two unit normals differ by sign. For a curve in three-dimensional Euclidean space, the orthogonal directions form a two-dimensional plane. A principal normal vector selects one of them using curvature, so it must be distinguished from an arbitrary normal vector.
Nullity of a linear map 2026-10-14
The nullity of a linear map is , the dimension of its kernel. It counts independent input directions that can change without changing the output. For a finite-dimensional vector space , the rank-nullity theorem gives
For an matrix of matrix rank , this is , using the number of columns, not the number of rows. This dimension identity is [ref].
The nullity answers a practical question about a linear system: once one input is known to produce the requested output, how much freedom remains? If , its fiber of a function over is
Indeed, exactly when . Thus every nonempty fiber is an affine subspace of dimension , with the same direction space as the kernel. The kernel itself is the fiber over zero. Outputs outside the image of a linear map have empty fibers; the nullity does not guarantee existence, and we assign no solution-space dimension to an empty fiber here.
Figure 1.
Nullity one gives parallel solution lines for
. Each colored input straight line is the fiber over the corresponding output . The blue line through the origin is the kernel. The orange inputs and give the same output; their difference belongs to the kernel. The output lies outside the image of a linear map and has no input. Exact toy geometry, not measured data. Details.
In the diagram, has matrix , matrix rank one and nullity one. Its kernel has basis , and the full solution of is . One free scalar moves the solution along a straight line; the output is impossible.
The existing three-input example instead has rank two and nullity one. Its image of a linear map is all of , and
Every output has a solution straight line. In contrast, has rank one and nullity two, with kernel basis . Its reachable output has the solution affine subspace
a plane, while with has no solution. These two linear maps have the same input and output dimensions but different freedom and reachability. Computing the kernel separates what an output determines from what an extra constraint would have to fix. For either example, a basis of the kernel gives one independent free scalar per basis vector, which is why nullity measures freedom rather than the number of solutions.
Suppose three measurements constrain two unknowns:
The linear system asks for , , and , which are incompatible. A least-squares solution makes a balanced compromise. The matrix has full column rank, so
The fitted output and residual are
Thus the two direct measurements are each overshot by one, and the measured sum is undershot by one. The residual has Euclidean norm and is orthogonal to the column space, the plane in output coordinates .
Figure 1.
The pseudoinverse projects inconsistent data onto the attainable output plane
. For , the closest attainable output is . The segment between them is the residual , perpendicular to the column space. The drawing is an orthonormal two-dimensional slice of output space; the attainable plane intersects this slice in the blue straight line. Details.
For any perturbation , the orthogonality of to gives
Since the kernel of is trivial, every nonzero increases the residual. The least-squares solution is unique in this example. The formula using is convenient for these small exact calculations; an actual numerical computation can use a QR decomposition or singular value decomposition to avoid the extra conditioning cost of the least-squares normal equations. For full column rank, the squared singular values of are the eigenvalues of , so its condition number in the Euclidean norm is . [ref]
A straight line through a point in nonzero direction is the set of vectors for real parameter . If , changes in the parameter equal signed distances along the line. Two such lines intersect exactly when their two parameter formulas give a common vector for some choice of their parameters.
A plane through with nonzero normal vector consists of the position vectors satisfying . Thus , with . When is a unit vector, is the signed distance from the origin in the direction ; for an unnormalized normal vector, that distance is . The displacement within the plane is perpendicular to .
The cross product of the two normal vectors is , so their intersection of two planes has direction . Eliminating gives , and substitution then gives . Thus the Cartesian constraints and parametric equation of a straight line are
There is no valid division by a zero component in a symmetric ratio form; retaining explicitly handles that component.
The matrix rank is the dimension of its column space, equivalently the dimension of the image of the corresponding linear map. The equation is solvable precisely when , equivalently when the augmented matrix has the same rank as . If is one solution, every solution is with , since subtracting any two solutions gives a kernel element. The rank-nullity theorem gives .
Consequently, for rank three there is one solution for every , namely . For rank two there are no solutions outside the column plane, and an affine solution space of a linear equation of dimension one when consistent. For rank one, consistency requires to lie on the column line and the solution set is an affine plane of dimension two. For rank zero, : the solution set is all of if , and empty otherwise. These descriptions include homogeneous systems, whose solution spaces pass through the origin.
The sphere has normal at the specified point, so its tangent plane is
A general straight line through the origin is , , for a fixed nonzero direction . To express the intersection using a matrix, choose independent vectors spanning . The line is exactly the intersection of and , hence
The first two rows have rank two. The third is independent of them exactly when . In that case the rank is three and the unique intersection is
Geometrically the line crosses the tangent plane transversely. If , the matrix rank is two: its third row is a linear combination of the first two, but the corresponding right-hand-side combination would be zero rather than two. The system is inconsistent and there is no intersection. The line is parallel to the tangent plane and cannot lie in it, since it contains the origin while the plane does not. Thus no choice of a genuine direction produces an infinite intersection in this particular problem.
A pure positive cosmological constant in a flat universe gives constant , the expanding de Sitter model. Thus
The redshift drift is a straight line through the origin with positive slope. Here the source and observer expansion rates are equal; the factor in the observer contribution makes every positive-redshift comoving source drift toward still larger redshift.
Write a straight line in Cartesian form , where are real and . With , set and . Using the complex conjugate,
Thus the real linear equation of a line in the complex plane is
Conversely, writing gives , an ordinary straight line with normal vector . The nonzero condition on matters: would give either the whole complex plane or the empty set.
Write and . The complex conjugates in the PDF give
Since , the locus is the straight line through the origin perpendicular to the position vector of in the complex plane. Equivalently,
In the parametric description, is a point of the straight line and the nonzero vector gives its direction. The real parameter runs through every point of that line. For the cross product description, take another cross product with and use the vector triple product identity:
Hence every solution has the representation
Here and , as required. Conversely,
Thus the perpendicularity assumption is sufficient, and the solutions form a straight line parallel to . When , the vector is perpendicular both to and to every position vector on the line; it is the normal to the plane through the origin containing that line. The point is the perpendicular foot from the origin. Its distance from the origin is , since .
For a general parametric straight line, minimize the squared Euclidean distance
This strictly convex quadratic function has its unique minimum at , giving the orthogonal projection
For the cross product description, , so this becomes
For the two planes, put and . Nonparallel unit normals give and . Seek the perpendicular foot in their span, . Its two dot products impose and . Solving gives both requested descriptions of the intersection:
and
Indeed the vector triple product identity gives . Conversely, since are linearly independent, equality to forces both plane equations. Thus neither description introduces extra points.
Use the Riemann sphere convention for evaluating a Möbius transformation at a pole and at infinity. When the three prescribed points are finite, take
Its zero is , its pole is , and substitution at gives one. The remaining three cases are
All coefficient determinants are nonzero because the points are distinct. There is only one such Möbius transformation: the composite of any two candidate maps, one inverted, fixes ; fixing infinity makes it affine, and fixing zero and one makes it the identity.
For this question use the cross-ratio normalization
In the finite case this is , with the corresponding limits if a point is infinite. It is finite and distinct from zero and one, since is distinct from the other three points and is a bijection. Ordering conventions for the cross-ratio differ; the definition here is fixed by the specified images, rather than by importing another ordering formula.
A generalized circle means either a circle or a straight line completed by infinity. Let be the unique generalized circle through the first three points. Its image under is the unique generalized circle through , namely . Therefore exactly when is real. Conversely a real lies on that extended real line, whose inverse image is . This proves the real cross-ratio criterion for a generalized circle in both directions.
By i, a free choice of is possible precisely when and . Thus
The complete solution set of a linear system is
The direction vector spans the kernel, and the displayed straight line is the entire solution set of a linear system.