← LibraryOrthonormal Bases and Coordinates | KEVOS® MathematicsProject Delivery · Project ManagementLesson 114/189← PrevNext →
ArticlePublished 8 Aug 202623 min readBy Kevin Jogin
Skip to content

Engineering/Mathematics/Vector Spaces

Orthonormal Bases and Coordinates

Writing a vector in terms of a basis normally means solving a linear system. If the basis is orthonormal, every coordinate is a single inner product w,vi, and the system disappears.

  • Advanced level
  • Stream: orthogonality
  • Reading time 14 min
  • Ref KVS-ENG-MATH-0074
Taxonomy
Engineering / Mathematics
Prerequisite
Inner products, norms, bases
Key result
Coordinates and Orthonormal Bases (COB)
Cost of one coordinate
O(m) — one inner product, no solve
Source of examples
Gram-Schmidt output; columns of an orthogonal matrix
Bonus identity
Parseval: w2=|w,vi|2

Overview

A basis B of a vector space guarantees that every vector has exactly one expression as a linear combination of B. That is an existence-and-uniqueness statement; it says nothing about how hard the coefficients are to obtain. For a general basis of a subspace Wm the coefficients come from solving a linear system whose coefficient matrix has the basis vectors as columns, which costs a full row reduction every time a new vector arrives.

An orthonormal basis removes that cost entirely. When the basis vectors are mutually orthogonal and each has norm 1, the inner product of a vector with a basis vector is the corresponding coordinate. No system is assembled and no reduction is performed; each coordinate is an independent O(m) dot product, and the p coordinates can be computed in parallel with no data dependence between them.

Orthonormal bases are not rare or difficult to obtain. Any basis of any subspace of m can be converted into one: the Gram-Schmidt procedure produces an orthogonal set with the same span, and dividing each output vector by its norm makes the set orthonormal without disturbing the span or the independence. Orthogonal and unitary matrices provide a second, equally common source — the columns of an n×n orthogonal matrix are an orthonormal basis of n by construction.

The consequences reach well beyond convenience. Coordinates relative to an orthonormal basis are norm-preserving, so lengths and angles computed in the new coordinates agree with those computed in the original ones. This is the reason orthonormal bases dominate signal processing, least-squares estimation, modal analysis and numerical eigenvalue work: they change the description of a problem without distorting its geometry, and the change is numerically benign because no ill-conditioned system is ever formed.

Definition

Orthonormal Basis

ONB

A basis B={v1,v2,,vp} of a subspace W of m in which the vectors are pairwise orthogonal and each has unit norm. Equivalently, the two conditions below hold for all i and j.

  • vi,vj=0 whenever ij — orthogonality.
  • vi=1, equivalently vi,vi=1 — normalisation.
Both conditions together are written compactly as vi,vj=δij.

Orthogonality of a set of non-zero vectors already forces linear independence, so an orthonormal set that spans W is automatically a basis; the spanning condition is the only one that needs separate checking.

Coordinates Relative to an Orthonormal Basis

COB

Given an orthonormal basis B={v1,,vp} of W and any wW, the coordinates of w relative to B are the scalars w,vi for i=1,,p. The defining property is that these scalars reconstruct the vector: w=i=1pw,vivi.

Inner Product (convention used here)

IP

For u,vm, u,v=i=1m[u]i[v]i¯. The conjugate falls on the second argument, so the form is linear in the first slot and conjugate-linear in the second. Over real entries the conjugates vanish and this is the ordinary dot product.

Concepts

The coordinate theorem and its proof mechanism

Suppose B={v1,,vp} is an orthonormal basis of W and wW. Because B is a basis, w=a1v1++apvp for a unique choice of scalars. The whole content of the theorem is the identification of those scalars. Take the inner product of both sides with vi: linearity in the first argument distributes the product over the sum, so w,vi=kakvk,vi. Every term with ki vanishes by orthogonality, and the surviving term is aivi,vi=ai1. Hence ai=w,vi.

Why normalisation as well as orthogonality

