Triangle Calculation
Triangle Calculation
Types of Triangles
1. **By sides:**
- **Equilateral triangle**: All three sides are of equal length, and each
internal angle is 60°.
- **Isosceles triangle**: Two sides are of equal length, and the angles
opposite these sides are also equal.
- **Scalene triangle**: All sides have different lengths, and all angles are
different.
2. **By angles:**
The Pythagorean theorem applies only to right triangles (triangles with a 90°
angle). It states that the square of the hypotenuse (the side opposite the
right angle) is equal to the sum of the squares of the other two sides. For a
triangle with sides \( a \), \( b \), and hypotenuse \( c \):
\[
\]
This theorem is used to find the length of any one side if the other two are
known.
Trigonometric ratios are especially useful in right triangles but also apply to
non-right triangles with the help of the Law of Sines and Law of Cosines.
For a right triangle with an angle \( \theta \):
- **Sine** (\( \sin \)) of \( \theta \): ratio of the opposite side to the hypotenuse.
\[
\sin(\theta) = \frac{\text{opposite}}{\text{hypotenuse}}
\]
- **Cosine** (\( \cos \)) of \( \theta \): ratio of the adjacent side to the
hypotenuse.
\[
\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}
\]
- **Tangent** (\( \tan \)) of \( \theta \): ratio of the opposite side to the adjacent
side.
\[
\tan(\theta) = \frac{\text{opposite}}{\text{adjacent}}
\]
The Law of Sines is used for any triangle and is particularly helpful when we
know:
\[
\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}
\]
where \( a \), \( b \), and \( c \) are the side lengths opposite angles \( A \), \(
B \), and \( C \), respectively.
\[
\]
This can be rearranged to solve for the angle if the side lengths are known.
\[
\]
This formula applies when the height (perpendicular distance from the
base to the opposite vertex) is known.
- **Using Heron’s formula** (for any triangle with known side lengths \( a \),
\( b \), and \( c \)):
\[
s = \frac{a + b + c}{2}
\]
\[
\]
If we know two sides and the angle between them, the area is given by:
\[
\[
\text{Perimeter} = a + b + c
\]
1. **Centroid**: The point where the three medians (segments from each
vertex to the midpoint of the opposite side) intersect. The centroid divides
each median into two segments, with the longer segment being twice the
length of the shorter one.