EngineeringRise

Matrices and Their Algebra: JEE Main Maths Notes

Reviewed Last updated 2026-11-20. Syllabus topic: Matrices and their algebra.

In short. A matrix is a rectangular array of numbers of a fixed order. Addition is entrywise, but multiplication is row by column and is not commutative, so AB and BA usually differ. Powers of a matrix are found by spotting a pattern or by splitting A as I plus a nilpotent part.

  • A matrix of order m x n has m rows and n columns; AB exists only when the columns of A equal the rows of B.
  • Matrix multiplication is associative and distributive but not commutative: AB = BA must be checked, never assumed.
  • (AB)^T = B^T A^T, and every square matrix is the sum of a symmetric part (A + A^T)/2 and a skew-symmetric part (A - A^T)/2.
  • A diagonal, scalar, identity, triangular, symmetric and skew-symmetric matrix each has a defining entry rule that examiners test.
  • For powers, find A² and A³, guess the pattern and prove it by induction, or use A = I + N with Nᵏ = 0.

Syllabus line: MATRICES AND DETERMINANTS: Matrices, algebra of matrices, type of matrices, determinants and matrices of order two and three, evaluation of determinants, area of triangles using determinants; Adjoint and inverse of a square matrix; Test of consistency and solution of simultaneous linear equations in two or three variables using matrices. (NTA JEE (Main) 2026 syllabus, Mathematics, Unit 3 (https://jeemain.nta.nic.in/document/syllabus-2026/))

Before you start

Prerequisites

  • Sets, relations and functions (lesson planned): Equality of matrices is entry-by-entry equality, which is the same careful bookkeeping as equality of ordered pairs. Read this first if ordered pairs feel shaky.
  • Matrices and determinants: chapter overview (lesson planned): The chapter page shows how the three lessons fit together. Read it first if you want the whole route before the details.

Related topics

The concept step by step

  1. Step 1: A matrix is a table with an order

    A matrix is a rectangle of numbers with m rows and n columns, and we say its order is m x n, rows first. The number in row i and column j is the entry a(i,j). Two matrices are equal when they have the same order and all matching entries agree, so one matrix equation can hide several ordinary equations.

  2. Step 2: Adding and scaling work entry by entry

    You can add two matrices only when they have the same order, and you add matching entries. Multiplying by a number k multiplies every entry. These two operations behave exactly like ordinary arithmetic: A + B = B + A and k(A + B) = kA + kB. Nothing surprising happens yet, which is why the next step is where the real exam traps begin.

  3. Step 3: Multiplication is row meets column

    To get the entry in row i and column j of AB, multiply row i of A with column j of B term by term and add. For this to work, the number of columns of A must equal the number of rows of B. Example: [[1,2],[3,4]] times [[5,6],[7,8]] has first row (1 x 5 + 2 x 7, 1 x 6 + 2 x 8) = (19, 22). The result has the rows of A and the columns of B.

  4. Step 4: Order matters, AB is not BA

    Try A = [[1,2],[3,4]] and B = [[0,1],[1,0]]. Then AB = [[2,1],[4,3]] but BA = [[3,4],[1,2]]. So you may never swap factors freely. Consequences: (A + B)² has two different middle terms AB and BA, and AB = 0 does not force either factor to be zero. Work with the actual order of the factors at every step.

  5. Step 5: Transpose, symmetric and skew-symmetric matrices

    The transpose A^T turns rows into columns. When two matrices are multiplied and then transposed, the order reverses: (AB)^T = B^T A^T. A matrix with A^T = A is symmetric; with A^T = -A it is skew-symmetric, and then all diagonal entries are zero. Any square A splits as (A + A^T)/2 plus (A - A^T)/2, a symmetric part and a skew-symmetric part.

  6. Step 6: Powers and patterns

    A² means A times A, and only square matrices have powers. For a large exponent do not multiply 50 times: compute A² and A³, find the pattern, and prove it by induction. When A = I + N and N times N is zero, Aⁿ = I + nN. If the powers repeat, such as A⁴ = I, reduce the exponent by the period. Test the pattern at n = 1 first.

Worked examples

Each solution shows the marks every step would earn. The sanity check tests units and size of the answer.

Example 1 (easy)

Let A = [[2,3],[1,4]] and B = [[1,0],[2,5]]. Find AB and report the sum of its four entries.

Marks-style solution of example 1
StepMarks
Row 1 of A against the columns of B: 2 x 1 + 3 x 2 = 8 and 2 x 0 + 3 x 5 = 15.1
Row 2 of A: 1 x 1 + 4 x 2 = 9 and 1 x 0 + 4 x 5 = 20.1
AB = [[8,15],[9,20]], so the sum of its entries is 8 + 15 + 9 + 20 = 52.1
Total: 3 marks3

Answer: AB = [[8,15],[9,20]]; sum of entries = 52

Fast method: Compute row by row; check the (1,1) entry first.

Sanity check: Entries of A and B are small non-negative numbers, so the product entries are positive and of order 10 to 20; the sum 52 fits.

Example 2 (medium)

For A = [[1,2],[3,4]] and B = [[0,1],[1,0]], find the sum of the squares of the entries of (A + B)² - (A² + 2AB + B²).

Marks-style solution of example 2
StepMarks
(A + B)² = A² + AB + BA + B², so the difference equals BA - AB.2
AB = [[2,1],[4,3]] and BA = [[3,4],[1,2]], so BA - AB = [[1,3],[-3,-1]].2
Sum of squares = 1 + 9 + 9 + 1 = 20.1
Total: 5 marks5

Answer: 20

Fast method: Skip the expansion: the difference is BA - AB, which is non-zero because the matrices do not commute.

Sanity check: If AB were equal to BA the answer would be 0; the trace of BA - AB is 0, and here 1 + (-1) = 0.

Typical trap: Writing (A + B)² = A² + 2AB + B² gives a difference of 0. That identity needs AB = BA, which fails here.

Example 3 (medium)

If A = [[1,0],[3,1]], find the entry in the second row and first column of A²5.

Marks-style solution of example 3
StepMarks
A² = [[1,0],[6,1]] and A³ = [[1,0],[9,1]], so the pattern is Aⁿ = [[1,0],[3n,1]].2
Induction: [[1,0],[3n,1]] x A = [[1,0],[3n + 3,1]].1
For n = 25 the entry is 3 x 25 = 75.1
Total: 4 marks4

Answer: 75

Fast method: Each extra factor adds 3 to the lower-left entry.

Sanity check: The entry grows linearly in n, so 25 factors give about 25 x 3 = 75, and the size is plausible against A¹ where it is 3.

Example 4 (medium)

Write A = [[1,2,3],[4,5,6],[7,8,9]] as P + Q with P symmetric and Q skew-symmetric. Find the sum of the squares of the nine entries of Q.

Marks-style solution of example 4
StepMarks
Q = (A - A^T)/2. A^T has rows (1,4,7), (2,5,8), (3,6,9).1
Q = [[0,-1,-2],[1,0,-1],[2,1,0]] (for instance q12 = (2 - 4)/2 = -1 and q13 = (3 - 7)/2 = -2).2
Sum of squares = 2 x (1 + 4 + 1) = 12.1
Total: 4 marks4

Answer: 12

Fast method: Only the three entries above the diagonal are needed; double their squares because Q is skew.

Sanity check: The diagonal of Q is 0 as it must be, and the entries below the diagonal are the negatives of those above.

Example 5 (hard, multi-step)

If A = [[2,-1],[1,0]], find the entry in the first row and first column of A³0.

Marks-style solution of example 5
StepMarks
Compute A² = [[3,-2],[2,-1]] and notice A² = 2A - I.2
Guess Aⁿ = nA - (n - 1)I. For n = 1 this is A. Induction: A^(n+1) = nA² - (n-1)A = n(2A - I) - (n - 1)A = (n + 1)A - nI.2
A³0 = 30A - 29I, whose (1,1) entry is 30 x 2 - 29 = 31.1
Total: 5 marks5

Answer: 31

Fast method: Write A = I + N with N = [[1,-1],[1,-1]]; N² = 0, so Aⁿ = I + nN and the (1,1) entry is 1 + n = 31.

Sanity check: A¹ has (1,1) entry 2, A² has 3, A³ has 4: the entry is n + 1, so A³0 gives 31.

Example 6 (hard)

Let N = [[0,1,2],[0,0,3],[0,0,0]] and A = I + N. Find the entry in the first row and third column of A¹0.

Marks-style solution of example 6
StepMarks
N² = [[0,0,3],[0,0,0],[0,0,0]] and N³ = 0.2
I commutes with N, so A¹0 = I + 10N + C(10,2) N² = I + 10N + 45 N².2
The (1,3) entry is 10 x 2 + 45 x 3 = 155.1
Total: 5 marks5

Answer: 155

Fast method: Use the binomial expansion with I and N; the series stops at N².

Sanity check: The result is above 10 x 2 = 20 (the first-order term) and the second-order term 135 dominates, as expected because C(10,2) = 45 is large.

Formulas and units

Formula and unit box for Matrices and their algebra
ResultFormulaValid whenUnits or noteWorked example
Order of a product(m x n)(n x p) gives m x pcolumns of the first equal rows of the seconddimensionlessnone
Entry of a product(AB)(i,j) = sum over t of a(i,t) b(t,j)A is m x n and B is n x pdimensionlessExample 1
Transpose of a product(AB)^T = B^T A^Tproduct defined (conformable matrices)dimensionlessnone
Symmetric and skew partsA = (A + A^T)/2 + (A - A^T)/2square matrix AdimensionlessExample 4
Trace rulestr(A + B) = tr A + tr B; tr(AB) = tr(BA); tr(A^T A) = sum of squares of entriessquare matrices; for tr(AB) = tr(BA) both products defineddimensionlessnone
Square of a sum(A + B)² = A² + AB + BA + B²square matrices of the same orderdimensionlessExample 2
Identity plus nilpotentIf N² = 0: (I + N)ⁿ = I + nNN² = 0, N squaredimensionlessnone
Free entriesn x n symmetric: n(n+1)/2; skew-symmetric: n(n-1)/2n x n matrixdimensionlessnone

Use your browser's print command to print this page; the formula box prints on its own page. Download the one-page formula sheet (PDF).

Common mistakes and speed

  • Treating AB and BA as equal and expanding (A + B)² as A² + 2AB + B². Why it tempts: The identity is true for numbers and the middle term 2AB looks harmless; one wrong option is usually built from it.
  • Multiplying entry by entry (a(i,j) times b(i,j)) instead of row by column. Why it tempts: Addition is entrywise, so the same habit seems natural, and the numbers come out small and plausible.
  • Taking AB = 0 to mean A = 0 or B = 0. Why it tempts: This holds for real numbers, so a statement option that claims it reads like common sense.
  • Off-by-one in a pattern for Aⁿ, for example writing 2n + 2 instead of 2n. Why it tempts: The pattern is guessed from A², and the n = 1 case is not checked against the original matrix.
  • Forgetting that the diagonal of a skew-symmetric matrix is zero and that (A - A^T)/2 needs the factor 1/2. Why it tempts: A - A^T is skew-symmetric already, so dropping the 1/2 still gives something with the right shape, but not the right entries.

Time per question and fast method

Target: about 75 seconds per question.

Check the order of the product first. For a single entry compute only that row-by-column sum. For a high power compute A² and A³, spot the pattern, or split A = I + N and stop the binomial series where Nᵏ = 0. For symmetric and skew parts use only the entries above the diagonal.

Recall quiz

Pick an option for each question. Your answers stay on this page and are not sent anywhere.

Question 1. A is 2 x 3 and B is 3 x 2. The order of AB is
Show the answer

Answer: B: 2 x 2. The inner orders (3 and 3) match, and the result takes the outer orders: 2 x 2.

Question 2. The entry in the second row and first column of [[1,2],[3,4]] times [[5,6],[7,8]] is
Show the answer

Answer: A: 43. Row 2 of the first matrix against column 1 of the second: 3 x 5 + 4 x 7 = 43.

Question 3. For A = [[0,1],[-1,0]], the trace of A⁴ is
Show the answer

Answer: B: 2. A² = -I and A⁴ = I, whose trace is 1 + 1 = 2.

Question 4. If A and B are square matrices of the same order, (AB)^T equals
Show the answer

Answer: B: B^T A^T. The transpose of a product reverses the order of the factors.

Question 5. For A = [[1,2],[3,4]], the sum of squares of all entries of A equals the trace of
Show the answer

Answer: C: A^T A. The diagonal entries of A^T A are the sums of squares of the columns of A, so its trace is 30.

Practice

Test your answers nowFull-length mocks

Previous-year questions

Previous-year questions are not imported yet. Previous-year questions are not imported yet; see the official papers on the NTA site. Official NTA papers page.

Going deeper and revision

Definition, order and equality

A matrix is a rectangular array of numbers arranged in m rows and n columns; its order is m x n (rows first). The entry in row i and column j is written a(i,j). Two matrices are equal only when they have the same order and every corresponding entry is equal, which is how a single matrix equation produces several scalar equations. A row matrix has one row, a column matrix has one column, and a square matrix has m = n. In JEE Main the entries are real numbers, occasionally given by a rule such as a(i,j) = i + 2j, and you must build the matrix from that rule before doing anything else. The number of matrices of order m x n with entries from a set of s numbers is s^(mn), a counting fact that sometimes appears with entries restricted to 0 and 1.

Types of matrices

A zero matrix has every entry 0. A diagonal matrix is square with a(i,j) = 0 whenever i is not j. A scalar matrix is a diagonal matrix with equal diagonal entries, and the identity matrix I has diagonal entries 1. An upper triangular matrix has zeros below the diagonal; a lower triangular matrix has zeros above it. A symmetric matrix satisfies A^T = A, so a(i,j) = a(j,i). A skew-symmetric matrix satisfies A^T = -A, so a(i,j) = -a(j,i) and every diagonal entry is 0. Counting questions follow: a 3 x 3 symmetric matrix has 6 free entries, a skew-symmetric one has 3. Special square matrices also appear: idempotent (A² = A), involutory (A² = I) and nilpotent (Aᵏ = 0 for some k). Always test the definition on the actual entries rather than trusting a name.

Addition, scalar multiple and multiplication

Matrices of the same order are added entry by entry, and k A multiplies every entry by k. Addition is commutative and associative. For multiplication, if A is m x n and B is n x p, then AB is m x p and its (i,j) entry is the sum over t of a(i,t) b(t,j): row i of A against column j of B. The product is defined only when the inner orders match, so AB may exist while BA does not (a 2 x 3 times a 3 x 2 gives 2 x 2 while the reverse gives 3 x 3). Multiplication is associative, A(BC) = (AB)C, and distributive over addition, A(B + C) = AB + AC, and multiplication by the identity leaves a matrix unchanged. Unit and dimension note: the entries are pure numbers here, so there are no physical units; in a word problem the entries may carry units, and the inner dimensions of the product must then cancel sensibly.

Non-commutativity and its consequences

In general AB is not equal to BA, even for 2 x 2 matrices. Several school identities therefore fail. (A + B)² = A² + AB + BA + B², which equals A² + 2AB + B² only when AB = BA. (A - B)(A + B) = A² + AB - BA - B², not A² - B². AB = 0 does not force A = 0 or B = 0: [[1,0],[0,0]] times [[0,0],[0,1]] is the zero matrix. AB = AC does not force B = C. The binomial theorem for (A + B)ⁿ holds only when A and B commute; the most useful case is A = I (which commutes with everything), giving (I + N)ⁿ = I + nN + C(n,2) N² + ... For a given B, the matrices that commute with a fixed A form a family you can find by equating entries of AB and BA, as in a parameter-finding question.

Transpose, symmetric and skew-symmetric parts

The transpose A^T swaps rows and columns, so an m x n matrix becomes n x m. The rules are (A + B)^T = A^T + B^T, (kA)^T = k A^T, (A^T)^T = A and the reversal rule (AB)^T = B^T A^T. For any square A, the matrix A + A^T is symmetric and A - A^T is skew-symmetric, so A = (A + A^T)/2 + (A - A^T)/2, and this split is unique. If A is symmetric then Aⁿ is symmetric for every n, but the product of two symmetric matrices is symmetric only when they commute. A skew-symmetric matrix of odd order has zero determinant, a fact used in the next lesson. The trace, the sum of the diagonal entries, satisfies tr(A + B) = tr A + tr B and tr(AB) = tr(BA) even when AB and BA differ; also tr(A^T A) is the sum of the squares of all entries of A.

Powers of a matrix: pattern, induction and A = I + N

Only square matrices have powers. For a high power, compute A² and A³, guess the pattern, and confirm by induction (assume the pattern for n and multiply by A once). For A = [[1,2],[0,1]] the pattern is Aⁿ = [[1, 2n],[0, 1]]. A second route splits A = I + N where N is nilpotent: if N² = 0 then Aⁿ = I + nN, and if N³ = 0 then Aⁿ = I + nN + C(n,2) N², because I commutes with N. Periodic cases are common: for [[0,1],[-1,0]] the square is -I and the fourth power is I, so reduce the exponent modulo 4. For idempotent A (A² = A) every power equals A, and for involutory A the powers alternate between A and I. Always check the pattern at n = 1 and n = 2 against the real matrix to avoid an off-by-one error.

What examiners test, edge cases and checking

Typical JEE Main items: a specific entry of a product or power, a parameter that makes two matrices commute, the trace of a power, counting symmetric or skew-symmetric matrices with restricted entries, a matrix equation such as A² - 3A + 2I = 0 used to simplify a high power, and a conceptual statement about transposes. Edge cases: a 1 x 1 matrix behaves like a number; the zero matrix is symmetric and skew-symmetric at once; products with mismatched orders do not exist and a question may use that to rule out options. To check an answer, test order first (does the product exist and what is its order), then verify one entry by hand, and for powers test n = 1 and n = 2. A trace or a sum of entries gives a cheap consistency check: the sum of all entries of AB equals the sum over t of (column sum of A at t) times (row sum of B at t).

Memory hook

Suppose a small tea stall keeps a table in which each row is a day and each column is a snack, and a second table gives the price of each snack in rupees. To find the day-wise earnings you multiply the quantity table by the price table.

  1. Suppose Monday sells 3 samosas and 2 teas, and prices are Rs 10 per samosa and Rs 8 per tea. Monday earnings are 3 x 10 + 2 x 8 = Rs 46: one row of the quantity table meets one column of the price table.
  2. Reverse the order and the product usually has no meaning: price table times quantity table mixes snacks with days, and the shapes may not even fit. That is why AB and BA are different things.
  3. If prices rise by a fixed rupee amount, the new earnings are the old earnings plus a second product, because multiplication distributes over addition.

A matrix product is a row-meets-column sum, so the order of the factors matters and the inner sizes must match.

Row meets column; the order matters, and AB is not BA.

Revision card

Try to answer each without looking above.

  1. Under what condition is AB defined, and what is its order?
  2. Why is (A + B)² not usually A² + 2AB + B², and when does it hold?
  3. State the reversal rule for the transpose of a product.
  4. How do you split a square matrix into symmetric and skew-symmetric parts?
  5. How do you find a high power such as A⁵0 quickly?
  6. What is the diagonal of a skew-symmetric matrix, and how many free entries does a 3 x 3 skew-symmetric matrix have?

Sources and review

Reviewed Reviewed on 2026-11-20: every number recomputed by code and independently reviewed; textbook section references pending.

  • Method: Every number in worked examples, recall checks and notes recomputed by code; claims recomputed independently by a separate verifier run using other numerical methods; textbook section references not yet attached; wording defects found were fixed afterwards and re-linted (code checks re-run) but not re-reviewed by a second run; syllabus scope compared with the NTA JEE Main 2026 syllabus text (see content/reviews/scope-audit-2026-11-20.md)
  • Reviewer: independent verifier agent run (not the author)
  • Date: 2026-11-20
  • Defects found: 1; fixed: 1
  • Report: content/reviews/learn2-mat-2026-11-20.md

Textbook references

  • NCERT Mathematics Part 1, Class 12 (reprint 2026-27), Chapter 3: Matrices, 3.4.5 Multiplication of matrices (read from the page image, PDF page 18) (read 2026-11-22)
  • NCERT Mathematics Part 1, Class 12 (reprint 2026-27), Chapter 3: Matrices, 3.5.1 Properties of transpose of the matrices (read from the page image, PDF page 28) (read 2026-11-22)
  • NCERT Mathematics Part 1, Class 12 (reprint 2026-27), Chapter 3: Matrices, 3.6 Theorem 2 (Symmetric and Skew Symmetric Matrices) (read from the page image, PDF page 31) (read 2026-11-22)

Sources used

  • Syllabus: NTA JEE (Main) 2026 syllabus, Mathematics, Unit 3, line id jee-main-2026-U03 in syllabus/lines/jee-main/2026.json
  • NCERT Class 12 Mathematics, Matrices and Determinants (read as a reference for scope only; content written fresh for this site, textbook section references still pending)

How labels work: see how answers and lessons are verified. Found a mistake? Use Report an error on any question page.