GATE CS - ENGINEERING MATHEMATICS:Linear Algebra
Mastering linear algebra concepts and implementation.
Linear Algebra for GATE CS
Linear Algebra usually contributes about 3–4 marks. Questions are short and formula-driven: eigenvalues of a small matrix, determinant shortcuts, rank / consistency of a linear system, and trace–determinant links. Treat this as easy marks if you can compute carefully under time pressure.
Recurring asks:
- Eigenvalues / eigenvectors (mostly )
- Determinant properties
- Rank and system consistency
- Trace = sum of eigenvalues; det = product
Matrix fundamentals
A matrix is best seen as a linear transformation, not just a grid of numbers.
Think of a matrix as an operation that:
- Rotates
- Scales
- Shears
a vector in some direction.
Eigenvalues tell how much it scales vectors in special directions (eigenvectors).
2.1 Matrix Operations (as required for GATE)
You must be fluent in:
- Addition / subtraction – only for same-sized matrices
- Multiplication – row of × column of
- Transpose – flips rows and columns
- Inverse – only for square, non-singular matrices
- Orthogonal matrices –
Tip:
If → is invertible → rank is full → unique solution to .
Fast 2×2 Multiplication Example
Let
Then
For matrices in exam, use diagonal and cross products directly to save time.
Also remember: multiplication is not commutative, i.e. in general.
3. Determinants
The determinant is a single number that tells you:
- Whether a matrix is invertible
- How area/volume scales under the transformation
- Whether a system has unique / infinite / no solution
3.1 Determinant of
For
the determinant is:
GATE will almost surely ask at least one direct question using this.
3.2 Determinant Properties (GATE Goldmine)
Worth knowing cold:
- Swapping two rows → changes sign of determinant
- Multiplying a row by → determinant is multiplied by
- Two identical (or proportional) rows →
- If a row is a linear combination of others →
GATE Hack:
If →
- Matrix is singular
- Rank is not full
- System has infinite or no solutions
This lets you kill options very quickly.
4. Eigenvalues & Eigenvectors (Most Tested Area)
Eigenvalues tell how a matrix scales certain special directions (eigenvectors).
Definition:
where:
- = eigenvalue
- = eigenvector (non-zero)
4.1 Characteristic Equation
Eigenvalues are roots of:
For a matrix, the characteristic polynomial can be written using trace and determinant:
where:
- (sum of diagonal entries)
GATE Hack:
Avoid full expansion – use trace and determinant directly.
4.2 Exam-Type Example
Let
Characteristic equation:
Solving:
This is a 15‑second question in the exam.
4.3 Key Eigenvalue Properties
- Sum of eigenvalues
- Product of eigenvalues
- Eigenvalues of are
- Eigenvalues of are (for non-zero )
- If is triangular (upper/lower), eigenvalues are just the diagonal entries
- If is orthogonal, then
These shortcuts solve most eigenvalue questions without heavy calculation.
5. System of Linear Equations (Using Rank)
Consider a system:
Possibilities:
- Unique solution
- Infinite solutions
- No solution
Use rank to classify:
- Unique solution:
- Infinite solutions:
- No solution:
GATE frequently tests this classification.
6. Rank of a Matrix
Rank = number of linearly independent rows or columns.
6.1 Quick Rank Clues (GATE Pattern)
- A row/column of all zeros → reduces rank
- Two proportional rows → dependence → reduces rank
- If for an matrix → full rank \(= n\)
- Elementary row operations do not change rank
These ideas are enough for most GATE rank questions.
7. GATE PYQ‑Style Questions (Solved)
Q1. Eigenvalues of a Triangular Matrix
Let
Since is upper triangular, eigenvalues are just the diagonal entries:
- Eigenvalues = 2, 3
No computation needed → instant marks.
Q2. Rank / Consistency
System:
- Row 2 is 2 × Row 1 (proportional)
- Row 1 and Row 3 contradict (same left side, different right side)
⇒ System is inconsistent → no solution.
Q3. Determinant Scaling
If , find for a matrix.
For :
Here, :
8. Common Mistakes (Mark Destroyers)
Avoid these:
- Assuming \(AB = BA\) for arbitrary matrices
- Forgetting sign change when swapping rows in determinants
- Expanding big determinants instead of using properties
- Ignoring the fact that triangular matrices have eigenvalues on the diagonal
- Thinking rank changes under elementary row operations (it does not)
- Using full inverse formulas for in the exam (usually a waste of time)
9. Rapid Revision Sheet (Night Before Exam)
Determinant
- :
Eigenvalues
- From trace/determinant:
- Triangular matrix → eigenvalues = diagonal entries
- Eigenvalues of :
- Eigenvalues of :
Rank
- Full rank
- Zero/proportional rows reduce rank
System \(Ax = b\)
- Unique:
- Infinite:
- None:
10. Practice Question Ideas (for Schoolabe)
You can turn these into quiz items:
- Find eigenvalues of
- If for a matrix, find .
- Determine rank of
.
- For what value of is the system
inconsistent?
- If eigenvalues of are 1 and , find eigenvalues of .