# Circumconic and inconic

In Euclidean geometry, a circumconic is a conic section that passes through the three vertices of a triangle, and an inconic is a conic section inscribed in the sides, possibly extended, of a triangle.
Suppose A, B, C are distinct non-collinear points, and let △ABC denote the triangle whose vertices are A, B, C. Following common practice, A denotes not only the vertex but also the angle ∠BAC at vertex A, and similarly for B and C as angles in △ABC. Let $a=|BC|,b=|CA|,c=|AB|,$ the sidelengths of △ABC.
In trilinear coordinates, the general circumconic is the locus of a variable point $X=x:y:z$ satisfying an equation
    $uyz+vzx+wxy=0,$
for some point u : v : w. The isogonal conjugate of each point X on the circumconic, other than A, B, C, is a point on the line
    $ux+vy+wz=0.$
This line meets the circumcircle of △ABC in 0,1, or 2 points according as the circumconic is an ellipse, parabola, or hyperbola.
The general inconic is tangent to the three sidelines of △ABC and is given by the equation
    $u^{2}x^{2}+v^{2}y^{2}+w^{2}z^{2}-2vwyz-2wuzx-2uvxy=0.$

## Centers and tangent lines
### Circumconic

The center of the general circumconic is the point
    $u(-au+bv+cw):v(au-bv+cw):w(au+bv-cw).$
The lines tangent to the general circumconic at the vertices A, B, C are, respectively,
    ${\begin{aligned}wv+vz&=0,\\uz+wx&=0,\\vx+uy&=0.\end{aligned}}$

### Inconic

The center of the general inconic is the point
    $cv+bw:aw+cu:bu+av.$
The lines tangent to the general inconic are the sidelines of △ABC, given by the equations x = 0, y = 0, z = 0.

## Other features
### Circumconic

* Each noncircular circumconic meets the circumcircle of △ABC in a point other than A, B, C, often called the fourth point of intersection, given by trilinear coordinates
       $(cx-az)(ay-bx):(ay-bx)(bz-cy):(bz-cy)(cx-az)$
* If $P=p:q:r$ is a point on the general circumconic, then the line tangent to the conic at P is given by
       $(vr+wq)x+(wp+ur)y+(uq+vp)z=0.$
* The general circumconic reduces to a parabola if and only if
       $u^{2}a^{2}+v^{2}b^{2}+w^{2}c^{2}-2vwbc-2wuca-2uvab=0,$
    and to a rectangular hyperbola if and only if
       $u\cos A+v\cos B+w\cos C=0.$
* Of all triangles inscribed in a given ellipse, the centroid of the one with greatest area coincides with the center of the ellipse.$^{:p.147}$ The given ellipse, going through this triangle's three vertices and centered at the triangle's centroid, is called the triangle's Steiner circumellipse.

### Inconic

* The general inconic reduces to a parabola if and only if
       $ubc+vca+wab=0,$
    in which case it is tangent externally to one of the sides of the triangle and is tangent to the extensions of the other two sides.
* Suppose that ⁠$p_{1}:q_{1}:r_{1}$⁠ and ⁠$p_{2}:q_{2}:r_{2}$⁠ are distinct points, and let
       $X=(p_{1}+p_{2}t):(q_{1}+q_{2}t):(r_{1}+r_{2}t).$
    As the parameter t ranges through the real numbers, the locus of X is a line. Define
       $X^{2}=(p_{1}+p_{2}t)^{2}:(q_{1}+q_{2}t)^{2}:(r_{1}+r_{2}t)^{2}.$
    The locus of X$^2$ is the inconic, necessarily an ellipse, given by the equation
       $L^{4}x^{2}+M^{4}y^{2}+N^{4}z^{2}-2M^{2}N^{2}yz-2N^{2}L^{2}zx-2L^{2}M^{2}xy=0,$
    where
       ${\begin{aligned}L&=q_{1}r_{2}-r_{1}q_{2},\\M&=r_{1}p_{2}-p_{1}r_{2},\\N&=p_{1}q_{2}-q_{1}p_{2}.\end{aligned}}$
* A point in the interior of a triangle is the center of an inellipse of the triangle if and only if the point lies in the interior of the triangle whose vertices lie at the midpoints of the original triangle's sides.$^{:p.139}$ For a given point inside that medial triangle, the inellipse with its center at that point is unique.$^{:p.142}$
* The inellipse with the largest area is the Steiner inellipse, also called the midpoint inellipse, with its center at the triangle's centroid.$^{:p.145}$ In general, the ratio of the inellipse's area to the triangle's area, in terms of the unit-sum barycentric coordinates (α, β, γ) of the inellipse's center, is$^{:p.143}$
       ${\frac {\text{Area of inellipse}}{\text{Area of triangle}}}=\pi {\sqrt {(1-2\alpha )(1-2\beta )(1-2\gamma )}},$
    which is maximized by the centroid's barycentric coordinates α = β = γ = ⅓.
* The lines connecting the tangency points of any inellipse of a triangle with the opposite vertices of the triangle are concurrent.$^{:p.148}$

## Extension to quadrilaterals

All the centers of inellipses of a given quadrilateral fall on the line segment connecting the midpoints of the diagonals of the quadrilateral.$^{:p.136}$

## Examples

* Circumconics
** Circumcircle, the unique circle that passes through a triangle's three vertices
** Steiner circumellipse, the unique ellipse that passes through a triangle's three vertices and is centered at the triangle's centroid
** Kiepert hyperbola, the unique conic which passes through a triangle's three vertices, its centroid, and its orthocenter
** Jeřábek hyperbola, a rectangular hyperbola centered on a triangle's nine-point circle and passing through the triangle's three vertices as well as its circumcenter, orthocenter, and various other notable centers
** Feuerbach hyperbola, a rectangular hyperbola that passes through a triangle's orthocenter, Nagel point, and various other notable points, and has center on the nine-point circle.
* Inconics
** Incircle, the unique circle that is internally tangent to a triangle's three sides
** Steiner inellipse, the unique ellipse that is tangent to a triangle's three sides at their midpoints
** Mandart inellipse, the unique ellipse tangent to a triangle's sides at the contact points of its excircles
** Kiepert parabola
** Yff parabola