This page has several different sage interacts designed to investigate a model for the space of convex quadrilaterals, as defined in this paper. or this revision.
A quadrilateral $ABCD$ is in the model if
In each interact, you can set the parameters $t_1, t_2, t_3, t_4$ to desired values and press the Update button to display the corresponding polygon. Note that the polygon is black if it is in the model, otherwise it is red. To see the quadrilateral's classification, check the box for that. To see the quadrisections, check the box for that.
In order to begin, you first must click the top button to load the procedures needed. If things get messed up, you can always begin over by refreshing your browser and clicking the top button again.
An interact to find the placement of any quadrilateral in the model.Put in the vertices of a quadrilateral (or a set of 4 parameters in (0,1]) and press Start to see its representative in the space of quadrilaterals. Note there are 1, 2, 4 or 8 placements of which only one, the black one, is in the model $\mathbb{Q}$. The parameters for each placement are shown on the placement. | |||
A sagelet to investigate quadrisections of convex quadrilateralsUse one of 2 different methods of specifying the quadrilateral. If method = t, then use the standard model parameters [$t_1, t_2, t_3, t_4$]. If method = ABCD, then enter the vertices of the quadrilateral in counterclockwise order [A,B,C,D]. | |||
Experiment with the parameters $t_1,t_2,t_3,t_4$ in T, parameters $\angle BXA$, and lengths MX, XB, XD in R, or parameters B=(x,y), D=(z,w) in xyzw. | |||
Here you can experiment with the t parameters by sliding the values and pressing Update. Note that when all values are in $(0,1)$, the quadrilateral is black. | |||
In this interact, put in values $[t_1,t_2,t_3,t_4]$ for the parameters to see what quadrilateral you get. You can also classify it, and get its quadrisections. | |||
Cyclic, Tangential, or Extangential Quadrilaterals | |||
Cyclic Quadrilaterals are characterized by $t_1=1-\sqrt{1-4 t_3^2 t_4 (1-t_4)}$. Here is a sagelet to play with the parameters. | |||
| |||
Tangential and extangential quadrilaterals are best described by specifying 3 angles: $\alpha,\beta,\gamma$.If $\alpha+\beta+\gamma \gt 180$ then we get a tangential quadrilateral and if $\alpha+\beta+\gamma \lt 180$, we get an extangential quadrilateral. If the quadrilateral is red, it is not in the model. | |||
Circumscribing Ellipses
It turns out that every quadrilateral has lots of circumscribing ellipses.
In particular, To see this let $ABCD$ be a quadrilateral labelled counterclockwise so that $AC$ is a major diagonal. Set up a coordinate system with $A=(1,0)$, $B=(x_1,y_1)$, $C=(-1,0)$, $D=(z_1,w_1)$. The equation for an ellipse with an axis parallel to $AC$ can be written $\displaystyle\frac{x^2}{a^2}+\frac{(y-k)^2}{b^2}=1$. Plug the vertices into the equation and solve for $a,b,k$ to get $$k=\frac{2(w_1 x_1^2 - y_1z_1^2 - w_1 + y_1)}{w_1^2x_1^2 - y_1^2z_1^2 - w_1^2 + y_1^2}$$ $$a=\frac{ 4(w_1x_1^2 - y_1z_1^2 - w_1 + y_1)(w_1 - y_1)w_1y_1}{(w_1x_1 + y_1z_1 + w_1 - y_1)(w_1x_1 + y_1z_1 - w_1 + y_1)(w_1x_1 - y_1z_1 + w_1 - y_1)(w_1x_1 - y_1z_1 - w_1 + y_1)}$$ $$b=\frac{ 4(w_1x_1^2 - y_1z_1^2 - w_1 + y_1)^2}{(w_1x_1 + y_1z_1 + w_1 - y_1)(w_1x_1 + y_1z_1 - w_1 + y_1)(w_1x_1 - y_1z_1 + w_1 - y_1)(w_1x_1 - y_1z_1 - w_1 + y_1))}$$ Then substitute these values back into the equation and simplify to get $$(w_1^2y_1 - w_1y_1^2)x^2 + (w_1x_1^2 - y_1z_1^2 - w_1 + y_1)y^2 - (w_1^2x_1^2 - y_1^2z_1^2 - w_1^2 + y_1^2)y - w_1^2y_1 + w_1y_1^2=0 $$ Here's a sagelet to see this for quadrilaterals in the model. | |||
Simple nonconvex quadrilateralsHere you can explore the simple non convex quadrilaterals (the sides form a simple closed curve but the interior is not convex) with the parameters by sliding the values and pressing Update. These occur when $t_1$ is negative. They also occur when $t_1$ is positive and $t_4$ is negative, however those are duplicates. |