Lecture 1: Introduction to Linear Algebra
1.1 What Is Linear Algebra
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
The transformer architecture inside every large language model (GPT, Gemini, Claude) is built entirely from matrix multiplications. Every attention head, every feed-forward layer — it is all at scale. The math in this course is the same math that runs the world's most powerful AI systems.
Visual Intuition
Imagine a 2D coordinate grid printed on a rubber sheet. The grid lines form equal-sized unit squares. A linear transformation is any stretch, shear, rotation, or combination that keeps grid lines parallel and equidistant after the deformation. A nonlinear transformation would make grid lines curve, converge, or spread unevenly — like pressing your thumb into the rubber.
Pitfalls
Recap + Bridge
Domain Connection
Every real-world entity a machine learning system encounters — a customer, an image, a sentence, a genome — gets converted into a vector before any algorithm touches it. Linear algebra is not a prerequisite for ML; it is the operating system of ML.
1.2 Vectors
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
Loan approval systems in every Indian bank (HDFC, ICICI, SBI) use exactly this framework. Each applicant is an N-dimensional vector. Historical data — vectors labelled "approved" or "rejected" — train a classifier. A new applicant's vector is compared against the clusters. Near the "rejected" cluster → higher risk. This is the geometric intuition behind logistic regression, SVMs, and neural network classifiers.
Visual Intuition
Plot a 2D graph with "Bank Balance" on the X-axis and "Years of Experience" on the Y-axis. Each applicant is a dot. Colour approved applicants green and rejected applicants red. You will see two rough clusters. The decision boundary — the line (or curve) separating green from red — is what the ML algorithm learns. A new applicant appears as a gray dot. If it falls on the red side of the boundary, the model predicts rejection.
Pitfalls
Recap + Bridge
Domain Connection
Word embeddings (Word2Vec, GloVe, BERT embeddings) represent every word in a vocabulary as a 300-dimensional (or larger) vector. The famous relationship is vector arithmetic in an embedding space. Every modern NLP system starts here.
1.3 Matrices
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
In computer vision, a grayscale image is a matrix of pixel intensities. A 1080p image is a matrix of numbers between 0 (black) and 255 (white). Every convolution in a CNN is a matrix operation sliding across this pixel matrix. A colour image is three such matrices stacked (RGB channels) — a 3D tensor, which is the generalisation of a matrix to more than two dimensions.
Visual Intuition
Picture a spreadsheet with rows labelled "House 1, House 2, House 3" and columns labelled "Sq Ft, Price, Bedrooms." The matrix is that grid of numbers. Now imagine that instead of just 3 houses and 3 features, you have 10,000 rows and 500 columns. The matrix is too large to display, but the same rules apply — you can still extract any row (one house vector), any column (one feature across all houses), or compute operations across the entire grid.
Pitfalls
Recap + Bridge
Domain Connection
In collaborative filtering (the algorithm behind Netflix and Amazon recommendations), the user-item rating matrix has rows = users, columns = movies, and entries = ratings. Matrix factorisation techniques (SVD, the topic of a later lecture) decompose this matrix to discover latent features — genres, styles, preferences — that drive recommendations.
1.4 Matrices as Transforming Agents:
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
Every layer of a neural network is exactly (followed by a nonlinear activation). The weight matrix transforms the input vector (the activations from the previous layer) into the pre-activation vector . The "learning" in deep learning is finding the right entries of so that the transformations cascade into the correct prediction. A GPT model with 175 billion parameters is, at its core, an enormous stack of matrix multiplications.
Visual Intuition
Picture a 2D grid with a vector drawn from the origin to . Now apply the matrix . The entire grid deforms. The vector slides to . The unit square of area 1 in the original grid becomes a parallelogram — its area is the determinant (covered next). The grid lines that were parallel remain parallel — confirming the transformation is linear. The takeaway: the matrix moves every point in the space, not just one vector.
Pitfalls
Recap + Bridge
Domain Connection
In computer graphics, every time you rotate a 3D model, zoom in, or pan across a scene, you are applying a sequence of transformation matrices to homogeneous coordinates. The entire GPU rendering pipeline is built on . The same math that moves a vector in your textbook moves the characters in a Pixar film.
1.5 Linear Transformations
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
Principal Component Analysis (PCA), a core dimensionality reduction technique covered in Module 7, is a linear transformation. It rotates the data axes to align with the directions of maximum variance. Because the transformation is linear, distances and angles between data points are preserved — the structure of the data is maintained even as the coordinate system changes.
Visual Intuition
Draw a 2D grid of unit squares. Now apply a horizontal shear: . Every vertical line tilts right by exactly the same angle. All unit squares become equal-area parallelograms. The X-axis labels on the plot: original grid (dashed gray), transformed grid (solid blue). Note a single vector in red: it starts at and ends at . The takeaway: linear = uniform deformation across the entire space. No localised stretching or bending.
Pitfalls
Recap + Bridge
Domain Connection
In reinforcement learning, the state transition from one timestep to the next in a linear dynamical system is a linear transformation: . Understanding when this system is stable (the state does not blow up) depends on the eigenvalues of — concepts introduced later in this course. Robotics, control theory, and game AI all depend on linear dynamical systems.
1.6 Determinant
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
In 3D computer graphics, the determinant of a transformation matrix tells you whether the transformation preserves or flips orientation. If , the transformation is orientation-preserving (a right hand stays a right hand). If , it is orientation-reversing (mirror reflection). Game engines check this to ensure objects do not get rendered inside-out.
Visual Intuition
Plot a 2D grid with one unit square highlighted in yellow (area = 1). Now apply . The yellow square becomes a yellow rectangle (area = 3). The determinant display reads . Now change to a projection matrix . The entire grid collapses to a single diagonal line. The yellow square becomes a line segment on that line — area = 0. The determinant display reads . The takeaway: determinant = area scaling factor. Zero = collapse.
Pitfalls
Recap + Bridge
Domain Connection
In probability and Bayesian inference, the determinant of the Jacobian matrix appears in change-of-variables formulas. When you transform a random variable , the probability density scales by where is the Jacobian of . Normalising flows — a modern generative modelling technique — are built on composing invertible transformations whose Jacobian determinants are easy to compute.
1.7 Inverse
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
In GPS navigation, your position is solved from a system of linear equations involving satellite distances. The coefficient matrix (geometry of satellite positions) must be invertible to get a unique position fix. If satellites are poorly arranged (nearly collinear), the matrix becomes nearly singular — small measurement errors get massively amplified. This is the geometric dilution of precision (GDOP) problem, and it is a direct consequence of a matrix having a very small (but non-zero) determinant.
Visual Intuition
Imagine a 2D space with a gray vector at . Apply (horizontal stretch 2×): the vector moves to . Now apply (horizontal compression 1/2×): the vector slides back to . The determinant changed from 1 to 2 (during stretch) and back from 2 to 1 (during compression). The space was deformed and then perfectly restored. You can do this interactively — move the vector, watch it deform, then hit "undo" and watch it return.
Pitfalls
Recap + Bridge
Domain Connection
In linear regression, the normal equation is . The matrix must be invertible for a unique solution to exist. If features are collinear (one feature is a linear combination of others), becomes singular — the regression coefficients are not uniquely determined. This is the multicollinearity problem, diagnosed by a determinant near zero.
1.8 Rank
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
In dimensionality reduction (PCA, Module 7), you compute the rank of the data matrix to understand its intrinsic dimensionality. A dataset with 100 features might have an effective rank of 5 — meaning only 5 independent patterns exist; the other 95 features are linear combinations of those 5. PCA finds those 5 directions and projects the data onto them, reducing 100 dimensions to 5 without losing information.
Visual Intuition
Take a 2D input space (a plane of points). Apply a rank-2 matrix: the points stay spread across a 2D region — a distorted plane but still a plane. Apply a rank-1 matrix: every point collapses onto a single line through the origin. You can see it — the 2D scatter plot becomes a 1D line of dots. Apply a rank-0 matrix: every point goes to the origin — the entire scatter plot becomes one dot. The rank tells you the dimension of that final shape.
Pitfalls
Recap + Bridge
Domain Connection
In collaborative filtering and recommender systems, the user-item rating matrix is typically low-rank — a few latent factors (genres, preferences) explain most of the variation in ratings. Matrix completion algorithms (like those behind the Netflix Prize winner) exploit low-rank structure to predict missing ratings from a sparse matrix.
1.9 Eigenvectors and Eigenvalues (Preview)
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
Google's PageRank algorithm (the original Google search ranking) computes the principal eigenvector of the web's link matrix. The eigenvector's components are the PageRank scores — the importance of each page. The corresponding eigenvalue (always 1 for the stochastic matrix used) ensures convergence. Every time you search, you benefit from an eigenvector computation at massive scale.
Visual Intuition
Plot a 2D transformation. Draw many vectors from the origin in different directions. Apply the matrix. Most vectors rotate — their direction changes. But one or two vectors (the eigenvectors) only stretch or shrink along their original line. In the interactive application, these are displayed in a distinct colour (often red). Slide a parameter to change the matrix; watch the eigenvectors rotate to stay aligned with the principal axes of the transformation. The takeaway: eigenvectors are the "natural coordinate system" of the matrix.
Pitfalls
Recap + Bridge
Domain Connection
In principal component analysis (PCA) (Module 7), the principal components are the eigenvectors of the data covariance matrix. The corresponding eigenvalues are the variances along each principal component. The eigenvector with the largest eigenvalue is the direction of maximum variance — the most "informative" direction in the data.
1.10 Types of Matrix Transformations
Hook
Intuition + Analogy
Formalize
1. Identity Matrix
Geometric effect: No transformation. for all . Grid lines unchanged. Vector unchanged.2. Stretching (Scaling) Matrix
Geometric effect: Stretches the X-axis by factor and the Y-axis by factor . Grid lines remain parallel but spacing changes. A circle becomes an ellipse (if ). The determinant is the product of stretch factors — the area of the stretched unit square. - Uniform scaling (): . Shapes are preserved, just bigger. - Non-uniform scaling (): Shapes distort. A square becomes a rectangle.3. Shear Matrix
Geometric effect: Pushes the top of the space sideways () or upwards () in proportion to the perpendicular coordinate. Grid lines become slanted but remain parallel. A rectangle becomes a parallelogram of equal area — that is why the determinant is 1.4. Rotation Matrix
Geometric effect: Rotates the entire space counter-clockwise by angle around the origin. Lengths preserved. Areas preserved. The determinant is always 1 for any pure rotation.5. Projection Matrix
Geometric effect: Collapses the space onto a lower-dimensional subspace. Every point maps to — its "shadow" on the X-axis. The Y-dimension is destroyed. Determinant = 0 because area collapses to zero.Worked Example
| Type | Matrix | What happened? | ||
|---|---|---|---|---|
| Identity | 1 | Nothing. | ||
| Stretch | 6 | X stretched 2×, Y stretched 3×. | ||
| Shear (H) | 1 | Shifted right; Y unchanged. | ||
| Rotate 90° | 1 | Rotated 90° CCW. | ||
| Project | 0 | Collapsed to X-axis. |
Real-World Picture
In computer vision, the geometric transformations between two images of the same scene (taken from different angles) are combinations of rotation, scaling, shear, and translation. The homography matrix (a matrix in homogeneous coordinates) encodes all of these. Image stitching (panoramas), augmented reality, and camera calibration all rely on recognising and inverting these transformation matrices.
Visual Intuition
Open the interactive web application. Select "Identity" — the grid is a perfect checkerboard. Select "Horizontal Shear" — vertical lines tilt right; the more positive the Y-coordinate, the more they tilt. Watch one red vector: its tip slides right. The highlighted unit square becomes a parallelogram — same area. Now select "Projection onto X-axis" — the entire grid collapses to the X-axis line. All vectors become horizontal. The determinant display reads 0. The takeaway: each matrix type has an unmistakable visual signature.
Pitfalls
Recap + Bridge
Domain Connection
In deep learning, batch normalisation applies a learnable scaling (stretch) and shifting to each layer's activations. The scaling is a diagonal matrix multiplication. The shifting is an affine translation. Together they stabilise training by controlling the scale and mean of activations — a direct application of transformation types at industrial scale.
1.11 Fundamental Operations: Scalar Multiplication, Vector Addition, Linear Combinations
Hook
Intuition + Analogy
Formalize
Scalar Multiplication
For a scalar and a vector : Geometric meaning: The vector's length multiplies by . If , direction is unchanged. If , direction reverses. If , the vector collapses to the origin.Vector Addition
For vectors : Geometric meaning: The parallelogram rule: place the tail of at the tip of . The sum is the diagonal of the parallelogram formed by and .Linear Combination
For scalars and vectors : This is the most general operation in linear algebra. Everything — matrix-vector multiplication, solving systems, finding inverses — reduces to computing linear combinations.Worked Example
Real-World Picture
In portfolio theory (finance), your investment portfolio is a linear combination of asset vectors. Each asset is a vector of returns across different market scenarios. Your allocation percentages are the scalar coefficients. The resulting portfolio return vector is the linear combination. Markowitz's modern portfolio theory — finding the optimal coefficients to maximise return for a given risk — is a linear algebra optimisation problem.
Visual Intuition
Open the interactive linear combination tool. Two vectors (blue) and (green) are displayed. Two sliders control and . The resultant vector is shown in orange. Slide from 0 to 3: the orange vector stretches along the direction. Slide : it displaces from the tip of . As you vary both sliders, the orange tip sweeps across the entire plane — every reachable point is the span. The takeaway: linear combinations let you reach anywhere in the span of your vectors.
Pitfalls
Recap + Bridge
Domain Connection
In gradient descent (the optimisation algorithm that trains every neural network), the weight update is a linear combination: . It scales the gradient vector (scalar multiplication by the learning rate ) and adds it to the current weight vector (vector addition). The entire training of a billion-parameter model is repeated linear combinations.
1.12 Span, Basis, and Dimension (Preview)
Hook
Intuition + Analogy
Formalize
Visual Intuition
In the interactive linear combination tool from Section 12: as you vary both sliders from to , the orange vector's tip traces out the span. If and point in different directions, the orange tip covers the whole plane — span = . If they point in the same direction, the orange tip traces only a single line — span = (a line through the origin). The takeaway: the span is the reachable territory. The dimension of that territory is the number of truly independent directions you have.
Recap + Bridge
1.13 Collapsing Dimensions and Singular Matrices
Hook
Intuition + Analogy
Formalize
Worked Example
Real-World Picture
In computed tomography (CT scans), the problem of reconstructing a 3D image from 2D X-ray projections is mathematically an inverse problem. The system matrix can be nearly singular, meaning small measurement noise gets massively amplified in the reconstruction. Regularisation techniques (Tikhonov, total variation) add constraints to make the system effectively invertible — they turn a singular problem into a non-singular one by imposing prior knowledge.
Visual Intuition
In the interactive application, select "Projection onto a line." Watch the 2D grid collapse — every vertical stack of grid intersections merges into a single point on the diagonal line. The entire rainbow of points across the plane concentrates onto one thin line. The determinant reads 0. You cannot "un-collapse" it — there is no slider, no button, no matrix that can recover the perpendicular information. The takeaway: singular = irreversible dimension loss.
Pitfalls
Recap + Bridge
Domain Connection
In machine learning model training, the Hessian matrix (second derivative matrix of the loss function) becoming singular signals that the optimisation landscape has flat directions — parameters that can change without affecting the loss. This is a degeneracy that slows or prevents convergence. Newton-type optimisation methods require inverting the Hessian; near-singular Hessians require damping (Levenberg-Marquardt) to become numerically invertible.
Exam Guidance Summary
| Topic | Importance | Key to remember |
|---|---|---|
| What is linear algebra | Medium | Built from scalar multiplication and vector addition; studies linear transformations |
| Vectors | High | Magnitude + direction; position vector = arrow from origin; data point = vector |
| Matrices | High | m × n shape; rows = samples, columns = features; also a transformation |
| / matrices as transformations | Very High | Core concept; geometric interpretation; row picture vs. column picture |
| Linear transformations | High | Grid-line property: parallel and equidistant preserved; algebraic conditions |
| Determinant | Very High | Area/volume scaling factor; means singular (dimension collapse) |
| Inverse | High | Undo button; exists only when ; |
| Rank | Medium | Dimension of output space; number of surviving independent directions |
| Eigenvectors and eigenvalues | Medium (preview) | Directions that only stretch; ; full treatment in Lectures 4–5 |
| Five transformation types | Medium | Identity, stretch, shear, rotation, projection — know each matrix form and determinant |
| Scalar ×, vector +, linear combos | Very High | The two atomic operations; everything else is built from these |
| Span, basis, dimension | Medium (preview) | Covered fully in Lecture 2 |
Study Advice
- Stick to the companion PDF documents. They are the primary resource. Do not spread yourself thin across multiple textbooks.
- Use the interactive web applications. The visual, hands-on approach is the intended learning method. Watching the geometry change in real time builds intuition that formulas alone cannot.
- Practice problems are provided. In a previous offering, two exam questions appeared directly from the practice set. Do them all.
- For deeper reading: Gilbert Strang's Introduction to Linear Algebra (MIT Press) is recommended for the first half of the course.
- For interactive supplement: Interactive Linear Algebra (Georgia Tech) covers topics in the same visual style.
- Maximise marks through quizzes and assignments. Submit everything on time. These are the areas where you have the most control.
- The subject is "slightly difficult" — allocate study time accordingly. The instructor promises that staying with the companion documents and interactive tools will get you through.
Key Industry Applications
| Application Area | Linear Algebra Concept Used |
|---|---|
| LLMs (Transformers) | Every attention head and feed-forward layer is at massive scale |
| Loan/Credit Approval | Applicants are N-dimensional vectors; classification clusters separate approved from rejected |
| House Price Modelling | Houses are vectors; linear regression = solving |
| Recommendation Systems | User-item matrices; similarity via vector distances |
| Computer Vision | Images are pixel matrices; convolutions are matrix operations |
| PageRank (Google Search) | Principal eigenvector of the web link matrix |
| GPS Navigation | Solving systems of linear equations for position fix |
| Portfolio Theory | Portfolios are linear combinations of asset vectors |
| CT/MRI Reconstruction | Inverse problems with near-singular system matrices |
| PCA (Dimensionality Reduction) | Eigenvectors of covariance matrix; covered in Module 7 |
References
- Strang, Gilbert. Introduction to Linear Algebra. Wellesley-Cambridge Press.
- Interactive Linear Algebra (Georgia Tech) — Web-based visual textbook.
- MLU Explain (Amazon Machine Learning University) — Interactive explanations of ML algorithms.
- Polo Club Transformer Visualization — Interactive walkthrough of matrix math inside transformers.
- Course Interactive Web Application — Custom-built for this course; covers vectors, transformations, determinants, eigenvectors, PCA.
MFML Lecture 01 notes · Introduction to Linear Algebra
Summary
This lecture establishes linear algebra as the operating system of machine learning. It begins by defining linear algebra as the study of vectors, matrices, and linear transformations built from exactly two operations: scalar multiplication and vector addition. Vectors are introduced as geometric objects with magnitude and direction, serving as the universal data representation in ML. Matrices are presented both as data storage (rows = samples, columns = features) and as transformation machines. The central equation AX = B is explored through row and column pictures, showing how a matrix deforms the entire coordinate space. Linear transformations are formalised through additivity and homogeneity conditions, with the geometric interpretation of preserving parallel and equidistant grid lines. The determinant is revealed as the area/volume scaling factor of a transformation, with zero determinant signalling irreversible dimension collapse. The inverse is the undo operation, existing only when the determinant is non-zero. Rank measures how many dimensions survive a transformation. Eigenvectors and eigenvalues are previewed as the special directions that only stretch under a transformation. Five fundamental transformation types (identity, stretch, shear, rotation, projection) are catalogued with their matrix forms and geometric signatures. The lecture culminates by showing that singular matrices permanently destroy dimensions, making inversion impossible, and connects every concept to real-world ML applications: transformers, PCA, recommendation systems, computer vision, PageRank, and gradient descent.
Learning Objectives
Sections Breakdown
Definition, two fundamental operations, linearity conditions, and the blueprint analogy for high-dimensional data
Magnitude and direction, position vectors, data points as vectors, worked house-price examples, and the loan-approval geometric intuition
Row and column structure, matrices as spreadsheets, image representation, and the dual role of matrices as storage and transformations
Row picture vs column picture, shape compatibility rules, neural network layers as AX = B, and the rubber-sheet analogy
Additivity and homogeneity conditions, grid-line preservation property, translation as affine not linear, and PCA as a linear transformation
Area/volume scaling factor, ad-bc for 2x2, diagonal matrix product rule, zero determinant = singular, and Jacobian determinants in probability
Undo operation, existence condition det != 0, 2x2 formula, GPS positioning application, and why dimension collapse prevents inversion
Dimension of output space, pivot columns in RREF, full rank vs rank-deficient, and low-rank structure in recommender systems
Directions that only stretch, characteristic polynomial preview, PageRank application, and the wind-on-a-flag analogy
Identity, stretch, shear, rotation, and projection matrices with their geometric effects and determinants
Scalar multiplication, vector addition, linear combinations as the atoms of linear algebra, and gradient descent as repeated linear combinations
Reachable points via linear combinations, minimal spanning sets, and the two-stick puzzle analogy
Irreversible dimension loss, many-to-one mappings, system-of-equations interpretation, and near-singular matrices in CT reconstruction
Exam Revision Notes
Below is the distilled, exam-ready core of this lecture. Every entry is built from the full textbook notes above. Use this section for rapid review — but if something doesn't make sense, go back to the full explanation in the main content.
What Is Linear Algebra
Must-know: Linear algebra is built from exactly two operations: scalar multiplication and vector addition. A transformation is linear iff and . The function is nonlinear; only (straight line through origin) is linear in the strict sense.
⚠️ Top pitfall: Confusing the high-school "linear function" (which is affine) with the linear-algebra definition. In linear algebra, a linear function must pass through the origin: .
Self-check: Is linear in the linear-algebra sense? Test .
Connects to: Vectors, Linear Transformations, Fundamental Operations
Vectors
Must-know: A vector has exactly two properties: magnitude (norm) and direction. Every data point in ML is a vector in N-dimensional space. Magnitude: . Direction in 2D: ; in higher dimensions captured by the unit vector .
⚠️ Top pitfall: Ignoring scale differences across dimensions. If one feature is in thousands and another in single digits, the magnitude is dominated by the larger-scale feature. Always normalise before comparing vector magnitudes.
Self-check: What are the two defining properties of any vector?
Connects to: Matrices, , Fundamental Operations
Matrices
Must-know: A matrix has rows and columns. In ML convention: rows = samples, columns = features. Entry is at row , column . A matrix is both a data container and a transformation machine.
⚠️ Top pitfall: Mixing up rows and columns. Always verify: is data stacked as rows (one row per sample) or columns? Check the shape: means rows, columns. Most ML libraries use rows-as-samples.
Self-check: If you have 500 houses each described by 8 features, what is the shape of the data matrix?
Connects to: Vectors, , Rank
: Matrices as Transformations
Must-know: is the core equation. The matrix transforms input vector into output vector . Row picture: each row of computes one component of via dot product. Column picture: is a linear combination of the columns of weighted by . Shape rule: is , is , is .
⚠️ Top pitfall: Dimension mismatch. If is and is , is undefined. Always check: columns of must equal rows of . Also, — matrix multiplication is not commutative.
Self-check: If is and is , what is the shape of ?
Connects to: Vectors, Matrices, Linear Transformations, Determinant
Linear Transformations
Must-know: A transformation is linear iff it preserves parallel and equidistant grid lines. Algebraically: and . Quick test: does ? If not, it is not linear. Every linear transformation can be written as for some matrix .
⚠️ Top pitfall: Assuming all matrix transformations are linear — they are. The confusion is the reverse: not all functions that transform vectors are linear. Translation with is affine, not linear, because .
Self-check: Is linear? Apply the test.
Connects to: What Is Linear Algebra, , Types of Matrix Transformations
Determinant
Must-know: The determinant is the factor by which a transformation scales area (2D), volume (3D), or hypervolume (nD). For a matrix: . means the matrix is singular — at least one dimension collapses. . . .
⚠️ Top pitfall: Thinking the determinant is "the value of the matrix." A matrix does not have a value. The determinant is a derived number that measures area/volume scaling. Also: in general.
Self-check: What is the determinant of a 90-degree rotation matrix ? What does the value tell you?
Connects to: Inverse, Rank, Collapsing Dimensions and Singular Matrices
Inverse
Must-know: undoes the transformation applied by : . Exists only when . For : . Singular matrices () have no inverse because they are many-to-one — information is destroyed.
⚠️ Top pitfall: Thinking . This is false. Also, — the order reverses. Last transformation undone first.
Self-check: Why can the matrix not be inverted?
Connects to: Determinant, Rank, Collapsing Dimensions and Singular Matrices
Rank
Must-know: Rank is the dimension of the output space after transformation — the number of independent directions that survive. . Full rank means and (for square). Rank means and the matrix is singular. Rank 0 means the zero matrix.
⚠️ Top pitfall: Confusing rank of a vector with rank of a matrix. A vector has no rank in this sense. Also, rank is not the number of non-zero rows — has two non-zero rows but rank 1.
Self-check: What are the possible ranks of a matrix? Give an example of each.
Connects to: Matrices, Determinant, Inverse, Collapsing Dimensions and Singular Matrices
Eigenvectors and Eigenvalues (Preview)
Must-know: Eigenvectors are special directions that do not rotate under a transformation — they only stretch or shrink. The equation is . is the eigenvalue, the scaling factor. Diagonal matrices have eigenvectors along the coordinate axes. Full treatment in Lectures 4 and 5.
⚠️ Top pitfall: Expecting real eigenvalues for every matrix. Rotation matrices (e.g. 90° rotation) have complex eigenvalues because every direction changes. Also, eigenvectors are not required to be unit length — any non-zero scalar multiple of an eigenvector is also an eigenvector.
Self-check: For the diagonal matrix , what are the eigenvectors and eigenvalues?
Connects to: Determinant, Rank, Types of Matrix Transformations
Fundamental Operations
Must-know: Everything in linear algebra is built from two operations: scalar multiplication ( scales a vector by , flips if ) and vector addition ( via the parallelogram rule). A linear combination combines both. Matrix multiplication, determinants, and solving systems all reduce to linear combinations.
⚠️ Top pitfall: Adding vectors of different dimensions — you cannot add a 2D vector to a 3D vector. Also, thinking positive scalar multiplication changes direction — it only changes length; direction stays the same.
Self-check: If (house vector), compute , , and . What should the last result equal?
Connects to: Vectors, , Span, Basis, and Dimension
Practice Quiz
Test your understanding of MFML Lecture 01 notes. Select an answer for each question — results are instant.
Which condition must a linear transformation satisfy?
What does a zero determinant mean geometrically?
Why can a singular matrix not be inverted?
In the equation AX = B, what does A represent geometrically?
Which matrix type has a determinant of 1 but changes the shape of objects?
Was this lecture useful?
BitsNotes AI Assistant
Subject Notes AssistantConfigure AI Chat
Choose how to access the chatbotSigned in as
Powered by BitsNotes — 20 messages per day. No API key needed. Want unlimited access? Use "Bring Your Own Key" mode.
Sign in to use AI Chat
Get 20 free AI messages per day to ask questions about your lecture notes. Sign in with Google or GitHub — it takes 5 seconds.
Sign In to BitsNotesSwitch to "Bring Your Own Key" tab above for unlimited access with any OpenAI-compatible provider.