Matrices (definition, algebra, multiplication, solving systems of equations): notes and practice questions
- Matrix order: (rows x columns); elements: .
- Square matrix: .
- Zero matrix (): All elements are 0.
- Identity matrix (): Square matrix with 1s on main diagonal, 0s elsewhere. For :
- Addition/Subtraction: Matrices must have the same order; add/subtract corresponding elements.
- Commutative: .
- Associative: .
- Identity: .
- Scalar Multiplication: Multiply every element of the matrix by the scalar.
- Matrix Multiplication Condition: Number of columns in 1st matrix must equal number of rows in 2nd matrix ( by ).
- Resulting Matrix Order: .
- Matrix Multiplication Method: Multiply corresponding elements of rows of 1st matrix by columns of 2nd matrix, then sum.
- Matrix Multiplication Properties:
- Non-commutative: .
- Associative: .
- Distributive: .
- Identity Law: .
- Powers of Matrices: Only for square matrices (e.g., ).
- Determinant of a matrix :
- Inverse of a matrix :
- Invertibility: Matrix is invertible if .
- Singular Matrix: Matrix is singular (no inverse) if .
- Solving matrix equations:
- If , then (pre-multiply by ).
- If , then (post-multiply by ).
- Solving systems of linear equations:
- Write in matrix form :
- Solve for variables: .
- GDC Use: Input matrices, perform arithmetic, calculate determinants (`det()`) and inverses (), use dedicated simultaneous equation solver.
How it is examined
Bigger matrices lean entirely on the GDC, so the hand-calculable content is the determinant and inverse, which is also the base case examiners can mark step by step. Solving via is a standard multi-mark question, and the guaranteed invertibility of means a student never has to notice or handle a singular matrix here, that case is reserved for eigenvectors in AHL 1.15.
For a matrix , the determinant and the inverse .
- Define a matrix: the terms element, row, column and order for matrices.
- Work with the algebra of matrices: equality, addition, subtraction and multiplication by a scalar for matrices, and multiplication of matrices, including with technology.
- Use the properties of matrix multiplication: associativity, distributivity, and non-commutativity.
- Use identity and zero matrices, notation and .
Linking questions
- Other contexts: comparing sales, revenue or profit for several products over several weeks.
- TOK: matrices connect disparate parts of mathematics. Is that evidence for a simple underlying mathematical reality?
Practice questions
35 questions · 24 medium · 11 hardQuestion 1
MediumPaper 1 · calculator7 marksA celestial mapping transformation is defined by
.
(a) Find the coordinates of the image of the star system located at (4, -1).
(b) Given that a specific cosmic dust cloud, located at , is mapped to by the transformation , find the value of and the value of .
(c) A nebula with a certain area in the celestial plane is transformed by . Explain why the transformed nebula will have exactly the same area as the original nebula.
Substitute the coordinates of the point into the transformation equation and perform the matrix multiplication and vector addition.
Set up a system of linear equations using the condition and solve for and .
Consider how the determinant of the transformation matrix affects the area of a transformed shape. Remember that translations do not change area.
Question 2
HardPaper 1 · calculator12 marks(a) Solve the following matrix equation for :
(b) Solve the following matrix equation for :
(c) Solve the following matrix equation for :
Isolate the term containing first, then perform the matrix operations. Remember to apply scalar multiplication to all elements of the resulting matrix.
To solve for in an equation of the form , you need to pre-multiply both sides by the inverse of , i.e., . Remember the formula for the inverse of a matrix.
Rearrange the equation to isolate the term with . If the equation is , then . Pay close attention to the order of matrix multiplication when using the inverse.
Question 3
MediumPaper 1 · calculator7 marksA civil engineer is designing a new road. A preliminary section of the road is modelled by a straight line with equation .
Find the vectors and such that the equation of the line can be expressed in vector form in terms of and/or .
Before construction, a ground transformation is applied to the design. This transformation is described by the matrix .
Calculate the value of .
The preliminary road section (where ) undergoes the transformation described by matrix .
Show that the equation of the resulting transformed path does not depend on or .
Recall that is a position vector to a point on the line, and is a direction vector of the line. Consider simple points on the line .
The determinant of a 2x2 matrix is given by .
Apply the transformation matrix to a general point on the line . Let the new coordinates be . Then find a relationship between and that eliminates , , and .
Question 4
HardPaper 2 · calculator13 marksIn a digital art project, points on a canvas are transformed using a matrix operation followed by a translation. The transformation maps an original point to its new position according to the rule:
(a) Find the new position of a design element originally located at .
(b) A specific design feature is observed at the new position . Determine its original coordinates.
(c) An artist uses a series of points to draw a line segment. Find the general expression for the transformed coordinates of these points in terms of .
Substitute the original coordinates into the given transformation equation and perform the matrix multiplication and addition.
To find the original coordinates, you need to reverse the transformation. First, subtract the translation vector, then multiply by the inverse of the transformation matrix.
Substitute the general coordinates into the transformation equation and simplify the resulting matrix expression.
Question 5
MediumPaper 1 · calculator8 marksA graphic designer uses a transformation to scale a company logo. The transformation is represented by the matrix .
The original logo has an area of .
Find the area of the scaled logo.
Under the transformation , a specific point on the scaled logo has coordinates , where .
Find, in terms of , the coordinates of the original point on the logo.
Recall how the determinant of a transformation matrix relates to the change in area.
Consider how to reverse a transformation. You might need to use the inverse matrix or set up a system of equations.
Question 6
HardPaper 1 · calculator9 marksA new streaming service, CineStream (C), enters the market, competing with the established service, FilmFlick (F).
Market research shows that each month:
- 10% of CineStream subscribers switch to FilmFlick.
- 30% of FilmFlick subscribers switch to CineStream.
The transition matrix describing these changes, where the rows and columns are ordered (CineStream, FilmFlick), is given as .
The two eigenvalues for this matrix are and . An eigenvector corresponding to the eigenvalue of is .
Find an eigenvector corresponding to the eigenvalue of .
A diagonal matrix of eigenvalues is .
Write down an expression for , giving your answer as a matrix in terms of .
When CineStream and FilmFlick first launched, there were a total of users, all of whom initially subscribed to CineStream.
Assuming the total number of users remains constant, find an expression for the number of users who will favour FilmFlick after months.
To find an eigenvector for an eigenvalue , solve the equation , where is the identity matrix.
For a diagonal matrix, raising it to a power involves raising each diagonal element to that power.
The number of users after months can be found using the formula , where is the initial state vector, is the diagonal matrix of eigenvalues, and is the matrix whose columns are the corresponding eigenvectors. Ensure the order of eigenvectors in matches the order of eigenvalues in .
Question 7
MediumPaper 1 · calculator7 marksA digital artist is manipulating an image on a screen. The image undergoes two successive linear transformations. The first transformation, , is represented by the matrix . The second transformation, , is represented by the matrix .
(i) Determine the single matrix, , that represents the combined transformation of applying followed by .
(ii) Find the inverse matrix, , which would transform the final image back to its original state.
The original image has an area of 49 cm. Calculate the area of the image after both transformations have been applied.
Remember that for successive transformations, if is applied first and then , the combined transformation matrix is . To reverse a transformation represented by matrix , you need to find its inverse, .
The area scaling factor for a transformation represented by a matrix is the absolute value of the determinant of that matrix.
Question 8
HardPaper 2 · calculator16 marksA scientific experiment involves a platform that oscillates with damped motion. The displacement, , of the platform, measured in centimetres from its equilibrium position, can be modelled by the second order differential equation:
, where is the time in seconds after the initial displacement.
Given that , show that .
The differential equation can be expressed in the form , where A is a matrix.
Write down the matrix A.
Find the eigenvalues of matrix A.
Find the eigenvectors of matrix A.
Given that at , the platform is displaced cm from equilibrium and its velocity is cm/s, find an expression for in terms of .
Recall the definition of the derivative of with respect to and substitute it into the given second-order differential equation.
Express and as linear combinations of and . The coefficients will form the matrix A.
To find the eigenvalues, solve the characteristic equation , where is the identity matrix and represents the eigenvalues.
For each eigenvalue , solve the equation to find the corresponding eigenvector .
The general solution for is . Use the initial conditions and to solve for the constants and . Then, extract the expression for .
Question 9
MediumPaper 1 · calculator7 marksA market research company studies the customer loyalty between two competing streaming services, StreamSphere (S) and CineFlow (C), over a number of months.
Each month, customers either maintain their current subscription or switch to the other service.
In any given month, it is observed that the probability of a StreamSphere customer remaining with StreamSphere the following month is 0.85, and the probability of a CineFlow customer switching to StreamSphere the following month is 0.20.
This situation can be represented by the transition matrix
Interpret the value 0.15 in in terms of the changes in customer loyalty between the streaming services.
Find the eigenvalues of matrix .
One of the eigenvectors of is .
Find another, non-parallel, eigenvector and interpret it in context.
Consider what the rows and columns represent in the transition matrix. The first column represents transitions from StreamSphere, and the second column represents transitions from CineFlow.
To find the eigenvalues, you need to solve the characteristic equation , where is the identity matrix and represents the eigenvalues.
The eigenvector corresponding to the eigenvalue is often referred to as the steady-state vector, representing the long-term distribution of states.
Question 10
HardPaper 2 · calculator22 marksThe concentration of a chemical, (in mol dm), in a reaction vessel at time seconds is modelled by the differential equation
(a) (i) Use the substitution to show that this equation can be written as
.
(ii) Find the eigenvalues for the matrix .
(iii) Hence state the long-term rate of change of the chemical concentration.
The chemical reaction is now subjected to an external input, and the equation for the concentration is amended to
.
(b) (i) Use the substitution to write the differential equation as a system of coupled, first order differential equations. State the initial conditions given that, at , the concentration of chemical C is mol dm and its rate of change is mol dm s.
(ii) Use Euler's method with a step length of to find the concentration of the chemical when s. Give your answer to three significant figures.
(iii) Find the long-term rate of change of the chemical concentration.
Substitute and into the given second-order differential equation. Then, express both and in terms of and to form the matrix equation.
To find the eigenvalues of a matrix , solve the characteristic equation , where is the identity matrix.
Consider the sign of the eigenvalues. What does this imply about the stability of the system and the behavior of and as ?
Similar to part (a.i), but now include the non-homogeneous term in the equation for . Don't forget to state the initial values for and .
Set up the recurrence relations for and using Euler's method. You will need to perform 10 iterations to reach from . Keep track of , , and at each step.
For a non-homogeneous second-order ODE with a constant forcing term, the long-term solution (particular solution) will be a polynomial of the same degree as the forcing term. In this case, since the forcing term is , assume a particular solution of the form . Then, find .
Question 11
MediumPaper 1 · calculator8 marksA drone's camera gimbal can rotate to adjust its view. The transformation matrix that rotates a point on the camera's image plane counter-clockwise about the origin through an angle is given by:
The drone needs to perform a total rotation of for a panoramic shot. Write down the matrix that represents this single combined rotation.
Alternatively, the drone's gimbal controller performs two consecutive rotations, each through an angle of . Calculate the resulting transformation matrix when is applied twice, i.e., .
By comparing your results from part (a) and part (b), explain how the identity can be derived.
Using the same comparison as in part (c.i), and the Pythagorean identity , show that .
Recall the general form of a 2D rotation matrix. The angle in the matrix corresponds to the total angle of rotation.
Perform matrix multiplication of by itself. Remember the rules for multiplying matrices.
Consider what happens when two rotations are performed consecutively. How does this relate to a single rotation by the combined angle? Then, compare the corresponding elements of the matrices from parts (a) and (b).
Compare the or entries of the matrices from parts (a) and (b). Then, use the given Pythagorean identity to simplify the expression for .
Question 12
HardPaper 2 · calculator18 marks(a) An architect is designing a modular facade for a building. Each module is based on a fundamental rectangular panel, . The vertices of panel are , , , and .
Show that the area of the panel is square units.
(b) The design incorporates 30 elements, each obtained by transforming the panel . These elements form a symmetric pattern, with the y-axis acting as a line of symmetry.
The transformation that produces each of the elements on the right side of the design can be represented by a matrix of the form
where .
(i) Find the matrix . Give your answer in the form where .
(ii) Hence find the coordinates of the image of the vertex after it is transformed by the matrix .
(c) The matrix can be expressed as the product of a rotation matrix and an enlargement matrix.
(i) Write down, in terms of , the rotation matrix.
(ii) Write down, in terms of , the enlargement matrix.
(iii) Write down, in terms of , the angle of the rotation.
(iv) Write down, in terms of , the scale factor of the enlargement.
(d) Using your answer to part (c)(iv), or otherwise, find the determinant of the matrix in terms of .
(e) Hence, or otherwise, find the total area of the elements in the whole design. Give your answer to three significant figures.
(f) Each element on the left side of the design can be obtained through a transformation of the panel by applying the matrix , where .
Write down the matrix as a product of two matrices.
Recall the formula for the area of a rectangle. The vertices define the width and height of the rectangle.
Substitute into the given matrix formula and simplify the trigonometric functions for .
Multiply the matrix by the column vector representing the vertex .
Identify the standard form of a rotation matrix and extract the relevant parts from .
Identify the standard form of an enlargement matrix and extract the relevant parts from .
The angle of rotation is directly given by the argument of the trigonometric functions in the rotation matrix.
The scale factor is the value in the enlargement matrix.
The determinant of a transformation matrix represents the scale factor of area. For a combined rotation and enlargement, the determinant is the square of the enlargement scale factor.
The area of a transformed shape is the original area multiplied by the absolute value of the determinant of the transformation matrix. Remember there are 15 elements on the right side and 15 on the left, making a total of 30 elements. Sum the areas for to and then multiply by 2.
A reflection across the y-axis can be represented by a specific transformation matrix. The elements on the left side are reflections of the elements on the right side.
Question 13
MediumPaper 1 · calculator22 marksA manufacturing company, 'GlobalTech', tracks its daily production and operational parameters using matrices. The following matrices represent various aspects of their operations:
- : Daily production output from Department Alpha (units of Product X, Product Y)
- : Daily production output from Department Beta (units of Product X, Product Y)
- : Daily market demand fluctuations (changes in demand for Product X, Product Y)
- : Efficiency transformation matrix for resource allocation across three stages (Stage 1, Stage 2, Stage 3)
The matrices are given as:
, , ,
Without using the matrix utility on your GDC, calculate the combined adjusted production output if Department Alpha's output is tripled and Department Beta's output is doubled, represented by .
Without using the matrix utility on your GDC, determine the net difference in production between Department Alpha and Department Beta, represented by .
Without using the matrix utility on your GDC, find the impact of Department Alpha's production on market demand fluctuations, represented by .
Without using the matrix utility on your GDC, calculate the effect of market demand fluctuations on the efficiency transformation across stages, represented by .
Without using the matrix utility on your GDC, determine the result of Department Alpha's production being applied twice, represented by .
Without using the matrix utility on your GDC, find the inverse of Department Alpha's production matrix, .
Without using the matrix utility on your GDC, calculate the adjusted production output for Department Beta if a fixed output reduction of 3 units for each product is applied, represented by , where is the identity matrix.
Without using the matrix utility on your GDC, explain why the operation is not possible.
First, perform the scalar multiplication for each matrix. Then, add the resulting matrices element by element.
Subtract the elements of matrix from the corresponding elements of matrix .
Remember that for matrix multiplication , the element in row and column of the product is found by multiplying the elements of row of by the corresponding elements of column of and summing the results.
Pay close attention to the dimensions of the matrices and ensure each element of the resulting matrix is calculated correctly.
Remember that means .
For a matrix , its inverse is , where .
The identity matrix is .
Consider the dimensions of the matrices involved in each step of the operation.
Question 14
HardPaper 2 · calculator16 marks(a) A student's study habits are modelled by a Markov chain. If the student studies Mathematics (M) on a given day, the probability they study Mathematics the following day is . If the student studies Physics (P) on a given day, the probability they study Physics the following day is .
Write down a transition matrix, , that shows the movement of the student's study focus between Mathematics and Physics.
(b) On Monday, a student spent their study time on Mathematics. Find the probability that the student will be studying Physics on Friday.
(c) Write down the characteristic polynomial for the matrix . Give your answer in the form .
(d) Calculate the eigenvectors for the matrix .
(e) Write down matrices and such that , where is a diagonal matrix.
(f) Hence, find the long-term probability that the student is studying Physics.
The transition matrix should have rows and columns representing the states (Mathematics and Physics). The entry represents the probability of transitioning from state to state . Ensure the columns sum to 1.
Determine the number of transitions from Monday to Friday. Represent the initial state as a column vector and multiply it by the transition matrix raised to the power of the number of transitions.
The characteristic polynomial is found by calculating the determinant of , where is the identity matrix.
First, solve the characteristic polynomial to find the eigenvalues. Then, for each eigenvalue, solve the equation to find the corresponding eigenvector .
The diagonal matrix contains the eigenvalues of on its diagonal. The matrix is formed by using the corresponding eigenvectors as its columns.
The long-term probability distribution of a Markov chain is given by the normalized eigenvector corresponding to the eigenvalue .
Question 15
MediumPaper 2 · calculator10 marksA team of researchers is studying the population dynamics of two interacting species, represented by a system of linear differential equations. The transition matrix for the system over a certain period is given by .
(a) Show that the matrix satisfies the equation , where is the identity matrix.
(b) Hence express in the form .
(c) Hence express in the form .
First, calculate . Then, substitute , , and into the given equation and perform the matrix operations to see if the result is the zero matrix.
From part (a), you know that . Multiply this equation by to find and then substitute for again.
Use the result from part (b) for and the relationship for from part (a). Multiply by and substitute for .
Question 16
HardPaper 2 · calculator14 marksA competitive market has two dominant smartphone brands, Aura and Zenith. Each year, it is observed that of Aura customers switch to Zenith, while of Zenith customers switch to Aura. All other customer movements are negligible.
Write down a transition matrix representing the customer movements between the two brands in a particular year. Assume the order of brands is Aura, then Zenith.
Find the eigenvalues and corresponding eigenvectors of .
Hence write down matrices and such that .
Initially, Brand Aura has customers and Brand Zenith has customers.
Find an expression for the number of customers Brand Aura has after years, where .
Hence write down the number of customers that Brand Aura can expect to have in the long term.
A transition matrix shows the probabilities of moving from one state to another. The columns should sum to 1, representing the total probability of customers from a given brand either staying or switching.
To find eigenvalues, solve the characteristic equation . For each eigenvalue, solve to find the corresponding eigenvector.
Matrix is formed by the eigenvectors as its columns, and matrix is a diagonal matrix with the corresponding eigenvalues on its diagonal.
The state vector after years is given by . Use the diagonalization and the initial state vector . Remember to find first.
Consider what happens to the term involving as approaches infinity.
Question 17
MediumPaper 1 · calculator8 marksA furniture workshop produces three types of items: chairs, tables, and cabinets. Each item requires a specific amount of three different raw materials: wood, metal, and fabric.
To produce one chair, the workshop needs units of wood, unit of metal, and units of fabric.
To produce one table, it needs unit of wood, units of metal, and unit of fabric.
To produce one cabinet, it needs units of wood, unit of metal, and units of fabric.
In a particular week, the workshop used a total of units of wood, units of metal, and units of fabric.
Let , , and represent the number of chairs, tables, and cabinets produced, respectively.
(a) Write this system of equations in the form , where , , and are matrices.
(b) Find the inverse matrix .
(c) Hence, determine the number of chairs, tables, and cabinets produced that week.
Identify the coefficients for for each resource to form matrix . The variables form matrix , and the total resources form matrix .
Use your GDC to calculate the inverse of matrix .
To solve the system , you need to calculate . Use your GDC for matrix multiplication.
Question 18
HardPaper 3 · calculator31 marksThe following question explores a possible method of drawing phase portraits for non-linear coupled systems, taking a predator-prey model as a particular example.
A forest ecosystem contains a population of rabbits (, measured in hundreds), and a population of wolves (, measured in hundreds).
Research indicates that the population dynamics of both rabbits and wolves can be modelled by the following differential equations, in which is measured in years.
for
At a specific time, there are 400 rabbits and 400 wolves, represented here by the coordinate pair (4, 4). At this time, determine the rate of change of
rabbits.
wolves.
There are two equilibrium points for the populations: A(0, 0) and B ().
Explain why A is an equilibrium point.
Find the value of and the value of .
At points close to A(0, 0), we can ignore the terms, so that the system can be approximated by:
for .
By solving these two differential equations,
find an expression for in terms of .
find an expression for in terms of .
Using your answers from part (c), show that phase portrait trajectories close to A may be given by the equation , where is a positive constant.
Hence sketch, on a phase portrait, one possible trajectory for small values of and .
Now consider points close to B on the phase plane. These coordinates can be rewritten as and , where and are the values from part (b)(ii).
By substituting into the original model, show that, for small values of and :
Similarly, it can be shown that .
Given that , where is a square matrix, write down .
By finding the eigenvalues of , describe the path of the trajectories close to point B.
Hence sketch a complete set of trajectories in the phase plane for the original model, clearly indicating both equilibrium points.
In this forest ecosystem, at a specific time, there are 400 rabbits and 400 wolves.
Based on the values found in part (a), the wildlife keeper is worried and assumes that the wolves will quickly die out. Suggest whether this assumption is supported by the model. Justify your answer.
Substitute the given population values for and into the differential equation for . Remember that and are measured in hundreds.
Substitute the given population values for and into the differential equation for .
An equilibrium point is where the populations do not change. Consider what this means for the rates of change and .
At an equilibrium point, both and . Set both differential equations to zero and solve the resulting system of algebraic equations.
These are separable differential equations. Separate the variables and integrate both sides. Remember to include the constant of integration.
Similar to part (c.i), solve the differential equation for .
To eliminate , raise to a power and to a power such that the exponents of become additive inverses (e.g., and ). Then multiply the resulting expressions.
The equation describes the shape. Consider the signs of and near A(0,0) to determine the direction of the trajectory.
Substitute and into the original differential equation for . Expand the terms and cancel out constants, then identify and ignore the higher-order terms (like ) for small and .
The coefficients of and in the linearised equations for and form the entries of the matrix .
To find the eigenvalues, solve the characteristic equation , where is the identity matrix. The nature of the eigenvalues (real, complex, purely imaginary) determines the type of equilibrium point.
Combine the information from parts (d.ii) and (g). A(0,0) is a saddle point, and B(5,6) is a center. Remember to indicate the direction of trajectories and ensure they remain in the first quadrant.
Refer to your sketch in part (h). Consider where the initial point (4,4) might lie relative to the equilibrium point B, and what the trajectories around B represent.
Question 19
MediumPaper 1 · calculator9 marksA charity organization held a fundraising event, selling three types of merchandise: t-shirts, mugs, and keychains. A total of items were sold.
The prices were for a t-shirt, for a mug, and for a keychain.
The number of keychains sold was one-quarter of the total number of items sold.
The total amount of money raised from the sales was .
Use a matrix method to determine the number of mugs sold at the event.
First, set up a system of three linear equations based on the given information. Substitute the known value for keychains to reduce it to a system. Then, express this system in the form and solve for using . Remember to calculate the inverse matrix correctly.
Question 20
HardPaper 1 · calculator7 marksA robotics engineer is programming a swarm of drones. The initial paths of the drones are given by a family of lines, , with equation , where is a real parameter and .
A control signal applies a linear transformation to the coordinates of every drone, described by the matrix .
The new path of a drone is the line .
(a) Find a vector equation for the line in terms of .
(b) Find the determinant of .
(c) Show that all the drones will end up moving along the same path, by showing that the equation of the transformed line does not depend on .
A vector equation of a line is of the form , where is a position vector of a point on the line and is a direction vector. How can you find a point and the direction from the Cartesian equation ?
The determinant of a 2x2 matrix is calculated as .
You can approach this in several ways. One way is to transform the vector equation from part (a) using the matrix . Another way is to transform two general points from the line . A third way is to consider the relationship between the coordinates of a transformed point and the original point .
No question on this page matches those filters. Try another difficulty or paper.
15 more Matrices (definition, algebra, multiplication, solving systems of equations) questions in the app
Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.
Where marks are lost
- Using your own wrong value after failing a "show that." All follow through is withdrawn for the rest of that question.
- Leaving an answer in calculator notation. Never accepted in a final answer, and AI's constant calculator use makes this the easiest slip in the whole subject.