

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















x
y linear algebra visual
What You'll Learn
Linear algebra studies vectors and the linear rules that act on them. Matrices are a compact language for representing those rules and solving systems.
Quick Formula Sheet Core ideas at a glance
Topic Key formula / test
Matrix product (AB)ᵢⱼ = Σₖ aᵢₖbₖⱼ
2×2 determinant det[[a,b],[c,d]] = ad−bc
Inverse of 2×2 A⁻¹ = 1/(ad−bc)[[d,−b],[−c,a]]
System Ax=b
Invertibility A invertible ⇔ det(A)≠0 ⇔ columns independent
Span All linear combinations of given vectors
Independence c₁v₁+…+cₖvₖ=0 ⇒ all cᵢ=
Dimension Number of vectors in a basis
Eigenvalue det(A−λI)=
Eigenvector Av=λv, v≠
Diagonalization A=PDP⁻¹
Rank-nullity rank(A)+nullity(A)=number of columns
Linear algebra is about structure: operations, spaces, transformations, and the relationships among them.
Before calculating, check dimensions. Many matrix mistakes can be caught simply by asking whether the product is defined.
The Big Idea Vectors, matrices, and linear
combinations
A vector is an ordered list of numbers. In Rⁿ, vectors can be added and scaled.
u+v = componentwise addition; cv = scalar multiplication
x
y linear algebra visual
Linear combination
c₁v₁+c₂v₂+⋯+cₖvₖ
GEOMETRIC VIEW Two independent vectors in R² span the whole plane. Two dependent vectors may span only a line.
1 Key Concepts Vectors and matrix notation
1.1 Vectors
1.2 Matrices
1.3 Matrix equality
1.4 Transpose
(Aᵀ)ᵢⱼ=Aⱼᵢ
WATCH THE SHAPE A 2×3 matrix has 2 rows and 3 columns. Always read dimensions as rows × columns.
3 Systems of Linear Equations From equations to
Ax=b
a₁₁x₁+⋯+a₁ₙxₙ=b₁
a₂₁x₁+⋯+a₂ₙxₙ=b₂
This can be written compactly as
Ax=b
Augmented matrix
Three possibilities
INTERPRETATION Row reduction is not just arithmetic. It reveals the structure of the solution set.
4 Gaussian Elimination A systematic solving method
Allowed elementary row operations
Example
x+y=
2x−y=
Augmented matrix: [[1,1|5],[2,−1|1]]
R₂→R₂−2R₁ ⇒ [[1,1|5],[0,−3|−9]]
y=3, then x=
Solution: (x,y)=(2,3)
BEST HABIT Use one row operation at a time and write it explicitly. This makes mistakes easier to detect.
6 Example: Determinant & Inverse Complete 2×
calculation
Problem: Let A=[[2,1],[3,2]]. Find det(A) and A⁻¹.
Step 1 — determinant
det(A)=2·2−1·3=
Step 2 — inverse formula
A⁻¹=1/1 [[2,−1],[−3,2]]
A⁻¹=[[2,−1],[−3,2]]
Step 3 — check
AA⁻¹ = [[1,0],[0,1]]=I
Why it works
CHECK For a 2×2 inverse, swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant.
7 Vector Spaces The language of linear structure
A vector space is a set where vector addition and scalar multiplication obey the required rules.
Common examples
Subspace test
If u,v are in W, then u+v is in W; if c is scalar and u is in W, then cu is in W.
IMPORTANT A subset defined by a homogeneous linear equation is often a subspace; a nonhomogeneous equation usually fails because it does not contain the zero vector.
9 Rank, Null Space & Fundamental Subspaces Read
structure from Ax=b
Rank
Null space
N(A)={x:Ax=0}
Rank-nullity theorem
rank(A)+nullity(A)=n
Why it matters
SYSTEM CONNECTION Ax=b is consistent when b belongs to the column space of A.
10 Linear Transformations Matrices as functions
A transformation T is linear when
T(u+v)=T(u)+T(v) and T(cu)=cT(u)
Every matrix A defines a linear transformation
T(x)=Ax
x
y linear algebra visual
Examples
KEY IDEA The columns of A are the images of the standard basis vectors. Knowing those images determines the whole linear transformation.
12 Example: Eigenvalues & Eigenvectors 2×2 matrix
Problem: Find the eigenvalues and eigenvectors of A=[[4,1],[2,3]].
Step 1 — characteristic equation
det(A−λI)=det[[4−λ,1],[2,3−λ]]
=(4−λ)(3−λ)−2=λ²−7λ+
(λ−5)(λ−2)=
Eigenvalues: λ=5, 2
Step 2 — λ=
(A−5I)v=0 → [−1,1;2,−2]v=
v₁=[1,1]ᵀ
Step 3 — λ=
(A−2I)v=0 → [2,1;2,1]v=
v₂=[1,−2]ᵀ
CHECK Verify directly: Av₁=5v₁ and Av₂=2v₂.
13 Diagonalization Simplifying matrix powers
A matrix A is diagonalizable if it can be written as
A=PDP⁻¹
Why it is useful
A^k = PD^kP⁻¹
Diagonalization checklist
IMPORTANT An n×n matrix with n distinct eigenvalues is automatically diagonalizable.
15 Common Mistakes What usually goes wrong
Mistake Fix
Multiplying matrices entry-by-entry Use row-by-column multiplication.
Assuming AB=BA Matrix multiplication is generally not commutative.
Ignoring dimensions Check inner dimensions before multiplying.
Confusing span and independence Span asks what can be generated; independence asks about redundancy.
Calling any spanning set a basis A basis must also be independent.
Using det(A)=0 as evidence of invertibility
It means the opposite: A is singular.
Finding eigenvalues from det(A+λI) Use det(A−λI)=0.
Forgetting v≠0 The zero vector is never an eigenvector.
Diagonalizing without enough eigenvectors
You need a full independent eigenvector basis.
Misreading rank Rank is the number of pivots, not simply the number of rows.
When stuck, write the definition. Definitions of span, independence, eigenvector, and linear transformation often reveal the next step.
16 Summary Table Choose the right idea quickly
Question First move
Solve Ax=b Row-reduce the augmented matrix.
Is A invertible? Check det(A) or rank.
Find A⁻¹ Use formula for 2×2 or augmented [A|I].
Find span Write general linear combinations.
Test independence Solve c₁v₁+⋯+cₖvₖ=0.
Find basis Find an independent spanning set.
Find rank Count pivots.
Find null space Solve Ax=0.
Test linear transformation Check additivity and homogeneity.
Find eigenvalues Solve det(A−λI)=0.
Find eigenvectors Solve (A−λI)v=0.
Diagonalize Find a full independent eigenvector basis.
Final Tips