# Envelope (mathematics)

Construction of the envelope of a family of curves.

In geometry, an envelope of a family of curves in the plane 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, the individual members of the family of curves need to be differentiable curves, for otherwise the concept of tangency does not apply, and there has to be a smooth transition proceeding through the members. But even if these conditions are satisfied, 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.

## Envelope of a family of curves

Let each curve Ct in the family be given as the solution of an equation ft(xy)=0 (see implicit curve), where t is a parameter. Write F(txy)=ft(xy) and assume F is differentiable.

The envelope of the family Ct is then defined as the set ${\displaystyle {\mathcal {D}}}$  of points (x,y) for which, simultaneously,

${\displaystyle F(t,x,y)=0~~{\mathsf {and}}~~{\partial F \over \partial t}(t,x,y)=0}$

for some value of t, where ${\displaystyle \partial F/\partial t}$  is the partial derivative of F with respect to t.[1]

If t and u, tu are two values of the parameter then the intersection of the curves Ct and Cu is given by

${\displaystyle F(t,x,y)=F(u,x,y)=0\,}$

or, equivalently,

${\displaystyle F(t,x,y)=0~~{\mathsf {and}}~~{\frac {F(u,x,y)-F(t,x,y)}{u-t}}=0.}$

Letting u→t gives the definition above.

An important special case is when F(txy) is a polynomial in t. This includes, by clearing denominators, the case where F(txy) is a rational function in t. In this case, the definition amounts to t being a double root of F(txy), 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. it's value 0 and it is min/max at that t).

For example, let Ct be the line whose x and y intercepts are t and 11−t, this is shown in the animation above. The equation of Ct is

${\displaystyle {\frac {x}{t}}+{\frac {y}{11-t}}=1}$

or, clearing fractions,

${\displaystyle x(11-t)+yt-t(11-t)=t^{2}+(-x+y-11)t+11x=0.\,}$

The equation of the envelope is then

${\displaystyle (-x+y-11)^{2}-44x=(x-y)^{2}-22(x+y)+121=0.\,}$

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(xy)cosθ+v(xy)sinθ=w(xy), then putting t=eiθ, cosθ=(t+1/t)/2, sinθ=(t-1/t)/2i changes the equation of the curve to

${\displaystyle u{1 \over 2}(t+{1 \over t})+v{1 \over 2i}(t-{1 \over t})=w}$

or

${\displaystyle (u-iv)t^{2}-2wt+(u+iv)=0.\,}$

The equation of the envelope is then given by setting the discriminant to 0:

${\displaystyle (u-iv)(u+iv)-w^{2}=0\,}$

or

${\displaystyle u^{2}+v^{2}=w^{2}.\,}$

### Alternative definitions

1. The envelope E1 is the limit of intersections of nearby curves Ct.
2. The envelope E2 is a curve tangent to all of the Ct.
3. The envelope E3 is the boundary of the region filled by the curves Ct.

Then ${\displaystyle E_{1}\subseteq {\mathcal {D}}}$ , ${\displaystyle E_{2}\subseteq {\mathcal {D}}}$  and ${\displaystyle E_{3}\subseteq {\mathcal {D}}}$ , where ${\displaystyle {\mathcal {D}}}$  is the set of points defined at the beginning of this subsection's parent section.

## Examples

### Example 1

These definitions E1, E2, and E3 of the envelope may be different sets. Consider for instance the curve y = x3 parametrised by γ : RR2 where γ(t) = (t,t3). The one-parameter family of curves will be given by the tangent lines to γ.

First we calculate the discriminant ${\displaystyle {\mathcal {D}}}$ . The generating function is

${\displaystyle F(t,(x,y))=3t^{2}x-y-2t^{3}.}$

Calculating the partial derivative Ft = 6t(xt). It follows that either x = t or t = 0. First assume that x = t and t ≠ 0. Substituting into F: ${\displaystyle F(t,(t,y))=t^{3}-y\,}$  and so, assuming that t ≠ 0, it follows that F = Ft = 0 if and only if (x,y) = (t,t3). Next, assuming that t = 0 and substituting into F gives F(0,(x,y)) = −y. So, assuming t = 0, it follows that F = Ft = 0 if and only if y = 0. Thus the discriminant is the original curve and its tangent line at γ(0):

