In geometry, an envelope of a planar family of curves is a curve that is tangent to each member of the family at some point, and these points of tangency together form the whole envelope. Classically, a point on the envelope can be thought of as the intersection of two "infinitesimally adjacent" curves, meaning the limit of intersections of nearby curves. This idea can be generalized to an envelope of surfaces in space, and so on to higher dimensions.
To have an envelope, it is necessary that the individual members of the family of curves are differentiable curves as the concept of tangency does not apply otherwise, and there has to be a smooth transition proceeding through the members. But these conditions are not sufficient – a given family may fail to have an envelope. A simple example of this is given by a family of concentric circles of expanding radius.
Let each curve C_{t} in the family be given as the solution of an equation f_{t}(x, y)=0 (see implicit curve), where t is a parameter. Write F(t, x, y)=f_{t}(x, y) and assume F is differentiable.
The envelope of the family C_{t} is then defined as the set of points (x,y) for which, simultaneously,
for some value of t, where is the partial derivative of F with respect to t.^{[1]}
If t and u, t≠u are two values of the parameter then the intersection of the curves C_{t} and C_{u} is given by
or, equivalently,
Letting u → t gives the definition above.
An important special case is when F(t, x, y) is a polynomial in t. This includes, by clearing denominators, the case where F(t, x, y) is a rational function in t. In this case, the definition amounts to t being a double root of F(t, x, y), so the equation of the envelope can be found by setting the discriminant of F to 0 (because the definition demands F=0 at some t and first derivative =0 i.e. its value 0 and it is min/max at that t).
For example, let C_{t} be the line whose x and y intercepts are t and 11−t, this is shown in the animation above. The equation of C_{t} is
or, clearing fractions,
The equation of the envelope is then
Often when F is not a rational function of the parameter it may be reduced to this case by an appropriate substitution. For example, if the family is given by C_{θ} with an equation of the form u(x, y)cos θ+v(x, y)sin θ=w(x, y), then putting t=e^{iθ}, cos θ=(t+1/t)/2, sin θ=(t1/t)/2i changes the equation of the curve to
or
The equation of the envelope is then given by setting the discriminant to 0:
or
Then , and , where is the set of points defined at the beginning of this subsection's parent section.
These definitions E_{1}, E_{2}, and E_{3} of the envelope may be different sets. Consider for instance the curve y = x^{3} parametrised by γ : R → R^{2} where γ(t) = (t,t^{3}). The oneparameter family of curves will be given by the tangent lines to γ.
First we calculate the discriminant . The generating function is
Calculating the partial derivative F_{t} = 6t(x – t). It follows that either x = t or t = 0. First assume that x = t and t ≠ 0. Substituting into F: and so, assuming that t ≠ 0, it follows that F = F_{t} = 0 if and only if (x,y) = (t,t^{3}). Next, assuming that t = 0 and substituting into F gives F(0,(x,y)) = −y. So, assuming t = 0, it follows that F = F_{t} = 0 if and only if y = 0. Thus the discriminant is the original curve and its tangent line at γ(0):
Next we calculate E_{1}. One curve is given by F(t,(x,y)) = 0 and a nearby curve is given by F(t + ε,(x,y)) where ε is some very small number. The intersection point comes from looking at the limit of F(t,(x,y)) = F(t + ε,(x,y)) as ε tends to zero. Notice that F(t,(x,y)) = F(t + ε,(x,y)) if and only if
If t ≠ 0 then L has only a single factor of ε. Assuming that t ≠ 0 then the intersection is given by
Since t ≠ 0 it follows that x = t. The y value is calculated by knowing that this point must lie on a tangent line to the original curve γ: that F(t,(x,y)) = 0. Substituting and solving gives y = t^{3}. When t = 0, L is divisible by ε^{2}. Assuming that t = 0 then the intersection is given by
It follows that x = 0, and knowing that F(t,(x,y)) = 0 gives y = 0. It follows that
Next we calculate E_{2}. The curve itself is the curve that is tangent to all of its own tangent lines. It follows that
Finally we calculate E_{3}. Every point in the plane has at least one tangent line to γ passing through it, and so region filled by the tangent lines is the whole plane. The boundary E_{3} is therefore the empty set. Indeed, consider a point in the plane, say (x_{0},y_{0}). This point lies on a tangent line if and only if there exists a t such that
This is a cubic in t and as such has at least one real solution. It follows that at least one tangent line to γ must pass through any given point in the plane. If y > x^{3} and y > 0 then each point (x,y) has exactly one tangent line to γ passing through it. The same is true if y < x^{3} y < 0. If y < x^{3} and y > 0 then each point (x,y) has exactly three distinct tangent lines to γ passing through it. The same is true if y > x^{3} and y < 0. If y = x^{3} and y ≠ 0 then each point (x,y) has exactly two tangent lines to γ passing through it (this corresponds to the cubic having one ordinary root and one repeated root). The same is true if y ≠ x^{3} and y = 0. If y = x^{3} and x = 0, i.e., x = y = 0, then this point has a single tangent line to γ passing through it (this corresponds to the cubic having one real root of multiplicity 3). It follows that
In string art it is common to crossconnect two lines of equally spaced pins. What curve is formed?
For simplicity, set the pins on the x and yaxes; a nonorthogonal layout is a rotation and scaling away. A general straightline thread connects the two points (0, k−t) and (t, 0), where k is an arbitrary scaling constant, and the family of lines is generated by varying the parameter t. From simple geometry, the equation of this straight line is y = −(k − t)x/t + k − t. Rearranging and casting in the form F(x,y,t) = 0 gives:

(1) 
Now differentiate F(x,y,t) with respect to t and set the result equal to zero, to get

(2) 
These two equations jointly define the equation of the envelope. From (2) we have:
Substituting this value of t into (1) and simplifying gives an equation for the envelope:

(3) 
Or, rearranging into a more elegant form that shows the symmetry between x and y:

(4) 
We can take a rotation of the axes where the b axis is the line y=x oriented northeast and the a axis is the line y=−x oriented southeast. These new axes are related to the original xy axes by x=(b+a)/√2 and y=(b−a)/√2 . We obtain, after substitution into (4) and expansion and simplification,

(5) 
which is apparently the equation for a parabola with axis along a=0, or y=x.
Let I ⊂ R be an open interval and let γ : I → R^{2} be a smooth plane curve parametrised by arc length. Consider the oneparameter family of normal lines to γ(I). A line is normal to γ at γ(t) if it passes through γ(t) and is perpendicular to the tangent vector to γ at γ(t). Let T denote the unit tangent vector to γ and let N denote the unit normal vector. Using a dot to denote the dot product, the generating family for the oneparameter family of normal lines is given by F : I × R^{2} → R where
Clearly (x − γ)·T = 0 if and only if x − γ is perpendicular to T, or equivalently, if and only if x − γ is parallel to N, or equivalently, if and only if x = γ + λN for some λ ∈ R. It follows that
is exactly the normal line to γ at γ(t_{0}). To find the discriminant of F we need to compute its partial derivative with respect to t:
where κ is the plane curve curvature of γ. It has been seen that F = 0 if and only if x  γ = λN for some λ ∈ R. Assuming that F = 0 gives
Assuming that κ ≠ 0 it follows that λ = 1/κ and so
This is exactly the evolute of the curve γ.
The following example shows that in some cases the envelope of a family of curves may be seen as the topologic boundary of a union of sets, whose boundaries are the curves of the envelope. For and consider the (open) right triangle in a Cartesian plane with vertices , and
Fix an exponent , and consider the union of all the triangles subjected to the constraint , that is the open set
To write a Cartesian representation for , start with any , satisfying and any . The Hölder inequality in with respect to the conjugated exponents and gives:
with equality if and only if . In terms of a union of sets the latter inequality reads: the point belongs to the set , that is, it belongs to some with , if and only if it satisfies
Moreover, the boundary in of the set is the envelope of the corresponding family of line segments
(that is, the hypotenuses of the triangles), and has Cartesian equation
Notice that, in particular, the value gives the arc of parabola of the Example 2, and the value (meaning that all hypotenuses are unit length segments) gives the astroid.
We consider the following example of envelope in motion. Suppose at initial height 0, one casts a projectile into the air with constant initial velocity v but different elevation angles θ. Let x be the horizontal axis in the motion surface, and let y denote the vertical axis. Then the motion gives the following differential dynamical system:
which satisfies four initial conditions:
Here t denotes motion time, θ is elevation angle, g denotes gravitational acceleration, and v is the constant initial speed (not velocity). The solution of the above system can take an implicit form:
To find its envelope equation, one may compute the desired derivative:
By eliminating θ, one may reach the following envelope equation:
A oneparameter family of surfaces in threedimensional Euclidean space is given by a set of equations
depending on a real parameter a.^{[2]} For example, the tangent planes to a surface along a curve in the surface form such a family.
Two surfaces corresponding to different values a and a' intersect in a common curve defined by
In the limit as a' approaches a, this curve tends to a curve contained in the surface at a
This curve is called the characteristic of the family at a. As a varies the locus of these characteristic curves defines a surface called the envelope of the family of surfaces.
The envelope of a family of surfaces is tangent to each surface in the family along the characteristic curve in that surface.
The idea of an envelope of a family of smooth submanifolds follows naturally. In general, if we have a family of submanifolds with codimension c then we need to have at least a cparameter family of such submanifolds. For example: a oneparameter family of curves in threespace (c = 2) does not, generically, have an envelope.
Envelopes are connected to the study of ordinary differential equations (ODEs), and in particular singular solutions of ODEs.^{[3]} Consider, for example, the oneparameter family of tangent lines to the parabola y = x^{2}. These are given by the generating family F(t,(x,y)) = t^{2} – 2tx + y. The zero level set F(t_{0},(x,y)) = 0 gives the equation of the tangent line to the parabola at the point (t_{0},t_{0}^{2}). The equation t^{2} – 2tx + y = 0 can always be solved for y as a function of x and so, consider
Substituting
gives the ODE
Not surprisingly y = 2tx − t^{2} are all solutions to this ODE. However, the envelope of this oneparameter family of lines, which is the parabola y = x^{2}, is also a solution to this ODE. Another famous example is Clairaut's equation.
Envelopes can be used to construct more complicated solutions of first order partial differential equations (PDEs) from simpler ones.^{[4]} Let F(x,u,Du) = 0 be a first order PDE, where x is a variable with values in an open set Ω ⊂ R^{n}, u is an unknown realvalued function, Du is the gradient of u, and F is a continuously differentiable function that is regular in Du. Suppose that u(x;a) is an mparameter family of solutions: that is, for each fixed a ∈ A ⊂ R^{m}, u(x;a) is a solution of the differential equation. A new solution of the differential equation can be constructed by first solving (if possible)
for a = φ(x) as a function of x. The envelope of the family of functions {u(·,a)}_{a∈A} is defined by
and also solves the differential equation (provided that it exists as a continuously differentiable function).
Geometrically, the graph of v(x) is everywhere tangent to the graph of some member of the family u(x;a). Since the differential equation is first order, it only puts a condition on the tangent plane to the graph, so that any function everywhere tangent to a solution must also be a solution. The same idea underlies the solution of a first order equation as an integral of the Monge cone.^{[5]} The Monge cone is a cone field in the R^{n+1} of the (x,u) variables cut out by the envelope of the tangent spaces to the first order PDE at each point. A solution of the PDE is then an envelope of the cone field.
In Riemannian geometry, if a smooth family of geodesics through a point P in a Riemannian manifold has an envelope, then P has a conjugate point where any geodesic of the family intersects the envelope. The same is true more generally in the calculus of variations: if a family of extremals to a functional through a given point P has an envelope, then a point where an extremal intersects the envelope is a conjugate point to P.
In geometrical optics, a caustic is the envelope of a family of light rays. In this picture there is an arc of a circle. The light rays (shown in blue) are coming from a source at infinity, and so arrive parallel. When they hit the circular arc the light rays are scattered in different directions according to the law of reflection. When a light ray hits the arc at a point the light will be reflected as though it had been reflected by the arc's tangent line at that point. The reflected light rays give a oneparameter family of lines in the plane. The envelope of these lines is the reflective caustic. A reflective caustic will generically consist of smooth points and ordinary cusp points.
From the point of view of the calculus of variations, Fermat's principle (in its modern form) implies that light rays are the extremals for the length functional
among smooth curves γ on [a,b] with fixed endpoints γ(a) and γ(b). The caustic determined by a given point P (in the image the point is at infinity) is the set of conjugate points to P.^{[6]}
Light may pass through anisotropic inhomogeneous media at different rates depending on the direction and starting position of a light ray. The boundary of the set of points to which light can travel from a given point q after a time t is known as the wave front after time t, denoted here by Φ_{q}(t). It consists of precisely the points that can be reached from q in time t by travelling at the speed of light. Huygens's principle asserts that the wave front set Φ_{q0}(s + t) is the envelope of the family of wave fronts Φ_{q}(s) for q ∈ Φ_{q0}(t). More generally, the point q_{0} could be replaced by any curve, surface or closed set in space.^{[7]}