Skip to content
GATEiit

GATE DA Linear Algebra formula sheet

The definitions, matrix properties and decomposition results tested in the GATE DA Linear Algebra syllabus, in syllabus order. A is m × n unless stated; square matrices are n × n.

53 formulas · updated 2026-11-14 · reviewed 2026-11-14 · Spotted an error? Tell us

Vector spaces, subspaces and linear independence

  • Subspace test

    W≠∅,u,v∈W, a,b∈R ⇒ au+bv∈W

    Quick check: a subspace must contain the zero vector. Lines/planes not through the origin are not subspaces.

  • Linear independence

    c1v1+⋯+ckvk=0 ⇒ c1=⋯=ck=0

    Any set containing the zero vector is dependent. More than n vectors in Rn are always dependent.

  • Determinant test

    v1,…,vn∈Rn independent  ⟺  det⁡[ v1 ⋯ vn ]≠0

    Only for exactly n vectors in Rn; otherwise use rank of the matrix of vectors = number of vectors.

  • Basis and dimension

    dim⁡Rn=n,dim⁡Rm×n=mn,dim⁡Pn=n+1

    Pn = polynomials of degree ≤ n. A basis is an independent spanning set; every basis has the same size.

  • Symmetric / skew-symmetric matrices

    dim⁡{symmetric n×n}=n(n+1)2,dim⁡{skew n×n}=n(n−1)2

    Every square matrix = symmetric part (A+AT)/2 + skew part (A−AT)/2.

  • Sum of subspaces

    dim⁡(U+W)=dim⁡U+dim⁡W−dim⁡(U∩W)

    Intersection of subspaces is a subspace; a union generally is not.

  • Four fundamental subspaces

    C(A)⊥N(AT) in Rm,C(AT)⊥N(A) in Rn

    Dimensions: C(A) and C(A^T) have dim r; N(A) has n − r; N(A^T) has m − r.

Special matrices: orthogonal, idempotent, projection, partitioned

  • Transpose and inverse rules

    (AB)T=BTAT,(AB)−1=B−1A−1,(AT)−1=(A−1)T

    Order reverses. Inverse rule needs A, B square and invertible.

  • 2 × 2 inverse

    Exists iff ad − bc ≠ 0. In general A−1=adj⁡(A)/det⁡A.

  • Orthogonal matrix

    QTQ=QQT=I,Q−1=QT,det⁡Q=±1,∥Qx∥=∥x∥

    Columns (and rows) are orthonormal. Preserves lengths and angles; real eigenvalues can only be ±1, complex ones have |λ| = 1.

  • Idempotent matrix

    P2=P ⇒ λ∈{0,1},rank⁡(P)=tr⁡(P)

    I − P is also idempotent. The only invertible idempotent matrix is I.

  • Orthogonal projection onto a line

    P=aaTaTa,proj⁡ab=aTbaTa a

    Rank 1, symmetric, idempotent. Eigenvalues 1 (once) and 0 (n − 1 times).

  • Projection onto column space

    P=A(ATA)−1AT

    A must have independent columns. P is symmetric and idempotent; I − P projects onto N(AT). A matrix is an orthogonal projection iff P2=P=PT.

  • Block multiplication

    Valid when block sizes are conformable; keep the order of block products (matrices do not commute).

  • Block determinant

    A, D square; second form needs A invertible (D−CA−1B is the Schur complement). Trap: not det⁡Adet⁡D−det⁡Bdet⁡C in general.

  • Block diagonal inverse

    Eigenvalues of a block-diagonal (or block-triangular) matrix are those of A together with those of D.

Quadratic forms

  • Matrix of a quadratic form

    Use the symmetric matrix: the off-diagonal entry is half the coefficient of xy. For non-symmetric A, xTAx=xTA+AT2x.

  • Positive definite

    xTAx>0  ∀x≠0  ⟺  all λi>0  ⟺  all leading principal minors>0

    Sylvester's criterion, for symmetric A. Positive definite implies invertible and all diagonal entries positive.

  • Positive semidefinite

    xTAx≥0  ∀x  ⟺  all λi≥0  ⟺  all principal minors≥0

    Trap: leading principal minors ≥ 0 is not enough for semidefiniteness. ATA is always PSD.

  • Negative definite

    D1<0, D2>0, D3<0, …(signs alternate)

    Equivalently −A is positive definite. Mixed-sign eigenvalues mean indefinite.

  • Principal axes form

    x=Qy ⇒ xTAx=∑i=1nλiyi2

    Q orthogonal with eigenvectors of symmetric A as columns. Number of positive/negative λi is the same for any such reduction.

  • Rayleigh quotient

    λmin⁡≤xTAxxTx≤λmax⁡

    A symmetric, x ≠ 0. Max of xTAx over unit vectors is λmax⁡, attained at its eigenvector.

Systems of linear equations and Gaussian elimination

  • Consistency (Rouché–Capelli)

    n = number of unknowns. Number of free variables = n − rank A.

  • Homogeneous system

    Ax=0 has a nontrivial solution  ⟺  rank⁡A<n  (  ⟺  det⁡A=0 if square)

    Always consistent (x = 0). More unknowns than equations guarantees nontrivial solutions.

  • Structure of solutions

    x=xp+xh,Axp=b,  xh∈N(A)

    Solution set of Ax = b (b ≠ 0) is a shifted copy of the null space, not a subspace.

  • Row operations and determinant

    Ri↔Rj: −det⁡,Ri→kRi: kdet⁡,Ri→Ri+cRj: det⁡ unchanged

    Row operations preserve rank and the solution set. Elimination to upper triangular form gives det = ± product of pivots.

  • Cramer's rule

    xi=det⁡Aidet⁡A

    Ai = A with column i replaced by b. Only for square A with det A ≠ 0.

  • Gaussian elimination cost

    ≈23n3 flops (elimination),≈n2 per triangular solve

    So factor once (LU) and reuse for many right-hand sides.