${\displaystyle {\mathcal {D}}=\{(x,y)\in \mathbb {R} ^{2}:y=x^{3}\}\cup \{(x,y)\in \mathbb {R} ^{2}:y=0\}\ .}$

Next we calculate E1. 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

${\displaystyle L:=F(t,(x,y))-F(t+\varepsilon ,(x,y))=2\varepsilon ^{3}+6\varepsilon t^{2}+6\varepsilon ^{2}t-(3\varepsilon ^{2}+6\varepsilon t)x=0.}$

If t ≠ 0 then L has only a single factor of ε. Assuming that t ≠ 0 then the intersection is given by

${\displaystyle \lim _{\varepsilon \to 0}{\frac {1}{\varepsilon }}L=6t(t-x)\ .}$

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 = t3. When t = 0, L is divisible by ε2. Assuming that t = 0 then the intersection is given by

${\displaystyle \lim _{\varepsilon \to 0}{\frac {1}{\varepsilon ^{2}}}L=3x\ .}$

It follows that x = 0, and knowing that F(t,(x,y)) = 0 gives y = 0. It follows that

${\displaystyle E_{1}=\{(x,y)\in \mathbb {R} ^{2}:y=x^{3}\}\ .}$

Next we calculate E2. The curve itself is the curve that is tangent to all of its own tangent lines. It follows that

${\displaystyle E_{2}=\{(x,y)\in \mathbb {R} ^{2}:y=x^{3}\}\ .}$

Finally we calculate E3. 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 E3 is therefore the empty set. Indeed, consider a point in the plane, say (x0,y0). This point lies on a tangent line if and only if there exists a t such that

${\displaystyle F(t,(x_{0},y_{0}))=3t^{2}x_{0}-y_{0}-2t^{3}=0\ .}$

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 > x3 and y > 0 then each point (x,y) has exactly one tangent line to γ passing through it. The same is true if y < x3 y < 0. If y < x3 and y > 0 then each point (x,y) has exactly three distinct tangent lines to γ passing through it. The same is true if y > x3 and y < 0. If y = x3 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 yx3 and y = 0. If y = x3 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

${\displaystyle E_{3}=\varnothing .}$

### Example 2

This plot gives the envelope of the family of lines connecting points (t,0), (0,k - t), in which k takes 1.

In string art it is common to cross-connect two lines of equally spaced pins. What curve is formed?

For simplicity, set the pins on the x- and y-axes; a non-orthogonal layout is a rotation and scaling away. A general straight-line thread connects the two points (0, kt) 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:

 ${\displaystyle F(x,y,t)=t^{2}+t(y-x-k)+kx=0\,}$ (1)

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

 ${\displaystyle {\frac {\partial F(x,y,t)}{\partial t}}=2t+y-x-k=0\,}$ (2)

These two equations jointly define the equation of the envelope. From (2) we have t = (−y + x + k)/2. Substituting this value of t into (1) and simplifying gives an equation for the envelope in terms of x and y only:

${\displaystyle x^{2}-2xy+y^{2}-2kx-2ky+k^{2}=0\,}$

This is the familiar implicit conic section form, in this case a parabola. Parabolae remain parabolae under rotation and scaling; thus the string art forms a parabolic arc ("arc" since only a portion of the full parabola is produced). In this case an anticlockwise rotation through 45° gives the orthogonal parabolic equation y = x2/(k2) + k/(22). The final step of eliminating t may not always be possible to do analytically, depending on the form of F(x,y,t).

### Example 3

Let IR be an open interval and let γ : IR2 be a smooth plane curve parametrised by arc length. Consider the one-parameter 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 one-parameter family of normal lines is given by F : I × R2R where

${\displaystyle F(t,{\mathbf {x} })=({\mathbf {x} }-\gamma (t))\cdot {\mathbf {T} }(t)\ .}$

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

${\displaystyle L_{t_{0}}:=\{{\mathbf {x} }\in \mathbb {R} ^{2}:F(t_{0},{\mathbf {x} })=0\}}$

is exactly the normal line to γ at γ(t0). To find the discriminant of F we need to compute its partial derivative with respect to t:

