r/learnmath • u/colonelflounders New User • Sep 26 '16
[High School Math] Proofs
Right now I am working through Serge Lang's book Basic Mathematics on my own. Some of the exercises ask me to prove things like a + b = a and that as a result b = 0. I'm not exactly sure how a proof should look. How should I be doing proofs? With this is there any advice you would give someone studying math on their own? I'm doing this mostly to better analyze algorithms and data structures for my programming work.
5
Upvotes
View all comments
3
u/hattiel New User Sep 26 '16 edited Sep 26 '16
Depends how in-depth you want to go, and what properties/theorems/rules you have to work with. These rules are called axioms, and they're the building blocks of maths. You can always make up your own axioms and see what they lead to, but in this case you'll probably want to refer to the axioms/rules that your book uses:
N1: 0+a = a+0 = a
N2: a+(-a) = 0 and (-a)+a = 0
Commutativity: a+b = b+a
Associativity: (a+b)+c = a+(b+c)
Those four things are all the rules you need to prove that a+b = a (for integers a and b)
Here's an example proof, but have a go first then compare:
a+b=a
∴(a+b)+(-a) = a+(-a) (adding the same thing to both sides)
∴(a+b)+(-a) = 0 (by N2)
∴a+(b+(-a)) = 0 (since addition is associative)
∴a+((-a)+b) = 0 (since addition is commutative)
∴(a+(-a))+b = 0 (associativity again)
∴0+b = 0 (by N2)
∴b = 0 (by N1)
∎
Hope that helps :)
Maths is like an upside-down pyramid - we start with just a handful of axioms/rules and see what we can prove from them. We build up more and more discoveries and get this huuuge amount of knowledge we can use to send people to the moon etc. And the knowledge just keeps going, there will always be more. (Thanks to Gödel's incompleteness theorem). Makes me curious what an AI would discover.