Docsity

matrices and determinats formula sheet, Cheat Sheet of Mathematics

Toggle sidebar
bg1
MATRICES & DETERMINANTS
C LA S S 1 2 M AT H EM AT I C S · J E E M AI N & A DV AN C ED
1The Whole Chapter in One Picture O V E R V I E W
ONE OBJECT, SIX THINGS YOU DO TO IT
MATRIX ALGEBRA TYPES | A | A⁻¹AX = B
order m × n + , kA , AB Aᵀ, sym, orth square only adj A / |A| X = A⁻¹B
what it is combine them name the shape one number undo it use it
Sec 2–3 Sec 4–6 Sec 7–10 Sec 11–16 Sec 17–19 Sec 20–23
A matrix is an array of numbers; its determinant is the single number that decides whether it can be undone.
THE ONE NUMBER THAT DECIDES EVERYTHING
| A | ≠ 0
non-singular
A⁻¹ exists
unique solution
| A | = 0
singular
no inverse
none or infinite
iDeterminants exist only for square matrices.
Every "does it work?" question in this chapter —
inverse, unique solution, non-trivial solution — is
answered by |A|.
2What a Matrix Is — Order, Notation, Elements B A S I C S
ROWS FIRST, THEN COLUMNS
a₂₃
a₁₁ a₁₂ a₁₃ a₁₄
a₂₁ a₂₂ a₂₄
a₃₁ a₃₂ a₃₃ a₃₄
row 2
column 3
3 rows
4 columns
order
3 × 4
12 elements
aij — i is the row, j is the column, always in that order
NOTATION YOU WILL SEE
A = [aij]m×n — m rows, n columns, mn elements.
m = n → square matrix of order n.
The principal diagonal is a₁₁, a₂₂, …, ann (only in a square matrix).
tr(A) = a₁₁ + a₂₂ + ⋯ + ann — the trace.
iA matrix is not a number and has no value — you cannot
"evaluate" it. Only a square matrix has a determinant, and that
determinant is a number.
3Types of Matrices — Name the Shape TYPES
TY PE CO ND IT IO N EX AMP LE
row matrix order 1 × n
column matrix order m × 1
square m = n
diagonal aij = 0 for i ≠ j
scalar diagonal, all equal
identity Inscalar with k = 1
TY PE CO NDI TI ON E XA MP LE
null / zero O every element 0
upper triangular aij = 0 for i > j
lower triangular aij = 0 for i < j
singular | A | = 0
non-singular | A | ≠ 0
equal A = B same order and aij = bij element by element
!Every scalar matrix is diagonal and every identity matrix is scalar — but not the other way round. A diagonal matrix may have unequal (even zero) diagonal entries,
so a diagonal matrix can be singular.
2 5 7
2
5
1 2
3 4
3 0
0 7
5 0
0 5
1 0
0 1
0 0
0 0
2 9
0 5
2 0
4 5
1 2
2 4
1 2
3 4
Competishun · Mathematics · Matrices & Determinants Page 1 / 10
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download matrices and determinats formula sheet and more Cheat Sheet Mathematics in PDF only on Docsity!

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

1 The Whole Chapter in One Picture O V E R V I E W

ONE OBJECT, SIX THINGS YOU DO TO IT

MATRIX ALGEBRA TYPES | A | A⁻¹ AX = B

order m × n + , kA , AB Aᵀ, sym, orth square only adj A / |A| X = A⁻¹B

what it is combine them name the shape one number undo it use it Sec 2–3 Sec 4–6 Sec 7–10 Sec 11–16 Sec 17–19 Sec 20–

A matrix is an array of numbers; its determinant is the single number that decides whether it can be undone.

THE ONE NUMBER THAT DECIDES EVERYTHING

| A | ≠ 0 non-singular A⁻¹ exists unique solution

| A | = 0 singular no inverse none or infinite

i Determinants exist^ only for square matrices. Every "does it work?" question in this chapter — inverse, unique solution, non-trivial solution — is

answered by |A|.

2 What a Matrix Is — Order, Notation, Elements B A S I C S

ROWS FIRST, THEN COLUMNS

a₂₃

a₁₁ a₁₂ a₁₃ a₁₄

a₂₁ a₂₂ a₂₄

a₃₁ a₃₂ a₃₃ a₃₄

row 2

column 3

3 rows

4 columns

order

3 × 4

12 elements

aij — i is the row, j is the column, always in that order

NOTATION YOU WILL SEE

A = [aij]m×n — m rows, n columns, mn elements.

m = n → square matrix of order n. The principal diagonal is a₁₁, a₂₂, …, ann (only in a square matrix).

tr(A) = a₁₁ + a₂₂ + ⋯ + ann — the trace.

i A matrix is^ not^ a number and has^ no value^ — you cannot "evaluate" it. Only a square matrix has a determinant, and that determinant is a number.

3 Types of Matrices — Name the Shape T Y P E S

TYPE CONDITION EXAMPLE

row matrix order 1 × n

column matrix order m × 1

square m = n

diagonal aij = 0 for i ≠ j

scalar diagonal, all equal

identity In scalar with k = 1

TYPE CONDITION EXAMPLE

null / zero O every element 0

upper triangular aij = 0 for i > j

lower triangular aij = 0 for i < j

singular | A | = 0

non-singular | A | ≠ 0

equal A = B same order and aij = bij element by element

! Every scalar matrix is diagonal and every identity matrix is scalar — but not the other way round. A diagonal matrix may have unequal (even zero) diagonal entries, so a diagonal matrix can be singular.

2 5 7

2 5

1 2 3 4

3 0 0 7

5 0 0 5

1 0 0 1

0 0 0 0

2 9 0 5

2 0 4 5

1 2 2 4

1 2 3 4

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

4 Addition, Subtraction & Scalar Multiplication A L G E B R A

SAME ORDER, ELEMENT BY ELEMENT

A ± B = [ aij ± bij ] — defined only if A and B have the same order kA = [ k·aij ] — every element is multiplied, unlike a determinant

A + B = B + A (commutative) · (A + B) + C = A + (B + C)

A + O = A · A + (−A) = O · k(A + B) = kA + kB

THE ONE THAT TRIPS PEOPLE UP

k A multiplies all mn elements k | A | multiplies one row only ⇒ | kA | = kn^ | A |

n = order of the square matrix, not the number of elements

5 Matrix Multiplication — Row Into Column A L G E B R A

THE RULE — AND WHEN IT IS EVEN DEFINED

A (m × n) B (n × p) ⟶ AB (m × p)

inner n's must match

outer pair gives the order

row i of A

×

col j of B

= (^) cij cij^ = Σk^ aik^ bkj multiply term-wise, then add

(2×3)(3×4) → 2×4 (3×2)(3×2) → not defined (1×3)(3×1) → 1×

(3×1)(1×3) → 3×

WORKED — 2 × 2

! Swap the order and the answer changes: BA =

— never the same matrix.

6 Multiplication — Properties and the Four Big Traps A L G E B R A

WHAT STILL HOLDS

(AB)C = A(BC) — associative.

A(B + C) = AB + AC — distributive.

A I = I A = A · A O = O A = O.

AmAn^ = Am+n^ · (Am)n^ = Amn^ (square A).

k(AB) = (kA)B = A(kB).

✓ If AB = BA the matrices are said to commute — and only then do the

familiar identities such as (A+B)² = A² + 2AB + B² and (A+B)(A−B)

= A² − B² survive.

WHAT BREAKS

1 AB ≠ BA in general — and BA may not even exist when AB does.

2 AB = O does not force A = O or B = O. · = O

3 AB = AC does not give B = C — there is no cancellation law unless A

is invertible.

