# HP Forums

Full Version: Matrix division
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning,

I saw in a different forum a screen capture showing a division of two matrices done with a Prime. Does anybody know what exactly the Prime does when you ask it to divide two matrices? Because it doesn't seem to be the elementwise division nor the division of matrices is a well-defined operation between matrices.

Regards
It does implicitely what you would do when you had to do it by hand, A/B is performed as A*B^-1.
Arno
It seems wrong to me that HP promote the idea among students that "matrix division" is an acceptable matrix operation. The TI Nspire CAS wisely doesn't allow it.

Regards
(04-09-2018 09:23 AM)Arno K Wrote: [ -> ]A/B is performed as A*B^-1.
Arno

I would hope not. I hope it returns B^-1*A, and calculates it as solve (B*X = A), not explicitly calculating the inverse.
That's what all the other HP-calcs (42,48,49,50) do.

Cheers, Werner
Hm, wrong, may be, but if the division is not possible as the second matrix is not invertable you are told that and as usual one has to know what one does when a tool like that calculator is used.
Arno
I could check that it does what Werner told and before doing it, it displays a message saying A/B is a misleading notation and that it's going to compute inv(B)*A.

Regards
I did not even check that, clear is that it multiplies by B^-1, but you have to be careful (solve X*B=A instead of B*X=A), so I always use the multiplication above in appropriate form. On the mentioned other HP-calcs I used that division as a shortcut when I solved A*X=b, b being a vector, there it did not matter.
Arno
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :