When can/can't I add, subtract or multiply matrices together?
have you done matrix multiplication yet?
yes
I think you can't add matries together when they aren't the same size.
well... ok.. then you'd know that, matrix multiplication happens LEFT-MATRIX-ROW times RIGHT-MATRIX-COLUMN so for the multiplication to take place, the RIGHT-MATRIX must have the same amount of COLUMNS as the LEFT-MATRIX amount of ROWS
can you draw an example with random numbers?
@kewlgeek555 i dont really understand what's on the website.. i know how to add them, Im just confused on how many rows and columns there have to be in order to get a solution.
Oh okay.
\(\begin{bmatrix} a&b&c \end{bmatrix}\times \begin{bmatrix} d&e&f \end{bmatrix}\qquad \textit{can't multiply, no row/col match}\\ \quad \\ \begin{bmatrix} a&b&c\\ d&e&f\\ \end{bmatrix}\times \begin{bmatrix} g&h&i&\\ j&k&m\\ n&o&p \end{bmatrix}\qquad \textit{can multiply, notice the matching row/col} \)
but in the 1st one there are even #'s axd axe.. or or?
or no*
yes, the 1st pair have the same dimensions, but for multiplication, that's no feasible you need to have rows on the left matrix that match the columns on the right matrix
so the rows have to match the columns? and what about addition and subtraction
that's pretty straightforward \(\begin{bmatrix} a&b\\ c&d \end{bmatrix}+ \begin{bmatrix} e&f\\ g&h \end{bmatrix}\implies \begin{bmatrix} a+e&b+f\\ c+g&d+h \end{bmatrix}\)
okay and is there like a restriction on how many rows and columns there have to be?
no, they just need to be the same dimension
okay:) thank you!
yw
Join our real-time social learning platform and learn together with your friends!