4 (A+B)² = A² + AB + BA + B² — you may not merge the middle two

terms.

MATRIX POLYNOMIALS

For a square A and a polynomial f(x) = a₀ + a₁x + ⋯ + akxk,

f(A) = a₀I + a₁A + ⋯ + akAk^ — the constant term becomes a₀I , never the number a₀.

i Only scalar matrices kI commute with every matrix of the same

order — which is exactly why kI behaves like the plain number k.

1 2 3 4

5 6 7 8

6 8 10 12

1 2 3 4

3 6 9 12

23 34 31 46

1 0 0 0

0 0 0 1

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

10 Complex Entries — Conjugate, Hermitian & Unitary S P E C I A L

TWO STEPS: CONJUGATE, THEN TRANSPOSE

Ā = conjugate of every element (a + ib → a − ib) Aθ^ = (Ā)T^ — the conjugate transpose

i Everything from Sec 8 repeats one level up: replace AT^ by

Aθ^ and "symmetric / skew / orthogonal" become "Hermitian /

skew-Hermitian / unitary".

NAME CONDITION KEY FACT EXAMPLE

Hermitian Aθ^ = A diagonal isreal

skew-Hermitian Aθ^ = −A

diagonal 0 or

purely

imaginary

unitary A Aθ^ = I | det A | = 1 √2^1

a real Hermitian matrix is just a symmetric matrix; a real unitary matrix is orthogonal

11 Determinant — One Number from a Square Matrix D E T E R M I N A N T S

SARRUS' DIAGONALS — 3 × 3 ONLY

aa bb cc

dd ee ff

gg hh ii

aa bb

dd ee

gg hh

↘ add

aei + bfg + cdh

↗ subtract

ceg + afh + bdi

copy the first two columns to the right, then run the six diagonals

THE DEFINITIONS

2 × 2

= ad − bc

3 × 3 — EXPAND ALONG R₁ | A | = a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃

✓ You may expand along^ any^ row or column and get the same number — so always pick the line with the most zeros.

12 Minors, Cofactors & the Sign Board D E T E R M I N A N T S

DELETE THE ROW AND COLUMN, THEN ATTACH THE SIGN

Mij = determinant left after deleting row i and column j — the minor. Cij = (−1)i+j^ Mij — the cofactor.

A = ⇒ M₁₁ = = −24, C₁₁ = +M₁₁ = −

Here C₁₁ = −24, C₁₂ = 20, C₁₃ = −5, and | A | = 1. Then own row: 1(−24) + 2(20) + 3(−5) = 1 = | A | alien row: 0(−24) + 1(20) + 4(−5) = 0

THE SIGN CHESSBOARD

(−1)i+j

start with + at the top-left and alternate in both directions

✓ Own row: ai1Ci1 + ai2Ci2 + ai3Ci3 = | A |. Alien row (the "zero property"): multiplying a row by the cofactors of a different row gives 0 — this is exactly why A(adj

A) = | A | I.

2 3+i 3−i 5

0 2+i −2+i 3i

1 i i 1

a b c d

1 2 3 0 1 4 5 6 0

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

13 The Seven Working Properties of a Determinant D E T E R M I N A N T S

OPERATION ON THE DETERMINANT EFFECT

transpose it — rows ↔ columns | AT^ | = | A |

interchange two rows (or two columns) sign flips

two rows identical or proportional | A | = 0

any row is entirely zero | A | = 0

OPERATION ON THE DETERMINANT EFFECT

Ri → kRi (one row scaled) multiplied by k

Ri → Ri + kRj (i ≠ j) unchanged

a row written as a sum of two rows splits into two determinants

triangular or diagonal matrix product of the diagonal

! Ri → kRi changes the value; Ri → Ri + kRj does not. Mixing these two up is the single most common slip when simplifying a determinant — and Ri → kRi + Rj is

not safe either, since it scales row i as well.

WORKED — TAKE A COMMON FACTOR OUT

