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

Either my brain is seriously fried up right now or the computer is wrong.

If I have a matrix $\begin{bmatrix} 4 & -2\\ 2 & -1 \\ 0 & 0 \end{bmatrix}$ multiply by its transpose $\begin{bmatrix} 4 &2 &0 \\ -2&-1 &0 \end{bmatrix}$, I should get a $3 \times 3$ $\begin{bmatrix} 20 &10 &0 \\ 10 &5 &0 \\ 0&0 &0 \end{bmatrix}$

For some reason Maple is giving me a $2 \times 2$ $\begin{bmatrix} 20 &10 \\ 10 &5 \\ \end{bmatrix}$

Why did they delete the last row and column of 0s? You can't do that

share|cite|improve this question
This is maybe just a Maple convention: you should change your title to indicate that it's something happening in Maple. Also, don't assume your questions are too dumb for this this forum :) It's not like MathOverflow... – you Apr 10 '12 at 2:35
Are you doing $A A^T$ or $A^T A$? – lhf Apr 10 '12 at 2:46
Never mind, I am the one who is wrong...I multiplied it the other way – Hed Apr 10 '12 at 2:46
Can you edit the question so that its title is useful in some way? – Mariano Suárez-Alvarez Apr 10 '12 at 2:52
Note, though, that if you multiplied them the other way, you should have gotten $$\left(\begin{array}{rr}20&-10\\-10&5\end{array}\right)$$and not what you say you got. – Arturo Magidin Apr 10 '12 at 3:06

You have multiplied the second matrix with the first matrix. Sice matrix multiplication is not commute the answer is wrong. And you have also ignored the negative signs. They should not be ignored.

share|cite|improve this answer

Do you try the result with one row of os or try some square matrix with one row of os?

Maybe is the storage of maple?

share|cite|improve this answer

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.