${\displaystyle {\frac {\partial F}{\partial t}}(t,{\mathbf {x} })=\kappa (t)({\mathbf {x} }-\gamma (t))\cdot {\mathbf {N} }(t)-1\ ,}$

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

${\displaystyle {\frac {\partial F}{\partial t}}=\lambda \kappa (t)-1\ .}$

Assuming that κ ≠ 0 it follows that λ = 1/κ and so

${\displaystyle {\mathcal {D}}=\gamma (t)+{\frac {1}{\kappa (t)}}{\mathbf {N} }(t)\ .}$

This is exactly the evolute of the curve γ.

### Example 4

An astroid as the envelope of the family of lines connecting points (s,0), (0,t) with s2 + t2 = 1

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 ${\displaystyle s>0}$  and ${\displaystyle t>0}$  consider the (open) right triangle in a Cartesian plane with vertices ${\displaystyle (0,0)}$ , ${\displaystyle (s,0)}$  and ${\displaystyle (0,t)}$

${\displaystyle T_{s,t}:=\left\{(x,y)\in \mathbb {R} _{+}^{2}:\ {\frac {x}{s}}+{\frac {y}{t}}<1\right\}.}$

Fix an exponent ${\displaystyle \alpha >0}$ , and consider the union of all the triangles ${\displaystyle T_{s,t}}$  subjected to the constraint ${\displaystyle \textstyle s^{\alpha }+t^{\alpha }=1}$ , that is the open set

${\displaystyle \Delta _{\alpha }:=\bigcup _{s^{\alpha }+t^{\alpha }=1}T_{s,t}.}$

To write a Cartesian representation for ${\displaystyle \textstyle \Delta _{\alpha }}$ , start with any ${\displaystyle \textstyle s>0}$ , ${\displaystyle \textstyle t>0}$  satisfying ${\displaystyle \textstyle s^{\alpha }+t^{\alpha }=1}$  and any ${\displaystyle \textstyle (x,y)\in \mathbb {R} _{+}^{2}}$ . The Hölder inequality in ${\displaystyle \textstyle \mathbb {R} ^{2}}$  with respect to the conjugated exponents ${\displaystyle p:=1+{\frac {1}{\alpha }}}$  and ${\displaystyle \textstyle q:={1+\alpha }}$  gives:

${\displaystyle x^{\frac {\alpha }{\alpha +1}}+y^{\frac {\alpha }{\alpha +1}}\leq \left({\frac {x}{s}}+{\frac {y}{t}}\right)^{\frac {\alpha }{\alpha +1}}{\Big (}s^{\alpha }+t^{\alpha }{\Big )}^{\frac {1}{\alpha +1}}=\left({\frac {x}{s}}+{\frac {y}{t}}\right)^{\frac {\alpha }{\alpha +1}}}$ ,

with equality if and only if ${\displaystyle \textstyle s:\,t=x^{\frac {1}{1+\alpha }}:\,y^{\frac {1}{1+\alpha }}}$ . In terms of a union of sets the latter inequality reads: the point ${\displaystyle (x,y)\in \mathbb {R} _{+}^{2}}$  belongs to the set ${\displaystyle \textstyle \Delta _{\alpha }}$ , that is, it belongs to some ${\displaystyle \textstyle T_{s,t}}$  with ${\displaystyle \textstyle s^{\alpha }+t^{\alpha }=1}$ , if and only if it satisfies

${\displaystyle x^{\frac {\alpha }{\alpha +1}}+y^{\frac {\alpha }{\alpha +1}}<1.}$

Moreover, the boundary in ${\displaystyle \mathbb {R} _{+}^{2}}$  of the set ${\displaystyle \textstyle \Delta _{\alpha }}$  is the envelope of the corresponding family of line segments

${\displaystyle \left\{(x,y)\in \mathbb {R} _{+}^{2}:\ {\frac {x}{s}}+{\frac {y}{t}}=1\right\}\ ,\qquad s^{\alpha }+t^{\alpha }=1}$

(that is, the hypotenuses of the triangles), and has Cartesian equation

