GATE DA Linear Algebra and Calculus Formula Sheet with Traps
GATE DA linear algebra rests on a few results about rank, eigenvalues, projections and the singular value decomposition. Calculus and optimisation rest on limits, Taylor series and the tests for maxima and minima. This sheet gives each formula with its condition, a one-line example of my own and the trap beside it, all checked against the GATE DA 2027 book.
In this guide
Key takeaways
- Rank plus nullity equals the number of columns, and rank alone decides how many solutions has.
- Eigenvalues sum to the trace and multiply to the determinant; a polynomial in has the same polynomial in .
- Projection and idempotent matrices have eigenvalues 0 and 1 only, so their rank equals their trace.
- The squared singular values of are the eigenvalues of .
- Differentiable implies continuous, never the reverse.
- On a closed interval, the extremes are at the end points or the interior critical points: compare the values.
The terms this sheet uses
The rank of a matrix is the number of independent columns, which equals the number of independent rows. The nullity is the dimension of the set of solutions of . An eigenvalue of is a number with for some non-zero vector , its eigenvector.
The trace, , is the sum of the diagonal. is the transpose. A stationary point of is where . is the natural logarithm, and is the step size, or learning rate, of gradient descent.
Rank, systems and determinants
| Formula | Watch out for |
|---|---|
| Columns, not rows | |
| Unique solution iff | is the number of unknowns |
| Infinitely many iff equal ranks ; none iff | Compare with the augmented matrix |
| has a non-trivial solution iff | Square : iff |
| More than vectors in are dependent | vectors are independent iff their |
| ; | Not |
| ; a row swap flips the sign | Triangular: product of the diagonal |
| ; | The order reverses |
The inverse swaps the diagonal, negates the other two entries and divides by the determinant:
Examples: a matrix of rank 2 has nullity 3. A matrix with gives .
LU decomposition writes , with unit lower triangular holding the elimination multipliers. You solve forward, then backward. It exists without row exchanges when every leading principal minor is non-zero; otherwise .
Trap: multiplies every one of the rows by , so the factor is . Writing is the most common determinant slip.
Eigenvalues and special matrices
| Formula | Watch out for |
|---|---|
| ; ; | Count repeated roots |
| : | Fastest route for small matrices |
| has ; has ; has | Same eigenvectors |
| Triangular: eigenvalues on the diagonal | Even if the matrix is not symmetric |
| Symmetric: real eigenvalues, orthogonal eigenvectors, | Needs a symmetric |
| has rank 1, one eigenvalue , the rest 0 | is a number, a matrix |
| Orthogonal: , , every | Preserves lengths |
| Projection: , , | projects onto the complement |
| Idempotent: eigenvalues 0 or 1, | is idempotent too |
| Centring : rank | Eigenvalue 0 on the vector of ones |
Example: has trace 7 and determinant 10, so gives 5 and 2. Then has 25 and 4, and has 8 and 5. For and , has non-zero eigenvalue .
Cayley–Hamilton: every square matrix satisfies its own characteristic equation.
Quadratic forms and the SVD
| Formula | Watch out for |
|---|---|
| Positive definite iff all iff all leading principal minors | Semidefinite needs all ; minors are not enough |
| Over unit : , | symmetric |
| is positive semidefinite; definite iff the columns of are independent | Only then is invertible |
| , , eigenvalues of | Rank is the count of non-zero |
| ; | Symmetric : |
| Keep the largest for the best rank- approximation | Drop the smallest |
Examples: has leading minors 2 and 3, so it is positive definite, with eigenvalues 3 and 1. The diagonal matrix with entries 3 and has singular values 4 and 3, so and .
The book's last-minute sheet covers all seven technical sections this way, with every result's condition printed beside it. It is part of the GATE DA 2027 book, with 907 questions with worked solutions and 10 full mock tests.
Limits, continuity and derivatives
| Formula | Watch out for |
|---|---|
| As : , , , | Rescale the argument first |
| A form, not 1 | |
| L'Hôpital: | Only for or |
| Continuity at : left limit right limit | All three must exist |
| ; | Keep the minus sign in order |
| , largest at ; | is never above |
| ; | The factor is , not |
Example: , after writing .
Taylor series and approximation
| Formula | Watch out for |
|---|---|
| About it is the Maclaurin series | |
| ; ; | odd powers, even |
| Only for | |
| Only for | |
| Halve the second-order term |
Example: , against the true 1.10517.
Maxima, minima and optimisation
| Formula | Watch out for |
|---|---|
| Candidates: , points where does not exist, interval ends | Do not forget the ends |
| minimum; maximum | decides nothing |
| First non-zero derivative of even order: extremum; odd order: inflection | Minimum if that derivative is positive |
| means convex; a local minimum of a convex function is global | Strictly convex: at most one minimiser |
| Mean value theorem: for some | Rolle is the case |
| Gradient descent ; on converges iff | |
| Newton for a minimum: | One step on a quadratic |
Examples: has , so . Since , is a minimum and a maximum. On , compare , and : the maximum is 18 at the end point. For at 0, the first non-zero derivative is the fourth, so 0 is a minimum.
In one line: A closed-interval question is a comparison of values, and the winner is often an end point.
Using the sheet in the exam
Matrix and series questions often end in a decimal. Practise them on the GATE virtual calculator. Read the MCQ, MSQ and NAT marking scheme, common to every GATE paper too: an MSQ has no negative marks, but no partial credit either. If you know the CS syllabus, GATE CS vs GATE DA shows where the linear algebra overlaps and that optimisation is DA's own.
Remember: No counted paper (2024 to 2026) has examined LU decomposition, but the syllabus names it. An afternoon on it is cheap insurance.
More formula sheets: all of GATE DA · DBMS and Algorithms · Machine Learning · Probability and Statistics
Quick revision
- equals the number of columns.
- , , and .
- , and have , and .
- Projections are symmetric and idempotent, with rank equal to trace.
- are the eigenvalues of , and .
- , and peaks at .
- decides nothing; go to the first non-zero derivative.
- Gradient descent on converges only for .
Frequently asked questions
What is the relation between eigenvalues, trace and determinant?
The sum of the eigenvalues of a square matrix equals its trace, and their product equals its determinant, counting repeated eigenvalues. For a matrix this gives the characteristic equation . A zero eigenvalue therefore means a zero determinant, so the matrix is singular.
What is the formula for a projection matrix?
The projection onto the column space of , whose columns are independent, is . Onto a single unit vector it is . Every projection matrix is symmetric and idempotent, so , its eigenvalues are only 0 and 1, and its rank equals its trace.
How do you check whether a matrix is positive definite?
A symmetric matrix is positive definite exactly when every eigenvalue is positive, or equivalently when every leading principal minor is positive. For positive semidefinite you need every eigenvalue to be non-negative. Checking only that the leading minors are non-negative is not enough for semidefiniteness, which is a classic trap.
When does gradient descent converge on a quadratic?
For with , the update multiplies by at each step. It converges exactly when . At it reaches the minimum in one step, and beyond the iterates grow without bound.
Does continuity imply differentiability?
No. Differentiability implies continuity, but not the other way round. The functions and ReLU, , are continuous at 0 but have a corner there, so they are not differentiable at 0. For a piecewise function, match the values at the join for continuity, and also match the one-sided derivatives for differentiability.
Sources
Dates, fees and the syllabus are set by the GATE 2027 organising institute and can change. Always confirm at gate2027.iitm.ac.in.