Mathematical Proofs

Screenshot 2023-09-18 at 11 33 39 PM Hinda

Introduction

For many of us, working in FAANG means six-figure salary. Although this is correct, I would say working in FAANG for me, primarly means interracting with very smart and dedicated people. But there is a catch to this last statement. What does it mean to interact with very smart people? What makes you think these people are smart? What is your experience interacting with them? you would ask… Well, you guessed it, answering this question would probably take us a lot of time and involve a fair amount of subjectivity to it. Here, I want to focus on an aspect that I believe is common among the very smart people I have met and interracted with. That is, things I heared, usually sound like proofs, yup… mathematical proofs. So in the following article, I discuss 3 powerful Mathematical proof techniques that I would consider helpful in FAANG environment, might it be during interviews or in everyday life. For each techniques, we will prove an example statement to get comfortable with the technique. Without further due, let’s jump right in the techniques!

Induction

Example:

Proof:

  1. We start by proving a base case, P(1) for instance

  1. We finish by proving that the statement holds for a number k + 1

Then

We can see that if we replace k + 1 with K,

Which shows that the statement holds for k + 1.

Contrapositive

Example:

Prove that if is even, then is even

Proof:

We start by finding the contrapositive statement.

if is odd then is odd

We can easily prove that the product of 2 odd number is odd:

which can be written as

Then if is even, then is even

Contradiction

Example:

is irrational

Proof:

Proof by contradiction is probably the most powerful technique! But it can also hard for your neurones.

is irrational, then it can be written as

where a or b is odd. However, if is then which means that a must be even, but also that b must be odd!

But if a is even, is a multiple of 4, which means that is a multiple of 4, meaning that b is even!

There is a contradiction for b that cannot be at the same time odd and even. Then the original statement

is irrational is false.

Final thoughts

In this article we have explored 3 powerful proof techniques that are, Induction, Contrapositive and Contradiction. I have chosen to use Mathematical logical to showcase each of them, but the real purpose for you would now to use them in real life. If you have come so far, congratulations and let me know if any comments.

References