Linear Algebra
GATE CS90 min read
Linear algebra questions become easier when dimensions and pivots are tracked explicitly. A matrix equation is a system of linear constraints; row operations preserve its solution set when performed correctly. Eigenvalue calculations rely on the characteristic polynomial, while LU decomposition records elimination in a reusable factorization.
Matrices and determinants
Idea. An matrix has m rows and n columns. Matrix products exist when the column count of A equals the row count of B, and generally . For a square matrix, determinant is zero exactly when the matrix is singular; for a matrix , determinant is .
Solved examples.
- Question. Find the product for and . Solution. (1) Entry (1,1): . (2) Entry (1,2): . (3) Second row gives 12 and -3. Answer. . Trap. Row times column determines each entry.
- Question. Compute determinant of . Solution. (1) Use . (2) . Answer. -1. Shortcut. A nonzero determinant means the square matrix is invertible.
- Question. Find determinant of . Solution. (1) Matrix is upper triangular. (2) Determinant is product of diagonal entries. (3) . Answer. -6. Trap. The diagonal-product shortcut requires triangular form.
- Question. If a matrix has two equal rows, what is its determinant? Solution. (1) Swapping those rows leaves the matrix unchanged. (2) A row swap changes determinant's sign. (3) Thus det equals its negative and must be zero. Answer. 0. Useful argument. Equal rows imply linear dependence.
- Question. A matrix has eigenvalues 2, -1, 4. Find its determinant, assuming it is a square matrix over a field and these are all eigenvalues with algebraic multiplicity. Solution. (1) Determinant equals product of eigenvalues. (2) . Answer. -8. Trap. Include multiplicity; a listed subset of eigenvalues is insufficient.
Systems of linear equations
Idea. A system is consistent when b lies in the column space of A. Gaussian elimination uses elementary row operations to expose pivots and free variables. For a square matrix, a unique solution exists exactly when A is invertible, equivalently full rank and nonzero determinant.
Solved examples.
- Question. Solve , . Solution. (1) Add equations: , so x=3. (2) Substitute into first: y=2. Answer. . Shortcut. Addition eliminates y.
- Question. Determine consistency of and . Solution. (1) Doubling the first equation gives . (2) The second requires the same left side to equal 5. (3) Contradiction. Answer. Inconsistent; no solution. Trap. A zero row with nonzero right-hand side signals inconsistency.
- Question. Solve , and describe the solutions. Solution. (1) Second equation is exactly twice the first. (2) There is one independent constraint for two variables. (3) Let y=t; then x=5-2t. Answer. Infinitely many solutions for real t. Trap. Dependent equations do not determine a unique point.
- Question. Find k for which the system , is consistent. Solution. (1) Twice the first equation gives . (2) It matches the second exactly only if k=2. Answer. k=2, with infinitely many solutions; otherwise none. Trap. State both the parameter condition and the solution count.
- Question. Solve , , . Solution. (1) Third equation gives z=1. (2) Then y=3. (3) First gives x=2. Answer. (2,3,1). Shortcut. Triangular systems are solved by back substitution.
Eigenvalues and eigenvectors
Idea. A nonzero vector v is an eigenvector of square A when ; λ is its eigenvalue. Eigenvalues solve . Eigenvectors for λ are nonzero solutions to . Repeated eigenvalues need not have equally many independent eigenvectors.
You have read the free 22% of this note
Sign in with Google to keep reading. It is free, takes one tap, and you also get:
- 20 practice questions from this note
- Every note in full, plus the PDF library
- Official past papers as timed tests, with explanations
- An AI tutor for doubts, in Hindi or English
- Your progress, mistakes and study plan saved on every device