Teaching Kids Programming – Butterfly Theorem in Quadrilateral (Geometry)


Teaching Kids Programming: Videos on Data Structures and Algorithms

Convex and Concave Quadrilateral

A quadrilateral is a polygon with four sides and four vertices. The distinction between concave and convex quadrilaterals lies in the arrangement of their angles and vertices:

Convex Quadrilateral

Definition: A quadrilateral is convex if all its interior angles are less than 180 degree, and no line segment between two vertices lies outside the shape.

    A-------B
   /         \
  D-----------C

Key Properties:
All vertices point outward.
The diagonals lie entirely inside the quadrilateral.

If you pick any two points within the quadrilateral, the line segment connecting them will always lie inside the quadrilateral.
Example: Squares, rectangles, parallelograms, and rhombuses are all convex quadrilaterals.

Concave Quadrilateral

Definition: A quadrilateral is concave if at least one interior angle is greater than 180 degree , causing the shape to “cave in.”

    A    D___E
   / \___/   \
  D-----------C

Key Properties:
At least one vertex points inward.
At least one diagonal lies partly or entirely outside the quadrilateral.

If you pick certain pairs of points within the quadrilateral, the line segment connecting them may pass outside the shape.
Example: A Dart, Arrowhead-shaped quadrilaterals and certain irregular shapes can be concave.

Butterfly Theorem in Quadrilateral (Geometry)

Given a convex Quadrilateral ABCD where the diagonals intersect at E, see below

     A-------B
     |\  S1 /|
     | \   / |
     |  \ /  |
     |S2 E S4|
     |  / \  |
     | /   \ |
     |/ S3  \|
     D-------C

We have:
tex_49e161fdb0d43f332f470ea46d55983e Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)
tex_944ecec11417008fb99f3082337681e8 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)
where tex_8aa304c462956f1cf35537b6de9fdb97 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) is the height from A to BD perpendicular.
Thus,
tex_0e6e2e1ef20de8757a33c09a03746515 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry).

Similarly,
For tex_719d3f4e759d36bc75b2a5dfd90d76a3 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_9e0ea658bb7f41b565bb705882e6a467 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry),
tex_3f393c3afa7927202934cd8a2de70b09 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)
tex_6849931791080306fee5bb1f0cafedf7 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

where tex_eda0a50355b5dceb9f2f7b7c6c377eb2 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) is the height from C to BD (perpendicular).
Thus,

tex_f1ba116b09860a6eb3b1d7b615dac1bb Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry).

From the above relationships, it follows that:

tex_cb196fdaabbcd6750e8746099e5980d8 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry).

So, we have: tex_5a4e33fa45c48c8aa7ee3869aed51430 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

The Butterfly Theorem states that when diagonals of a convex quadrilateral intersect at a point E, the ratios of the areas of triangles formed by the diagonals and opposite sides are equal.

Proof Continuation

Now consider the sum of the areas of triangles tex_97f7b47b146085ad64e1605f5ef62e45 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_f665d397518b631df8b2ba0e8d6dc745 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry):

tex_6ebcf720be3e8cfc1659f362d2899fe9 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

and the sum of tex_46160c0f81358526087e6936a1c53335 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_d18be67111d78bb23f6002ad0091c1c5 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry):

tex_de474c22287d434d3e6b1e5455255867 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

Dividing tex_452aadb698a3ba4e496bef9c4cb5150e Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) by tex_e83a07c6781c94677566c421f81a376b Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry), we get:

tex_59b04f17bcc12b9ea57ac0484921fae8 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

Simplifying, the terms tex_150f3e7875580f7c17d6eb22aa9c8dc1 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_1b22bf9c8e0a5520a02cf9e7b1039abd Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) cancel out, leaving:

tex_f0db1098027525e0c46580e6e0992bee Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

The sum of the areas tex_97f7b47b146085ad64e1605f5ef62e45 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_f665d397518b631df8b2ba0e8d6dc745 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) over tex_46160c0f81358526087e6936a1c53335 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_d18be67111d78bb23f6002ad0091c1c5 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) is equal to the ratio of the lengths of the segments tex_cf76776446b2de32a697b2fa3c5471f5 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) and tex_bcd5773a9daf2488e4b5613bb0fa29a2 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry):

tex_f0db1098027525e0c46580e6e0992bee Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

Thus, the Butterfly Theorem is verified, showing that the area and segment ratios align perfectly within the geometry of the intersecting diagonals.

Similarly, we would have: tex_8f3003ae663e165418463566a9bf9b83 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

Special Case: Trapezoid

A Trapezoid is a special case of Quadrilateral where two sides are parallel e.g. AB // DC.

We can easily get that the wings are equal:

tex_0a6301b89de5e30941b2ed8ffe7c0f95 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry)

Because, tex_36e3f30bad42b58797d72fb360fb7127 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry) For triangle tex_9f233d513a97ec26e3e69c95421d5bb0 Teaching Kids Programming - Butterfly Theorem in Quadrilateral (Geometry), same base, same height.

–EOF (The Ultimate Computing & Technology Blog) —

1844 words
Last Post: Introduction to Impermanent Loss
Next Post: Why I like to Blog on Steemit

The Permanent URL is: Teaching Kids Programming – Butterfly Theorem in Quadrilateral (Geometry) (AMP Version)

Leave a Reply