Multiplication -- prove this one by induction

Click For Summary
SUMMARY

The forum discussion centers on proving by induction that for any natural numbers n and m, the equation n x (m++) = (n x m) + n holds true. The base case is established with n=0, confirming that 0 x m++ equals 0. The discussion reveals confusion regarding the notation m++, with participants clarifying that it is often interpreted as shorthand for m + 1, rather than a programming convention. The conversation emphasizes the importance of using clear arithmetic axioms in mathematical proofs.

PREREQUISITES
  • Understanding of mathematical induction
  • Familiarity with natural numbers
  • Basic knowledge of arithmetic operations
  • Awareness of programming notation, specifically m++
NEXT STEPS
  • Study mathematical induction techniques in detail
  • Research the properties of natural numbers and their operations
  • Learn about arithmetic axioms and their applications
  • Explore programming conventions and their mathematical interpretations
USEFUL FOR

Mathematicians, educators, students studying number theory, and anyone interested in understanding mathematical proofs and notation clarity.

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.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K