- Source: Implicit surface
In mathematics, an implicit surface is a surface in Euclidean space defined by an equation
F
(
x
,
y
,
z
)
=
0.
{\displaystyle F(x,y,z)=0.}
An implicit surface is the set of zeros of a function of three variables. Implicit means that the equation is not solved for x or y or z.
The graph of a function is usually described by an equation
z
=
f
(
x
,
y
)
{\displaystyle z=f(x,y)}
and is called an explicit representation. The third essential description of a surface is the parametric one:
(
x
(
s
,
t
)
,
y
(
s
,
t
)
,
z
(
s
,
t
)
)
{\displaystyle (x(s,t),y(s,t),z(s,t))}
, where the x-, y- and z-coordinates of surface points are represented by three functions
x
(
s
,
t
)
,
y
(
s
,
t
)
,
z
(
s
,
t
)
{\displaystyle x(s,t)\,,y(s,t)\,,z(s,t)}
depending on common parameters
s
,
t
{\displaystyle s,t}
. Generally the change of representations is simple only when the explicit representation
z
=
f
(
x
,
y
)
{\displaystyle z=f(x,y)}
is given:
z
−
f
(
x
,
y
)
=
0
{\displaystyle z-f(x,y)=0}
(implicit),
(
s
,
t
,
f
(
s
,
t
)
)
{\displaystyle (s,t,f(s,t))}
(parametric).
Examples:
The plane
x
+
2
y
−
3
z
+
1
=
0.
{\displaystyle x+2y-3z+1=0.}
The sphere
x
2
+
y
2
+
z
2
−
4
=
0.
{\displaystyle x^{2}+y^{2}+z^{2}-4=0.}
The torus
(
x
2
+
y
2
+
z
2
+
R
2
−
a
2
)
2
−
4
R
2
(
x
2
+
y
2
)
=
0.
{\displaystyle (x^{2}+y^{2}+z^{2}+R^{2}-a^{2})^{2}-4R^{2}(x^{2}+y^{2})=0.}
A surface of genus 2:
2
y
(
y
2
−
3
x
2
)
(
1
−
z
2
)
+
(
x
2
+
y
2
)
2
−
(
9
z
2
−
1
)
(
1
−
z
2
)
=
0
{\displaystyle 2y(y^{2}-3x^{2})(1-z^{2})+(x^{2}+y^{2})^{2}-(9z^{2}-1)(1-z^{2})=0}
(see diagram).
The surface of revolution
x
2
+
y
2
−
(
ln
(
z
+
3.2
)
)
2
−
0.02
=
0
{\displaystyle x^{2}+y^{2}-(\ln(z+3.2))^{2}-0.02=0}
(see diagram wineglass).
For a plane, a sphere, and a torus there exist simple parametric representations. This is not true for the fourth example.
The implicit function theorem describes conditions under which an equation
F
(
x
,
y
,
z
)
=
0
{\displaystyle F(x,y,z)=0}
can be solved (at least implicitly) for x, y or z. But in general the solution may not be made explicit. This theorem is the key to the computation of essential geometric features of a surface: tangent planes, surface normals, curvatures (see below). But they have an essential drawback: their visualization is difficult.
If
F
(
x
,
y
,
z
)
{\displaystyle F(x,y,z)}
is polynomial in x, y and z, the surface is called algebraic. Example 5 is non-algebraic.
Despite difficulty of visualization, implicit surfaces provide relatively simple techniques to generate theoretically (e.g. Steiner surface) and practically (see below) interesting surfaces.
Formulas
Throughout the following considerations the implicit surface is represented by an equation
F
(
x
,
y
,
z
)
=
0
{\displaystyle F(x,y,z)=0}
where function
F
{\displaystyle F}
meets the necessary conditions of differentiability. The partial derivatives of
F
{\displaystyle F}
are
F
x
,
F
y
,
F
z
,
F
x
x
,
…
{\displaystyle F_{x},F_{y},F_{z},F_{xx},\ldots }
.
= Tangent plane and normal vector
=A surface point
(
x
0
,
y
0
,
z
0
)
{\displaystyle (x_{0},y_{0},z_{0})}
is called regular if and only if the gradient of
F
{\displaystyle F}
at
(
x
0
,
y
0
,
z
0
)
{\displaystyle (x_{0},y_{0},z_{0})}
is not the zero vector
(
0
,
0
,
0
)
{\displaystyle (0,0,0)}
, meaning
(
F
x
(
x
0
,
y
0
,
z
0
)
,
F
y
(
x
0
,
y
0
,
z
0
)
,
F
z
(
x
0
,
y
0
,
z
0
)
)
≠
(
0
,
0
,
0
)
{\displaystyle (F_{x}(x_{0},y_{0},z_{0}),F_{y}(x_{0},y_{0},z_{0}),F_{z}(x_{0},y_{0},z_{0}))\neq (0,0,0)}
.
If the surface point
(
x
0
,
y
0
,
z
0
)
{\displaystyle (x_{0},y_{0},z_{0})}
is not regular, it is called singular.
The equation of the tangent plane at a regular point
(
x
0
,
y
0
,
z
0
)
{\displaystyle (x_{0},y_{0},z_{0})}
is
F
x
(
x
0
,
y
0
,
z
0
)
(
x
−
x
0
)
+
F
y
(
x
0
,
y
0
,
z
0
)
(
y
−
y
0
)
+
F
z
(
x
0
,
y
0
,
z
0
)
(
z
−
z
0
)
=
0
,
{\displaystyle F_{x}(x_{0},y_{0},z_{0})(x-x_{0})+F_{y}(x_{0},y_{0},z_{0})(y-y_{0})+F_{z}(x_{0},y_{0},z_{0})(z-z_{0})=0,}
and a normal vector is
n
(
x
0
,
y
0
,
z
0
)
=
(
F
x
(
x
0
,
y
0
,
z
0
)
,
F
y
(
x
0
,
y
0
,
z
0
)
,
F
z
(
x
0
,
y
0
,
z
0
)
)
T
.
{\displaystyle \mathbf {n} (x_{0},y_{0},z_{0})=(F_{x}(x_{0},y_{0},z_{0}),F_{y}(x_{0},y_{0},z_{0}),F_{z}(x_{0},y_{0},z_{0}))^{T}.}
= Normal curvature
=In order to keep the formula simple the arguments
(
x
0
,
y
0
,
z
0
)
{\displaystyle (x_{0},y_{0},z_{0})}
are omitted:
κ
n
=
v
⊤
H
F
v
‖
grad
F
‖
{\displaystyle \kappa _{n}={\frac {\mathbf {v} ^{\top }H_{F}\mathbf {v} }{\|\operatorname {grad} F\|}}}
is the normal curvature of the surface at a regular point for the unit tangent direction
v
{\displaystyle \mathbf {v} }
.
H
F
{\displaystyle H_{F}}
is the Hessian matrix of
F
{\displaystyle F}
(matrix of the second derivatives).
The proof of this formula relies (as in the case of an implicit curve) on the implicit function theorem and the formula for the normal curvature of a parametric surface.
Applications of implicit surfaces
As in the case of implicit curves it is an easy task to generate implicit surfaces with desired shapes by applying algebraic operations (addition, multiplication) on simple primitives.
= Equipotential surface of point charges
=The electrical potential of a point charge
q
i
{\displaystyle q_{i}}
at point
p
i
=
(
x
i
,
y
i
,
z
i
)
{\displaystyle \mathbf {p} _{i}=(x_{i},y_{i},z_{i})}
generates at point
p
=
(
x
,
y
,
z
)
{\displaystyle \mathbf {p} =(x,y,z)}
the potential (omitting physical constants)
F
i
(
x
,
y
,
z
)
=
q
i
‖
p
−
p
i
‖
.
{\displaystyle F_{i}(x,y,z)={\frac {q_{i}}{\|\mathbf {p} -\mathbf {p} _{i}\|}}.}
The equipotential surface for the potential value
c
{\displaystyle c}
is the implicit surface
F
i
(
x
,
y
,
z
)
−
c
=
0
{\displaystyle F_{i}(x,y,z)-c=0}
which is a sphere with center at point
p
i
{\displaystyle \mathbf {p} _{i}}
.
The potential of
4
{\displaystyle 4}
point charges is represented by
F
(
x
,
y
,
z
)
=
q
1
‖
p
−
p
1
‖
+
q
2
‖
p
−
p
2
‖
+
q
3
‖
p
−
p
3
‖
+
q
4
‖
p
−
p
4
‖
.
{\displaystyle F(x,y,z)={\frac {q_{1}}{\|\mathbf {p} -\mathbf {p} _{1}\|}}+{\frac {q_{2}}{\|\mathbf {p} -\mathbf {p} _{2}\|}}+{\frac {q_{3}}{\|\mathbf {p} -\mathbf {p} _{3}\|}}+{\frac {q_{4}}{\|\mathbf {p} -\mathbf {p} _{4}\|}}.}
For the picture the four charges equal 1 and are located at the points
(
±
1
,
±
1
,
0
)
{\displaystyle (\pm 1,\pm 1,0)}
. The displayed surface is the equipotential surface (implicit surface)
F
(
x
,
y
,
z
)
−
2.8
=
0
{\displaystyle F(x,y,z)-2.8=0}
.
= Constant distance product surface
=A Cassini oval can be defined as the point set for which the product of the distances to two given points is constant (in contrast, for an ellipse the sum is constant). In a similar way implicit surfaces can be defined by a constant distance product to several fixed points.
In the diagram metamorphoses the upper left surface is generated by this rule: With
F
(
x
,
y
,
z
)
=
(
(
x
−
1
)
2
+
y
2
+
z
2
⋅
(
x
+
1
)
2
+
y
2
+
z
2
⋅
x
2
+
(
y
−
1
)
2
+
z
2
⋅
x
2
+
(
y
+
1
)
2
+
z
2
)
{\displaystyle {\begin{aligned}F(x,y,z)={}&{\Big (}{\sqrt {(x-1)^{2}+y^{2}+z^{2}}}\cdot {\sqrt {(x+1)^{2}+y^{2}+z^{2}}}\\&\qquad \cdot {\sqrt {x^{2}+(y-1)^{2}+z^{2}}}\cdot {\sqrt {x^{2}+(y+1)^{2}+z^{2}}}{\Big )}\end{aligned}}}
the constant distance product surface
F
(
x
,
y
,
z
)
−
1.1
=
0
{\displaystyle F(x,y,z)-1.1=0}
is displayed.
= Metamorphoses of implicit surfaces
=A further simple method to generate new implicit surfaces is called metamorphosis of implicit surfaces:
For two implicit surfaces
F
1
(
x
,
y
,
z
)
=
0
,
F
2
(
x
,
y
,
z
)
=
0
{\displaystyle F_{1}(x,y,z)=0,F_{2}(x,y,z)=0}
(in the diagram: a constant distance product surface and a torus) one defines new surfaces using the design parameter
μ
∈
[
0
,
1
]
{\displaystyle \mu \in [0,1]}
:
F
(
x
,
y
,
z
)
=
μ
F
1
(
x
,
y
,
z
)
+
(
1
−
μ
)
F
2
(
x
,
y
,
z
)
=
0
{\displaystyle F(x,y,z)=\mu F_{1}(x,y,z)+(1-\mu )F_{2}(x,y,z)=0}
In the diagram the design parameter is successively
μ
=
0
,
0.33
,
0.66
,
1
{\displaystyle \mu =0,\,0.33,\,0.66,\,1}
.
= Smooth approximations of several implicit surfaces
=Π
{\displaystyle \Pi }
-surfaces can be used to approximate any given smooth and bounded object in
R
3
{\displaystyle R^{3}}
whose surface is defined by a single polynomial as a product of subsidiary polynomials. In other words, we can design any smooth object with a single algebraic surface. Let us denote the defining polynomials as
f
i
∈
R
[
x
1
,
…
,
x
n
]
(
i
=
1
,
…
,
k
)
{\displaystyle f_{i}\in \mathbb {R} [x_{1},\ldots ,x_{n}](i=1,\ldots ,k)}
. Then, the approximating object is defined by the polynomial
F
(
x
,
y
,
z
)
=
∏
i
f
i
(
x
,
y
,
z
)
−
r
{\displaystyle F(x,y,z)=\prod _{i}f_{i}(x,y,z)-r}
where
r
∈
R
{\displaystyle r\in \mathbb {R} }
stands for the blending parameter that controls the approximating error.
Analogously to the smooth approximation with implicit curves, the equation
F
(
x
,
y
,
z
)
=
F
1
(
x
,
y
,
z
)
⋅
F
2
(
x
,
y
,
z
)
⋅
F
3
(
x
,
y
,
z
)
−
r
=
0
{\displaystyle F(x,y,z)=F_{1}(x,y,z)\cdot F_{2}(x,y,z)\cdot F_{3}(x,y,z)-r=0}
represents for suitable parameters
c
{\displaystyle c}
smooth approximations of three intersecting tori with equations
F
1
=
(
x
2
+
y
2
+
z
2
+
R
2
−
a
2
)
2
−
4
R
2
(
x
2
+
y
2
)
=
0
,
F
2
=
(
x
2
+
y
2
+
z
2
+
R
2
−
a
2
)
2
−
4
R
2
(
x
2
+
z
2
)
=
0
,
F
3
=
(
x
2
+
y
2
+
z
2
+
R
2
−
a
2
)
2
−
4
R
2
(
y
2
+
z
2
)
=
0.
{\displaystyle {\begin{aligned}F_{1}=(x^{2}+y^{2}+z^{2}+R^{2}-a^{2})^{2}-4R^{2}(x^{2}+y^{2})=0,\\[3pt]F_{2}=(x^{2}+y^{2}+z^{2}+R^{2}-a^{2})^{2}-4R^{2}(x^{2}+z^{2})=0,\\[3pt]F_{3}=(x^{2}+y^{2}+z^{2}+R^{2}-a^{2})^{2}-4R^{2}(y^{2}+z^{2})=0.\end{aligned}}}
(In the diagram the parameters are
R
=
1
,
a
=
0.2
,
r
=
0.01.
{\displaystyle R=1,\,a=0.2,\,r=0.01.}
)
Visualization of implicit surfaces
There are various algorithms for rendering implicit surfaces, including the marching cubes algorithm. Essentially there are two ideas for visualizing an implicit surface: One generates a net of polygons which is visualized (see surface triangulation) and the second relies on ray tracing which determines intersection points of rays with the surface. The intersection points can be approximated by sphere tracing, using a signed distance function to find the distance to the surface.
See also
Implicit curve
References
Further reading
Gomes, A., Voiculescu, I., Jorge, J., Wyvill, B., Galbraith, C.: Implicit Curves and Surfaces: Mathematics, Data Structures and Algorithms, 2009, Springer-Verlag London, ISBN 978-1-84882-405-8
Thorpe: Elementary Topics in Differential Geometry, Springer-Verlag, New York, 1979, ISBN 0-387-90357-7
Kata Kunci Pencarian:
- Marching cubes
- Daftar masalah matematika yang belum terpecahkan
- Implicit surface
- Surface (mathematics)
- Implicit
- Implicit function
- Surface triangulation
- Isophote
- Schwarz minimal surface
- Surface (topology)
- Point cloud
- Intersection (geometry)