Dimension jump in a smooth family of manifolds Created 2026-10-03 Updated 2026-11-05
A family given by smooth equations can have individually smooth fibers of different dimensions. For example, letFor , this is a circle and a one-dimensional smooth manifold; at , it is a single point, a zero-dimensional smooth manifold.
Take and for . Differentiating the defining equation in the spatial variables gives , so . Yet and , while . Thus convergent tangent vectors need not remain tangent to the limiting fiber.
This is not a smooth family in the stronger submersion sense. The total equation defines a cone singular at . A submersion between fixed-dimensional smooth manifolds has constant fiber dimension by the submersion theorem. The example distinguishes fiberwise smoothness and smooth dependence of equations from that stronger regular-family hypothesis.
Dimension (vector space) 2026-10-14
The dimension of a vector space is the cardinality of any of its bases. In finite dimension this counts the scalars needed to specify an arbitrary vector once an ordered basis is chosen. The exchange argument behind the basis extension theorem shows that any two finite bases have the same size: an independent family cannot be larger than a spanning family.
Thus has dimension two even with an oblique basis, has dimension three, and the homogeneous plane in vector subspace has dimension two. This count concerns independent freedom, so an embedded plane remains two-dimensional while sitting in a three-dimensional ambient vector space. Dimension also depends on the field, as the two interpretations of in vector space illustrate.
Directional derivative Created 2026-09-24 Updated 2026-10-14
The directional derivative tests a function along a chosen straight line, including lines that follow neither coordinate axis. For a fixed vector and a point in an open subset of , defineif the limit exists. With a unit vector , the parameter measures signed distance in the input Euclidean space, so the directional derivative is change per unit distance. For a general , it is change per unit parameter; the norm of also sets the rate of travel.[ref]
4.6 Directional Derivatives and the Gradient. Calculus Volume 3, §4.6, definition (4.36), unit-direction convention
For a differentiable real-valued function, the multivariable chain rule givesThus one gradient predicts the local response in every direction. This formula requires differentiability, rather than merely separate partial derivatives.[ref]
Return to at . Its gradient is . In the unit direction ,One can check this without invoking the gradient formula: substitution givesThe difference quotient is , whose limit is . This calculation separates the exact change along a finite path from its first-order rate at the starting point.
Changing the travel speed changes the parameter rate. Taking gives , because the input travels five distance units per parameter unit. For a differentiable function, for any real : negative reverses the orientation as well as scaling the rate. Normalizing before comparing different slopes avoids confusing direction with speed.
The Cauchy-Schwarz inequality bounds the rate in any unit direction by . Here the largest rate is , attained in the direction ; the chosen gives the slightly smaller rate . The perpendicular unit direction gives zero. That means no first-order height change, rather than no change at all: along this direction the example has .
This is useful for following a height or temperature scalar field, choosing a local search direction in mathematical optimization, and distinguishing a coordinate sensitivity from a response along an actual path. For a curved path, derivative along a curve uses its instantaneous tangent vector. Even existence of all directional derivatives does not guarantee one common linear approximation; directional derivatives do not imply differentiability gives a concrete counterexample.
Direction vector Created 2026-10-20 Updated 2026-10-25
A nonzero vector is a direction vector of a line if the line has a parametrization , , for some point . Replacing by a nonzero scalar multiple describes the same line; dividing by its Euclidean norm gives a unit vector in one of the two orientations. A cross product of two nonparallel normal vectors supplies a direction vector for the intersection of their planes.
Dirichlet distribution Created 2026-09-24 Updated 2026-11-05
For and parameters , the Dirichlet distribution is a probability distribution on the probability simplex , . With , its probability density function in coordinates , with , ison the simplex interior. This is a density relative to , not to -dimensional Lebesgue measure, for which the simplex has zero volume.[ref]
SciPy Reference: scipy.stats.dirichlet. Notes: positive parameters, simplex support and multivariate beta normalizer
For , the first coordinate has the beta distribution with parameters . For and all parameters one, the coordinate triangle has area and density , giving the uniform law in those coordinates. More generally, independent gamma distributions with shapes and a common rate can be normalized by their sum to generate a Dirichlet vector. The expected value of is ; the parameters describe both average proportions and their concentration, rather than allowing the coordinates to vary independently.
Consider the original small Poisson equation exampleIts exact solution is the quadratic polynomial . Use a uniform mesh with and three interior unknowns . The finite difference method replaces the negative second derivative byMultiplying by and moving the prescribed Dirichlet boundary conditions to the right givesThe endpoint values contribute and to the first and last equations; they are not additional unknowns. The Thomas algorithm givesand back substitution yieldsAll three values equal exactly: the centered finite difference for the second derivative is exact on a quadratic polynomial. This special nodal exactness does not assert exactness for arbitrary forcing or for the piecewise-linear curve joining the nodes.
Exact quadratic Dirichlet Poisson solution and the three interior values recovered by tridiagonal elimination
. Details. For any interior points with , the scaled tridiagonal matrix has and . Its pivot elements are : start at and use . All are positive. Interior rows have equality in diagonal dominance, so strict diagonal dominance is not the reason this example works. Instead it is a symmetric positive-definite matrix, since for a real vector with ,Zero would force every neighbouring value equal and hence all values zero. This connects the boundary constraints directly to the safe pivots for tridiagonal elimination.
Discrete Fourier transform Created 2026-09-24 Updated 2026-10-18
The discrete Fourier transform turns a finite list of samples into the weights of its discrete Fourier modes. The goal is to reveal a simple oscillatory recipe hidden in complicated-looking data, while retaining enough information to reconstruct every sample exactly. In signal processing, those weights identify sampled frequencies and wave phases; in numerical analysis, they simplify circular convolution and the discrete sine transform Poisson solver.
Start with eight real samples, indexed by :Writing , the actual list isThe discrete Fourier transform recovers the recipe asThe constant contributes ; the cosine contributes ; the half-sized sine contributes and . All other coefficients vanish exactly. The imaginary coefficients carry the sine's wave phase, which a plot of absolute values alone would hide.
Precisely, for a positive integer and a vector , the forward discrete Fourier transform and inverse discrete Fourier transform used here areThus the forward exponent has a minus sign and no scale factor; the inverse exponent has a plus sign and the factor . The coefficients in the reconstruction are , rather than . In the example, , the pair reconstructs the cosine, and the pair reconstructs the half-sized sine. These conventions agree with the scaled Fourier coefficients in MIT's authored notes.[ref]
https://ocw.mit.edu/courses/6-02-introduction-to-eecs-ii-digital-communication-systems-fall-2012/06d7972059805d20e6a7db3a52ec23f2_MIT6_02F12_chap13.pdf. Hari Balakrishnan, Christopher Terman, and George Verghese, MIT 6.02 notes, Chapter 13, equations (13.15)–(13.16), 2012
The proof idea is orthogonality of roots of unity: for integers ,Distinct discrete Fourier modes cancel in this finite geometric series. Substituting the forward formula into the inverse discrete Fourier transform leaves only the desired sample. The same orthogonality makes the normalized discrete Fourier modes an orthonormal basis and gives the discrete Parseval identity, in the present convention,For the eight-sample example, direct squaring gives , while , so . This identity preserves the squared L2 norm after accounting for normalization. The existing discrete Parseval identity instead scales the forward discrete Fourier transform by , producing a unitary matrix and equal squared L2 norms without the factor .
For real input, discrete Fourier conjugate symmetry pairs positive and negative frequencies. The label is a residue modulo : when represents the same discrete Fourier mode as , since . It therefore represents negative frequency cycles per sample. If samples are seconds apart, the corresponding signed frequency is cycles per second. Similarly, index represents , while index is its own negative modulo .
The discrete Fourier transform is an invertible map between two finite vectors. The continuous Fourier transform instead describes a function on the real line by an integral over a continuous frequency variable. A finite list of samples does not determine the full continuous frequency spectrum: aliasing of discrete Fourier modes already supplies distinct waveforms with identical observations. Applying the inverse formula at arbitrary integer indices gives the periodic extension of a finite sequence, repeating the recorded block every samples. This is a property of that representation, rather than evidence that the physical signal repeats beyond the recording. Laurent Demanet's MIT notes place the discrete Fourier transform alongside the continuous Fourier transform and Fourier series to explain the role of sampling and repetition.[ref]
https://math.mit.edu/icg/resources/teaching/18.330/18.330-Mar21.pdf. Laurent Demanet, Introduction to Numerical Analysis, MIT 18.330, §§6.2–6.3, pp. 57–60, March 22, 2012
The beauty is that a change of basis exposes cancellation and structure without losing data. Direct evaluation needs sums of terms; a Fast Fourier transform computes the same discrete Fourier transform with far less work. Computational speed and the mathematical meaning of the coefficients are separate questions.
Discrete-time Markov chain 2026-10-14
A time-homogeneous Discrete-time Markov chain is a sequence of random variables indexed by nonnegative integers, with the displayed conditional probabilities. Here is its natural filtration and is a row-stochastic transition matrix. The Markov property removes dependence on earlier observations once is specified; the time-homogeneous Markov property makes independent of .
Consider states (sunny) and (rainy), with the constructed transition matrixRows give today's state and columns tomorrow's, in order . These numbers define an illustrative model, with one step interpreted as one day; they are not estimates of real weather. Let . The law of total probability gives the recurrence relationSubtracting makes the deviation multiply by at each step. ThusStarting sunny gives , , and ; starting rainy gives and . The two predictions approach the same stationary distribution while retaining a shrinking trace of the initial probability distribution.
Constructed sunny/rainy transitions and the exact sunny probabilities from three initial distributions.
Details. An expected hitting time answers a different question. Starting sunny, let . Every day before the first rain remains sunny, soThis geometric distribution has finite expected value. A first-step calculation gives , with , hence days. The same result follows from the geometric series . This is a mean waiting time, not a prediction that rain first occurs exactly five days later.
A probability row vector is a stationary distribution when . The Markov chain is reversible in that law when detailed balance holds: . Multiplying those equations along a finite path gives equal forward and reversed stationary path probabilities.
Displacement Created 2026-09-24 Updated 2026-11-05
Displacement is the vector change of position between two events in a chosen reference frame:It depends on the endpoints, whereas the distance travelled depends on the entire path. A runner who completes one lap of a circular track has zero displacement and a nonzero distance travelled.
Dividing displacement by elapsed time gives average velocity. A sequence of short displacements adds vectorially to the overall displacement, even when the individual steps point in different directions. This distinction matters when reading motion data: adding the lengths of individual steps estimates path length, while adding their vector components gives the final change of position.
Distributed representation 2026-11-05
A distributed representation encodes an object through a pattern across several components, with each component reusable across many objects. In contrast to allocating a separate indicator to every object, shared components let related objects share information. For example, three binary attributes can encode eight combinations even though there are only three coordinates.
In machine learning, the coordinates are often learned real-valued features rather than named attributes. A word embedding can encode several aspects of word usage in one vector; no single coordinate needs to have a simple human interpretation. Combinatorial capacity alone does not guarantee useful learning: the training objective must make the representation's geometry relevant to the task.[ref]
Deep Learning by Ian Goodfellow and others. Chapter 15, §15.4, distributed representations
Divergence of a Cartesian second-rank tensor 2026-10-14
For a constant orthogonal Cartesian coordinate change , a Cartesian second-rank tensor obeys . The chain rule gives . Consequently , the transformation rule for a vector. Under non-Cartesian position-dependent coordinate changes, partial derivatives must be replaced by the appropriate covariant derivative.
Dot product Created 2026-09-28 Updated 2026-11-05
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. Double pendulum Created 2026-09-24 Updated 2026-10-18
A double pendulum consists of two pendula coupled because the second pivot moves with the first mass. It has two degrees of freedom: even when the upper pivot is fixed, moving the upper arm carries the lower pivot along. This makes the double pendulum a compact example of how mechanical constraints couple motion, and how Lagrangian mechanics converts geometry into dynamics.
Use two equal point masses and two massless rigid rods of equal length , with joints that allow free rotation in one vertical plane. The upper pivot is fixed; gravity is uniform, with gravitational acceleration . Neglect joint friction and drag force. Both angles are measured from the downward vertical, positive toward the right, in radians. In particular, is an absolute angle, not the bend between the rods: that bend is .
Equal point masses and massless rods: both angles are measured from the downward vertical
. Original diagram of the ideal double pendulum. Dashed vertical lines are the separate references for and ; the lower position vector is the sum of the two rod vectors. The drawn angles illustrate geometry, rather than the small-angle approximation. Details.The double pendulum Lagrangian below gives the exact dynamics of this ideal model. Near the downward stable equilibrium, normal modes of a double pendulum replace the coupled motion with two independent harmonic oscillators. Their fixed amplitude ratios explain which releases make the rods swing together and which make them swing in opposite directions.
Dual norm Created 2026-10-06 Updated 2026-10-18
A dual norm measures how strongly a bounded linear functional can respond to a unit-sized input. If is a bounded linear functional on a normed vector space , write and defineIt is the operator norm of when its scalar output is measured by absolute value. On , represent using a coefficient vector . The unit ball is symmetric, so maximizing gives the same value as maximizing : negate an input whenever its output is negative.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §A.1.6, printed p. 636: dual norm and scalar operator-norm interpretation
For an original two-coordinate example, fix , so . The input norm changes the allowable unit ball and hence the dual norm:Under the L1 norm, , and attains the bound. Under the Euclidean norm, the Cauchy-Schwarz inequality gives , with equality at the displayed normalized vector. Under the maximum norm, each coordinate can reach unit absolute value, so ; attains it. Thus the dual norms of these three vector norms are respectively the maximum norm, the Euclidean norm, and the L1 norm. For , Lp norms on a finite coordinate space pair with their Holder conjugate exponents.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §A.1.6, printed p. 637: Euclidean self-duality and one-, infinity- and p-norm duality; the numerical vector and maximizing points here are independent examples
This geometry explains the usefulness of a dual norm: it translates a bound on inputs into the sharp bound on a linear output. The support function of the unit ball gives its value in the coefficient direction . Changing the input budget changes the set of possible inputs; the three different answers do not conflict. In finite dimensions a closed unit ball is compact, so a continuous linear functional achieves its maximum absolute value. In an infinite-dimensional normed vector space, the supremum remains the definition and need not be achieved.
Dual norm as a worst-case linear error bound 2026-10-18
Suppose a perturbation satisfies , with . Absolute homogeneity of a norm and the dual norm definition giveFor nonzero , divide it by its norm to obtain an input in the unit ball; for zero perturbation the inequality is immediate. This is an exact error bound for a linear functional, for every perturbation in the stated input set.
For and a budget , the sharp output-error bounds are for , for , and for . Scale the maximizing vectors from the preceding example by to attain the positive endpoints; their negatives attain the negative endpoints. The L1 norm budget constrains a total absolute error; the maximum norm budget permits each coordinate to have that error separately. These budgets define nested sets and carry different information.
Dual norms give exact worst-case errors for the same linear functional
. Original bounds for . Lines show the sharp error magnitude as the stated input norm budget increases. The right panel gives the full possible error intervals at ; these are the full feasible intervals for the stated deterministic bounds. Details.The coordinates must use the stated scale and units. Rescaling one coordinate changes both its coefficient in and the meaning of its input budget. For a nonlinear differentiable function with scalar values, its Fréchet derivative at the base point is a linear functional governing the first-order response. An exact finite-perturbation error bound additionally needs control of the Taylor remainder or of the Fréchet derivative along the path.
Dual pairing Created 2026-09-28 Updated 2026-10-31
The dual pairing evaluates a linear functional on a vector:It is bilinear: it is linear in each argument separately. Even over the complex numbers, this algebraic evaluation has no complex conjugation. An inner product instead has two vectors as inputs and, over the complex numbers, is sesquilinear. For and , the dual pairing equals five. Its value is independent of the basis used to describe its two inputs.
Dual prediction with a kernel 2026-10-14
If the weight vector lies in the linear span of the training feature map outputs, write . ThenThis is a dual representation: coefficients weight training examples rather than feature coordinates. They need not be positive, and need not be unique when the kernel matrix is singular. Some kernel methods instead write with under their own optimization constraints.[ref]
The kernel trick by Ryan Giordano. Kernelizing classification with support vector machines: displayed prediction as a sum of label-weighted kernel evaluations
The formula is an algebraic conversion for a weight vector in this linear span, not a claim about every possible weight vector. The representer theorem gives a broader reason this form appears in regularized kernel methods.For the XOR separation by a product feature, let have rows . The Gram matrix of those rows, equivalently the kernel matrix, isIts eigenvalues are , so it is a positive semidefinite matrix of rank two, not an invertible matrix. More generally, for any real coefficient vector and any finite set of inputs,This proves the positive-semidefinite kernel condition for the displayed polynomial kernel on all of , rather than checking only this square.
Here , so the explicit choice gives and . ConsequentlyFor the new input , the four polynomial kernel evaluations are . Their weighted sum is , and the sign function predicts . No explicit feature map is needed for this calculation. These coefficients were constructed to reproduce the chosen separator; no fitting algorithm or generalization guarantee is being asserted.
Dual space Created 2026-09-24 Updated 2026-10-14
The dual space of a vector space over a field is the vector space of all linear functionals . Think of a vector as an input and a linear functional as a scalar-valued measurement of that input. For , the rules , , and are different elements of the dual space. None needs a notion of length or angle.
Its operations combine measurements pointwise:The dual basis explains the finite-dimensional structure: specifying a linear functional's values on a basis determines its value on every vector. Thus an -dimensional vector space has an -dimensional dual space. The spaces have the same dimension, but their elements play different roles: an input and a rule that measures an input. [ref]
Linear Algebra Done Right by Sheldon Axler (4th edition). Axler, Linear Algebra Done Right, fourth edition, §3F, definitions 3.109–3.112
.This separation is useful when changing coordinates. The dual pairing must stay the same while the component lists for and change in opposite ways. Covector transformation under a change of basis makes the compensation explicit. An inner product on a finite-dimensional real vector space gives one way to represent each linear functional by a vector, but that representation uses the chosen inner product; the dual space itself does not require one.
Here dual space means the algebraic dual: all linear functionals. For a topological vector space, the continuous dual space keeps only the continuous linear functionals. In infinite dimension, this can be a proper vector subspace; discontinuous functional detected by vanishing sequence tails gives an example. The distinction matters when a scalar-valued measurement must respond continuously to small input changes.
Dudley entropy integral Created 2026-10-03 Updated 2026-11-05
Let be a centered Gaussian process with a separable version: its relevant suprema are captured by a countable dense index subset. Give the canonical pseudometric of a Gaussian process , and assume it is totally bounded. With metric covering number and diameter , the Dudley entropy integral boundsfor a universal constant . Finiteness of the integral gives a finite expected supremum. For an absolute supremum, include an anchor: . The anchor term cannot generally be omitted.
The proof builds successively finer nets. Write each increment as a telescoping sum between neighboring net scales, bound each finite Gaussian maximum by its scale times the square root of the logarithmic net size, and sum over scales. This becomes the displayed entropy integral.[ref]
The version assumption is substantive. If is uniform on and , every finite vector is zero almost surely and is therefore a degenerate Gaussian vector; the canonical pseudometric is identically zero. Yet for every outcome. Its all-zero separable modification has supremum zero. Finite-dimensional laws alone do not control the supremum of an arbitrary uncountable version.
Edge vector Created 2026-10-20 Updated 2026-11-05
For endpoints with position vectors in an affine Euclidean SPACE, the directed edge vector from to is . Reversing orientation changes its sign, while translating both endpoints leaves it unchanged.
For a triangle, . Its side lengths are the norms of the corresponding edge vectors, and dot products determine angles. Choosing an orientation is essential: an undirected edge alone specifies the pair of opposite vectors, rather than one of them. Edge differences also describe how a scalar or vector field changes across a mesh.









