Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using this example, could someone tell me how to multiply a matrix by a vector?

$$\left(\begin{array}{ccc} A & B & C \\ D & E & F \\ G & H & I \end{array}\right) * \left(\begin{array}{c} X \\ Y \\ Z \end{array} \right) = ? $$

share|cite|improve this question
View the vector as a $3\times 1$ matrix; you know (I hope) how to multiply an $n\times p$ matrix by a $p\times m$ matrix to get an $n\times m$ matrix, right? Just do that. – Arturo Magidin Feb 21 '12 at 21:50
@Arturo There are people of all levels here, some of us are highly paid and highly intelligent, but didn't study math, so we don't know (and are trying to learn) how to multiply matrices. – Luke Puplett Mar 12 '13 at 17:48
up vote 6 down vote accepted

You get:


The method is the same as multiplying two matrices of compatible sizes, in the special case that the second has only a single column.

share|cite|improve this answer
Thank you very much :) – Overflowh Feb 21 '12 at 22:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.