In projective geometry, a **dual curve** of a given plane curve C is a curve in the dual projective plane consisting of the set of lines tangent to C. There is a map from a curve to its dual, sending each point to the point dual to its tangent line. If C is algebraic then so is its dual and the degree of the dual is known as the *class* of the original curve. The equation of the dual of C, given in line coordinates, is known as the *tangential equation* of C. Duality is an involution: the dual of the dual of C is the original curve C.

The construction of the dual curve is the geometrical underpinning for the Legendre transformation in the context of Hamiltonian mechanics.^{[1]}

Let *f*(*x*, *y*, *z*) = 0 be the equation of a curve in homogeneous coordinates on the projective plane. Let *Xx* + *Yy* + *Zz* = 0 be the equation of a line, with (*X*, *Y*, *Z*) being designated its line coordinates in a dual projective plane. The condition that the line is tangent to the curve can be expressed in the form *F*(*X*, *Y*, *Z*) = 0 which is the tangential equation of the curve.

At a point (*p*, *q*, *r*) on the curve, the tangent is given by

So *Xx* + *Yy* + *Zz* = 0 is a tangent to the curve if

Eliminating p, q, r, and λ from these equations, along with *Xp* + *Yq* + *Zr* = 0, gives the equation in X, Y and Z of the dual curve.

For example, let C be the conic *ax*^{2} + *by*^{2} + *cz*^{2} = 0. The dual is found by eliminating p, q, r, and λ from the equations

The first three equations are easily solved for p, q, r, and substituting in the last equation produces

Clearing 2*λ* from the denominators, the equation of the dual is

Consider a parametrically defined curve in projective coordinates . Its projective tangent line is a linear plane spanned by the point of tangency and the tangent vector, with linear equation coefficients given by the cross product:

which in affine coordinates is:

The dual of an inflection point will give a cusp and two points sharing the same tangent line will give a self-intersection point on the dual.

From the projective description, one may compute the dual of the dual:

which is projectively equivalent to the original curve .

Properties of the original curve correspond to dual properties on the dual curve. In the Introduction image, the red curve has three singularities – a node in the center, and two cusps at the lower right and lower left. The black curve has no singularities but has four distinguished points: the two top-most points correspond to the node (double point), as they both have the same tangent line, hence map to the same point in the dual curve, while the two inflection points correspond to the cusps, since the tangent lines first go one way then the other (slope increasing, then decreasing).

By contrast, on a smooth, convex curve the angle of the tangent line changes monotonically, and the resulting dual curve is also smooth and convex.

Further, both curves above have a reflectional symmetry: projective duality preserves symmetries a projective space, so dual curves have the same symmetry group. In this case both symmetries are realized as a left-right reflection; this is an artifact of how the space and the dual space have been identified – in general these are symmetries of different spaces.

If X is a plane algebraic curve, then the degree of the dual is the number of points in the intersection with a line in the dual plane. Since a line in the dual plane corresponds to a point in the plane, the degree of the dual is the number of tangents to the X that can be drawn through a given point. The points where these tangents touch the curve are the points of intersection between the curve and the polar curve with respect to the given point. If the degree of the curve is d then the degree of the polar is *d* − 1 and so the number of tangents that can be drawn through the given point is at most *d*(*d* − 1).

The dual of a line (a curve of degree 1) is an exception to this and is taken to be a point in the dual space (namely the original line). The dual of a single point is taken to be the collection of lines though the point; this forms a line in the dual space which corresponds to the original point.

If X is smooth (no singular points) then the dual of X has maximum degree *d*(*d* − 1). This implies the dual of a conic is also a conic. Geometrically, the map from a conic to its dual is one-to-one (since no line is tangent to two points of a conic, as that requires degree 4), and the tangent line varies smoothly (as the curve is convex, so the slope of the tangent line changes monotonically: cusps in the dual require an inflection point in the original curve, which requires degree 3).

For curves with singular points, these points will also lie on the intersection of the curve and its polar and this reduces the number of possible tangent lines. The Plücker formulas give the degree of the dual in terms of *d* and the number and types of singular points of X.

The dual can be visualized as a locus in the plane in the form of the *polar reciprocal*. This is defined with reference to a fixed conic Q as the locus of the poles of the tangent lines of the curve C.^{[2]} The conic Q is nearly always taken to be a circle, so the polar reciprocal is the inverse of the pedal of C.

Similarly, generalizing to higher dimensions, given a hypersurface, the tangent space at each point gives a family of hyperplanes, and thus defines a dual hypersurface in the dual space. For any closed subvariety X in a projective space, the set of all hyperplanes tangent to some point of X is a closed subvariety of the dual of the projective space, called the **dual variety** of X.

**Examples**

- If X is a hypersurface defined by a homogeneous polynomial
*F*(*x*_{0}, ...,*x*), then the dual variety of X is the image of X by the gradient map_{n}

- which lands in the dual projective space.

- The dual variety of a point (
*a*_{0}: ... :*a*) is the hyperplane_{n}

Main articles: Dual polygon and Convex conjugate |

The dual curve construction works even if the curve is piecewise linear or piecewise differentiable, but the resulting map is degenerate (if there are linear components) or ill-defined (if there are singular points).

In the case of a polygon, all points on each edge share the same tangent line, and thus map to the same vertex of the dual, while the tangent line of a vertex is ill-defined, and can be interpreted as all the lines passing through it with angle between the two edges. This accords both with projective duality (lines map to points, and points to lines), and with the limit of smooth curves with no linear component: as a curve flattens to an edge, its tangent lines map to closer and closer points; as a curve sharpens to a vertex, its tangent lines spread further apart.

More generally, any convex polyhedron or cone has a polyhedral dual, and any convex set *X* with boundary hypersurface *H* has a convex conjugate *X** whose boundary is the dual variety *H**.