If the basis is merely orthogonal, the same derivation gives w,vi=aivi,vi=aivi2, so the coordinate is ai=w,vi/vi2. That is still cheap, but it carries a division and a stored norm for every basis vector. Normalising once, at construction time, absorbs that division permanently. In production code the choice is a genuine trade-off: an orthogonal basis with cached squared norms avoids p square roots and can be held in exact rational arithmetic, whereas an orthonormal basis usually introduces irrational entries but makes every downstream formula division-free.

Manufacturing an orthonormal basis from any basis

Every finite-dimensional subspace of m has an orthonormal basis, and the proof is constructive. Start with any basis B of W. The Gram-Schmidt procedure produces a set T that is orthogonal, consists of non-zero vectors, and satisfies span(T)=span(B)=W; therefore T is an orthogonal basis of W. Scaling each vector of T by the reciprocal of its norm changes neither the span nor the pairwise orthogonality, so the result is an orthonormal basis. The existence of an orthonormal basis is thus a corollary of the existence of any basis at all.

Orthogonal and unitary matrices as ready-made bases

A square matrix Q of size n is orthogonal (unitary, over ) when QQ=In. Reading that equation entry by entry says exactly that the columns of Q form an orthonormal set. Such a matrix is invertible, hence non-singular, hence its columns span n; an orthonormal set of n vectors spanning n is an orthonormal basis of n. The converse holds too: assemble any orthonormal basis of n as columns and the resulting matrix is unitary. Orthonormal bases of the full space and unitary matrices are two descriptions of one object.

Coordinate extraction as a matrix-vector product

Collect the orthonormal basis vectors as the columns of Q, an m×p matrix with QQ=Ip. Then the coordinate vector of w is a=Qw and the reconstruction is w=Qa=QQw. This exposes the practical shape of the computation: coordinate extraction is one dense matrix-vector product, not a solve. When p<m the operator QQ is the orthogonal projector onto W, which is why the same formula computes the best approximation of an arbitrary vector of m by an element of W.

Norm preservation and Parseval's identity

Because the basis is orthonormal, expanding w,w in the basis kills every cross term and leaves w2=i=1p|w,vi|2. Energy in the vector equals energy in the coordinates. This is what makes an orthonormal change of description safe: a small perturbation of w produces an equally small perturbation of the coordinates, and no direction is stretched or compressed. General bases do not have this property, and the ratio of stretch to compression is precisely the condition number of the basis matrix.

Procedure: coordinates relative to an orthonormal basis

Obtain a basis of the subspaceAny basis B of Wm will do — for example the pivot columns of a matrix whose column space is W.
OrthogonaliseApply the Gram-Schmidt procedure to B, producing an orthogonal set T of non-zero vectors with span(T)=W.
NormaliseReplace each tT by t/t. Span and orthogonality are unaffected, so the result is an orthonormal basis B.
ProjectFor the target vector w, compute the p inner products w,vi. These are the coordinates; no linear system is formed.
VerifyReassemble iw,vivi and confirm it equals w, or check Parseval's identity against w2.

Equations

Orthonormality condition