${\displaystyle x^{\frac {\alpha }{\alpha +1}}+y^{\frac {\alpha }{\alpha +1}}=1.}$

Notice that, in particular, the value ${\displaystyle \alpha =1}$  gives the arc of parabola of the example 1, and the value ${\displaystyle \alpha =2}$  (meaning that all hypotenuses are unit length segments) gives the astroid.

### Example 5

The orbits' envelope of the projectiles (with constant initial speed) is a concave parabola. The initial speed is 10 m/s. We take g = 10 m/s2.

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:

${\displaystyle {\frac {d^{2}y}{dt^{2}}}=-g,\;{\frac {d^{2}x}{dt^{2}}}=0,}$

which satisfies four initial conditions:

${\displaystyle {\frac {dx}{dt}}{\bigg |}_{t=0}=v\cos \theta ,\;{\frac {dy}{dt}}{\bigg |}_{t=0}=v\sin \theta ,\;x{\bigg |}_{t=0}=y{\bigg |}_{t=0}=0.}$

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:

${\displaystyle F(x,y,\theta )=x\tan \theta -{\frac {gx^{2}}{2v^{2}\cos ^{2}\theta }}-y=0.}$

To find its envelope equation, one may compute the desired derivative:

${\displaystyle {\frac {\partial F}{\partial \theta }}={\frac {x}{\cos ^{2}\theta }}-{\frac {gx^{2}\tan \theta }{v^{2}\cos ^{2}\theta }}=0.}$

By eliminating θ, one may reach the following envelope equation:

${\displaystyle y={\frac {v^{2}}{2g}}-{\frac {g}{2v^{2}}}x^{2}.}$

Clearly the resulted envelope is also a concave parabola.

## Envelope of a family of surfaces

A one-parameter family of surfaces in three-dimensional Euclidean space is given by a set of equations

${\displaystyle F(x,y,z,a)=0}$

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

${\displaystyle F(x,y,z,a)=0,\,\,{F(x,y,z,a^{\prime })-F(x,y,z,a) \over a^{\prime }-a}=0.}$

In the limit as a' approaches a, this curve tends to a curve contained in the surface at a

${\displaystyle F(x,y,z,a)=0,\,\,{\partial F \over \partial a}(x,y,z,a)=0.}$

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.

## Generalisations

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 c-parameter family of such submanifolds. For example: a one-parameter family of curves in three-space (c = 2) does not, generically, have an envelope.

## Applications

### Ordinary differential equations

Envelopes are connected to the study of ordinary differential equations (ODEs), and in particular singular solutions of ODEs.[3] Consider, for example, the one-parameter family of tangent lines to the parabola y = x2. These are given by the generating family F(t,(x,y)) = t2 – 2tx + y. The zero level set F(t0,(x,y)) = 0 gives the equation of the tangent line to the parabola at the point (t0,t02). The equation t2 – 2tx + y = 0 can always be solved for y as a function of x and so, consider

${\displaystyle t^{2}-2tx+y(x)=0.\ }$

Substituting

${\displaystyle t=\left({\frac {dy}{dx}}\right)/2}$

gives the ODE

${\displaystyle \left({\frac {dy}{dx}}\right)^{2}\!\!-4x{\frac {dy}{dx}}+4y=0.}$

Not surprisingly y = 2tx − t2 are all solutions to this ODE. However, the envelope of this one-parameter family of lines, which is the parabola y = x2, is also a solution to this ODE. Another famous example is Clairaut's equation.

### Partial differential equations

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 Ω ⊂ Rn, u is an unknown real-valued 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 m-parameter family of solutions: that is, for each fixed a ∈ A ⊂ Rm, 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)

${\displaystyle D_{a}u(x;a)=0\,}$

for a = φ(x) as a function of x. The envelope of the family of functions {u(·,a)}aA is defined by

${\displaystyle v(x)=u(x;\varphi (x)),\quad x\in \Omega ,}$

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 Rn+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.

### Caustics

Reflective caustic generated from a circle and parallel rays

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 one-parameter 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

${\displaystyle L[\gamma ]=\int _{a}^{b}|\gamma '(t)|\,dt}$

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]

### Huygens's principle

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 q0 could be replaced by any curve, surface or closed set in space.[7]