Sub topic 2
Parallelograms: Properties and Area
This chapter assumes you can work with fractions and square roots, solve simple linear equations, find the area of a triangle and a rectangle, and use the terms parallel, perpendicular, vertex, and diagonal.
Parallelograms
A parallelogram has two pairs of parallel sides. Opposite sides are equal, opposite angles are equal, and the diagonals bisect each other. Its area is base times height:
$$A = b \times h$$
The height is the perpendicular distance from the base to the opposite side. It is not the length of the slanted side.
Rectangles and Squares
A rectangle is a parallelogram with four right angles. Its area is length times width, and its perimeter is 2(l + w). A square is a rectangle with four equal sides.
Rectangle diagonals
A diagonal of a rectangle with sides l and w has length √(l² + w²), which follows from the Pythagorean theorem.
Rhombuses and the Diagonal Area Formula
A rhombus is a parallelogram with four equal sides. Its diagonals are perpendicular and bisect each other, so its area is half the product of the diagonals:
$$A = \frac{d1 \times d2}{2}$$
Trapezoids and the Average-of-Bases Area Formula
A trapezoid has at least one pair of parallel sides, called bases. Its area is the average of the bases times the height:
$$A = \frac{b1 + b2}{2} \times h$$
Diagonals: Lengths, Bisecting, and Perpendicularity
Every parallelogram's diagonals bisect each other. Rectangle diagonals are also equal in length. Rhombus diagonals are also perpendicular. Do not assume the diagonals of a general parallelogram are equal or perpendicular.
def parallelogram_area(base, height):
return base * height
def rhombus_area(d1, d2):
return d1 * d2 / 2
def trapezoid_area(base1, base2, height):
return (base1 + base2) / 2 * height
print(parallelogram_area(8, 5)) # 40
print(rhombus_area(6, 8)) # 24.0
print(trapezoid_area(6, 10, 4)) # 32.0Exercise
A rhombus has diagonals of length 10 and 24. What are its area and perimeter?
Show answer
Area = (10 × 24) / 2 = 120. Each half-diagonal is 5 and 12, so each side is √(5² + 12²) = 13. Perimeter = 4 × 13 = 52.