For a consistent linear system , choose one solution . By linearity, if and only if , so its solution set is the translate of the kernel. Over the real numbers, this gives exactly one solution when the kernel is zero and infinitely many when the kernel contains a nonzero vector: is a distinct solution for each real if lies in the kernel. An inconsistent linear system has an empty solution set. The dimension of a nonempty solution set, regarded as an affine space, is the nullity of .
SWAP gate Created 2026-09-24 Updated 2026-11-05
The SWAP gate exchanges the states of two qubits, including any correlations they have with other systems. Its action on the computational basis fixes the operation on every quantum superposition by linearity.
The SWAP gate maps to .
In particular, . This transfers rather than copies the two inputs, so it does not violate the no-cloning theorem. The Three-CNOT decomposition of the SWAP gate implements the same operation using alternating control directions. [ref]
Tensoriality Created 2026-10-05 Updated 2026-10-14
A multilinear operation on vector fields is tensorial when it is linear over smooth functions in every argument. Its value at a point then depends only on the argument vectors at that point. To see this, use a smooth cutoff function to reduce to local fields, expand them in a local frame, and apply linearity over smooth functions to their coefficients. A smoothly valued tensorial operation therefore defines a tensor field. The curvature of an affine connection is tensorial, whereas a covariant derivative differentiates a scalar coefficient in its second argument and is not tensorial there.
Tensor product Created 2026-09-24 Updated 2026-10-14
A tensor product turns a bilinear map into a linear map. For vector spaces over the same field , its elements are finite sums of pure tensors , subject to bilinearity:
The scalar belongs to ; writing makes this choice explicit. These rules preserve separate linearity while allowing arbitrary linear combinations of products.[ref]
For a concrete example, take , with basis vectors in the first copy and in the second. The four tensor-product basis elements are
The pure tensor made from and expands to
Each basis vector in one factor can interact with each basis vector in the other. This is why dimensions multiply; the tensor-product coefficient matrix displays these four interactions as a two-by-two grid.
The tensor product is different from the Cartesian product . With componentwise vector addition and scalar multiplication, the latter contains pairs and has dimension . The map is bilinear, generally neither linear on that Cartesian product nor injective nor surjective. In our example, , and ; the separability of a tensor explains why some outputs cannot be reached at all. Both spaces happen to have dimension four when , but this coincidence does not identify their structures.
With the passive sign convention applied to the network, its entering electric current is , and the same relation becomes . The electrical load uses the passive sign convention with entering electric current , so it absorbs power . A positive delivered electric current therefore produces a voltage drop for positive ; changing the reference direction without changing the equation would give the wrong sign.
The reason is linearity of Ohm's law, Kirchhoff's current law, Kirchhoff's voltage law, and the constitutive relations of any linear dependent electrical sources. Solve once at with the independent electrical sources present. Subtract this solution from a solution with prescribed delivered electric current : the fixed independent electrical sources cancel, leaving a homogeneous linear network whose terminal voltage change is proportional to . This is a short superposition principle argument for an affine function; the fixed offset need not vanish.
The qualification about a well-defined response matters. An ideal voltage source alone has . An ideal nonzero current source alone constrains and does not have a finite open-circuit voltage or a representation with finite coefficients. Linear dependent electrical sources can give negative resistance, and singular ideal networks may fail to have a unique finite response. Neither a finite nor a strictly positive passive follows merely from calling an electrical circuit linear. [ref]
Time-independent Schrödinger equation Created 2026-09-24 Updated 2026-10-20
For a time-independent Hamiltonian operator , an energy eigenstate satisfies
For a one-dimensional particle of mass in a real potential energy ,
Its full time-dependent wavefunction is : substitution in the Schrödinger equation checks both the minus sign and the factor . Thus an energy eigenstate has stationary position probability density, even though its quantum phase evolves. The boundary conditions and operator domain are part of this eigenvalue problem, selecting physically allowed solutions; the infinite square well and Radial Schrodinger equation for the hydrogen atom give complementary confined examples.
For a complete discrete orthonormal basis of energy eigenstates, linearity gives , with . Cross terms in oscillate at angular frequencies . A continuous spectrum requires the corresponding spectral integrals; for a free particle on the whole line, individual plane waves are generalized eigenfunctions, and a normalized Gaussian wave packet is their integral quantum superposition. Adding a spatially constant real to shifts every energy eigenvalue by and multiplies the full state by , a global phase; energy differences, position probabilities and probability current are unchanged.
Time-reversal symmetry in quantum mechanics Created 2026-09-24 Updated 2026-11-05
A time-reversal operator intertwines forward and backward evolution:
It must be antiunitary in ordinary quantum mechanics. Its conjugate linearity sends to , allowing it to commute with a time-reversal-invariant Hamiltonian rather than reversing the sign of its energy.
Total internal reflection Created 2026-09-29 Updated 2026-10-18
Total internal reflection occurs when a wave travels from higher to lower refractive index above the critical angle for total internal reflection, leaving no propagating transmitted plane electromagnetic wave normal to the interface.
At an infinite planar interface, total internal reflection returns all incident normal power in the reflected plane electromagnetic wave. Assume homogeneous dielectrics with isotropy, linearity, no dielectric loss, magnetic permeability , and positive real refractive indices . Above the critical angle for total internal reflection, both TE polarization and TM polarization have unit optical reflectance despite the external evanescent wave.[ref]
This makes total internal reflection useful for guiding light in an optical fiber: suitable internal incidence angles keep energy inside successive boundaries. Its more surprising feature is that perfect optical reflectance coexists with an external electric field. The evanescent field in total internal reflection can interact with a nearby object, as the frustrated total internal reflection experiment demonstrates.
For an original idealized example, choose , at vacuum wavelength . At angle of incidence , Snell law for electromagnetic waves gives an angle of refraction , so a transmitted light ray still emerges. At , its direction becomes tangent to the boundary. At , the proposed sine of a real angle of refraction would be : the transmitted wavevector must instead have an imaginary normal component. These are predictions for the stipulated media, not measured properties of a particular block.
Figure 1.
Constructed ray geometry just below, at, and above the critical angle for refractive indices 1.5 and 1; arrows indicate directions rather than relative powers
. Details.
A real semicircular-block experiment isolates this threshold. The University of Maryland laboratory instructions place a laser, motor-driven rotation stage and photodetector together; an aperture limits the detector voltage. The semicircular block is centered on the rotation axis, with the photodetector aligned along its flat face. The instructions identify a strong grazing-beam signal and a weaker signal just before the critical angle for total internal reflection. The readout is detector voltage versus stage angle. Retracing the incident laser beam identifies normal incidence for alignment.[ref]
The semicircular shape supplies a geometric control: a light ray passing radially through the curved face enters at normal incidence, avoiding additional entrance refraction. The weaker signal near the flat face locates a limiting angle of refraction; a vanishing remote-detector signal alone would not establish that the external electric field vanishes. Beam width and alignment limit angular resolution; no measured threshold or decay depth is supplied.[ref]
Trivial kernel Created 2026-09-28 Updated 2026-11-05
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. No finite-dimensional hypothesis is required.[ref]
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.
Universal property of a tensor product Created 2026-10-05 Updated 2026-10-25
For a bilinear map , there is exactly one linear map satisfying . Equivalently, , where . The universal property of a tensor product concerns the vector space together with this distinguished bilinear map.[ref]
Here is a complete calculation over the real numbers. Define the bilinear map
Its values on pairs of basis vectors determine on the four tensor-product basis elements:
Consequently, for ,
For and , the direct calculation gives . Using the expansion of instead gives . The linear map also handles a nonseparable tensor such as : , even though no single pair has .
Figure 1.
A bilinear calculation factors through one linear map on four tensor coefficients
. Details.
A short proof uses a tensor-product basis: assign and extend by linearity. Expanding both inputs verifies by bilinearity; the assigned values on a basis force uniqueness. More generally, every multilinear map factors uniquely through a linear map from . This lets formulas involving several inputs define linear maps without choosing coordinates; tensor contraction uses the evaluation pairing between a vector and a covector.
Zero-input response 2026-11-05
The zero-input response is the output due to a system's initial internal state when its externally applied input is set to zero. It describes memory left by earlier excitation. For a linear time-invariant system, linearity separates this from the zero-state response due to the subsequent input.
For constant matrices in , , setting and gives
The matrix exponential solves the homogeneous state equation. With an arbitrary input, the complete solution adds the zero-state response:
A zero initial output alone does not establish that the whole state is zero.
For an RC circuit with capacitor difference and no applied source, , so . The capacitor energy falls as ; the resistor receives the dissipated energy. The primary MIT lecture explicitly distinguishes the capacitor's initial state, zero external input and zero initial state.[ref]
At a time constant and , the modeled difference after two seconds is . Zero input has not meant zero output or zero stored energy. A direct experiment charges the same capacitor to different known initial differences, removes the charging source and records the decay across a fixed resistor. The amplitudes should scale with while the normalized decay remains the same in the linear model.
A zero-input response need not decay in every system: an ideal undamped oscillator retains its initial motion, and an unstable homogeneous system can amplify a nonzero initial state. The transfer function describes the zero-state input-output map, so its product with a zero input cannot represent a separate nonzero initial-state contribution.
Zero-state response 2026-11-05
The zero-state response is the output produced by an applied input when the system starts with zero internal state. For a linear time-invariant system it separates the effect of the input from the zero-input response caused by an initially stored state. A zero initial output alone need not mean zero internal state.
For a causal linear time-invariant system with impulse response , the zero-state response is the convolution
An instantaneous feedthrough term, if present, is represented by a Dirac delta term in . Equivalently, for constant matrices in , with ,
For nonzero , linearity adds the zero-input response . Here the matrix exponential propagates the state left by the earlier input.
For example, with , and a constant input for has the step response . At one time constant it has reached about of its final value. If the initial value instead equals , the total output is . A charged capacitor in an RC circuit provides a direct physical example: discharge it before repeating the same input step to isolate the zero-state response, and compare with a run from a known initial electric potential difference.[ref]
With compatible transforms, the zero-state input-output relation is , where is the transfer function. For a nonzero initial state, a unilateral Laplace transform includes additional initial-condition terms. Those terms cannot be absorbed into an input-independent transfer function multiplying .