So I'm writing an exam about matrices in a few weeks time, and I'd like to know if anybody has any tips about multiplying matrices.
2026-02-24 02:59:56.1771901996
Matrix multiplication memorisation
4k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MATRICES
- How to prove the following equality with matrix norm?
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Powers of a simple matrix and Catalan numbers
- Gradient of Cost Function To Find Matrix Factorization
- Particular commutator matrix is strictly lower triangular, or at least annihilates last base vector
- Inverse of a triangular-by-block $3 \times 3$ matrix
- Form square matrix out of a non square matrix to calculate determinant
- Extending a linear action to monomials of higher degree
- Eiegenspectrum on subtracting a diagonal matrix
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
Related Questions in SELF-LEARNING
- Best book to study Lie group theory
- How do you prevent being lead astray when you're working on a problem that takes months/years?
- how to solve Lazy janitor problem
- How deep do you have to go before you can contribute to the research frontier
- Use the binomial theorem to prove that for $n$ a positive integer the following holds
- Am I right or wrong in this absolute value?
- good introduction to algebra over a field?
- What are the mathematical topics most essential for an applied mathematician?
- Are there any analysis textbooks like Charles Pinter's A book of abstract algebra?
- How to use the AOPS books?
Related Questions in LEARNING
- What is the determinant modulo 2?
- Is it good to learn measure theory before topology or the other way around?
- Can the action-value function be "expanded"?
- If you had to self -study a course in higher math that you know, and passing it was a matter of life and death, what advice would you give yourself?
- Beggining in funcional analysis
- Worrying about logic and foundations too much
- Using Visualization for Learning: $a^0=1$
- How do/did you go about learning math?
- Different true/false definition in lambda calculus
- Rules for multiplication serge lange problem
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
There are a couple of different ways to think about matrix multiplication. Here is what I usually do.
To multiply two matrices $A$ and $B$, you should see $A$ as a stack of rows and $B$ as a sequence of columns. I.e. think in the following way:
$$ A = \begin{pmatrix} a_1 \\ a_2 \\ \vdots \\a_n \end{pmatrix} ~~~~ B = \begin{pmatrix} b_1 & b_2 & \cdots & b_k \end{pmatrix} $$
Note that $k$ can be different from $n$, but the $a$ and $b$-vectors need to have the same length for the multiplication to be valid.
Now you only have to remember how to do a dot product since your matrix product will be: $$AB = \begin{pmatrix} a_1 \cdot b_1 & a_1 \cdot b_2 & \cdots & a_1 \cdot b_k \\ a_2 \cdot b_1 & a_2 \cdot b_2 & \cdots & a_2 \cdot b_k \\ \vdots & \vdots & \vdots & \vdots \\ a_n \cdot b_1 & a_n \cdot b_2 & \cdots & a_n \cdot b_k \end{pmatrix} $$ and the rule to remember is that the element at row $i$ and column $j$ will be the dot product of $a_i$ and $b_j$. I usually then calculate $AB$ row by row, keeping the $a$-vector fixed and changing the $b$-vector as I progress over the column. Then I pick the next $a$, calculate the dot product with each $b$ over the columns, etc.
An example. Let $$A = \begin{pmatrix} 1 & 2 \\ -1 & 1 \end{pmatrix} ~~~~ B = \begin{pmatrix} 2 & 3 & -1 \\ 1 & 1 & 1 \end{pmatrix} $$ so with the notation above (I don't suggest you do this when doing the calculations, this is just for clarity): $$\begin{align} a_1 &= \begin{pmatrix} 1 & 2 \end{pmatrix} \\ a_2 &= \begin{pmatrix} -1 & 1 \end{pmatrix} \end{align}$$ and $$\begin{align} b_1 &= \begin{pmatrix} 2 \\ 1 \end{pmatrix} \\ b_2 &= \begin{pmatrix} 3 \\ 1 \end{pmatrix} \\ b_3 &= \begin{pmatrix} -1 \\ 1 \end{pmatrix} \end{align}$$
So, the first row of $AB$ will be (note that we only use $a_1$ here): $$\begin{align} (AB)_{1,1} &= a_1 \cdot b_1 = 1 \cdot 2 + 2 \cdot 1 = 4 \\ (AB)_{1,2} &= a_1 \cdot b_2 = 1 \cdot 3 + 2 \cdot 1 = 5 \\ (AB)_{1,3} &= a_1 \cdot b_3 = 1 \cdot (-1) + 2 \cdot 1 = 1 \end{align}$$
Then we move on to the second row (here we only use $a_2$): $$\begin{align} (AB)_{2,1} &= a_2 \cdot b_1 = -1 \\ (AB)_{2,2} &= a_2 \cdot b_2 = -2 \\ (AB)_{2,3} &= a_2 \cdot b_3 = 2 \end{align}$$
I usually do these dot products in my head as I go along. As a more physical remainder of how to do things, I usually trace over the $a$-row I am using with the pencil (moving the pencil horizontally), then trace over the $b$-column I am using (moving the pencil vertically).
I like this method because you only need to keep one accumulating value in your head at a time. When you're done with a dot product, write it down and move to the next.
Also, if you think you have calculated the element at row $i$ and column $j$ of $AB$ wrong, it's easy to think in reverse: $(AB)_{i,j}$ is just the dot product of row $a_i$ and column $b_j$. Calculate it again and check the result.