3

Is there a proof for this, or is it just taken for granted?

Does one need to prove it for every separate case (multiplication, addition, etc.), or only when you are operating with different elements (numbers, matrixes, etc.)?

Juanma Eloy
  • 1,407
  • 1
    Take it for granted. If two expressions are equal the represent the same number so are aliases of each other. There is no way to obtain different numbers after transformation. –  Jan 18 '15 at 17:32
  • 1
    I think this may be some principle or axiom, or else it could be proved under some assumptions. I've wondered the same some times. – Timbuc Jan 18 '15 at 18:04

3 Answers3

3

When we say "$a = b$", what we are claiming is that $a$ and $b$ represent the same object. If you apply the same operation to the same object, then you get the same result, provided that operation is well-defined.

Just to be clear, there do exist operations that are not well-defined, so sometimes you do have to prove that $a=b \implies f(a) = f(b)$. For example, take $q \in \mathbb{Q}$, represented by $q= a/b$. Then $f(a/b) := a$ is not well-defined, as $f(2a/2b) = 2a$, but $\frac{a}{b} = \frac{2a}{2b}$.

user14717
  • 4,902
2

No, it needs no proof. In general one has that if $x=y$ and $f$ is a function that has $x$ and $y$ in its domain then $f(x)=f(y)$. Since $a+b$ is just another way of writing $+(a,b)$, one has that if $a=c$ and $b=d$ then $a+b=c+d$ (same for multiplication).

Zero
  • 3,413
  • 23
  • 45
-2

If only the operation is a single-result operation.

Vim
  • 13,640