Antiparallelogram Calculator

Antiparallelogram Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

a2=b2+pq,h=b2−(p−q2)2,A=pqhp+qa^2 = b^2 + p q,\; h = \sqrt{b^2 - \left(\tfrac{p-q}{2}\right)^2},\; A = \frac{p q h}{p+q}
Usage stats

Advertisement

Results

Enclosed area
16.117909
Crossing side a9
Side b5
Diagonal p10
Diagonal q5.6
Gap h between the diagonals4.489989
Perimeter28
Area of each triangle8.058954
Angle at the crossing, facing side b 59.85287°
Angle at each end of diagonal p33.969684°
Angle at each end of diagonal q86.177446°

Report an error on this page

What an antiparallelogram is

An antiparallelogram is a self-crossing quadrilateral whose opposite sides are equal in pairs: two long sides \(a\) that cross each other and two short sides \(b\) that do not. Its four corners are the corners of an isosceles trapezoid whose legs are the sides \(b\) and whose diagonals are the sides \(a\); the trapezoid's two parallel sides \(p\) and \(q\) are the antiparallelogram's diagonals, and \(h\) is the gap between them. With \(a\) and \(b\) fixed the shape can still flex, so a third size is needed: this calculator takes \(a\), \(b\) and either diagonal \(p\) or the gap \(h\).

How to use it

  1. Choose in What do you know? the third size you have.
  2. Type \(a\), \(b\) and that size. Decimal commas and E-notation are accepted.
  3. Pick a length unit to label the results, and degrees or radians for the angles.

The enclosed area (the two triangles between the crossing sides and the sides \(b\)) is shown first; the table lists the sides, both diagonals, the gap, the perimeter, the area of each triangle and the angles. Sizes that cannot make an antiparallelogram are refused with the reason. The page rounds results for display. Each length must be from 0.000001 to 1,000,000,000 and each area from 0.000000000001 to 1,000,000,000,000,000,000; anything else is refused with that range.

Formulas

$$a^2 = b^2 + p\,q \qquad h = \sqrt{b^2 - \left(\frac{p-q}{2}\right)^2} \qquad A = \frac{p\,q\,h}{p+q} \qquad P = 2(a+b)$$

From the gap \(h\): with \(s = \sqrt{b^2 - h^2}\), \(p = s + \sqrt{s^2 + a^2 - b^2}\) and \(q = p - 2s\).

Derivation

An isosceles trapezoid is cyclic, so Ptolemy's theorem (product of the diagonals = sum of the products of opposite sides) gives \(a \cdot a = b \cdot b + p \cdot q\). Place the trapezoid with \(p\) on the x-axis centred at 0 and \(q\) at height \(h\); the legs then have horizontal run \((p-q)/2\), which gives \(h\). The crossing sides meet at the trapezoid's diagonal intersection, which divides the height in the ratio \(p : q\), at height \(y_0 = h\,p/(p+q)\). Each enclosed triangle is the triangle on a leg with that point as apex; its area is the trapezoid triangle on \(p\) minus the triangle under the crossing point:

$$\tfrac12\, p h - \tfrac12\, p\, y_0 = \frac{p\,q\,h}{2(p+q)}, \qquad A = 2 \cdot \frac{p\,q\,h}{2(p+q)} = \frac{p\,q\,h}{p+q}.$$

When \(p = q\) the trapezoid is a rectangle and the antiparallelogram is a crossed rectangle with area \(p\,b/2\).

Advertisement

Worked example

For the defaults \(a = 9\), \(b = 5\), \(p = 10\): \(q = (81 - 25)/10 = 5.6\), \(h = \sqrt{25 - 2.2^2} \approx 4.489989\), the enclosed area is about 16.117909, \(P = 28\), and the crossing sides meet at about 59.85287°.

A crossed quadrilateral with parallel sides of lengths 10 and 5.6, crossed sides of length 9, and height approximately 4.489989.
In the worked example, the parallel sides are 10 and 5.6, the crossed sides are 9, and the height is approximately 4.489989.

Questions

How accurate are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

Where are antiparallelograms used?

In linkages: four bars joined in this pattern keep their opposite sides equal while the shape flexes, so the same calculator describes every position of such a linkage.

Why must the crossing sides be the longer pair?

They are the diagonals of the isosceles trapezoid, and by Ptolemy \(a^2 = b^2 + pq > b^2\).

Advertisement

References

R. A. Johnson, Advanced Euclidean Geometry, Dover, 1960 (first published 1929 as Modern Geometry)

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018

Last updated:

Most popular in Geometry

View all Geometry calculators