Multiplication -- prove this one by induction

AI Thread Summary
The discussion revolves around proving the multiplication property n x (m++) = (n x m) + n using mathematical induction. The base case for n=0 is established, but the user struggles with the induction step for n++. There is confusion regarding the notation m++, with participants debating its meaning and whether it aligns with programming conventions or simply represents m + 1. Suggestions are made to clarify the notation and to explicitly use standard arithmetic axioms for better understanding. The conversation highlights the need for clear definitions in mathematical proofs.
rb120134
Messages
10
Reaction score
0
Homework Statement
Prove by induction that for any natural numbers n and m , n x (m++)= (n x m) + n
Relevant Equations
n x (m++) = (n x m) +n
Prove by induction that for any natural numbers n and m , n x (m++)= (n x m) + n

The base case, n=0 gives 0 x m++=(0 x m) +0 gives 0=0
Now assume n x (m++) = (n x m) +n
For n++ we get

n++(m++)=((n++)m) + n++

from this point I am stuck, how can I prove both sides are the same?
 
Physics news on Phys.org
What do you mean by m++ ? In mathematics, this means nothing. Do you mean the programming language C convention? But then, actually n * (m++) == n *m is true, while n * (++m) == n * m + n is true.
 
PAllen said:
What do you mean by m++ ? In mathematics, this means nothing. Do you mean the programming language C convention? But then, actually n * (m++) == n *m is true, while n * (++m) == n * m + n is true.
The OP posted a similar question using this notation in another thread (https://www.physicsforums.com/threads/proof-multiplication-is-commutative.782057/#post-6537515).

I believe it is less sophisticated notation than is used in C et al, and has nothing to do with pre- or post-increment. I believe that the notation m++ is just shorthand for m + 1.
 
Mark44 said:
The OP posted a similar question using this notation in another thread (https://www.physicsforums.com/threads/proof-multiplication-is-commutative.782057/#post-6537515).

I believe it is less sophisticated notation than is used in C et al, and has nothing to do with pre- or post-increment. I believe that the notation m++ is just shorthand for m + 1.
shorthand in what way? Same number of characters, and + needs right pinky reach as well as left pinky shift, while 1 just needs left pinky reach (at least on my keyboard).
 
PAllen said:
shorthand in what way?
OK, maybe samehand...
 
Can you say what axioms you are allowed to use? I would also recommend explicitly writing + 1 to better use normal arithmetic axioms.
 
Back
Top