EQ-OBC-01
vi,vj={1i=j0ij

The two defining conditions in one statement. The diagonal case is normalisation; the off-diagonal case is orthogonality.

Coordinates and orthonormal bases

EQ-OBC-02
w=w,v1v1+w,v2v2++w,vpvp

The central result. For any w in the subspace W spanned by the orthonormal basis, the coefficients of the unique expansion are the inner products with the basis vectors.

Coordinates from an orthogonal (unnormalised) basis

EQ-OBC-03
w=i=1pw,vivi,vivi

The version that applies when the basis is orthogonal but not normalised. Each coefficient carries a division by the squared norm of its basis vector.

Matrix form of coordinate extraction and reconstruction

EQ-OBC-04
a=Qw,w=Qa=QQw,QQ=Ip

With the orthonormal basis vectors as the columns of the m×p matrix Q. When p=m the matrix Q is unitary and QQ=Im; when p<m, QQ is the orthogonal projector onto W.

Parseval's identity

EQ-OBC-05
w2=i=1p|w,vi|2

Norm preservation under an orthonormal change of coordinates. It doubles as an inexpensive arithmetic check on a completed coordinate computation.

Normalisation of an orthogonal set

EQ-OBC-06
vi=1titi,ti=ti,ti

The single step that converts an orthogonal basis into an orthonormal one. Scaling by a non-zero scalar preserves both the span of the set and every orthogonality relation within it.

Inner product convention

EQ-OBC-07
u,v=i=1m[u]i[v]i¯

Conjugation on the second argument. This convention is what allows the coordinate to appear as w,vi rather than vi,w¯; the opposite convention swaps the arguments in every formula on this page.

Variable Definitions

Symbols used on this page
SymbolNameMeaningDomain / type
WSubspaceThe subspace of m in which the vector and the basis both livesubspace of C^m
BOrthonormal basisThe set {v1,,vp} of mutually orthogonal unit vectors spanning Wset of p vectors in C^m
viBasis vectorThe i-th member of the orthonormal basisvector in C^m with norm 1
wTarget vectorThe vector whose coordinates relative to B are wantedvector in W
pDimensionNumber of basis vectors, equal to dim(W)1 to m
mAmbient sizeNumber of entries in each vectorpositive integer
w,viCoordinateThe i-th coefficient in the expansion of w over Bcomplex scalar
QBasis matrixThe m×p matrix whose columns are the orthonormal basis vectorsm x p matrix with Q*Q = I
wNormLength of w, the non-negative square root of w,wnon-negative real

Worked Numerical Example

Problem statement

A triaxial accelerometer is bonded to a machine housing at an oblique angle, so its three sensing axes do not align with the global frame. The sensing axes are known unit vectors, mutually perpendicular by construction. Given a measured acceleration expressed in the global frame, resolve it into components along the three sensor axes and confirm the decomposition.

  1. State the sensor axes

    The three sensing directions, expressed in the global frame, are the columns of the mounting matrix. Each is scaled by 13 so that its entries are integers over a common denominator.

    v1=13[212],v2=13[221],v3=13[122]
  2. Verify orthonormality before using the theorem

    Every entry is real, so the inner product is the ordinary dot product. Norms: v1,v1=19(4+1+4)=1, and identically 19(4+4+1)=1 and 19(1+4+4)=1. Cross terms: 19(4+2+2)=0, 19(2+24)=0, 19(2+42)=0. All three conditions hold, so B={v1,v2,v3} is an orthonormal set of three vectors in 3 and therefore an orthonormal basis of 3.

  3. State the measurement

    The instantaneous acceleration reported in the global frame, in metres per second squared, is w. Its norm is 36+9+36=81=9, so the total acceleration magnitude is 9m/s2.

    w=[636]
  4. Compute the coordinates as inner products

    Each coordinate is a single dot product against a sensing axis. No linear system is assembled and the three computations are independent of one another.

    w,v1=12+3123=1,w,v2=12+663=4,w,v3=6+6+123=8
  5. Write the expansion

    The coordinate theorem asserts that these three scalars reconstruct w exactly, and that no other triple of scalars does.

    w=1v1+(4)v2+8v3
  6. Check the reconstruction entry by entry

    Multiply out and clear the common factor of 13. The first entry is 13(2+8+8)=6, the second 13(18+16)=3, the third 13(2416)=6. The reconstruction agrees with the measurement.

    13([212]4[221]+8[122])=13[18918]=[636]
  7. Confirm with Parseval's identity

    An independent check that does not repeat the reconstruction arithmetic: the sum of the squared coordinates must equal the squared norm of the original vector.

    12+(4)2+82=1+16+64=81=w2
Result

The sensor sees 1m/s2 on axis 1, 4m/s2 on axis 2 and 8m/s2 on axis 3. The dominant response is on the third axis, which is the one most nearly aligned with the true acceleration direction. Because the mounting frame is orthonormal, the vector magnitude read in sensor coordinates is the same 9m/s2 as in the global frame — the oblique mounting rotates the description without distorting the measured magnitude, so no calibration gain correction is needed.

Applications &amp; Industry Use

Structural dynamics

Modal decomposition of a response

Mass-normalised mode shapes of a linear structure are orthonormal with respect to the mass-weighted inner product. A measured displacement field is resolved into modal participation factors by taking one inner product per mode, so a hundred-mode decomposition costs a hundred dot products rather than a hundred-dimensional solve. Truncating the expansion after the low modes gives a reduced-order model whose error is bounded by Parseval's identity.

Signal processing

Transform coefficients as inner products

The discrete Fourier, cosine and wavelet transforms are all coordinate computations relative to an orthonormal basis of n. Each transform coefficient is the inner product of the signal with one basis function, and the inverse transform is the reconstruction sum. Parseval's identity is exactly the statement that total signal energy equals total spectral energy, which is the basis of every energy-domain filter specification.

Geodesy and navigation

Frame transformation for inertial sensors

Body-frame to navigation-frame conversion in an inertial measurement unit is a change between two orthonormal bases of 3, represented by a rotation matrix. Because the transformation is orthonormal, accelerometer and gyroscope magnitudes are invariant, allowing a direct residual check on the attitude estimate: a magnitude that drifts under rotation indicates calibration error rather than genuine motion.

Computer graphics

Tangent-space and local shading frames

Normal mapping requires the tangent, bitangent and normal at each surface point to form an orthonormal frame. Lighting vectors are expressed in that frame by three dot products, and because the frame is orthonormal the inverse transformation is the transpose, which needs no matrix inversion at fragment-shader rates.

Chemical and process metrology

Principal component scores in spectroscopy

Principal component analysis of a spectral data set yields orthonormal loading vectors. The score of a new spectrum on each component is a single inner product with the corresponding loading, so classifying an unknown sample requires no re-fitting. Orthonormality of the loadings is also what makes the residual after k components a clean measure of unexplained variance.

Numerical linear algebra

Orthonormal bases inside iterative solvers

Krylov subspace methods such as GMRES and Lanczos maintain an explicitly orthonormal basis of the growing search space, generated by Gram-Schmidt or Householder reflections. Keeping the basis orthonormal is what keeps the small projected problem well conditioned; loss of orthogonality in finite precision is the classic failure mechanism of these algorithms and drives the use of reorthogonalisation.

Design Considerations

Decide whether normalisation is worth the irrational entries

Normalising introduces a square root for every basis vector, which forces a symbolic computation out of exact rational arithmetic. If the goal is an exact symbolic answer, keep the basis orthogonal and divide by vi,vi in the coefficient formula. If the goal is repeated numerical projection of many vectors, normalise once and reap the division-free formula thereafter.

Verify orthonormality before relying on the coordinate formula

The formula ai=w,vi is only valid for a genuinely orthonormal basis. Applied to a near-orthonormal set it returns plausible-looking numbers that do not reconstruct the input. Check QQ against the identity and report QQIp as a routine diagnostic before trusting any coordinate output.

Confirm that the target vector actually lies in the subspace

The reconstruction identity holds for wW. If wW the same formula still computes something useful — the orthogonal projection of w onto W, which is the closest point of W to w — but it will not reproduce w. Deciding which of these two situations applies is the difference between an exact change of coordinates and a least-squares approximation.

Prefer a stable orthogonalisation to classical Gram-Schmidt

Classical Gram-Schmidt loses orthogonality rapidly when the input basis is ill conditioned; the computed Q can depart from orthonormality by a factor proportional to the square of the condition number. Modified Gram-Schmidt is markedly better, and Householder QR is backward stable. For any production orthonormalisation, use a library QR factorisation rather than hand-coding the classical recurrence.

Fix and document the inner product convention

Placing the conjugate on the first argument instead of the second swaps w,vi for its conjugate throughout. Real-valued test data will never reveal the discrepancy, so a convention mismatch between two modules can survive an entire test suite and then fail silently on the first complex input. State the convention in the interface documentation, not just the code.

Exploit parallelism in coordinate extraction

The p inner products are mutually independent, unlike the sequential back-substitution of a triangular solve. Coordinate extraction against an orthonormal basis therefore vectorises and parallelises cleanly, and maps directly to a single BLAS Level 2 or Level 3 call. This structural advantage often matters more in practice than the operation-count saving.

Standards &amp; Codes

Notation, interchange and numerical standards that govern how this material is written down, stored and computed in production systems.

Applicable standards, conventions and reference implementations
ReferenceTitleRelevance to this topic
ISO 80000-2Quantities and units — Part 2: MathematicsFixes the notation used here: , for the inner product, for the norm, and the overline for complex conjugation, together with the italic and upright conventions for variables and operators.
BLAS Level 1 / Level 2Basic Linear Algebra SubprogramsCoordinate extraction maps onto standard kernels: xDOT for a single inner product, xNRM2 for a numerically safe norm that avoids overflow, and xGEMV for the whole coordinate vector as one matrix-vector product.
LAPACK xGEQRF / xORGQRLinear Algebra PACKage QR factorisation routinesThe reference implementation of numerically stable orthonormalisation. xGEQRF computes a Householder QR factorisation and xORGQR forms the explicit orthonormal Q, which is the recommended substitute for hand-coded Gram-Schmidt.
IEEE 754-2019IEEE Standard for Floating-Point ArithmeticDefines the rounding behaviour that causes computed orthogonality to degrade. It also specifies the exceptional cases — overflow in forming v,v for large-magnitude vectors — that scaled norm routines are designed to avoid.
ISO 5725-2Accuracy (trueness and precision) of measurement methods and resultsRelevant where an orthonormal frame is realised physically, as in a sensor mounting: the standard governs how the departure of the manufactured axes from exact orthonormality is quantified and reported.

Material Selection

For a mathematical topic, "material" is the numeric representation: the scalar field, storage format and precision the computation is built from.

Representation and precision selection
RepresentationSelect whenTrade-off
Exact rational entries with an orthogonal (unnormalised) basisSymbolic work where the coordinates must be exact and the basis comes from Gram-Schmidt applied to rational input.Coordinates stay exact and no square roots appear, but every coefficient carries a division by a squared norm and the entries can grow large.
Exact algebraic entries with normalisationSmall hand or symbolic computations where an explicitly unit-length basis is required for presentation.Formulas become division-free, but entries acquire surds such as 1/6 and subsequent symbolic manipulation becomes markedly slower.
IEEE 754 binary64 with Householder QRGeneral numerical work: least squares, projections, iterative solvers, reduced-order modelling.Orthogonality is preserved to near machine precision and the cost is predictable, but the basis is no longer exactly orthonormal and residual checks must carry a tolerance.
IEEE 754 binary32 on acceleratorsReal-time graphics frames and embedded attitude solutions where throughput dominates and the frame is refreshed frequently.Halves bandwidth but accumulates drift in an incrementally updated frame; periodic re-orthonormalisation becomes mandatory rather than optional.
Fixed-point representation with a scaled unit conventionMicrocontroller attitude and sensor-fusion code with no floating-point unit.Unit vectors map naturally onto a fixed fractional scale and dot products are exact before rounding, but intermediate accumulation must be widened to avoid overflow.
Implicit Householder representation of QLarge m with pm, where forming the explicit m×p basis is wasteful.Storage drops to the compact reflector form and application of Q or Q stays cheap, but individual basis vectors are no longer directly inspectable.

Manufacturing Notes

Implementation notes — how the result is actually produced by hand, by algorithm and by library, including cost and numerical behaviour.

Operation count

One coordinate costs m multiplications and m1 additions. A full coordinate vector for a p-dimensional subspace of m therefore costs about 2mp real floating-point operations. The general-basis alternative — forming and solving the p×p normal system, or a QR solve — is an order of magnitude more expensive and must be repeated for each new vector, whereas the orthonormal computation is a pure matrix-vector product.

Producing the basis by hand

Work through Gram-Schmidt one vector at a time and defer all normalisation to the very end. Subtracting projections of exact rational vectors keeps every intermediate rational; introducing square roots early forces surds through the remaining subtractions and multiplies the algebraic effort several times over. Normalise only when the orthogonal set is complete and verified.

Library behaviour

numpy.linalg.qr and scipy.linalg.qr return an orthonormal Q by Householder reflections; the reduced mode gives the m×p economy factor appropriate for a subspace basis. SymPy exposes GramSchmidt(vectors, orthonormal=True) for exact work. MATLAB's orth derives an orthonormal basis for a column space from the singular value decomposition, which is more robust than QR when the input columns are close to dependent.

Verifying a computed basis

Two checks are worth running. First, orthonormality: compute QQIpF and require it to be a small multiple of the unit roundoff. Second, span: confirm that the original basis vectors are reproduced by QQ, which catches a basis that is orthonormal but spans the wrong subspace — a failure mode that the first check alone cannot detect.

Maintaining orthonormality under incremental update

An orthonormal frame that is updated repeatedly, as in an attitude integrator or a Krylov iteration, drifts away from orthonormality at a rate driven by accumulated rounding. Two standard remedies exist: periodic re-orthonormalisation of the whole frame, or selective reorthogonalisation of each new vector against the existing set whenever the norm drops by more than a set factor during the projection step.

Failure Modes &amp; Common Mistakes

Failure modes, root causes and prevention
Failure mode / mistakeImpactRoot causePrevention & detection
Applying the coordinate formula to a merely orthogonal basishighSkipping normalisation but still using ai=w,vi, so each coefficient is wrong by the factor vi2.Either normalise the basis explicitly or use the divided form ai=w,vi/vi,vi; never mix the two.
Conjugating the wrong argumenthighImplementing u,v with the conjugate on the first slot while the formula on the page assumes the second.Test with a genuinely complex vector, not a real one. Assert conjugate symmetry u,v=v,u¯ against a known case.
Assuming the reconstruction holds for a vector outside the subspacemediumApplying the expansion to an arbitrary wm when the basis spans only a proper subspace W.Compute the residual wQQw and test its norm. A non-zero residual means the result is a projection, not a decomposition.
Loss of orthogonality in classical Gram-SchmidthighCancellation when subtracting projections from a nearly dependent input vector, which corrupts the computed basis in proportion to the square of the condition number.Use modified Gram-Schmidt with reorthogonalisation, or Householder QR from a library. Monitor QQI after construction.
Norm overflow or underflowmediumComputing v as the square root of a naive sum of squares, which overflows for entries near the format maximum and underflows to zero for very small entries.Use a scaled norm routine (xNRM2, numpy.linalg.norm) that factors out the largest magnitude before squaring.
Dividing by a zero normmediumAttempting to normalise a Gram-Schmidt output vector that came out zero because the input set was linearly dependent.Test each candidate against a tolerance before dividing. A zero output signals a dependent input vector, which should be discarded rather than normalised.
Confusing an orthonormal set with an orthonormal basismediumTreating a set of p<dim(W) orthonormal vectors as though it spans W, so the expansion silently discards part of the vector.Count the vectors against the known dimension of the subspace, and confirm spanning independently rather than inferring it from orthonormality.
Assuming coordinates transfer between different orthonormal baseslowReusing a coordinate vector computed against one orthonormal basis in a formula written for another.Label every coordinate vector with the basis it refers to, and convert between bases explicitly through the change-of-basis matrix Q2Q1.

FAQs

Why is an orthonormal basis so much better than an ordinary basis?

Because it converts coordinate extraction from a linear solve into a set of independent inner products. With a general basis, finding the coefficients of w requires row-reducing a system whose columns are the basis vectors, and the work must be repeated for every new w. With an orthonormal basis each coefficient is one dot product, computable independently of the others and immune to the conditioning of the basis matrix.

Does every subspace have an orthonormal basis?

Yes, and constructively so. Take any basis of the subspace, apply the Gram-Schmidt procedure to obtain an orthogonal set with the same span, then divide each vector by its norm. Neither step changes the span and neither destroys linear independence, so the result is an orthonormal basis of the same subspace.

What happens if I apply the coordinate formula to a vector that is not in the subspace?

You get the orthogonal projection of that vector onto the subspace — the unique element of W closest to w in the norm. That is a useful answer, and it is the foundation of least-squares approximation, but it is not a decomposition of w. Check the residual wQQw to tell the two cases apart.

How are orthonormal bases related to orthogonal and unitary matrices?

They are the same objects seen from different angles. Assembling an orthonormal basis of n into the columns of a square matrix produces a unitary matrix, since QQ=In is exactly the statement that the columns are orthonormal. Conversely the columns of any unitary matrix are an orthonormal basis of n, because they are orthonormal, hence independent, and there are n of them.

Is the orthonormal basis produced by Gram-Schmidt unique?

No. It depends on the ordering of the input vectors, and each output vector could be multiplied by any scalar of modulus one without violating orthonormality. What is unique, given a fixed input ordering and a positivity convention on the leading coefficients, is the sequence of nested subspaces the procedure builds — which is why the QR factorisation is unique under a sign convention on the diagonal of R.

Why does Parseval's identity hold only for orthonormal bases?

Expanding w,w over a basis produces diagonal terms |ai|2vi,vi plus cross terms aiaj¯vi,vj. Orthogonality kills the cross terms and normalisation reduces each diagonal factor to one. Drop either condition and the identity acquires correction terms; drop orthogonality and the correction terms do not even have a fixed sign.

Should I normalise before or after Gram-Schmidt?

After, if you are working by hand or symbolically. Normalising early introduces square roots into every subsequent projection subtraction and multiplies the algebraic labour. Numerically the distinction is less important, but modified Gram-Schmidt implementations normalise each vector as it is completed because the unit-norm intermediate keeps the projection coefficients well scaled.

References

  1. Beezer, R. A. A First Course in Linear Algebra, Version 0.70. University of Puget Sound, 2006. Section PD, Subsection OBC. Licensed under the GNU Free Documentation License v1.2.
  2. ISO 80000-2:2019, Quantities and units — Part 2: Mathematics. International Organization for Standardization.
  3. Golub, G. H. and Van Loan, C. F. Matrix Computations, 4th edition. Johns Hopkins University Press, 2013. Chapter 5, orthogonalisation and QR.
  4. Anderson, E. et al. LAPACK Users' Guide, 3rd edition. Society for Industrial and Applied Mathematics, 1999.
  5. IEEE 754-2019, IEEE Standard for Floating-Point Arithmetic. Institute of Electrical and Electronics Engineers.

AI Suggested Questions

  • Show me a case where classical Gram-Schmidt loses orthogonality badly but modified Gram-Schmidt does not, with the measured QQI for each.
  • How does the coordinate formula change if the inner product is weighted by a positive definite matrix, as in mass-normalised structural modes?
  • Derive the orthogonal projector onto a subspace from its orthonormal basis, and explain why the projector does not depend on which orthonormal basis is chosen.
  • Compare the operation count of extracting coordinates against an orthonormal basis with solving the corresponding least-squares problem by QR.
  • Why is the discrete Fourier basis orthonormal after scaling by 1/n, and what does Parseval's identity become in that setting?
  • Given a physically manufactured sensor triad whose axes are only approximately orthogonal, how should I correct the measured coordinates?

Related Calculators

Continue learning

Algebraic and Geometric Multiplicities of Eigenvalues | KEVOS® MathematicsArticle · Project ManagementAmitsur’s Theorem on the Radical of a Polynomial Ring | KEVOS®Article · Project ManagementAmitsur’s Theorem on the Radical of an Algebra of Small Dimension | KEVOS®Article · Project ManagementArchetypes: Reference Catalogue of Worked Systems | KEVOS® MathematicsArticle · Project Management