Prove a statement using Peano's Axioms

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 3K views
supermiedos
Messages
62
Reaction score
0

Homework Statement



Let, m, n be natural numbers and S(n) the succesor of n.
If S(n)*m = nm + m
Prove that m*S(n) = nm + m

Homework Equations


l67Hh0b.png


The Attempt at a Solution


V5rIbzP.png
 

Attachments

  • l67Hh0b.png
    l67Hh0b.png
    5.6 KB · Views: 1,850
  • V5rIbzP.png
    V5rIbzP.png
    9 KB · Views: 1,118
Physics news on Phys.org
stevendaryl said:
Hmm. It seems more straight-forward to prove

[itex]m \cdot S(n) = m \cdot n + m[/itex]
But since S(n)*m = nm + m I'd like to prove that also m*S(n) = nm + m, thus S(n)*m = m*S(n), meaning that nm = mn
 
supermiedos said:
But since S(n)*m = nm + m I'd like to prove that also m*S(n) = nm + m, thus S(n)*m = m*S(n), meaning that nm = mn

I understand that, but it's easier to prove [itex]m \cdot S(n) = m \cdot n + m[/itex] than it is to prove [itex]m \cdot S(n) = n \cdot m + m[/itex]. Then you can use this lemma to prove that [itex]m \cdot n = n \cdot m[/itex].

Suppose that you want to prove that [itex]m \cdot n = n \cdot m[/itex] by induction on [itex]m[/itex].
  1. Prove [itex]0 \cdot n = n \cdot 0[/itex]
  2. Assuming [itex]m \cdot n = n \cdot m[/itex], prove [itex]S(m) \cdot n = n \cdot S(m)[/itex]
Sketch:
  1. We're trying to prove [itex]S(m) \cdot n = n \cdot S(m)[/itex]
  2. We can use the rules for multiplication to rewrite the left-hand side: [itex]S(m) \cdot n = m \cdot n + n[/itex].
  3. Then we can use our inductive hypothesis to write [itex]m \cdot n = n \cdot m[/itex]. So the left hand side becomes: [itex]n \cdot m + n[/itex]
  4. So switching left and right sides, we need to show: [itex]n \cdot S(m) = n \cdot m + n[/itex]. That's true by my "lemma".
 
Last edited:
Wait, so in this case we have like "two inductions" into one?

We're assuming that m⋅n = n⋅m
but also we're assuming that n⋅S(m) = n⋅m +n in the same proof?
 
Last edited:
supermiedos said:
Wait, so in this case we have like "two inductions" into one?

We're assuming that m⋅n = n⋅m
but also we're assuming that n⋅S(m) = n⋅m +n in the same proof?

No, first you prove by induction that [itex]n \cdot S(m) = n \cdot m + n[/itex].

Then you prove by induction that [itex]m \cdot n = n \cdot m[/itex]. In the second proof, you assume [itex]m \cdot n = n \cdot m[/itex] and use that to prove [itex]S(m) \cdot n = n \cdot S(m)[/itex].
 
  • Like
Likes   Reactions: supermiedos
stevendaryl said:
No, first you prove by induction that [itex]n \cdot S(m) = n \cdot m + n[/itex].

Then you prove by induction that [itex]m \cdot n = n \cdot m[/itex]. In the second proof, you assume [itex]m \cdot n = n \cdot m[/itex] and use that to prove [itex]S(m) \cdot n = n \cdot S(m)[/itex].
Of course. I get it now. Thanks