# Visual Proof of Pythagorean Theorem

https://www.desmos.com/calculator/damd0mswrn

This took me a while, and there are some ways I could simplify all the code, but have fun.

1 Like

Really like this! I love animated visuals.

Nice - I did this one, which would have been much simpler if points in Desmos could be treated like complex numbers. (Please please let me scale, add, subtract, and multiply points!)

It doesnâ€™t come with notation, but for the way I teach the pythagorean theorem, that comes last anyways.

https://www.desmos.com/calculator/m2yamceaua

Thanks. I did this a while back and could probably simplify it much more now.

You can add, subtract and scale points. To multiply youâ€™ll still need to use .x and .y notation

https://www.desmos.com/calculator/jylkecibgb

1 Like

Thatâ€™s awesome. Thanks, Jay.

Is that new, or have I just been oblivious? Iâ€™m sure I tried it at some pointâ€¦

The multiplication I actually want is (A.xB.x-A.yB.y, A.xB.y +A.yB.x). But since I have to do that by hand, itâ€™s all good anyway.

.x and .y are a little over a year old. Combining and scaling points is relatively new.

If multiple function calls arenâ€™t slowing performance down you can always make a four variable function and just reassign it for different sand y values.

It looks like I can just pass points as function parameters, so I only need two.

Thanks, Jay!

1 Like

Ooh yes! Good call!