Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
The Gram–Schmidt procedure turns linearly independent vectors into an orthonormal basis of the same subspace by projecting onto and subtracting previous directions.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
For vectors with the same units, projections remain consistent; qi is dimensionless when vectors are normalized to unit length.
| Symbol | Meaning | Unit |
|---|---|---|
| k-th linearly independent input vector | application-dependent | |
| Previously normalized orthogonal basis vector | dimensionless when v is normalized | |
| Remainder after subtracting projections | same as vk | |
| ⟨·,·⟩ | Inner product | product of vector units |
u_k=v_k-\sum_{j<k}\langle v_k,q_j\rangle q_j, \quad q_k=\frac{u_k}{\|u_k\|}Projection onto a unit vector q is ⟨v,q⟩q. Removing these components successively creates orthogonality; normalization then gives unit length. In floating-point arithmetic, classical Gram–Schmidt can lose orthogonality for nearly dependent vectors; modified Gram–Schmidt or Householder methods are more stable.
Projection onto a unit vector q is ⟨v,q⟩q. Removing these components successively creates orthogonality; normalization then gives unit length. In floating-point arithmetic, classical Gram–Schmidt can lose orthogonality for nearly dependent vectors; modified Gram–Schmidt or Householder methods are more stable.
The Gram–Schmidt procedure turns linearly independent vectors into an orthonormal basis of the same subspace by projecting onto and subtracting previous directions.
Normalize the vector
uk must not be the zero vector.
Rework the example for “Gram–Schmidt Orthogonalization” and explain why the check is valid.
v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2.
Check: q1·q2=0.
Ignoring an assumption of the formula: Projection onto a unit vector q is ⟨v,q⟩q
Check units and model conditions before substitution; then verify the result in the original relation or a limiting case.
Formula cluster
Related relations in the formula sheet: qr-zerlegung-matrix, skalarprodukt, kleinste-quadrate-matrix.
v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2. Check: q1·q2=0.
Orthonormal bases, QR factorization, projections, and least-squares methods.
Here is how to work through a typical Gram–Schmidt Orthogonalization (uₖ=vₖ−Σⱼ<ₖ⟨vₖ,qⱼ⟩qⱼ; qₖ=uₖ/||uₖ||) task step by step:
Task
Rework the example for “Gram–Schmidt Orthogonalization” and explain why the check is valid.
Solution path
v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2.
Check: q1·q2=0.
The Gram–Schmidt procedure turns linearly independent vectors into an orthonormal basis of the same subspace by projecting onto and subtracting previous directions. The notation uk=vk−Σj<k⟨vk,qj⟩qj; qk=uk/||uk|| shows which quantities are connected. Here, vk: k-th linearly independent input vector (application-dependent); qj: Previously normalized orthogonal basis vector (dimensionless when v is normalized); uk: Remainder after subtracting projections (same as vk). For vectors with the same units, projections remain consistent; qi is dimensionless when vectors are normalized to unit length. An application depends on whether the supplied quantities match the definitions and reference directions. Common uses include Orthonormal bases, QR factorization, projections, and least-squares methods.. Read the variables and their dimensions before substituting numbers; this often reveals whether the result should be a length, rate, probability, or dimensionless statistic.
Start with a diagram or a list of known quantities, assign each one a symbol, and convert units to a consistent form. Then choose the appropriate equation and substitute values only afterward. Example: v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2. Check: q1·q2=0. Verification is part of the calculation: Projection onto a unit vector q is ⟨v,q⟩q Also compare the magnitude and unit with the context. Round only at the end, since early rounding can affect multi-step calculations, especially when small differences or sums are involved.
Projection onto a unit vector q is ⟨v,q⟩q. Removing these components successively creates orthogonality; normalization then gives unit length. In floating-point arithmetic, classical Gram–Schmidt can lose orthogonality for nearly dependent vectors; modified Gram–Schmidt or Householder methods are more stable. These are not minor footnotes: when assumptions fail, the formula can produce a precise but inappropriate result. Before calculating, identify which values are observed, estimated, or modeled, and whether special cases change the equation. Orthonormal bases, QR factorization, projections, and least-squares methods. For numerical methods, also check step size and stability; for statistics, sampling design and distribution; for calculus, differentiability, boundary, and orientation. Use another method when these conditions do not hold.
Both relations belong to the same topic, but answer different questions. “Gram–Schmidt Orthogonalization”: The Gram–Schmidt procedure turns linearly independent vectors into an orthonormal basis of the same subspace by projecting onto and subtracting previous directions. The companion relation “QR Factorization” QR factorization writes a matrix with linearly independent columns as the product of a matrix Q with orthonormal columns and an upper triangular matrix R. Choose based on the quantity sought and the model: Orthonormal bases, QR factorization, projections, and least-squares methods. The worked example v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2. Check: q1·q2=0. shows which quantities actually enter this relation. Compare both formulas using the same data and identify the companion’s extra assumption. This clarifies which relation fits.
Local assumptions and boundary or orientation conventions are part of the formula. Check them before differentiating or integrating; a valid local expression must not be extended to an entire domain without justification. The symbols must also match their definitions exactly: vk: k-th linearly independent input vector (application-dependent); qj: Previously normalized orthogonal basis vector (dimensionless when v is normalized); uk: Remainder after subtracting projections (same as vk). Do not calculate mechanically; write the assumption beside the setup, then check dimensions and sign. Also note: Projection onto a unit vector q is ⟨v,q⟩q The example v1=(1,1), v2=(1,0): q1=(1,1)/√2; u2=(1,0)−(1/2)(1,1)=(1/2,−1/2); q2=(1,−1)/√2. Check: q1·q2=0. lets you follow these checks directly. If the assumptions do not fit, choose another relation from the chapter instead of forcing values into an unsuitable formula.
Quanta exam set
Curated exam set for "Gram–Schmidt Orthogonalization":
Question (front)
Which formula describes Gram–Schmidt Orthogonalization?
Answer in your set
Question (front)
How do you rearrange Gram–Schmidt Orthogonalization for Normalize the vector?
Answer in your set
Question (front)
Which common mistake happens with Gram–Schmidt Orthogonalization?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
The formula set contains 10 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for uₖ=vₖ−Σⱼ<ₖ⟨vₖ,qⱼ⟩qⱼ; qₖ=uₖ/||uₖ||: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential