By the end of this chapter you'll be able to…

  • 1Compute the rank of a matrix by row reduction
  • 2State why row rank equals column rank and the resulting bound
  • 3Apply the rank-nullity theorem
  • 4State how each elementary row operation affects the determinant
  • 5Explain why scaling an n by n matrix scales the determinant by k to the n
  • 6Apply the product and inverse rules for determinants
  • 7Use the adjoint identity to obtain the inverse
  • 8State the determinant of the adjoint in terms of the determinant
  • 9Decide consistency by comparing rank of A and of the augmented matrix
  • 10Count the free parameters in an infinite solution family
  • 11State when a homogeneous system has a non-trivial solution
  • 12Test whether a set of vectors forms a basis
  • 13Relate column space and null space dimensions to rank and nullity
  • 14Read eigenvalues off the trace and determinant for a 2 by 2 matrix
  • 15State the eigenvalues of powers, inverses, transposes and shifts
  • 16Read eigenvalues off a triangular matrix
  • 17Apply Cayley-Hamilton to reduce high powers of a matrix
  • 18State the eigenvalue constraints for symmetric, skew-symmetric, orthogonal, idempotent and nilpotent matrices
  • 19Test positive definiteness by Sylvester's criterion or eigenvalue signs
  • 20Compute geometric multiplicity from the rank of A minus lambda I
  • 21Decide diagonalisability by comparing algebraic and geometric multiplicities
  • 22Explain why similar matrices share eigenvalues, trace, determinant and rank
  • 23Compute matrix powers via diagonalisation
  • 24Produce a Doolittle LU factorisation and state when one exists
  • 25Solve a system by forward then back substitution in the correct order
💡
Why this chapter matters in GATE
This is the most mechanically scorable topic in the whole paper: the questions repeat, the methods are short, and almost nothing depends on insight. One number decides nearly everything, which is the rank of the matrix. Rank fixes whether a system has no solution, one solution, or infinitely many. It fixes whether a matrix is invertible. It fixes the dimension of the column space and, through rank-nullity, the dimension of the null space. And when eigenvalues are involved, the rank of A minus lambda I fixes how many independent eigenvectors that eigenvalue contributes, which is what decides diagonalisability. The second organising fact is that eigenvalues carry two invariants readable without computing them: their sum is the trace and their product is the determinant. That is enough to answer many questions in one line and to check every computation in the rest, so the working method is to compute the rank, read off trace and determinant, and only then do heavier work.

Before you start — revise these

🔗
School matrix algebra
Matrix multiplication, transpose, determinants of small matrices and Gaussian elimination are assumed; this chapter builds the rank-centred treatment GATE examines.
🔗
Discrete Mathematics
The notion of a counterexample and of checking a definition mechanically carries over directly, particularly for diagonalisability and special matrix classes.

Linear Algebra

Linear Algebra contributes a reliable share of the 13-mark Engineering Mathematics block, and it is the most mechanically scorable topic in the whole paper. The questions repeat, the methods are short, and almost nothing depends on insight.

One number decides almost everything: the rank of the matrix.

Rank fixes whether a system has no solution, one solution, or infinitely many. It fixes whether a matrix is invertible. It fixes the dimension of the column space and, through the rank-nullity theorem, the dimension of the null space. And when eigenvalues are involved, the rank of fixes how many independent eigenvectors that eigenvalue contributes.

The second organising fact is that eigenvalues carry two invariants you can read off without computing them. Their sum is the trace and their product is the determinant, which is enough to answer many questions in one line and to check every computation in the rest.

So the working method is: compute the rank, read off trace and determinant, and only then do heavier work if the question still demands it.

1. Rank

The rank of a matrix is the number of non-zero rows after reduction to row echelon form, equivalently the maximum number of linearly independent rows, equivalently the maximum number of linearly independent columns.

Row rank equals column rank always, which is why an matrix has rank at most .

A matrix of order is called full rank when its rank is , and that is exactly the condition for invertibility.

Rank conditionConsequence
for Invertible,
Singular,
Largest non-zero minor is of order

Elementary row operations never change the rank, which is what makes row reduction the standard method. They do change the determinant in predictable ways, which is a separate matter and a standard source of errors.

The rank-nullity theorem ties rank to the null space:

where is the number of columns. The nullity is the dimension of the solution space of , so a full-rank square matrix has nullity zero and only the trivial solution.

2. Determinants

The determinant is defined only for square matrices, and its properties matter far more than its computation.

OperationEffect on determinant
Swap two rowsSign flips
Multiply a row by Multiplied by
Add a multiple of one row to anotherUnchanged
TransposeUnchanged

Multiplying the whole matrix by multiplies the determinant by , not by , because every one of the rows is scaled. This is examined directly and caught out regularly.

Two products behave simply:

Note that has no such rule and is not .

For a triangular matrix, the determinant is the product of the diagonal entries, which is why row reduction to triangular form is the practical computation method.

The determinant of an matrix with all entries equal is 0 for , since all rows are identical.

The adjoint supplies the inverse and carries two results that are examined directly.

From this, , which exists precisely when the determinant is non-zero, tying invertibility back to full rank.

Taking determinants of both sides of the adjoint identity gives for an matrix. The exponent rather than is what questions test, and it follows because the right-hand side is divided by .

A matrix and its inverse share eigenvectors, with eigenvalues reciprocated, which is why questions about rarely require computing it.

3. Systems of Linear Equations

For with of order , everything follows from comparing two ranks: that of and that of the augmented matrix .

ConditionSolutions
None; system inconsistent
Exactly one
Infinitely many

When infinitely many solutions exist, the number of free parameters is , which is the nullity. This is asked directly as a NAT question.

For a homogeneous system , the augmented column is zero, so the two ranks always agree and the system is always consistent — the zero vector is always a solution.

A homogeneous system has a non-trivial solution if and only if , which for a square matrix means .

A homogeneous system with more unknowns than equations always has a non-trivial solution, since the rank cannot exceed the number of equations.

4. Vector Spaces, Basis and Dimension

A basis is a linearly independent spanning set, and the dimension is the number of vectors in any basis.

A set of vectors in an -dimensional space is a basis if and only if the matrix formed from them is non-singular, so the test reduces to a determinant.

Any set of more than vectors in an -dimensional space is linearly dependent, and any set of fewer than cannot span it.

The column space of has dimension equal to the rank; the null space has dimension equal to the nullity. The row space and column space always have the same dimension even when they live in different spaces, which is the rank equality restated.

5. Eigenvalues and Eigenvectors

A scalar is an eigenvalue of if there is a non-zero vector with , equivalently if

The two invariants are worth using before any computation.

For a 2 by 2 matrix these two equations determine the eigenvalues completely, which is usually faster than expanding a characteristic polynomial.

A rich set of derived facts is examined directly and follows from the definition.

MatrixEigenvalues
Same as

The eigenvectors are unchanged by all of these transformations, which is often the actual point of the question.

A singular matrix has 0 as an eigenvalue, since . Conversely, a matrix with 0 as an eigenvalue is singular.

For a triangular matrix, the eigenvalues are simply the diagonal entries, and no computation is needed at all.

Cayley-Hamilton states that every matrix satisfies its own characteristic equation. For a 2 by 2 matrix with characteristic polynomial , this gives , which reduces any high power of to a linear combination of and .

Special matrix classes have constrained eigenvalues, and each is a one-line question.

ClassPropertyEigenvalues
Symmetric (real)Real, eigenvectors orthogonal
Skew-symmetricZero or purely imaginary
OrthogonalModulus 1
Idempotent0 or 1
NilpotentAll zero

A real symmetric matrix is positive definite when all its eigenvalues are strictly positive, positive semi-definite when they are non-negative, and indefinite when both signs appear.

Two equivalent tests are used in practice. Every leading principal minor must be positive, which is Sylvester's criterion and is faster for small matrices. Or all eigenvalues must be positive, which is faster when they have already been computed for another part of the question.

Positive definiteness is exactly the condition under which Cholesky decomposition exists and under which the quadratic form is positive for every non-zero .

6. Diagonalisation

A matrix is diagonalisable if is diagonal for some invertible , whose columns are the eigenvectors.

A matrix of order is diagonalisable if and only if it has linearly independent eigenvectors.

Two multiplicities decide this. The algebraic multiplicity of is its multiplicity as a root of the characteristic polynomial. The geometric multiplicity is the dimension of the eigenspace, which by rank-nullity is .

Geometric multiplicity is always at least 1 and never exceeds algebraic multiplicity, and the matrix is diagonalisable exactly when the two are equal for every eigenvalue.

The immediate consequence: a matrix with distinct eigenvalues is always diagonalisable, since each contributes an independent eigenvector. Repeated eigenvalues are the only case where the check is needed.

Every real symmetric matrix is diagonalisable, and moreover by an orthogonal .

Two matrices are similar if for some invertible , and similar matrices share their characteristic polynomial. They therefore share eigenvalues, trace, determinant and rank, though not their eigenvectors.

Diagonalisation is exactly the statement that a matrix is similar to a diagonal one, so the diagonal entries of that diagonal matrix are the eigenvalues, in some order.

The practical payoff is computing powers. If , then , and raising a diagonal matrix to a power is elementwise. This is why diagonalisability is asked about far more often than the diagonalising matrix itself.

7. LU Decomposition

LU decomposition writes with lower triangular and upper triangular, which turns solving into two triangular solves.

The point is reuse. Factoring costs the same order as Gaussian elimination, but once and are available, each new right-hand side costs only the two cheap triangular solves.

Two conventions fix the otherwise underdetermined factorisation.

MethodConvention
Doolittle has unit diagonal
Crout has unit diagonal

LU decomposition without row interchanges exists when every leading principal minor is non-zero. If a leading minor vanishes, pivoting is required and the factorisation becomes .

Solving proceeds in two steps: solve by forward substitution, then by back substitution. The order matters and reversing it is a standard error, since is the factor applied first.

For a symmetric positive definite matrix, Cholesky decomposition writes and costs roughly half as much.

8. Worked Examples

Example 1. For what value of does the system , , have no solution?

Row-reduce the augmented matrix.

Subtracting twice row 1 from row 2 gives . Subtracting row 1 from row 3 gives .

Now eliminate : subtract times the new row 2 from the new row 3, giving

, that is, , or .

For no solution, the coefficient of must vanish while the right side does not.

The coefficient vanishes at and . At the right side is 2, non-zero, so there is no solution. At the right side is , also non-zero, so again no solution.

So the system is inconsistent for and .

The structural point is that inconsistency requires rank rank, which shows up in row-reduced form as a row of zeros on the left with a non-zero entry on the right.

Example 2. The trace of a 3 by 3 matrix is 6 and its determinant is 6. Two of its eigenvalues are 1 and 2. Find the third.

Use the invariants rather than the matrix.

The sum of eigenvalues equals the trace: , so .

Check against the determinant: the product should be , which matches the given determinant exactly.

The third eigenvalue is 3.

This double check is worth performing every time. If the trace and determinant conditions had disagreed, it would indicate either an arithmetic slip or an inconsistent question, and catching that costs a few seconds.

Example 3. Find the rank and nullity of the matrix with rows , , .

Row-reduce. Row 2 is exactly twice row 1, so subtracting twice row 1 from row 2 gives a zero row.

Subtracting row 1 from row 3 gives .

The reduced rows are , and .

Two non-zero rows remain, so the rank is 2.

By rank-nullity with columns: nullity .

So has a one-parameter family of solutions, and the matrix is singular, which also means 0 is one of its eigenvalues.

Example 4. Is the matrix diagonalisable?

It is triangular, so the eigenvalues are the diagonal entries: 3 and 3.

The eigenvalue 3 has algebraic multiplicity 2.

For the geometric multiplicity, compute the rank of , which is the matrix with rows and . Its rank is 1.

Geometric multiplicity .

Since the geometric multiplicity 1 is less than the algebraic multiplicity 2, the matrix has only one independent eigenvector and is not diagonalisable.

This is the canonical example: a repeated eigenvalue is necessary but not sufficient for failure, and the rank computation is what decides it.

Example 5. Use Cayley-Hamilton to compute for .

Trace is 4 and determinant is , so the characteristic equation is .

By Cayley-Hamilton, , so .

Multiply by : .

Substitute the expression for : .

Numerically, and subtracting gives .

Verify with eigenvalues: the eigenvalues of are 1 and 3, so those of are 1 and 27. Their sum should be the trace of , which is . Their product should be the determinant, . Both check.

Example 6. Find the LU decomposition of by the Doolittle method, and solve .

Doolittle sets the diagonal of to 1, so write with entries 1, 0 in the first row and , 1 in the second, and with entries and .

Multiplying and matching entries: and from the first row.

From the second row, gives , and gives , so .

Now solve in two stages. Forward substitution on : , and gives .

Back substitution on : from the last row, and gives .

The solution is , , which satisfies both original equations.

Note that the leading principal minor is non-zero, which is exactly the condition permitting this factorisation without any row interchange.

Summary

Rank decides almost everything: invertibility, the number of solutions, the dimensions of the column and null spaces, and the number of independent eigenvectors for a given eigenvalue.

Row operations preserve rank but change the determinant predictably. Scaling an matrix by scales the determinant by .

A system is consistent exactly when rank equals rank; it has one solution when that common rank is , and infinitely many with free parameters otherwise.

A homogeneous system always has the zero solution, and has a non-trivial one exactly when the rank is less than the number of unknowns.

The trace is the sum of eigenvalues and the determinant is their product; use both before computing anything and again to check.

Powers, inverses, transposes and shifts transform the eigenvalues predictably and leave the eigenvectors alone.

Cayley-Hamilton reduces any power of a matrix to a low-degree combination.

Diagonalisability requires geometric multiplicity to equal algebraic multiplicity for every eigenvalue, so distinct eigenvalues always suffice and only repeated ones need the rank check.

LU decomposition needs non-zero leading principal minors, uses Doolittle or Crout to fix the convention, and is solved by forward substitution then back substitution in that order.

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

The organising tool
RANK DECIDES ALMOST EVERYTHING: INVERTIBILITY, THE NUMBER OF SOLUTIONS, THE DIMENSIONS OF THE COLUMN AND NULL SPACES, AND THE NUMBER OF INDEPENDENT EIGENVECTORS PER EIGENVALUE.
COMPUTE THE RANK, READ OFF TRACE AND DETERMINANT, AND ONLY THEN DO HEAVIER WORK IF THE QUESTION STILL DEMANDS IT.
Rank
THE RANK IS THE NUMBER OF NON-ZERO ROWS IN ROW ECHELON FORM. ROW RANK EQUALS COLUMN RANK, SO AN m BY n MATRIX HAS RANK AT MOST THE SMALLER OF m AND n.
ELEMENTARY ROW OPERATIONS NEVER CHANGE THE RANK, WHICH IS WHY ROW REDUCTION IS THE STANDARD METHOD. THE LARGEST NON-ZERO MINOR HAS ORDER EQUAL TO THE RANK.
Rank-nullity
rank(A) + nullity(A) = n, WHERE n IS THE NUMBER OF COLUMNS.
THE NULLITY IS THE DIMENSION OF THE SOLUTION SPACE OF AX = 0, SO A FULL-RANK SQUARE MATRIX HAS NULLITY ZERO AND ONLY THE TRIVIAL SOLUTION.
Row operations and the determinant
SWAPPING TWO ROWS FLIPS THE SIGN. MULTIPLYING A ROW BY k MULTIPLIES IT BY k. ADDING A MULTIPLE OF ONE ROW TO ANOTHER LEAVES IT UNCHANGED. TRANSPOSING LEAVES IT UNCHANGED.
MULTIPLYING THE WHOLE n BY n MATRIX BY k MULTIPLIES THE DETERMINANT BY k TO THE n, NOT BY k, BECAUSE EVERY ROW IS SCALED.
Determinant products
det(AB) = det(A) det(B), AND det(A INVERSE) = 1/det(A).
THERE IS NO SUCH RULE FOR A SUM: det(A + B) IS NOT det(A) PLUS det(B). FOR A TRIANGULAR MATRIX THE DETERMINANT IS THE PRODUCT OF THE DIAGONAL ENTRIES.
Adjoint and inverse
A times adj(A) = det(A) I, SO A INVERSE EQUALS adj(A) DIVIDED BY det(A), EXISTING PRECISELY WHEN THE DETERMINANT IS NON-ZERO.
TAKING DETERMINANTS GIVES det(adj A) = (det A) TO THE POWER n MINUS 1. THE EXPONENT n-1 RATHER THAN n IS WHAT QUESTIONS TEST.
Consistency of AX = b
INCONSISTENT IF rank(A) DIFFERS FROM rank OF THE AUGMENTED MATRIX. UNIQUE SOLUTION IF BOTH EQUAL n. INFINITELY MANY IF BOTH ARE EQUAL BUT LESS THAN n.
IN THE INFINITE CASE THE NUMBER OF FREE PARAMETERS IS n MINUS rank(A), WHICH IS THE NULLITY, AND IT IS ASKED DIRECTLY AS A NAT.
Homogeneous systems
AX = 0 IS ALWAYS CONSISTENT SINCE THE ZERO VECTOR SOLVES IT. IT HAS A NON-TRIVIAL SOLUTION IF AND ONLY IF rank(A) IS LESS THAN n.
FOR A SQUARE MATRIX THAT MEANS det A = 0. A HOMOGENEOUS SYSTEM WITH MORE UNKNOWNS THAN EQUATIONS ALWAYS HAS A NON-TRIVIAL SOLUTION.
Basis test
A SET OF n VECTORS IN AN n-DIMENSIONAL SPACE IS A BASIS IF AND ONLY IF THE MATRIX FORMED FROM THEM IS NON-SINGULAR.
MORE THAN n VECTORS ARE ALWAYS DEPENDENT; FEWER THAN n CAN NEVER SPAN. THE ROW SPACE AND COLUMN SPACE ALWAYS HAVE THE SAME DIMENSION.
Eigenvalue definition
lambda IS AN EIGENVALUE OF A IF AX = lambda X FOR SOME NON-ZERO X, EQUIVALENTLY IF det(A - lambda I) = 0.
FOR A TRIANGULAR MATRIX THE EIGENVALUES ARE SIMPLY THE DIAGONAL ENTRIES, AND NO COMPUTATION IS NEEDED AT ALL.
The two invariants
trace(A) IS THE SUM OF THE EIGENVALUES AND det(A) IS THEIR PRODUCT.
FOR A 2 BY 2 MATRIX THESE TWO EQUATIONS DETERMINE THE EIGENVALUES COMPLETELY, USUALLY FASTER THAN EXPANDING A CHARACTERISTIC POLYNOMIAL.
Transformed eigenvalues
A TO THE k HAS EIGENVALUES lambda TO THE k. A INVERSE HAS 1/lambda. A TRANSPOSE HAS THE SAME AS A. A PLUS cI HAS lambda PLUS c. cA HAS c lambda.
THE EIGENVECTORS ARE UNCHANGED BY ALL OF THESE TRANSFORMATIONS, WHICH IS OFTEN THE ACTUAL POINT OF THE QUESTION.
Singular matrices and zero eigenvalues
A SINGULAR MATRIX HAS 0 AS AN EIGENVALUE, AND CONVERSELY A MATRIX WITH 0 AS AN EIGENVALUE IS SINGULAR.
THIS FOLLOWS DIRECTLY FROM det(A MINUS ZERO TIMES I) BEING det A, AND IT LINKS THE RANK STORY TO THE EIGENVALUE STORY IN ONE STEP.
Cayley-Hamilton
EVERY MATRIX SATISFIES ITS OWN CHARACTERISTIC EQUATION. FOR A 2 BY 2 WITH POLYNOMIAL lambda SQUARED MINUS t lambda PLUS d, THIS GIVES A SQUARED = tA MINUS dI.
IT REDUCES ANY HIGH POWER OF A TO A LINEAR COMBINATION OF A AND I, WHICH IS FAR FASTER THAN REPEATED MULTIPLICATION.
Special matrix classes
REAL SYMMETRIC: REAL EIGENVALUES, ORTHOGONAL EIGENVECTORS. SKEW-SYMMETRIC: ZERO OR PURELY IMAGINARY. ORTHOGONAL: MODULUS 1. IDEMPOTENT: 0 OR 1. NILPOTENT: ALL ZERO.
EACH OF THESE IS A ONE-LINE QUESTION, AND RECOGNISING THE CLASS FROM THE DEFINING EQUATION IS THE WHOLE SOLUTION.
Positive definiteness
A REAL SYMMETRIC MATRIX IS POSITIVE DEFINITE WHEN ALL EIGENVALUES ARE STRICTLY POSITIVE, EQUIVALENTLY WHEN EVERY LEADING PRINCIPAL MINOR IS POSITIVE.
IT IS EXACTLY THE CONDITION UNDER WHICH CHOLESKY DECOMPOSITION EXISTS AND UNDER WHICH THE QUADRATIC FORM X TRANSPOSE A X IS POSITIVE FOR EVERY NON-ZERO X.
The two multiplicities
ALGEBRAIC MULTIPLICITY IS THE MULTIPLICITY AS A ROOT OF THE CHARACTERISTIC POLYNOMIAL. GEOMETRIC MULTIPLICITY IS n MINUS rank(A - lambda I).
GEOMETRIC MULTIPLICITY IS ALWAYS AT LEAST 1 AND NEVER EXCEEDS ALGEBRAIC MULTIPLICITY.
Diagonalisability
A MATRIX OF ORDER n IS DIAGONALISABLE IF AND ONLY IF IT HAS n LINEARLY INDEPENDENT EIGENVECTORS, EQUIVALENTLY IF THE TWO MULTIPLICITIES AGREE FOR EVERY EIGENVALUE.
n DISTINCT EIGENVALUES ALWAYS SUFFICE, SO ONLY REPEATED EIGENVALUES NEED THE RANK CHECK. EVERY REAL SYMMETRIC MATRIX IS DIAGONALISABLE, AND BY AN ORTHOGONAL P.
Similar matrices
B AND A ARE SIMILAR IF B = P INVERSE A P FOR SOME INVERTIBLE P. SIMILAR MATRICES SHARE THEIR CHARACTERISTIC POLYNOMIAL.
THEY THEREFORE SHARE EIGENVALUES, TRACE, DETERMINANT AND RANK, THOUGH NOT THEIR EIGENVECTORS. DIAGONALISATION IS SIMILARITY TO A DIAGONAL MATRIX.
Powers via diagonalisation
IF A = P D P INVERSE, THEN A TO THE k EQUALS P TIMES D TO THE k TIMES P INVERSE, AND RAISING A DIAGONAL MATRIX TO A POWER IS ELEMENTWISE.
THIS IS WHY DIAGONALISABILITY IS ASKED ABOUT FAR MORE OFTEN THAN THE DIAGONALISING MATRIX ITSELF.
LU decomposition
A = LU WITH L LOWER TRIANGULAR AND U UPPER TRIANGULAR. DOOLITTLE GIVES L A UNIT DIAGONAL; CROUT GIVES U A UNIT DIAGONAL.
IT EXISTS WITHOUT ROW INTERCHANGES WHEN EVERY LEADING PRINCIPAL MINOR IS NON-ZERO. IF ONE VANISHES, PIVOTING IS NEEDED AND THE FACTORISATION BECOMES PA = LU.
Solving with LU
SOLVE LY = b BY FORWARD SUBSTITUTION, THEN UX = Y BY BACK SUBSTITUTION, IN THAT ORDER.
THE POINT IS REUSE: FACTORING COSTS THE SAME ORDER AS GAUSSIAN ELIMINATION, BUT EACH NEW RIGHT-HAND SIDE THEN COSTS ONLY TWO CHEAP TRIANGULAR SOLVES.
⚠️

Traps GATE sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Multiplying the determinant by k when the whole matrix is scaled by k
Every one of the n rows is scaled, so the determinant is multiplied by k to the power n. For a 3 by 3 matrix, doubling every entry multiplies the determinant by 8, not by 2.
WATCH OUT
Assuming det(A + B) equals det A plus det B
No such rule exists. Only the product rule det(AB) = det(A)det(B) holds, and the inverse rule follows from it. Sums must be computed directly.
WATCH OUT
Writing det(adj A) as det A to the power n
The correct exponent is n minus 1. It follows from taking determinants of A times adj(A) = det(A)I, which gives det A times det(adj A) equal to (det A) to the n.
WATCH OUT
Declaring a system inconsistent without comparing both ranks
Inconsistency means rank(A) is strictly less than rank of the augmented matrix, which appears in reduced form as a zero row on the left with a non-zero entry on the right. A zero row alone proves nothing.
WATCH OUT
Counting the wrong number of free parameters
The number of free parameters is n minus rank(A), where n is the number of unknowns, not the number of equations. This is the nullity, and it is frequently asked as a direct numerical answer.
WATCH OUT
Assuming a homogeneous system can be inconsistent
It never can, because the zero vector always satisfies it. The real question is whether a non-trivial solution exists, which requires rank(A) to be less than the number of unknowns.
WATCH OUT
Expanding a characteristic polynomial for a 2 by 2 matrix
The trace gives the sum of the eigenvalues and the determinant gives their product, which determines them completely. It is faster and it doubles as a check on any other method.
WATCH OUT
Believing eigenvectors change when the matrix is transformed
Powers, inverses, scalar multiples and shifts by cI all leave the eigenvectors alone and merely transform the eigenvalues. Only the eigenvalues need recomputing, and usually not even those.
WATCH OUT
Assuming a transpose has different eigenvalues
A and its transpose have the same characteristic polynomial and hence identical eigenvalues, though generally different eigenvectors. This is a standard one-line question.
WATCH OUT
Concluding that a repeated eigenvalue means not diagonalisable
A repeated eigenvalue is necessary but not sufficient for failure. Compute the geometric multiplicity as n minus rank(A - lambda I) and compare it with the algebraic multiplicity; the identity matrix has a repeated eigenvalue and is already diagonal.
WATCH OUT
Computing geometric multiplicity as the rank rather than the nullity
The eigenspace is the null space of A minus lambda I, so its dimension is n minus the rank of that matrix. Using the rank directly gives the complementary number and inverts the conclusion.
WATCH OUT
Assuming similar matrices share eigenvectors
They share the characteristic polynomial, and hence eigenvalues, trace, determinant and rank, but the eigenvectors are transformed by P. Diagonalisation is exactly this transformation.
WATCH OUT
Testing positive definiteness on a non-symmetric matrix
The standard eigenvalue and leading-minor criteria are stated for real symmetric matrices. For a general matrix the quadratic form depends only on the symmetric part, so symmetrise before testing.
WATCH OUT
Assuming an LU decomposition always exists without pivoting
It requires every leading principal minor to be non-zero. If one vanishes, no LU factorisation exists without row interchanges, and the correct statement becomes PA = LU.
WATCH OUT
Doing back substitution before forward substitution
L is applied first, so solve LY = b by forward substitution and then UX = Y by back substitution. Reversing the order solves a different system entirely.
WATCH OUT
Forgetting the convention that fixes an LU factorisation
The factorisation is underdetermined without one. Doolittle sets the diagonal of L to 1 and Crout sets the diagonal of U to 1, and a question that names neither is usually assuming Doolittle.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Linear Algebra?

9 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

9 questions~6 min worth ~100 marks in GATE exams

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • Rank decides invertibility, solvability and dimension.
  • Row rank equals column rank always.
  • Row operations preserve rank.
  • Rank plus nullity equals the number of columns.
  • A row swap flips the determinant's sign.
  • Adding a multiple of a row leaves the determinant unchanged.
  • Scaling an n by n matrix scales the determinant by k to the n.
  • det(AB) equals det(A) det(B).
  • There is no sum rule for determinants.
  • A triangular determinant is the product of the diagonal.
  • A times adj(A) equals det(A) times I.
  • det(adj A) is det A to the power n minus 1.
  • Consistency needs rank(A) equal to the augmented rank.
  • Free parameters number n minus rank(A).
  • A homogeneous system is always consistent.
  • Non-trivial solutions need rank less than the unknowns.
  • More unknowns than equations forces a non-trivial solution.
  • n vectors form a basis iff their matrix is non-singular.
  • Trace is the sum of eigenvalues.
  • Determinant is the product of eigenvalues.
  • Triangular matrices show their eigenvalues on the diagonal.
  • A to the k has eigenvalues lambda to the k.
  • A inverse has eigenvalues 1 over lambda.
  • A transpose has the same eigenvalues as A.
  • A plus cI shifts every eigenvalue by c.
  • Eigenvectors survive all these transformations.
  • A singular matrix has 0 as an eigenvalue.
  • Cayley-Hamilton reduces high powers to low ones.
  • Real symmetric matrices have real eigenvalues.
  • Skew-symmetric eigenvalues are zero or purely imaginary.
  • Orthogonal matrices have eigenvalues of modulus 1.
  • Idempotent eigenvalues are 0 or 1.
  • Nilpotent matrices have all eigenvalues zero.
  • The trace of an idempotent matrix equals its rank.
  • Positive definite means all eigenvalues strictly positive.
  • Sylvester's criterion checks leading principal minors.
  • Geometric multiplicity is n minus rank(A - lambda I).
  • Geometric never exceeds algebraic multiplicity.
  • Diagonalisable iff the two multiplicities agree everywhere.
  • Distinct eigenvalues always give diagonalisability.
  • Real symmetric matrices are orthogonally diagonalisable.
  • Similar matrices share the characteristic polynomial.
  • A to the k equals P D to the k P inverse.
  • LU needs non-zero leading principal minors.
  • Doolittle fixes L's diagonal; Crout fixes U's.
  • Forward substitution first, back substitution second.
  • Cholesky applies to symmetric positive definite matrices.

GATE question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: Engineering Mathematics is 13 of the 100 marks in the GATE CS paper; Linear Algebra typically contributes 3-4 of those marks across 2-3 questions, frequently as NATs

Question styleMarks eachTypical countWhat it tests
Rank and nullity1~1Row reduction and the rank-nullity theorem
Determinants1~1Row-operation effects, scaling by k to the n, and the adjoint identity
Systems of equations2~1Consistency by rank comparison and counting free parameters
Eigenvalues2~1Trace and determinant invariants and transformed eigenvalues
Cayley-Hamilton2~1Reducing high powers and expressing the inverse as a polynomial in A
Diagonalisability2~1Algebraic versus geometric multiplicity and the rank of A minus lambda I
Special matrices1~1Eigenvalue constraints for symmetric, orthogonal, idempotent and nilpotent matrices
LU decomposition2~1Doolittle and Crout conventions, existence conditions and the substitution order

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Row-reduce first; one reduction gives rank, consistency and determinant together.
  2. For 2 by 2 eigenvalue questions, use trace and determinant rather than the characteristic polynomial.
  3. Read eigenvalues straight off any triangular matrix.
  4. Check every eigenvalue answer against both the trace and the determinant.
  5. For diagonalisability, compute the rank of A minus lambda I only when an eigenvalue repeats.
  6. For a high power of a matrix, reach for Cayley-Hamilton before multiplying.
  7. Linear algebra is heavily set as NAT questions, which carry no negative marking, so never leave one blank even on a partial derivation.
  8. For 1-mark and 2-mark MCQs, negative marking is -1/3 and -2/3, so guess only after eliminating at least one option.
  9. GATE gives a single freely-navigable 180-minute window, so a long LU or system-of-equations item can be flagged and returned to.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

Solving a circuit or network repeatedly

LU decomposition is why a simulator factors the conductance matrix once and then answers many different excitation vectors cheaply.

Ranking pages and nodes

PageRank is an eigenvector computation, and the fact that the dominant eigenvalue of a stochastic matrix is 1 is what makes the iteration converge.

Dimensionality reduction

Principal component analysis diagonalises a real symmetric covariance matrix, which is exactly the case guaranteed to have real eigenvalues and orthogonal eigenvectors.

Checking whether a system is over- or under-determined

Comparing the rank of the coefficient matrix with the augmented rank is the everyday test of whether a set of measurements pins down a unique answer.

Where else this topic is tested

Prepare once, score in every exam that asks it.

GATE DA and other GATE papersVery high overlap — linear algebra is common to every GATE paper's Engineering Mathematics block, with GATE DA adding singular value decomposition
UGC NET Computer ScienceModerate overlap — matrices, determinants and eigenvalues appear, examined more as direct recall than as computation
ISRO / BARC / DRDO computer science papersHigh overlap — rank, systems of equations and eigenvalue properties are examined in the same short MCQ form

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

Because it is the single quantity that the other answers are functions of. Invertibility is full rank. The determinant being zero is deficient rank. The number of solutions of a linear system is decided by comparing two ranks, and when the system is underdetermined the number of free parameters is the nullity, which rank-nullity gives immediately. The dimension of the column space is the rank and the dimension of the null space is what remains. Even the eigenvalue side reduces to it: the number of independent eigenvectors belonging to an eigenvalue is the nullity of A minus lambda I, which is again n minus a rank. So a single row reduction, which takes well under a minute for a 3 by 3 matrix, often answers the question directly and always answers part of it. The practical routine is to row-reduce first and read off what the reduced form tells you: how many non-zero rows there are, whether any zero row on the left is paired with a non-zero entry on the right, and what the diagonal entries multiply to. That last product is the determinant up to sign corrections from any row swaps, which means one reduction has supplied the rank, the consistency verdict and the determinant together.

Only when the eigenvalue supplies fewer independent eigenvectors than its algebraic multiplicity, and the rank of A minus lambda I is what measures that. Every eigenvalue has geometric multiplicity at least 1, since an eigenvector exists by definition, and never more than its algebraic multiplicity. Diagonalisability is exactly the statement that the two agree for every eigenvalue, because only then do the eigenspaces together supply the n independent vectors needed to form the diagonalising matrix. The contrast worth holding is between two matrices with the same repeated eigenvalue. The identity matrix scaled by 5 has eigenvalue 5 twice, and A minus 5I is the zero matrix with rank 0, so the geometric multiplicity is 2 minus 0 = 2 and the matrix is diagonalisable, trivially so since it is already diagonal. The matrix with rows (5, 4) and (0, 5) also has eigenvalue 5 twice, but A minus 5I has rank 1, so the geometric multiplicity is 1 and it is not diagonalisable. The eigenvalues are identical; the ranks differ. The immediate corollary is that n distinct eigenvalues always guarantee diagonalisability without any further work, because each contributes at least one eigenvector and eigenvectors for distinct eigenvalues are automatically independent. So the rank check is needed only when a repeat appears.

For a 2 by 2 matrix, everything. The two eigenvalues are the roots of lambda squared minus (trace) lambda plus (determinant), so writing that quadratic and factoring is faster than forming and expanding det(A minus lambda I) by hand, and it is less error-prone. For larger matrices you get two of the n symmetric functions of the eigenvalues, which is usually enough to finish a question that supplies the others. A typical question gives a 3 by 3 matrix's trace and determinant plus two of its eigenvalues and asks for the third; the trace determines it in one subtraction and the determinant then confirms it in one multiplication. That confirmation is the part worth doing habitually. If the two conditions disagree, either an arithmetic slip has occurred or the question is inconsistent, and finding out at that moment costs seconds while finding out later costs the question. The invariants also propagate. If the eigenvalues of A are known, then those of any polynomial in A follow by applying the same polynomial to each, so the trace and determinant of A squared minus 3A can be written down without forming that matrix at all. And a zero appearing among the transformed eigenvalues immediately tells you the transformed matrix is singular, which is frequently what the follow-up part asks.

Reuse across multiple right-hand sides. Factoring an n by n matrix into L and U costs work of the same cubic order as one Gaussian elimination, so for a single system there is no saving at all. The difference appears when the same coefficient matrix is solved against many different b vectors, which is the normal situation in simulation, circuit analysis and iterative numerical methods. Once L and U are stored, each new right-hand side costs only a forward substitution and a back substitution, each of quadratic order, which is dramatically cheaper than repeating the elimination. Three details are examined. The factorisation is underdetermined unless a convention is fixed, so Doolittle sets L's diagonal to 1 and Crout sets U's diagonal to 1; a question naming neither usually intends Doolittle. Existence without row interchanges requires every leading principal minor to be non-zero, and if one vanishes the honest statement is PA = LU with a permutation matrix P. And the solve order is forced: L is the factor applied first to X in the product LUX = b, so LY = b must be solved before UX = Y. A useful self-check falls out of the Doolittle convention: since L has unit diagonal, its determinant is 1, so the determinant of A equals the product of U's diagonal entries.

Because each defining equation constrains the eigenvalues directly, turning what looks like a computation into a one-line deduction. The mechanism is always the same. Take the defining equation, apply it to an eigenvector, and read off what it forces on lambda. If A squared equals A, then applying both sides to an eigenvector gives lambda squared equal to lambda, so lambda is 0 or 1. If A to the k is the zero matrix, then lambda to the k is 0, so lambda is 0 and every eigenvalue vanishes, which also forces the trace and determinant to be zero. If A transpose A equals I, then the transformation preserves length, so every eigenvalue has modulus 1. If A equals minus A transpose, the eigenvalues are zero or purely imaginary, which for odd order forces at least one to be exactly zero and hence the matrix to be singular. Real symmetry gives the richest set: real eigenvalues, orthogonal eigenvectors, guaranteed diagonalisability, and an orthogonal diagonalising matrix. Two further consequences are asked directly and are worth carrying. The trace of an idempotent matrix equals its rank, because the eigenvalue 1 appears exactly rank-many times. And a real symmetric matrix is positive definite exactly when all its eigenvalues are positive, which is equivalent to every leading principal minor being positive and is exactly the condition for Cholesky decomposition to exist.
Header Logo