Conic primal-dual gap 2026-10-14
For a feasible point and a feasible dual variable , weak duality follows from one identity:The inequality is the defining property of the dual cone. Every feasible pair therefore encloses the optimal objective function value:Both optima are finite when such a pair exists. Consequently,These are absolute cost bounds, rather than bounds on distance to an optimizing vector. Zero gap certifies both optima immediately. A small positive gap bounds the remaining improvement even if no strong duality theorem has been invoked.
For the nonnegative-orthant optimality certificate example, is feasible and costs . Pairing it with gives , so its cost exceeds the optimum by at most . Here the optimum is known to be , and the bound is exact. Pairing the same with the weaker certificate gives : a valid but less informative guarantee.
The identity assumes exact primal and dual feasibility. With a dual linear-system residual , it becomesThe second term has no guaranteed sign. Checking only a small linear-system residual and the cone dot product is insufficient when is large; a separate bound follows from the Cauchy-Schwarz inequality. Approximate cone membership likewise needs a quantified correction before claiming a certificate.
For an exact arithmetic example, minimize subject to . The point is optimal. A proposed multiplier is nonnegative and gives zero cone dot product because the slack is zero, but violates by . Its purported lower bound is , exceeding the optimum. The missing term explains the failure.
Continuation predictor-corrector step 2026-10-14
For the cubic polynomial, an oriented, normalized tangent vector isIts Euclidean norm is one and . The sign here follows increasing ; for a general solution branch, choose the sign of each new tangent vector so its dot product with the previous one is positive. First predict , then apply Newton method starting at toThe second equation keeps the correction on the transverse line in this two-dimensional example; in higher dimensions it is a hyperplane. Solving the linear system and updating corrects both coordinates together.
This step gives and . Check both equations: the solution must satisfy and . Checking only the first could accept any point on the solution branch. The new exceeds , so the step crosses the continuation fold, even though the predictor's exceeds .
At the seed, set . The determinant of the correction Jacobian matrix with the exact unit vector above isAt either continuation fold, , and : the correction remains invertible. More generally, if has full rank and a one-dimensional kernel spanned by , adding gives an invertible matrix, since a vector annihilated by both rows must be zero. This is a local argument; the old transverse hyperplane need not work arbitrarily far along the curve. Reduce and retry when correction fails, and check the equations and orientation after successful steps. Scaling state and parameter coordinates also matters, because it changes the Euclidean norm used to normalize the tangent vector.
// Target: analysis.bigb
Convex conjugate Created 2026-09-28 Updated 2026-10-14
The convex conjugate records a function using slopes rather than input positions. Let be a proper extended-real function: it is finite somewhere and never takes . Its convex conjugate iswhere is the dot product and is the effective domain. An infinite value of excludes that input from the supremum. The value can be , but cannot be because an input with finite supplies a finite lower bound.
The convex conjugate is automatically a convex function, even when is not convex: each fixed input gives an affine function , and their supremum is convex. It is also lower semicontinuous. It need not be proper: for on , is unbounded above for every . The definition and the automatic convexity are discussed in Boyd and Vandenberghe, Convex Optimization (2004), §3.3.1.
The best lower bound with a prescribed slope. Whenever is finite, the affine functionis an affine minorant of . Indeed, an affine function lies below everywhere exactly when . Thus is the largest possible intercept at slope . The convex conjugate trades positions for slopes: specifies where to inspect , whereas specifies which global affine minorant to use. Taking the supremum over all these affine minorants produces the biconjugate; the Fenchel-Moreau theorem says this recovers a proper convex function when it is lower semicontinuous.
A quadratic, computed by completing the square. For the convex quadratic function ,Consequently , and the unique maximizing input is . The affine minorant is the tangent line at : its slope is and its intercept is . For example, gives and the tangent line , touching at . This is the same curve described either by its point values or by the intercepts of its tangent lines.
A corner turns into a constraint on slopes. For the absolute value , if then , with value zero at . If , taking makes ; if , taking does the same. Therefore its convex conjugate is zero on and outside: it is the indicator functional of a constraint set for this interval. For the unique maximizing input is zero; for every maximizes, and for every maximizes. The corner's many supporting slopes are exactly the subdifferential .
A supremum need not be attained. For a differentiable convex function finite on all of , an input maximizes exactly when . If is strictly convex, there is at most one such input; existence is a separate issue. For the exponential function , the derivative is positive. At , solving gives and . At , the supremum of is zero as , with no maximizing input. At , as . Thus a strictly convex differentiable function can have both unattained finite conjugate values and infinite conjugate values.
Coordinate (linear algebra) 2026-10-14
A coordinate of a vector in a chosen basis is one entry of its coordinate vector. The corresponding coordinate functional in the dual basis extracts it. For an orthonormal basis, it can instead be read as an inner product with the basis vector, as in orthonormal eigenbasis. For a nonorthogonal basis, ordinary dot products need not give the coordinates.
Coriolis force does no work 2026-10-18
The instantaneous power of the Coriolis force, evaluated with the velocity in the same rotating reference frame, vanishes:This follows from the perpendicularity of the cross product and the dot product definition of power. The Coriolis force alone does no work and cannot change the rotating-frame kinetic energy . It can change the direction of the relative velocity. Actual forces and the centrifugal force can still change that kinetic energy, as the free particle in rotating coordinates illustrates. Conservation of an appropriate total energy has the additional conditions stated under energy balance in a uniformly rotating frame.
For a source-free plane electromagnetic wave in vacuum, let be its null propagation Lorentz four-vector. In signature , take , , and define the dual electromagnetic field tensor by , . Lower both indices with the Minkowski metric. Direct contraction givesBoth contractions vanish exactly when the transverse plane electromagnetic wave Maxwell equations hold. Being zero covectors, they remain zero in every inertial frame. Thus the transformed spatial wavevector is perpendicular to both transformed fields, even though the separate three-dimensional dot products are not themselves Lorentz scalars for arbitrary fields.
One contraction alone is insufficient without the other Maxwell equations. In particular, adding a magnetic field parallel to leaves unchanged but violates . Conversely the two scalar perpendicularity conditions alone do not impose the required relation between field strengths and directions.
Cross-product Lie algebra Created 2026-10-06 Updated 2026-10-14
The vector space with the cross product as Lie bracket, . Bilinearity and give an Alternating Lie bracket; the vector triple product identity proves the Jacobi identity because the three expressions cancel cyclically, using the symmetric dot product.
Its relation to the SO(3) Lie algebra is explicit. For a vector , define the skew-symmetric matrixThen : acting on , the left side is . Every real skew-symmetric matrix occurs uniquely, so this hat map is a Lie algebra isomorphism. With the standard basis vectors ,and their matrix commutators are , , . With active rotation matrices acting on column vectors, rotates through angle about the oriented axis when . In particular , fixing the positive-angle convention used in the small rotation commutator.
The map is also a Lie algebra isomorphism to the compact real SU(2) Lie algebra, using the Pauli matrix commutator identity. These two identifications concern Lie algebras; they do not identify the corresponding Lie groups globally.
For any real three-dimensional vectors , the displayed linear equation has the unique solutionTaking a dot product with first yields . Taking a cross product with and using the vector triple product identity givesSubstitution into the original equation cancels the longitudinal terms and proves the formula. Conversely direct substitution verifies it for all , including , since the denominator is positive. If , the underlying identity for linear maps is , using .
Current density Created 2026-09-24 Updated 2026-10-14
The current density describes the amount and direction of local electric charge transport per area per time. Its SI unit is . Through a small area element with unit normal , the contribution to electric current is : the dot product selects transport through the surface. A current density tangent to the surface contributes zero. If current density is uniform and perpendicular to a wire's transverse slice, its magnitude satisfiesHere is the wire cross-sectional area. For nonuniform current density, is only the average normal component, and the surface integral is needed. [ref]
https://openstax.org/books/university-physics-volume-2/pages/9-2-model-of-conduction-in-metals. Ling, Sanny and Moebs, §9.2: local current density
.Consider two separate uniform-flow cases, each carrying electric current . A wire cross-sectional area of gives ; doubling the wire cross-sectional area to gives . Equal electric current can therefore mean different local transport intensity. This distinction matters for Joule heating, whose local power per volume depends on current density and electric field.
Equal electric current through different wire cross-sectional areas gives different current densities
. Both cases carry with uniform normal current density. The transverse slices use the same spatial scale; the bars compare . Source. Details.For a toy Electron transport model, stipulate mobile electron number density and drift velocity , with the positive unit normal . Each Electron has electric charge , where the elementary charge is exact in SI. These are defined model inputs, rather than measured parameters of a particular material. [ref] The current density and its magnitude areFor wire cross-sectional area and constant transport over time , this givesThe two minus signs make conventional current point opposite to the Electron drift velocity. A small drift velocity can carry an appreciable electric current because many charge carriers contribute; it does not specify the propagation speed of an electrical disturbance.
Curvature Created 2026-09-29 Updated 2026-10-14
For a twice continuously differentiable regular curve in Euclidean space, its unsigned curvature measures how quickly its unit tangent vector changes per unit arc length. WriteThe curvature iswhere the norm is the Euclidean norm. Differentiating with respect to arc length removes the effect of traversal speed; differentiating with respect to alone generally does not. See Ghomi's university lecture notes, section 1.7.
For a circle of radius , use . Then , and , giving . A straight line with has constant unit tangent vector, so .
The same circle traversed as has speed and : its curvature remains . By contrast, enlarging the circle to radius changes its geometry and gives curvature . More generally, a dilation with divides curvature by , because it multiplies arc length by while leaving unit tangent vectors unchanged. Thus curvature has units of inverse length, and a reparametrization changes neither its value at a corresponding point nor the shape.
Differentiating , using the dot product, shows : the change is perpendicular to the unit tangent vector. Wherever , the principal normal vector points toward the bend. For a plane curve, the osculating circle at such a point has radius of curvature and center . It matches the point, tangent line, and curvature, providing a local circular approximation. At there is no finite osculating circle defined by this formula. See Ghomi's university lecture notes, section 1.13.
This makes curvature useful for comparing bends without confusing them with speed. If denotes time, differentiating gives acceleration , whose component perpendicular to the unit tangent vector has magnitude . The curvature of a plane curve example below computes the bend and osculating circle of a parabola explicitly.
For smooth surfaces, bending has more than one direction. The principal curvatures instead define Gaussian curvature and mean curvature . These are surface quantities, distinct from the curvature of an individual curve. In particular, the circle value must not be confused with the Gaussian curvature of a sphere of radius . See Ritter's Oxford lecture notes, section 12.2.
Declination Created 2026-10-05 Updated 2026-10-14
Declination is the signed angle from the reference celestial equator to a direction, measured along its hour circle: . Positive declination means celestial north, rather than necessarily north of the observer's zenith. A direction with lies on the celestial equator; is the north reference celestial pole. Declination is an angle, not a height or a measure of Euclidean distance. [ref]
https://aa.usno.navy.mil/faq/asa_glossary. US Naval Observatory: Astronomical Almanac glossary, declination and culmination
.The connection to an observation follows from a dot product. In the elementary spherical-Earth, unrefracted model, an observer at geographical latitude has zenith direction in the same reference axes. Since for altitude , the cosine addition formula givesAt upper meridian transit, , so . For the synthetic site and synthetic direction , this yields . A direction with instead reaches , north of the zenith; positive declination does not imply a crossing on the southern half of the celestial meridian. A negative computed upper altitude means the direction never rises above the geometric astronomical horizon at that site.
For an angular readout, define signed zenith distance on the upper celestial meridian, positive toward the south and negative toward the north. Then . A synthetic southward readout at recovers . An unsigned distance alone would leave two possibilities, , when both are in range. A calibrated optical telescope must therefore record which side of the zenith it points toward. In this linear relation, a error in the assumed geographical latitude produces a error in inferred declination; averaging repeated readings cannot remove that shared offset. Near the astronomical horizon, uncorrected atmospheric refraction also invalidates the geometric readout.
The unit vector construction explains a subtle feature of sky maps. At fixed declination, changing right ascension traces a parallel whose radius on the unit sphere is . Its arc length is , with angles in radians; at , a right ascension increment spans a arc along that parallel. This arc is not generally the shortest great circle separation. At either celestial pole, all right ascension values represent the same direction: the coordinate singularity belongs to the coordinate grid. The unit vector remains regular there.
Derivative along a curve 2026-10-14
If is differentiable at the point of a differentiable parametric curve, the multivariable chain rule givesThe gradient supplies the local spatial rates; the velocity vector supplies the direction and rate of movement. Their dot product is the change in the sampled scalar field per unit parameter. If the parameter is time, this is a rate per unit time; a directional derivative per unit distance instead uses a unit vector.
Take and the unit circle path . Along the path,At , the gradient is , the velocity vector is , and their dot product is . The sampled value is and increases at rate one, even though one coordinate is decreasing. This is why a moving observation must combine every coordinate's contribution.
For a level curve, is constant, so the derivative along a curve is zero and its velocity vector is orthogonal to the gradient. Along other paths, the same formula combines a field's geometry with the observer's motion. [ref].
For a continuously differentiable vector field and a twice continuously differentiable parametric curve , the product rule and multivariable chain rule givewhere is the Jacobian matrix. Indeed, first differentiate the dot product to obtain , and then substitute .
The first term describes variation in the sampled vector field; the second records the changing velocity vector of the parametric curve. In three dimensions one may take for a sufficiently smooth vector field . The formula then involves first and second spatial partial derivatives of and the velocity and acceleration of the parametric curve. Omitting the second term would be valid only when its dot product vanishes, for example for a straight path with constant velocity.
Doppler frequency along a trajectory 2026-10-18
In the same uniform stationary sound model, let be emission time, reception time, and and source and receiver positions. The direct-path propagation condition and its direction areThe unit vector points from the source's old emission position to the receiver's reception position. With velocities and , taking a derivative of the propagation condition givesHere the dot products project onto the actual propagation direction. The last equality counts source wave phase cycles at reception for constant emitted frequency . It assumes both speeds are below , a unique direct arrival and smooth motion; interpreting a measured short-window frequency spectrum additionally requires little frequency change within that window. The source velocity must be evaluated at emission, not at reception. This delayed geometry matters when the direction changes.
For an original pass-by model, a source follows and a stationary receiver is at with . The source passes its closest position at emission time . ThenThese parametric equations give received frequency against reception time. For the shift is positive, for negative, and the unshifted emission at reaches the receiver at . Thus zero shift occurs after the source's geometric closest passage in the material's reference frame. Increasing spreads the transition over a longer interval even though is unchanged. Far before and after passage, the frequency approaches and respectively.
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. 





