The Right Triangle
Base Geometry

Let the right triangle hypothenuse be aligned with the coordinate system x-axis.
The vector loop closure equation running counter-clockwise then reads
aeα+be~α+cex=0(1)with
eα=(cosαsinα)ande~α=(−sinαcosα)Resolving for the hypothenuse part cex in the loop closure equation (1)
−cex=aeα+be~αand squaring
finally results in the Pythagorean theorem (2)
c2=a2+b2(2)
More Triangle Stuff
Introducing the hypothenuse segments p=a⋅ex and q=b⋅ex, we can further obtain the following useful formulas.
segment p |
segment q |
height h |
area |
cp=a2 |
cq=b2 |
pq=h2 |
ab=ch |