C₁ → C₁ + C₂ + C₃ makes every entry of C₁ equal to 2(a+b+c) ; pull it out, clear the column with row operations ⇒ 2(a + b + c)³

WORKED — SPOT THE ZERO

= (a − b)(b − c)(c − a)(a + b + c)

Two equal letters make two columns identical, so the determinant is 0 — which is why every factor is a difference.

14 Determinant Algebra — How | A | Behaves D E T E R M I N A N T S

PRODUCT | AB | = | A | | B |

SCALAR MULTIPLE | kA | = kn^ | A |

POWER | Am^ | = | A |m

INVERSE | A−1^ | = 1 / | A |

WHAT | A | TELLS YOU IMMEDIATELY

| A | ≠ 0 → A is non-singular , A−1^ exists, AX = B has a unique solution.

| A | = 0 → A is singular , no inverse, the system has no or infinitely many solutions.

| AB | = | A | | B | ⇒ a product is singular the moment either factor is.

! | A + B | ≠ | A | + | B | — determinants do not distribute over

addition. There is no useful formula for | A + B |.

! | kA | = kn^ | A | , where n is the order. For a 3 × 3, | 2A | = 8 | A |,

not 2 | A |.

15 What a Determinant Means — Area & Volume G E O M E T R Y

| A | IS THE AREA-SCALING FACTOR

unit square

(3, 1)

(1, 2) area 5

| A | =

3·2 − 1·1 = 5

rows (3,1) and (1,2)

a 3 × 3 determinant is the signed volume of the parallelepiped on its three rows

THE TWO EXAM USES

AREA OF A TRIANGLE

Δ =

(take the modulus)

TEST FOR COLLINEARITY the three points are collinear ⟺ that determinant = 0 (zero area)

i | A | = 0 means the transformation squashes area (or volume) to

zero — information is lost, so nothing can undo it. That is the geometric reason a singular matrix has no inverse.

a+b+2c a b c b+c+2a b c a c+a+2b

a b c a³ b³ c³

x₁ y₁ 1 x₂ y₂ 1 x₃ y₃ 1

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

19 The Adjoint & Inverse Toolkit — Exponents Decide Marks I N V E R S E

IDENTITY (A is n × n) NOTE

| adj A | = | A |n−1^ exponent n − 1

adj (adj A) = | A |n−2^ A exponent n − 2

| adj (adj A) | = | A |(n−1)²^ square the exponent

adj (kA) = kn−1^ adj A n − 1 again

A (adj A) = (adj A) A = | A | I true for every square A

adj (AT) = (adj A)T^ transpose passes through

IDENTITY NOTE

adj (AB) = (adj B)(adj A) order reverses

(AB)−1^ = B−1A−1^ order reverses

(AT)−1^ = (A−1)T^ order does not matter

(kA)−1^ = 1 k A−1^ k ≠ 0

| A−1^ | = 1 / | A | so | A | ≠ 0 is forced

(Am)−1^ = (A−1)m^ powers commute with inverting

✓ Almost every adjoint question is one of these four in disguise. Read the order n off the matrix first, then substitute — for a 3 × 3, | adj A | = | A |² and

adj(adj A) = | A | · A.

20 Solving a Linear System — the Matrix Method S Y S T E M S

WRITE THE SYSTEM AS ONE EQUATION

a₁x + b₁y + c₁z = d₁ a₂x + b₂y + c₂z = d₂

a₃x + b₃y + c₃z = d₃ ⟺ =

A · X = B — the coefficient matrix , the variable matrix and the constant matrix

IF | A | ≠ 0 X = A−1B one unique solution — the system is consistent

! (^) Multiply on the left : from AX = B you get A−1AX = A−1B.

Writing X = BA−1^ is both wrong and usually not even

defined.

21 Cramer's Rule & the Consistency Decision Tree S Y S T E M S

REPLACE ONE COLUMN BY B