Eigenvalues and eigenvectors

  • Characteristic equation

    Av=λv, v≠0  ⟺  det⁡(A−λI)=0

    2 × 2 case: λ2−tr⁡(A)λ+det⁡A=0.

  • Trace and determinant

    ∑iλi=tr⁡A,∏iλi=det⁡A

    Counting algebraic multiplicity. A is singular iff 0 is an eigenvalue.

  • Triangular matrices

    λi=aii

    Eigenvalues of a triangular (or diagonal) matrix are its diagonal entries.

  • Functions of A

    Ak:λk,A−1:1λ,A+cI:λ+c,cA:cλ,p(A):p(λ)

    Same eigenvectors. AT has the same eigenvalues as A but generally different eigenvectors.

  • AB vs BA

    nonzero eigenvalues of AB=nonzero eigenvalues of BA

    A m × n, B n × m; the larger product has extra zero eigenvalues.

  • Rank-one matrix

    A=uvT (n×n):λ=vTu (once), 0 (n−1 times)

    E.g. the all-ones matrix Jn has eigenvalues n and 0 (n − 1 times).

  • Cayley–Hamilton

    p(λ)=det⁡(λI−A) ⇒ p(A)=0

    Use to compute A−1 or high powers Ak as a polynomial of degree < n in A.

  • Multiplicities

    1≤GM(λ)=n−rank⁡(A−λI)≤AM(λ)

    A is diagonalizable iff GM = AM for every eigenvalue.

  • Diagonalization

    A=PDP−1,Ak=PDkP−1

    Needs n independent eigenvectors (columns of P). Distinct eigenvalues are sufficient, not necessary. Eigenvectors for distinct eigenvalues are independent.

  • Spectral theorem

    A=AT ⇒ A=QΛQT=∑iλiqiqiT

    Real symmetric: real eigenvalues, orthonormal eigenvectors, always diagonalizable. Skew-symmetric: eigenvalues are 0 or purely imaginary.

Determinant, rank, nullity and projections

  • Determinant rules

    det⁡(AB)=det⁡Adet⁡B,det⁡AT=det⁡A,det⁡(cA)=cndet⁡A,det⁡A−1=1det⁡A

    A, B n × n. Trap: det⁡(A+B)≠det⁡A+det⁡B in general.

  • Adjugate

    A adj⁡A=(det⁡A) I,det⁡(adj⁡A)=(det⁡A)n−1

    Also adj⁡(adj⁡A)=(det⁡A)n−2A for n ≥ 2.

  • Rank–nullity

    rank⁡A+nullity⁡A=n

    n = number of columns. Nullity = dim N(A) = number of free variables.

  • Rank facts

    rank⁡A=rank⁡AT=rank⁡ATA≤min⁡(m,n)

    Row rank = column rank = number of pivots = number of nonzero singular values.

  • Rank inequalities

    rank⁡(AB)≤min⁡(rank⁡A,rank⁡B),rank⁡(A+B)≤rank⁡A+rank⁡B

    Multiplying by an invertible matrix does not change rank. Sylvester: rank⁡(AB)≥rank⁡A+rank⁡B−n (A is m × n).

  • Invertible matrix theorem

    det⁡A≠0  ⟺  rank⁡A=n  ⟺  N(A)={0}  ⟺  0∉{λi}

    Also equivalent: columns independent, Ax = b has a unique solution for every b.

  • Least squares / projection of b

    ATA x^=ATb,p=Ax^=A(ATA)−1ATb

    Best approximate solution of inconsistent Ax = b; error b−p is orthogonal to C(A). Needs independent columns for uniqueness.

LU decomposition and SVD

  • LU decomposition

    A=LU,L unit lower triangular, U upper triangular

    For invertible A: exists without row exchanges iff all leading principal minors are nonzero, and is then unique. In general PA = LU with a permutation P.

  • Solving with LU

    Ly=b  (forward),Ux=y  (backward)

    Multipliers of elimination lij fill L below the diagonal; U is the echelon form.

  • Determinant via LU

    det⁡A=∏iuii(L unit diagonal),det⁡A=±∏iuii  (PA=LU)

    Sign is − for an odd number of row swaps.

  • Singular value decomposition

    A=UΣVT=∑i=1rσiuiviT,σ1≥σ2≥⋯≥σr>0

    U (m × m) and V (n × n) orthogonal, Σ m × n diagonal. Exists for every real matrix.

  • Singular values

    σi=λi(ATA)=λi(AAT)

    Equality for the non-zero eigenvalues (ATA and AAT share them; the larger one has extra zeros). V's columns are eigenvectors of ATA, U's of AAT; Avi=σiui. For symmetric A, σi=∣λi∣.

  • Rank and norms from SVD

    rank⁡A=#{σi>0},∥A∥2=σ1,∥A∥F=∑iσi2

    ∥A∥F2=∑i,jaij2=tr⁡(ATA). For invertible square A, ∥A−1∥2=1/σn.

  • Best rank-k approximation

    Ak=∑i=1kσiuiviT,∥A−Ak∥2=σk+1

    Eckart–Young; in Frobenius norm the error is σk+12+⋯+σr2. Basis of PCA.

  • Pseudoinverse

    A+=VΣ+UT,Σ+: σi↦1/σi (σi>0)

    x=A+b is the minimum-norm least-squares solution. Full column rank: A+=(ATA)−1AT.

Where marks come fromTopic-wise PYQ analysis →Use the formulasPractise PYQs on this subject →For numerical answersGATE virtual calculator →