Perplex
  • Lessons
  • Problems
  • Speed Run
  • Practice Tests
  • Skill Checklist
  • Review Videos
  • All Content
  • Landing Page
  • Sign Up
  • Login
  • Perplex
    IB Math AIHL
    /
    Matrices
    /

    Skills

    Skill Checklist

    Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Matrices

    Skill Checklist

    Track your progress across all skills in your objective. Mark your confidence level and identify areas to focus on.

    33 Skills Available

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Track your progress:

    Don't know

    Working on it

    Confident

    📖 = included in formula booklet • 🚫 = not in formula booklet

    Foundations of Matrices

    10 skills
    Matrix notation
    AHL AI 1.14

    A matrix is simply a rectangular array of numbers written in rows and columns. For example, the matrix

    <ul>
<li>A purple rectangular array enclosed in round brackets with two horizontal rows of three entries each.</li>
<li>Left-side labels: “row 1” aligned with the top row and “row 2” aligned with the bottom row.</li>
<li>Slanted labels above the array: “col1”, “col2”, “col3” positioned over the first, second, and third columns.</li>
<li>Entries:
<ul>
<li>Top row: 1, a, π</li>
<li>Bottom row: x, −5, 0</li>
</ul>
</li>
<li>Variables (a, x) and symbols (π) are in the same purple color as the numbers and labels.</li>
</ul>

    has 2 rows and 3 columns. We can reference a specific entry using the notation Mi,j​ where i is the row and j the column. For example, M1,3​ is the first row and thirs column, which is π.

    Order of a matrix
    AHL AI 1.14

    The order of a matrix denotes its dimensions. We say a matrix has order n×m (read "n by m") to denote that it has n rows and m columns. For example, the matrix

    <ul>
<li>A 2-by-3 matrix written with round parentheses, containing six lowercase entries arranged as:
<ul>
<li>First row: a, b, c</li>
<li>Second row: d, e, f</li>
</ul>
</li>
<li>A curly brace above spans the three columns and is labeled “3 columns.”</li>
<li>A curly brace to the right spans the two rows and is labeled “2 rows.”</li>
<li>All elements, braces, and labels are in purple.</li>
</ul>

    has order 2×3.

    Adding & subtracting matrices
    AHL AI 1.14

    When matrices have the same order m×n, we can add or subtract them by simply adding or subtracting the components:

    (13​24​)+(57​68​)=(1+53+7​2+64+8​)=(610​812​)
    Scalar multiplication of a matrix
    AHL AI 1.14

    We can multiply a matrix by a scalar by simply multiplying each entry by a scalar:

    2(13​24​)=(2×12×3​2×22×4​)=(26​48​)
    Matrix multiplication
    AHL AI 1.14

    If A has order m×n and B has order n×p, then the product AB is defined and will have order m×p.

    <ul>
<li>A typographic expression: (m × n)(n × p) → (m × p).</li>
<li>The n in the first parenthesis is outlined with a purple rectangle.</li>
<li>Two large purple curved arrows sweep around the expression: one above and one below, both curving from the left side toward the right side near the arrow pointing to (m × p).</li>
</ul>

    Each entry of AB is the dot product of a row of A with a column of B.

    For example, if we multiply a 2×2 matrix A by a 2×3 matrix B, the product will be 2×3:

    (13​24​)(58​69​710​)  ​=(1⋅5+2⋅83⋅5+4⋅8​1⋅6+2⋅93⋅6+4⋅9​1⋅7+2⋅103⋅7+4⋅10​) =(2147​2454​2761​)​
    Matrix multiplication is not commutative
    AHL AI 1.14

    In general, for matrices A and B,

    AB=BA

    Note: this does not mean AB is never equal to BA, just that it is not in general.

    Matrix multiplication is associative
    AHL AI 1.14

    For all matrices A,B and C, it is true that

    A(BC)=(AB)C
    Matrix multiplication is distributive
    AHL AI 1.14

    For all matrices A,B and C, it is true that

    A(B+C)=AB+AC
    Zero Matrix
    AHL AI 1.14

    A matrix with all 0 entries is called the "zero" matrix, regardless of order. We denote it 0.

    0=(00​00​00​)
    Matrix math with technology
    AHL AI 1.14

    When you have matrices with only numbers and no parameters (eg k), you can add, multiply, and find powers of matrices using your calculator.

    Identity, Inverses & Determinants

    8 skills
    Identity Matrix
    AHL AI 1.14

    The identity matrix I is a square matrix with 1s along its top-left to bottom-right diagonal, and 0's everywhere else. When multiplied by any matrix with appropriate order, the product is the same matrix:

    IM=MI=M
    Definition of the inverse matrix
    AHL AI 1.14

    The inverse of a matrix is the matrix M−1 that when multiplied by M gives the identity.

    Inverse of a 2 by 2 matrix by hand
    AHL AI 1.14

    If M=(ac​bd​), then

    M−1=ad−bc1​(d−c​−ba​)📖
    Determinant of 2 by 2 matrix by hand
    AHL AI 1.14
    M=(ac​bd​)⟹detM=ad−bc📖
    Existence of the inverse
    AHL AI 1.14

    A square matrix M is invertible if and only if its determinant is non-zero:

    detM=0⟺M−1exists
    Operations using inverses: AB=C ⟹ B=A⁻¹C, A=CB⁻¹
    AHL AI 1.14

    If the matrices A and B are invertible, then

    AB=C⟹B=A−1CandA=CB−1🚫
    Inverse of a matrix using technology
    AHL AI 1.14

    You can find the inverse of any (square) matrix on your calculator. Enter your matrix into your calculator, for example in [A], and then simply type

    [A]−1

    and the calculator will spit out the inverse, if it exists.

    Determinant of a matrix using technology
    AHL AI 1.14

    You can find the determinant of any (square) matrix on your calculator.

    1. Enter your matrix into your calculator, for example in [A].

    2. Under the matrix menu, you will find a bunch of functions, the first of which should be det(. Type

    det[A]

    and the calculator will spit out the determinant.

    Geometric Transformations with Matrices

    8 skills
    2x2 matrix transformation images
    AHL AI 3.9

    A (2×2) matrix M=(ac​bd​) represents a transformation of points in the cartesian plane. For such transformations, we consider x-coordinates in vector form (10​), and y-coordinates as (01​):

    M on (1,0): M on (0,1):​(ac​bd​)(10​)=(ac​) (ac​bd​)(01​)=(bd​)​🚫

    In general, the point (x,y) is transformed to

    M(xy​)=(ax+bycx+dy​)🚫


    We call the input to a transformation the object and the output the image.

    Transformation scales area by det 𝐌
    AHL AI 3.9

    When a transformation M is applied to a shape, the area of the image is

    Aimage​=∣detM∣×Aobject​🚫

    The absolute value is there as a negative determinant flips the orientation of the object, but that does not change the area.

    Geometric enlargement with scale factor k
    AHL AI 3.9

    The matrix M=(k0​0k​) acts as a geometric enlargement with a scale factor k.

    <ul>
<li>A Cartesian coordinate plane with x- and y-axes crossing at the origin; arrowheads on all four ends.</li>
<li>A thick, purple “7”-shaped polygon in the first quadrant: its lower tip touches the origin; the slanted leg rises into the first quadrant; the top horizontal bar extends to the right and slightly overlaps the y-axis. A darker purple overlay appears along the right side of the “7.”</li>
<li>A small gray horizontal rectangular bar intersects the y-axis and overlaps the middle-left of the “7.”</li>
<li>An orange 2×2 matrix with entries (k 0; 0 k) is shown near the upper-left of the axes.</li>
<li>An orange diagonal arrow pointing up-right labeled “×k” appears in the upper-right region.</li>
</ul>
    Horizontal and vertical stretch by scale factor k
    AHL AI 3.9
    • The matrix M=(k0​01​) acts as a geometric stretch with a scale factor k in the horizontal direction.

    • The matrix M=(10​0k​) acts as a geometric stretch with a scale factor k in the vertical direction.

      <ul>
<li>A Cartesian coordinate plane with x- and y-axes centered at the origin, both with arrowheads.</li>
<li>An orange matrix label “( k  0 ; 0  1 )” in the upper-left quadrant.</li>
<li>An orange rightward arrow above the x-axis labeled “×k”.</li>
<li>A set of purple shapes near the origin and extending to the right: a thick horizontal purple bar above the x-axis, a slanted purple parallelogram below it, and a semi-transparent overlap region where two purple shapes intersect.</li>
<li>A gray triangular wedge with its apex at the origin, pointing up-right between the two purple slanted edges.</li>
</ul>
      <ul>
<li>A 2D coordinate plane with black x- and y-axes and arrowheads in all four directions, centered at the origin.</li>
<li>Two overlaid numeral “7” shapes to the right of the y-axis: a larger purple “7” and a smaller gray “7,” partially overlapping. The purple “7” is taller than the gray one; both touch near the origin on the x-axis.</li>
<li>An orange upward arrow to the left of the “7,” labeled “×k.”</li>
<li>An orange matrix displayed below-left of the origin: ( 1  0 ; 0  k ).</li>
</ul>
    Clockwise and counterclokwise rotation matrices
    AHL AI 3.9

    We can represent rotations about the origin with matrices:

    • A counterclockwise rotation is represented by (cosθsinθ​−sinθcosθ​).

    • A clockwise rotation is represented by (cosθ−sinθ​sinθcosθ​).

    <ul>
<li>A Cartesian coordinate plane with x- and y-axes shown with arrowheads in all four directions.</li>
<li>A gray, blocky “7”-shaped figure with its inner corner at the origin, extending into the positive x-direction.</li>
<li>A purple copy of the same “7” rotated about the origin into the upper-left quadrant.</li>
<li>An orange dashed arc from the gray figure to the purple one, labeled θ, indicating the rotation angle; an orange curved arrow shows the rotation direction.</li>
<li>In the lower-left, the orange matrix (cos θ  −sin θ; sin θ  cos θ) written in large parentheses.</li>
</ul>
    <ul>
<li>A 2D Cartesian coordinate system with horizontal and vertical axes, each shown with arrowheads.</li>
<li>Two congruent polygonal shapes sharing a common vertex at the origin: one gray (positioned in the first quadrant, with a short horizontal top segment and a slanted segment down to the origin) and one purple (rotated into the fourth/third quadrants).</li>
<li>An orange dashed arc with an arrow, drawn clockwise around the origin, labeled θ, indicating the angular relation between the two shapes.</li>
<li>An orange 2×2 matrix displayed at lower left: [ [cos θ, sin θ], [−sin θ, cos θ] ].</li>
</ul>

    a

    Matrix reflection in the line tanθ
    AHL AI 3.9

    The matrix (cos2θsin2θ​sin2θ−cos2θ​) represents a reflection in the line y=xtanθ, which is the line through the origin forming an angle of θ with the positive x-axis.

    Translation by a vector
    AHL AI 2.8

    If a point P is translated by a vector (ab​), apply a translation a units to the right and b units up:

    P(x,y)P′(x−a,y+b).
    Composing matrix transformations
    AHL AI 3.9

    Geometric transformations represented by matrices can be chained together, and the combined transformation is represented by the product of the matrices. For example, transformation A then B then C is represented by the matrix (CBA).


    Notice that the matrix product has the opposite order from the transformations, since

    (CBA)(x)=(CB)(Ax)=C((B(Ax)))

    Systems of equations with Matrices

    3 skills
    Writing a system in matrix form
    AHL AI 1.14

    A system of linear equations can be written in matrix form Ax=b. For a system of 3 equations with 3 unknowns, we let x=⎝⎛​xyz​⎠⎞​, and then A is a matrix whose rows are the equations of the system, and columns the coefficients of each variable. The vector b represents the constants on the RHS of the equations.

    ⎩⎪⎨⎪⎧​x−z=43x+2y+z=2x−y−2z=3​⇒⎝⎛​131​02−1​−11−2​⎠⎞​⎝⎛​xyz​⎠⎞​=⎝⎛​433​⎠⎞​​
    Solving a system using the inverse
    AHL AI 1.14

    Once a system of equations is written in the form Ax=b, so long as A−1 exists we can find the solution by left-multiplying both sides by the inverse:

    x=A−1b

    This solution is unique.

    Interpreting the discriminant for a system of equations
    AHL AI 1.14

    When detA=0, A−1 does not exist. As such, a unique solution does not exist. Instead, the system has either no solutions, or it has infinitely many.


    For systems of 2 or 3 equations, this can be interpreted as the lines / planes being parallel, and either lying on top of each other or having no intersections.

    Eigenvalues & Eigenvectors

    4 skills
    Definition of eigenvectors & eigenvalues
    AHL AI 1.15

    The eigenvectors of a matrix A are the vector(s) v such that

    Av=λv

    for some constant(s) λ which we call eigenvalues.

    Finding Eigenvalues
    AHL AI 1.15

    The eigenvalues λ of a matrix A satisfy

    det(A−λI)=0

    For example, if A=(−1−2​34​) then

    det(−1−λ−2​34−λ​)=0⟹(−1−λ)(4−λ)+6=0

    which simplifies to

    λ2−3λ+2=0⇒λ=−1,−2

    We call λ2−3λ+2 the characteristic polynomial of A.

    Finding Eigenvectors
    AHL AI 1.15

    If we know an eigenvalue of a matrix A, we can find the corresponding eigenvector using its definition:

    A=(ac​bd​)(xy​)=λ(xy​).

    When the matrix A is known, we can solve this system of simultaneous equations to find the eigenvector (xy​).

    Diagonalizing a matrix
    AHL AI 1.15

    If a matrix A has two distinct, real eigenvalues, then we can write it in the form

    A=PDP−1

    where P=(v1​v2​) is formed with the eigenvectors of A as its columns, and D=(λ1​0​0λ2​​) is a diagonal matrix.