Put and suppose , so there are interior grid points , . Write . The fixed ends impose homogeneous Dirichlet boundary conditions,For a sufficiently smooth displacement field, the two Taylor series at fixed time givewhere all displayed derivatives on the right are evaluated at . Adding cancels the odd terms, leaving the second-order central differenceSubstitute this finite difference into the wave equation and retain continuous time. The resulting method of lines gives coupled second-order ordinary differential equations,In particular, the first and last equations are and for . With the interior displacement vector only,Equivalently, , , and all other entries vanish. This entrywise definition also covers small , including when . The matrix is a symmetric matrix and a tridiagonal matrix. The spatial approximation has error in Big O notation; time has not yet been discretized.
The interior grid is , with fixed-end displacements . HenceUse the monic characteristic polynomial convention , where is the identity matrix. Expansion of the determinant along the first row givesThe eigenvalues are the roots of a polynomial . With the alternative determinant convention , the characteristic polynomial is because the matrix has odd size; its roots of a polynomial are unchanged.
Each supplied eigenvector gives relative displacements at in a standing wave. Insert zero at to describe the whole sampled string. A real normal mode is : its shape stays fixed while its amplitude oscillates.
- is the highest-frequency resolved normal mode. Adjacent interior displacements alternate in sign: the middle point moves opposite to both outer interior points. Its interpolated shape has three lobes, corresponding to the third string normal mode.
- is the middle-frequency normal mode. The midpoint is a node of a standing wave, and the two sides move in opposite directions. It corresponds to the second string normal mode.
- is the lowest-frequency normal mode, corresponding to the fundamental frequency. All interior points move in the same direction, with greatest displacement at the centre; the only nodes of a standing wave are the endpoints in the smooth shape through these samples.
These semidiscrete fixed-string normal modes are samples of , with in the order listed. More precisely, their interior vectors are , which have unit Euclidean norm and form an orthonormal basis of . Their eigenvalues and angular frequencies obeyThus larger absolute value of a negative eigenvalue means faster oscillation, rather than faster decay. The numerical angular frequencies approximate the continuous fixed-string values ; the finite difference spatial approximation changes them. Only three independent interior normal modes exist on this grid, and any interior displacement or initial velocity vector can be expanded in this orthonormal basis.
Apply Gaussian elimination to the supplied nonsymmetric matrix,The first pivot element is , with elimination multiplier . Perform , givingThe second pivot element is , with elimination multiplier . Perform , then use the third pivot element and elimination multiplier to perform . The LU factorization isHere is a unit lower triangular matrix, hence an invertible matrix, and is an upper triangular matrix. No row interchange is needed: all three pivot elements used in elimination are nonzero. The final diagonal entry is zero, with an entirely zero last row; there is no further division by it. The three nonzero rows of are linearly independent, so the matrix rank is and is a singular matrix. Direct matrix multiplication gives .
Since is an invertible matrix, is equivalent to . The last nontrivial row gives ; the second gives ; and the first gives , so . A basis of the null space is thereforeIts single basis vector has Euclidean norm , so the unit null space basis vector is .
The pivot elements of lie in columns . Take these columns from the original matrix to obtain a basis of its column space:The fourth column is minus the sum of these three columns, and the leading three-by-three matrix minor has nonzero determinant , confirming linear independence.
Elementary row operations preserve the row space. Thus the nonzero rows of give a basis of the row space of :These basis vectors need not have unit Euclidean norm or be orthogonal. Their Euclidean norms are , respectively; the three column basis vectors have Euclidean norms .
Regard as a linear map . By the rank-nullity theorem and matrix rank ,All three are vector subspaces of , with the row space identified with four-component row vectors in the usual way. The null space lies in the input vector space of concentrations; the column space lies in the output vector space of concentration-change rates. Both have four coordinates, although they play different physical roles.
In this particular matrix, the row sums and column sums both vanish. Put . Then and , and the two three-dimensional vector subspaces coincide:This equality follows here from both sum identities and the dimensions of a vector space; it does not make a symmetric matrix and is not true for every square matrix.
The null space consists of concentration patterns on which transport produces no change. Here it is the familyEvery box has the same concentration. Ocean circulation may continue, but inflow and outflow of the chemical tracer balance in each box. With these are exactly the steady states; physically admissible members have . With nonzero , adding to any particular steady state leaves its transport balance unchanged, but a null space vector alone need not balance the sources and sinks.
To identify the tracer inventory, apply conserved inventory from a left null vector. Directly summing each column givesConsequently, for the supplied ordinary differential equations,For , is a conserved quantity. The connected box model equalizes concentrations, approaching the unique member of the null space with the initial inventory:The arithmetic mean is appropriate here because the supplied matrix has zero column sums. In a general box model the conserved quantity is , where is a positive left null space vector; for physical concentrations expressed per unit volume, these weights represent the box volumes up to a common factor. One must establish the weights from the equations, rather than infer equal volumes from a schematic drawing.
Nonnegative initial concentrations remain nonnegative under transport alone. Indeed is a nonnegative matrix, sohas nonnegative entries for : it is a positive matrix semigroup. Its column sums are one by . To see why equalization occurs, set for ; then andThe right side vanishes only for constant , which in the zero-sum vector subspace means . Its strict negative bound on the unit sphere in that vector subspace gives decay to zero. Thus the matrix exponential redistributes inventory without creating negative concentrations; arbitrary prescribed sinks can still exhaust the tracer if they are allowed to act indefinitely.
Choose a fixed time increment , let , and approximate by . The Backward Euler method evaluates the transport term at the new time:Rearrange to the linear systemAlthough is a singular matrix, is an invertible matrix for every . In each row, its diagonal entry is and the sum of the absolute values of its off-diagonal entries is ; hence it is a strictly diagonally dominant matrix. Its Gershgorin discs have centre and radius , excluding zero. In particular, the zero eigenvalue of becomes an eigenvalue of .
- Form once. Compute a Pivoted LU decomposition , storing the permutation matrix , the unit lower triangular matrix , and the upper triangular matrix .
- Set .
- At each step form . Solve by forward substitution, then solve by back substitution.
- Advance and repeat until the desired final time. Choose the fixed increment so the final time is an integer multiple of , or refactor if a shorter final step is used.
Both triangular solves use the factors of . The LU factorization of the singular transport matrix from part (a) is not a solver for this new linear system. No matrix inverse needs to be formed. Since and are fixed, the same LU factorization serves every step; only the right-hand side changes. A varying would give without changing these factors.
As a check, multiplying the update by givesexactly reproducing the inventory balance at the sampled times, apart from roundoff error. The Backward Euler method has temporal global error for smooth solutions, so its A-stability does not remove the need to select for accuracy.
Pauli correlation tensor Created 2026-10-07 Updated 2026-10-14
For a two-qubit density operator, the real three-by-three matrix encodes the spin-product expectation values: unit measurement axes have . The tensor does not include local Bloch-vector data and alone need not specify the complete density operator. The CHSH optimum from the correlation tensor depends on the two largest eigenvalues of .
Pauli operator basis 2026-10-24
The identity and the three Pauli matrices form an orthogonal basis for the complex vector space of two-by-two matrices, with Hilbert-Schmidt inner product . Thus every operator has the expansion . For a density matrix, the identity coefficient is and the remaining real coefficients are half the components of its Bloch vector. This converts unitary conjugation into transformations of three real components.
Paul trap secular-motion example 2026-10-18
Choose these dimensionless parameters for an original example, with no collisions or damping. They are teaching inputs, not measurements from either lecture. With and slow initial amplitude , the radial equation and its leading approximation areSet and to match the approximate initial conditions. The leading secular angular frequency is . The velocity Verlet method integrates the full RF equation over 80 drive periods; a separate fourth-order Runge-Kutta method checks the computed trajectory. Halving the timestep tests numerical error independently of the averaging error.
Full RF motion and the leading secular approximation
. Original chosen small-parameter calculation in units of . The lower panel resolves six drive cycles and includes the first micromotion correction. Agreement over this finite interval does not establish a stability diagram or an exact secular frequency. Details.Using 400, 800, 1600 and 3200 steps per RF period gives successive maximum position differences of approximately , and in units of , consistent with second-order convergence. The finest trajectory differs from the independent classical fourth-order Runge-Kutta method result by at most , whereas differs by as much as . Over a sufficiently long time, the omitted correction to the secular angular frequency produces a growing phase discrepancy even if the numerical trajectory has converged. For the chosen point only, integration of a fundamental solution matrix over one RF period checks that both the radial and axial Floquet multipliers lie on the unit circle, away from its endpoints. This tests simultaneous ideal confinement without extrapolating to larger .
Penrose-Ward correspondence 2026-10-14
A holomorphic vector bundle on an appropriate twistor domain, trivial on its space-time incidence lines, determines a complex anti-self-dual gauge gauge connection. Split its patching matrix on each line and apply the tangent vector fields . They annihilate the unsplit twistor patching matrix, so the two logarithmic derivatives of the factors agree and define a global degree-one function of . It is consequently . The inverse splitting bundle frame is parallel along each alpha-plane; commuting these parallel equations proves that the primed gauge curvature two-component spinor vanishes. Reality conditions recover unitary Euclidean gauge fields; Euclidean instanton bundles need triviality on the real twistor lines, not on every possible complex line.
Perfect Morse function 2026-10-14
A Morse function is perfect over a specified field when its numbers of critical points equal the Betti numbers over that field. Over the rationals this forces every integer matrix in its Morse chain complex to have rank zero, hence to vanish. Consequently its integral homology is free of rank in every degree; a manifold with integral homology torsion cannot admit such an integral-critical-count perfect function.
Permanent as probability of distinct independent choices Created 2026-10-14 Updated 2026-10-20
Let be independent random variables, each choosing a label from . Put their probabilities in the matrix , where . Each row sums to one. All choices are distinct precisely when their ordered list is one of the permutations of the labels. These are mutually exclusive events, and independence makes the probability of one list equal to . Adding the list probabilities gives the permanent of a matrix:In particular, this permanent lies between zero and one.
For a two-person example,The distinct outcomes and have probabilities and . ThereforeThe colliding outcomes and have probabilities and , totaling . All four outcomes are shown below; their probabilities sum to one.
The permanent adds the probabilities of distinct choices: two successful outcomes have total probability 0.65
. Details. If every choice has the uniform distribution on a finite set of labels, then and the distinct-choice probability is . For three choices and three labels it is . This counts a subset of all ordered outcomes, not independent pairwise collision events. Independence of the original choices is essential: without it, the individual rows of do not determine the joint probabilities.
Permanent (mathematics) Created 2026-10-14 Updated 2026-10-20
The permanent of a matrix adds the products obtained by choosing one entry in each row and one in each column. For an matrix with entries in the real numbers or complex numbers,Here each permutation chooses column in row , and the symmetric group lists every such bijection. The formula resembles the Leibniz formula for determinants, but omits the sign of a permutation. For a two-by-two matrix,The absence of alternating signs makes the permanent of a matrix particularly useful for counting allowed assignments.
For a zero-one matrix, let rows represent people, columns represent jobs, and mean that person can do job . This is the biadjacency matrix of a bipartite graph. A product in the permanent is one exactly when all the selected assignments are allowed; otherwise it is zero. Each surviving permutation assigns every person a different job, which is a perfect matching. Thus the permanent counts perfect matchings. This interpretation and the definition are given in Yufei Zhao, Probabilistic Methods in Combinatorics, §10.2, pp. 178–179.
For a fully enumerated example, takeAmong the six permutations of three columns, exactly three give nonzero products: , and . These tuples list the chosen column in each successive row. Each product is one, so . Their permutation signs are , giving . The diagram displays all three allowed assignments.
Three allowed one-to-one assignments contribute positively to the permanent, while their permutation signs give a determinant of minus one
. Details. A zero determinant need not mean that no assignment exists. The two-by-two all-ones matrix has permanent and determinant : its two assignments cancel in the determinant. The nonzero determinant criterion for a perfect matching is sufficient for existence, but the converse fails for a fixed zero-one matrix.
For nonnegative entries, the permanent instead sums assignment weights, with each assignment weighted by the product of its selected entries. It is then a total weight rather than necessarily an integer count. With arbitrary entries in the real numbers or complex numbers, even the permanent can have cancellation; the counting interpretation specifically uses zero-one entries. The permanent as probability of distinct independent choices gives another useful nonnegative interpretation.
There are terms in the defining sum, linking direct evaluation to the factorial. For the all-ones matrix, every term is one and the permanent is exactly ; the identity matrix has permanent one. Finding one allowed assignment and counting all allowed assignments are different questions. Their relationship to computational complexity theory was studied in L. G. Valiant, The complexity of computing the permanent, Theoretical Computer Science 8(2), 189–201, 1979. The elementary sum is useful for small examples, while the existing dense permanent approximation describes a more specialized way of estimating large counts.
Perron–Frobenius theorem 2026-10-05
The strictly positive case states that a real square matrix with has a positive simple eigenvalue and positive left and right eigenvectors, with all other eigenvalues strictly smaller in modulus. The Brouwer fixed-point theorem applied to on the nonnegative unit simplex gives and . For another eigenvector , maximize ; the triangle inequality gives . Equality forces every modulus ratio and complex argument to agree because every entry is positive, so is proportional to and . Apply the same argument to for a positive left eigenvector; its positive pairing with rules out a generalized eigenvector at , establishing algebraic simplicity. For merely nonnegative matrices a nonnegative leading eigenvector exists. An irreducible nonnegative matrix has a positive leading eigenvector and simple Perron eigenvalue; a primitive nonnegative matrix has the strict modulus gap.
Pivot column 2026-10-18
A pivot column of a matrix is a column whose position contains a leading nonzero matrix entry in its row echelon form. The corresponding columns of the original matrix form a basis of its column space. The column positions survive row operations, although the column vectors themselves generally change.[ref]
Pivoted LU decomposition 2026-10-14
We fix the convention : the permutation matrix acts on the rows of , and the same row ordering must be applied to before the Triangular solves for LU decomposition. Equivalently, , since . LAPACK documents its factors as instead, so check the defining equation rather than just the letter .[ref] Partial pivoting selects the largest absolute candidate in the current column, among rows , before forming elimination multipliers.[ref]
Fundamentals of Numerical Computation by Tobin A. Driscoll and others. §2.6.1, Definition 2.6.1; §2.6.2, Definition 2.6.2 and equation (2.6.1): pivot selection and reordered-row factorization
A zero first pivot element does not imply a singular matrix. For example,Unpivoted Gaussian elimination would divide by zero. Indeed, no with a unit lower triangular matrix exists: would force , contradicting . One row interchange resolves the obstruction. For , use ; back substitution then gives . Using the original with these factors would solve a different linear system.
Partial pivoting bounds each elimination multiplier by one in absolute value in exact arithmetic. This helps control roundoff error, but intermediate entries can still grow; it is not an unconditional guarantee of numerical stability for every matrix.[ref]
Fundamentals of Numerical Computation by Tobin A. Driscoll and others. §2.6.4, Example 2.6.6 and the concluding discussion: stability of unpivoted and pivoted factorization
It also does not remove the original problem's condition number. For the diagonal matrix with , the condition number in the Euclidean norm is . Row permutations preserve this condition number, because they preserve Euclidean norms. Even an exact solve changes from to when the right-hand side changes from to . This sensitivity is a property of the linear system, not a zero-pivot element failure.[ref] Pivot element Created 2026-10-14 Updated 2026-10-18
A pivot element is the current diagonal entry used to eliminate entries below it in Gaussian elimination, after any row interchange. At step it is , where is the current reduced matrix. Computing elimination multipliers requires this entry to be nonzero. A zero pivot element can reflect an unsuitable row order even for an invertible matrix, as Pivoted LU decomposition illustrates.
Planar rotation as a one-parameter subgroup 2026-10-14
Differentiate the planar rotation matrix at angle zero:The even and odd powers in the matrix exponential therefore giveThis exact formula gives the whole one-parameter subgroup. Taking means unit angular velocity: at , sends to , a counterclockwise quarter-turn. At , it equals ; at , it returns to . Choosing reaches the quarter-turn at . Changing the generator changes the speed, while preserving the circular path.
For a moving vector , the ordinary differential equation says its velocity is perpendicular to its position. The beautiful compression is that one constant matrix specifies every angle of this endless family of rotations.




