Right-angled triangles #
This file proves basic geometrical results about distances and angles in (possibly degenerate) right-angled triangles in real inner product spaces and Euclidean affine spaces.
Implementation notes #
Results in this file are generally given in a form with only those non-degeneracy conditions needed for the particular result, rather than requiring affine independence of the points of a triangle unnecessarily.
References #
- https://en.wikipedia.org/wiki/Pythagorean_theorem
Pythagorean theorem, if-and-only-if vector angle form.
Pythagorean theorem, subtracting vectors, if-and-only-if vector angle form.
Pythagorean theorem, subtracting vectors, vector angle form.
An angle in a right-angled triangle expressed using arccos
.
An angle in a right-angled triangle expressed using arcsin
.
An angle in a right-angled triangle expressed using arctan
.
An angle in a non-degenerate right-angled triangle is positive.
An angle in a right-angled triangle is at most π / 2
.
An angle in a non-degenerate right-angled triangle is less than π / 2
.
The cosine of an angle in a right-angled triangle as a ratio of sides.
The sine of an angle in a right-angled triangle as a ratio of sides.
The tangent of an angle in a right-angled triangle as a ratio of sides.
The cosine of an angle in a right-angled triangle multiplied by the hypotenuse equals the adjacent side.
The sine of an angle in a right-angled triangle multiplied by the hypotenuse equals the opposite side.
The tangent of an angle in a right-angled triangle multiplied by the adjacent side equals the opposite side.
A side of a right-angled triangle divided by the cosine of the adjacent angle equals the hypotenuse.
A side of a right-angled triangle divided by the sine of the opposite angle equals the hypotenuse.
A side of a right-angled triangle divided by the tangent of the opposite angle equals the adjacent side.
An angle in a right-angled triangle expressed using arccos
, version subtracting vectors.
An angle in a right-angled triangle expressed using arcsin
, version subtracting vectors.
An angle in a right-angled triangle expressed using arctan
, version subtracting vectors.
An angle in a non-degenerate right-angled triangle is positive, version subtracting vectors.
An angle in a right-angled triangle is at most π / 2
, version subtracting vectors.
An angle in a non-degenerate right-angled triangle is less than π / 2
, version subtracting
vectors.
The cosine of an angle in a right-angled triangle as a ratio of sides, version subtracting vectors.
The sine of an angle in a right-angled triangle as a ratio of sides, version subtracting vectors.
The tangent of an angle in a right-angled triangle as a ratio of sides, version subtracting vectors.
The cosine of an angle in a right-angled triangle multiplied by the hypotenuse equals the adjacent side, version subtracting vectors.
The sine of an angle in a right-angled triangle multiplied by the hypotenuse equals the opposite side, version subtracting vectors.
The tangent of an angle in a right-angled triangle multiplied by the adjacent side equals the opposite side, version subtracting vectors.
A side of a right-angled triangle divided by the cosine of the adjacent angle equals the hypotenuse, version subtracting vectors.
A side of a right-angled triangle divided by the sine of the opposite angle equals the hypotenuse, version subtracting vectors.
A side of a right-angled triangle divided by the tangent of the opposite angle equals the adjacent side, version subtracting vectors.
Pythagorean theorem, if-and-only-if angle-at-point form.
An angle in a right-angled triangle expressed using arccos
.
An angle in a right-angled triangle expressed using arcsin
.
An angle in a right-angled triangle expressed using arctan
.
An angle in a non-degenerate right-angled triangle is positive.
An angle in a right-angled triangle is at most π / 2
.
An angle in a non-degenerate right-angled triangle is less than π / 2
.
The cosine of an angle in a right-angled triangle as a ratio of sides.
The sine of an angle in a right-angled triangle as a ratio of sides.
The tangent of an angle in a right-angled triangle as a ratio of sides.
The cosine of an angle in a right-angled triangle multiplied by the hypotenuse equals the adjacent side.
The sine of an angle in a right-angled triangle multiplied by the hypotenuse equals the opposite side.
The tangent of an angle in a right-angled triangle multiplied by the adjacent side equals the opposite side.
A side of a right-angled triangle divided by the cosine of the adjacent angle equals the hypotenuse.
A side of a right-angled triangle divided by the sine of the opposite angle equals the hypotenuse.
A side of a right-angled triangle divided by the tangent of the opposite angle equals the adjacent side.