How this calculation works
Map a homogeneous point to its conic polar line or a line to its pole using exact rational matrix arithmetic.
pᵀAp=0; polar(p)=Ap; pole(l)=A⁻¹l; qᵀAp=pᵀAq.A worked example
For the unit circle conic diag(1,1,−1), point (2,0,1) maps to line (2,0,−1), meaning 2x−1=0 in the affine chart.
Good to know
Nonsingular symmetric rational 3×3 conic matrix and nonzero rational homogeneous triple. Point and line modes; exact matrix inverse and inverse-map verification. Coordinates are projective up to nonzero scale. Singular conics rejected; no affine normalization or real tangent-pair guarantee for arbitrary poles.
Reference: Mathematical method reference (opens in a new tab) ↗
Use projective points and lines consistently
A conic in the projective plane is represented by a symmetric three-by-three matrix A through the equation p transpose A p equal to zero. A nonzero homogeneous triple represents a point, while a nonzero line triple represents the coefficients of a linear incidence equation. The selected mode determines which kind of object is supplied.
For a nonsingular conic, multiplying a point by A gives its polar line, and multiplying a line by the inverse matrix gives its pole. This correspondence uses exact rational arithmetic on this page. It does not require choosing an affine chart or normalizing the final homogeneous coordinate to one.
Compare this with the Projective conic transformation calculator under a homography. Map a projective point to its polar line or a line to its pole under a nonsingular conic;coordinate-transforming a conic does not perform this duality task.
Enter rational matrix and homogeneous data
Supply three matrix rows with three rational entries each, then one comma-separated nonzero triple and either point or line mode. Fractions can retain exactness for data such as one third. The matrix must be symmetric and nonsingular; singular conics do not define the invertible polarity used by this interface.
A homogeneous triple is unchanged as a geometric object when multiplied by any nonzero scalar. Consequently, a returned line such as (2,0,−1) is equivalent to (−2,0,1). A final coordinate of zero is permitted and may describe a point at infinity, so automatic division by that coordinate would be inappropriate.
Check the unit circle polar example
The default matrix is diagonal with entries one, one and minus one, representing x squared plus y squared minus z squared equal to zero. In the affine chart z equals one, this is the unit circle. Multiplying the default point (2,0,1) by the matrix gives polar coefficients (2,0,−1).
The affine polar equation is therefore two x minus one equal to zero, a vertical line at x equal to one half. The input point is outside the circle and is not on its own polar. The returned self-incidence value is three, which is nonzero and agrees with evaluating the conic quadratic form at that point.
Relate polarity to tangency
When a supplied point lies on the conic, its polar is the tangent line at that point. For a general point away from the conic, the polar still exists as a projective line, but it is not a tangent at the supplied point because that point is not on the curve.
For a real point outside a real circle, the two tangent-contact points lie on its polar, giving a familiar geometric interpretation. Other conics or point positions may have no real tangent-contact pair. The algebraic polarity remains defined by a nonsingular matrix without promising a real construction involving two tangent lines in every case.
Verify inverse maps exactly
The calculator constructs the rational inverse of the conic matrix, maps the input according to its mode and maps the result back. That recovered triple is checked against the original exact entries. A successful inverseVerified field therefore records an exact arithmetic identity rather than a small floating-point residual.
In point mode, the incidence field is the point dotted with its polar and equals the conic quadratic form. In line mode, it is the line dotted with its pole and equals the corresponding dual quadratic form. Zero has a special tangency interpretation in each mode, while a nonzero value is not an arithmetic failure.
Read reciprocity and scale correctly
Symmetry of the conic matrix gives reciprocity: one point lies on another point’s polar exactly when the reverse incidence holds. Both statements reduce to the same scalar bilinear expression. This property explains why the point-line correspondence is a polarity rather than an arbitrary unrelated mapping between triples.
The numeric incidence value depends on the chosen homogeneous scaling, even though whether it vanishes does not. Do not compare its magnitude as a Euclidean distance or angle. Likewise, line coefficients describe an equation, not a normal vector with unit length unless a separate normalization has been explicitly performed.
Distinguish exact algebra from geometric drawing
The returned rational coordinates can be checked by direct matrix multiplication, making the calculator useful for symbolic projective examples. Large fractions can arise from inversion even when the input looks simple. That growth is an arithmetic consequence of the exact model, not evidence that an affine coordinate must be rounded or omitted.
No perspective rendering or conic sketch is required for the algebraic result. To draw a returned line in an affine chart, substitute a chosen nonzero homogeneous coordinate and interpret the remaining linear equation. Keep points at infinity and scale-equivalent triples intact when transferring the output into another projective geometry calculation.
A few questions, answered
Are coordinates affine or homogeneous?
Both input and output are homogeneous triples;nonzero common scaling leaves the projective object unchanged.
How does point mode work?
It maps a point vector by the symmetric conic matrix A to its polar line.
How does line mode work?
It maps a line vector by the inverse conic matrix to its pole.
Can a singular conic be used?
No. The inverse polarity requires a nonsingular conic.