IAE Academy

Linear algebra formulas

Linear algebra. 25 formulas for GATE EC, EE, IN Engineering Mathematics, each with when to use it. Each is explained in the topic notes.

All 25 Linear algebra formulas

REVERSAL LAWS

The order reverses for any number of factors, e.g. . The transpose and conjugate-transpose laws hold whenever is defined, square or not; the inverse laws need every factor square and non-singular.

MORE INVERSE RULES

non-singular, a scalar and a positive integer. A diagonal matrix with non-zero diagonal entries has inverse , and the inverse of a non-singular upper (lower) triangular matrix is again upper (lower) triangular.

INVERSE THROUGH THE ADJOINT

The first identity holds for every square matrix; the inverse formula needs .

INVERSE OF A 2 × 2 MATRIX

Swap the diagonal entries, change the sign of the off-diagonal entries, divide by the determinant. Valid only when .

TRACE PROPERTIES

holds whenever both products are defined, even for non-square and . The trace is unchanged by cyclic shifts, , but not by other reorderings: in general . In general .

DETERMINANTS OF PRODUCTS, POWERS AND MULTIPLES

and are and is a scalar. holds for every positive integer (for every integer when is non-singular), and needs . even when .

ADJOINT IDENTITIES

For matrices with ; all four hold for singular matrices too. The first follows from taking determinants of , which gives . Consequently . Also , and for non-singular , .

INNER PRODUCT, LENGTH AND ORTHOGONALITY

For real vectors in . For complex vectors use and . A set of vectors is orthonormal if they are mutually orthogonal and each has length . In an orthonormal basis the coordinates of any are simply .

DIMENSION OF A SUM OF SUBSPACES

and are subspaces of a finite-dimensional space and is the set of all sums . Two distinct planes through the origin in meet in a line: .

BOUNDS ON RANK

For an matrix. A square matrix has rank exactly when .

RANK OF A PRODUCT (SYLVESTER'S INEQUALITY ON THE LEFT)

is and is , so is the shared inner dimension. Multiplying by a non-singular matrix does not change the rank: for invertible and .

RANK-NULLITY THEOREM

is the number of columns of (the number of unknowns in ), and is the dimension of the solution space of .

CONSISTENCY CONDITION (ROUCHÉ–CAPELLI THEOREM)

When consistent, the solution is unique if this common rank equals the number of unknowns , and has free parameters if the common rank is .

NON-TRIVIAL SOLUTIONS OF A SQUARE HOMOGENEOUS SYSTEM

is . The number of linearly independent solutions is .

CRAMER'S RULE

is the determinant of with its -th column replaced by . Applies only to a square system with . If and some , the system is inconsistent.

CHARACTERISTIC EQUATION OF A 2 × 2 MATRIX

For : , so . The eigenvalues are real whenever , in particular whenever is real symmetric.

CHARACTERISTIC EQUATION OF A 3 × 3 MATRIX

This is multiplied through by . is the sum of the three principal minors (the cofactors of the diagonal entries); it also equals .

SUM AND PRODUCT OF EIGENVALUES

Each eigenvalue is counted as often as its algebraic multiplicity, complex ones included. More generally for every positive integer ; for instance is the sum of the squares of the eigenvalues. A quick check on any eigenvalue calculation.

GEOMETRIC MULTIPLICITY

An eigenvalue with AM (a simple root) always has GM . A repeated eigenvalue can have any GM from up to its AM.

POWERS AND FUNCTIONS THROUGH DIAGONALISATION

acts entry by entry on the diagonal. is a polynomial, or a convergent power series such as the exponential: . For a real symmetric , take orthonormal eigenvectors as the columns of (normalise each one and, inside the eigenspace of a repeated eigenvalue, also make them orthogonal); then . Normalising alone is not enough when an eigenvalue repeats: and in the Section 5 example are not orthogonal.

CAYLEY–HAMILTON THEOREM

Using instead of only multiplies the polynomial by , which does not change the conclusion.

INVERSE FROM CAYLEY–HAMILTON

Multiply the Cayley–Hamilton identity by . Needs , that is, .

THE 2 × 2 CASE

For any matrix; the inverse needs .

HIGHER POWERS BY THE REMAINDER METHOD

Here is the characteristic polynomial (degree ), and the result follows because . With distinct eigenvalues, find the coefficients of from . For an eigenvalue of algebraic multiplicity , also match the first derivatives; for a double root this is .

TRANSFORMATION LAW FOR CARTESIAN TENSORS

Under a rotation of axes, with the cosine of the angle between the new axis and the old axis . The matrix is orthogonal, . A third-order tensor picks up three factors: .

Where this was asked: 2018 (6), 2020 (5), 2022 (7), 2023 (7), 2024 (6), 2025 (7), 2026 (8). See the 46 previous-year questions on Linear algebra. This shows what was asked, not what will be asked.