From two prescribed optical surfaces to a continuous transition
A lens designed for two viewing distances presents a geometric challenge. Two parts of its surface may require different curvatures, but the eye encounters the finished lens as one object. How can we connect those parts without a sharp seam?
This question grew out of an engineering problem I worked on. The geometry below is a reconstruction of that problem; the interpolation formula is a mathematical illustration, not a claim about the particular manufacturing method used.
Four regions in one circular lens

Imagine a circular lens viewed from the front. The upper region is prescribed for far vision. A downward-pointing central sector, about 120 degrees wide, is prescribed for near vision. Two narrow sectors, one on each side, form the transitions. The common vertex lies slightly below the center of the circular lens.
In an idealized angular model centered at that vertex, the far region occupies the upper half-plane, the near sector spans 120 degrees, and each side transition spans approximately 30 degrees. The outer edge is the actual circular lens boundary, which is not centered at the sector vertex. The angles and placement are approximate reconstructions.
Let the lens surface be a graph z=u(x,y). The far and near surfaces, u_F(x,y) and u_N(x,y), are prescribed on their respective regions. The challenge is to define the surface in the two remaining sectors.
What does “smooth” mean?
There are several levels of matching:
- Continuous height (C⁰): the pieces touch, without a gap.
- Continuous slope (C¹): their tangent planes agree, so there is no geometric corner.
- Continuous second derivatives (C²): their local bending also matches.
For a graph, matching slopes means matching both partial derivatives u_x and u_y, not merely matching the height along a boundary.
A simple smooth transition formula
Consider one side sector, with polar angle \theta measured about the lowered common vertex. Let its two radial edges have angles \alpha and \beta, and put
t=\frac{\theta-\alpha}{\beta-\alpha},\qquad 0\le t\le1.
A particularly useful blending weight is
w(t)=6t^5-15t^4+10t^3.
It starts at zero and ends at one, while both its first and second derivatives vanish at the endpoints:
w(0)=0,\quad w(1)=1,\quad w'(0)=w'(1)=w''(0)=w''(1)=0.
Suppose u_A and u_B are smooth extensions of the two prescribed surfaces into the transition sector. Define
u(r,\theta)=(1-w(t))u_A(r,\theta)+w(t)u_B(r,\theta).
Along the first edge, this agrees with u_A; along the second, it agrees with u_B. Because the first two derivatives of the weight vanish at both edges, the height, gradient, and second derivatives match across those edges away from the common vertex, provided the prescribed surfaces are sufficiently smooth.
The surprising difficulty at the common vertex
At the point where all four regions meet, the situation is different. If the far and near surfaces have different heights there, even continuity is impossible without changing one of them. If they have different tangent planes there, a globally C¹ lens is impossible.
Even when their heights and tangent planes agree, different second derivatives at that point prevent a globally C² surface. For example, the two quadratic models
u_F(x,y)=\frac{k_1}{2}(x^2+y^2),\qquad u_N(x,y)=\frac{k_2}{2}(x^2+y^2)
have the same height and slope at the origin, but their Hessian matrices are k_1I and k_2I. If k_1\ne k_2, one continuous Hessian cannot equal both.
Thus the quintic blend can give excellent matching along the radial seams while still failing to be C² at the common vertex. Under compatible height and tangent-plane data, the construction can nevertheless be C¹ there: the difference between the two surfaces is of quadratic order near the vertex, and its angular blend retains a vanishing gradient.
Can we choose the best transition?
Instead of selecting a formula directly, we might minimize a measure of surface bending, such as
E[u]=\iint_{\Omega}\left(u_{xx}^2+2u_{xy}^2+u_{yy}^2\right)\,dx\,dy.
Here \Omega is one transition sector. For appropriate fixed boundary data, the interior Euler–Lagrange equation is the biharmonic equation \Delta^2u=0. This is one possible mathematical model, not a description of the original engineering algorithm.
There is also an optical caveat: a geometrically smooth surface does not automatically produce comfortable vision. Refraction, optical power, astigmatism, and distortion must be considered in an actual lens design.
The larger lesson
The bifocal lens illustrates a general principle of applied mathematics: prescribing two good solutions does not guarantee that they can be connected with every desired degree of smoothness. Geometry, boundary conditions, and physical performance must be considered together.
The same mathematical ideas arise in computer-aided surface design, industrial shape blending, and the smoothing of manufactured components.
Further Reading: How Matrices Turn Quadratic Forms into Sums of Squares explores how matrices and quadratic forms connect to sums of squares, providing additional mathematical background for understanding second derivatives and surface curvature.
For another geometry problem from my engineering work, see How I Found the Centerline of an Aircraft Turbine Blade Using Tangent Circles.

Leave a Reply