# Pythagorean theorem

**Proof:**

Since and , we can conclude that:

This means that:

(Ignore the )

(Multiply both sides by )

Same exact procedure for: , which means that:

(Multiply both sides by )

Now add both and together.

(because , see picture)

**Try it yourself:**

x y

Output: