MHB T31 vector subtraction is not commutative and not associative.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
Prove, by giving counterexamples, that vector subtraction is not commutative
and not associative.

ok I read all I could on trying to understand this but seem to not see something simple
if we have the example of

$u=\begin{bmatrix}2\\-3\\4\\2\end{bmatrix} v=\begin{bmatrix}-1\\5\\2\\-7\end{bmatrix}
u+v=\begin{bmatrix}2\\-3\\4\\2\end{bmatrix}+\begin{bmatrix}-1\\5\\2\\-7\end{bmatrix}
=\begin{bmatrix}2+(-1)\\-3+5\\4+2\\2+(-7)\end{bmatrix}
=\begin{bmatrix}1\\2\\6\\-5\end{bmatrix}$

if we replace the + with - does that mean it is not commutative and not associative.
 
Physics news on Phys.org
If vector subtraction would be commutative, we would have $u-v=v-u$.
Suppose we substitute your $u$ and $v$ into it, does the equality hold then?

If vector subtraction would be associative, we would have $u-(v-w)=(u-v)-w$.
So we need example vectors $u,v,w$ such that those are not equal.
 
ok, that makes sense
 
I don't understand why you added vectors. Why didn't you try subtracting as you were asked to?
Commutative:
$\begin{bmatrix}2\\ -3 \\ 4 \\2 \end{bmatrix}- \begin{bmatrix} -1\\ 5 \\ 2 \\-7\end{bmatrix}= ?$

$\begin{bmatrix} -1\\ 5 \\ 2 \\-7\end{bmatrix}- \begin{bmatrix}2\\ -3 \\ 4 \\2 \end{bmatrix} = ?$

Are they the same?

Associative:
$\left(\begin{bmatrix}2\\ -3 \\ 4 \\2 \end{bmatrix}- \begin{bmatrix} -1\\ 5 \\ 2 \\-7\end{bmatrix}\right)$$- \begin{bmatrix}5\\ -3 \\ 7 \\1 \end{bmatrix}= ?$

$\begin{bmatrix}2\\ -3 \\ 4 \\2 \end{bmatrix}- \left( \begin{bmatrix} -1\\ 5 \\ 2 \\-7\end{bmatrix}- \begin{bmatrix}5\\ -3 \\ 7 \\1 \end{bmatrix}\right)= ?$

Are they the same?
 
so if we have a negative scaler like - 2 we write it as $+(-2)$
 
karush said:
so if we have a negative scaler like - 2 we write it as $+(-2)$
Honestly any way you write it it is still non-commutative, though it does help to remind you that you are subtracting and not adding because vector addition is commutative.

I realize that the problem is simply making a point about vector arithmetic, but the whole issue is that subtraction is not commutative over complex numbers. [math]a_{ij} - b_{ij} \neq b_{ij} - a_{ij}[/math] for any complex numbers.

-Dan
 
Thread 'Determine whether ##125## is a unit in ##\mathbb{Z_471}##'
This is the question, I understand the concept, in ##\mathbb{Z_n}## an element is a is a unit if and only if gcd( a,n) =1. My understanding of backwards substitution, ... i have using Euclidean algorithm, ##471 = 3⋅121 + 108## ##121 = 1⋅108 + 13## ##108 =8⋅13+4## ##13=3⋅4+1## ##4=4⋅1+0## using back-substitution, ##1=13-3⋅4## ##=(121-1⋅108)-3(108-8⋅13)## ... ##= 121-(471-3⋅121)-3⋅471+9⋅121+24⋅121-24(471-3⋅121## ##=121-471+3⋅121-3⋅471+9⋅121+24⋅121-24⋅471+72⋅121##...

Similar threads

Back
Top