D = | A | ; D₁, D₂, D₃ = D with column 1, 2, 3 replaced by the constants B.

x =

D₁

D

· y =

D₂

D

· z =

D₃

D

valid only while D ≠ 0

READ THE ANSWER OFF THE TREE

compute D, D₁, D₂, D₃

D ≠ 0

consistent — unique solution

D = 0, some Di ≠ 0

inconsistent — no solution

D = 0, all Di = 0

infinitely many OR no solution

! The third branch is not automatically "infinitely many solutions". x + y + z = 1, x + y + z = 2, x + y + z = 3 has D = D₁ = D₂ = D₃ = 0 yet no solution at all. When

D and every Di vanish, settle it by eliminating : reduce the equations and see whether the leftovers agree or contradict each other.

WHICH METHOD SHOULD YOU REACH FOR?

THE QUESTION SAYS USE "solve the system",

coefficients are numbers Cramer, or X = A

−1B

"for what value of λ …

unique / no solution" set D = | A | and branch

"how many solutions", and D

= 0 eliminate, then compare

i Cramer and the inverse method both need D ≠ 0. The

moment D = 0 they are useless — fall back on plain elimination and read off whether the equations repeat or contradict.

a₁ b₁ c₁ a₂ b₂ c₂ a₃ b₃ c₃

x y z

d₁ d₂ d₃

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

22 Homogeneous Systems — AX = O S Y S T E M S

NEVER INCONSISTENT — ONLY TWO OUTCOMES

| A | ≠ 0 only the trivial solution x = y = z = 0

| A | = 0 infinitely many non-trivial solutions

i X = O always satisfies AX = O, so a homogeneous system is always

consistent — "no solution" can never be the answer. The only question is

whether the trivial solution is the only one, and | A | settles it.

THE STANDARD λ QUESTION

λx + y + z = 0, x + λy + z = 0, x + y + λz = 0 non-trivial ⟺ D = 0: D = λ³ − 3λ + 2 = (λ − 1)²(λ + 2) ⇒ λ = 1 or λ = −

"non-trivial solution exists" is just a disguised way of saying | A | = 0

WORKED — THE SAME SYSTEM, TWO ENDINGS

x + y + z = 6, x + 2y + 3z = 14, x + 4y + 7z = 30 (here D = 0)

R₂ − R₁ and R₃ − R₁ give y + 2z = 8 and 3y + 6z = 24 = 3 × the first the third equation says nothing new ⇒ infinitely many solutions , one free parameter

CHANGE ONE CONSTANT AND IT DIES

replace 30 by 31 : the same two steps now give y + 2z = 8 and 3y + 6z = 25 but 3 × 8 = 24 ≠ 25, so the two contradict each other ⇒ no solution | A | = 0 in both cases — only eliminating and comparing tells them apart

THE SAME THREE CASES, SEEN AS THREE PLANES

meet at one point meet along a line no common point

unique solution infinitely many no solution

i Each equation in three unknowns is a plane. "Consistent" simply asks whether the three planes

share at least one point — which is exactly what D and

the three Di are measuring.

23 Cayley–Hamilton, Trace & the Characteristic Equation P O W E R S

EVERY MATRIX SATISFIES ITS OWN EQUATION

CHARACTERISTIC EQUATION | A − λI | = 0 2 × 2: λ² − (tr A)λ + | A | = 0 3 × 3: λ³ − (tr A)λ² + Sλ − | A | = 0 S = sum of the three principal 2 × 2 minors

✓ Replace λ by A and the constant by that constant times I — the equation still holds. That is Cayley–Hamilton , and it turns any high power Ak^ into a combination of lower ones.

WORKED — TWO USES FROM ONE EQUATION

A = : tr A = 5, | A | = 7 ⇒ A² − 5A + 7I = O powers: A² = 5A − 7I inverse: A−1^ = 1 7

(5I − A) = 1

7

tr A = sum of the eigenvalues | A | = product of the eigenvalues

WORKED — A 3 × 3 CHARACTERISTIC EQUATION

A = : tr A = 2 , S = (−24) + (−15) + 1 = −38 , | A | = 1

⇒ λ³ − 2λ² − 38λ − 1 = 0 ⇒ A³ − 2A² − 38A − I = O

! Multiply the whole equation by A−1^ to drop the degree by one — that is

how Cayley–Hamilton gives you the inverse without ever building the adjoint. It works only when the constant term (which is ± | A | ) is non- zero.

3 1 −1 2

2 − 1 3

1 2 3 0 1 4 5 6 0

C L A S S 1 2 M A T H E M A T I C S · J E E M A I N & A D V A N C E D

25 All Formulae at a Glance R E V I S I O N

MATRIX ALGEBRA FORMULA

transpose of a sum (A + B)T^ = AT^ + BT

transpose of a product (AB)T^ = BTAT

inverse of a product (AB)−1^ = B−1A−

transpose ↔ inverse (AT)−1^ = (A−1)T

sym + skew split A = ½(A + AT) + ½(A − AT)

trace tr(AB) = tr(BA)

square of a sum (A+B)² = A² + AB + BA + B²

powers · identity AmAn^ = Am+n^ · AI = IA = A

matrix polynomial f(A) = a₀I + a₁A + ⋯ + akAk

DET & INVERSE FORMULA

transpose | AT^ | = | A |

product · scalar | AB | = | A | | B | · | kA | = kn^ | A |

the adjoint identity A (adj A) = (adj A) A = | A | I

inverse A−1^ = adj A / | A | (| A | ≠ 0)

determinant of adjoint | adj A | = | A |n−

adjoint of adjoint adj(adj A) = | A |n−2^ A

adjoint of a product adj(AB) = (adj B)(adj A)

adjoint of a multiple adj(kA) = kn−1^ adj A

| adj(adj A) | | A |(n−1)²

26 Systems & Powers — Quick Reference R E V I S I O N

UNIQUE SOLUTION D = | A | ≠ 0

NO SOLUTION D = 0, some Di ≠ 0

INFINITE or NONE D = 0 and every Di = 0

NON-TRIVIAL (AX = O) | A | = 0

CRAMER x = D₁/D, y = D₂/D, z = D₃/D

CHAR. EQUATION (2 × 2) λ² − (tr A)λ + | A | = 0

AREA OF A TRIANGLE ½ | det [xi yi 1] |

DETERMINANT OF THE ADJOINT | adj A | = | A |n−

ORTHOGONAL A AT^ = I ⇒ A−1^ = AT

INVOLUTORY A² = I ⇒ A−1^ = A

IDEMPOTENT A² = A ⇒ An^ = A

NILPOTENT Ak^ = O ⇒ | A | = 0

27 Twelve Traps That Decide the Question R E V I S I O N

1 AB ≠ BA — and BA may not even exist when AB does. 2 AB = O does not force A = O or B = O; AB = AC does not give B = C.

3 (A+B)² = A² + AB + BA + B² — merge the middle terms only if AB = BA. 4 Transpose, inverse and adjoint of a product all^ reverse the order.

5 | kA | = kn^ | A | (n = order), while kA scales every element. 6 | A + B | ≠ | A | + | B | , and only square matrices have a determinant at all.

7 Skew-symmetric of odd order ⇒ | A | = 0 ; even order need not be zero. 8 | adj A | = | A |n−1^ and adj(adj A) = | A |n−2A — the exponents are n−1 and

n−2.

9 Ri → Ri + kRj keeps the determinant; Ri → kRi multiplies it by k. 10 D = 0 with every Di = 0 does not guarantee infinite solutions — eliminate

and compare.

11 A homogeneous system is^ never^ inconsistent — X = O always works.^ 12 Solve AX = B as X = A−1B , multiplying on the left — never BA−1.