Implicit curve

Cassini ovals:
(1) a=1.1, c=1 (above),
(2) a=c=1 (middle),
(3) a=1, c=1.05 (below)
implicit curve: sin(x+y)-cos(xy)+1=0
implicit curve as level curves of the surface

In mathematics an implicit curve is a plane curve which is defined by an equation

Hence an implicit curve can be considered as the set of zeros of a function of two variables. Implicit means, that the equation is not solved for either x or y.

If is a polynomial in two variables, the corresponding curve is called an algebraic curve, and specific methods are available for studying it.

The graph of a function is usually described by an equation and is called an explicit representation. The third essential description of a curve is the parametric one: (x(t), y(t)), where the x- and y-coordinates of curve points are represented by two functions dependent on a common parameter The change of representations is unusually simple only, when the explicit representation is given: (implicit), (parametric).

Examples of implicit curves:

  1. a line:
  2. a circle:
  3. the Semicubical parabola:
  4. Cassini ovals (see picture),
  5. (see picture).

The first four examples are algebraic curves, but the last one is not algebraic. The first three examples possess simple parametric representations, which is not true for the 4th and 5th example. Especially the 5th example shows the possible complicated geometric structure of an implicit curve.

The implicit function theorem describes conditions, under which an equation can be solved (theoretically) for x and/or y. But in general the solution may be not conducted. This theorem is the key for the computation of essential geometric features of the curve: tangents, normals, curvature (see below). In praxis implicit curves have an essential drawback: their visualization is difficult (see below). But there are computer programs, enabling to display an implicit curve (see weblinks). Special properties of implicit curves make them essential tools in geometry and computer graphic (see below).

An implicit curve with an equation can be considered as the level curve of level 0 of the surface (see third picture).

Formulas

For the following formulas the implicit curve will be defined by an equation , where function meets the needed mathematical requirements. The partial derivatives of are , , .

Tangent and normal vector

A curve point is regular, if

The equation of the tangent at a regular point is

is a normal vector.

Curvature

Due to clarity of the formulas the arguments are omitted:

the curvature at a regular point..

Derivation of the formulas

The implicit function theorem guarantees within a neighborhood of a point the existence of a function such that The derivatives of function are (s. chain rule):

(The arguments were omitted.)

Inserting the derivatives of function into the formulas for a tangent and curvature of the graph :

(curvature)

one gets the formulas above

Advantage and disadvantage of implicit curves

Disadvantage

The essential disadvantage of an implicit curve is the lack of an easy possibility to calculate single points which is necessary for visualization of an implicit curve (s. next section).

Advantages

  1. Implicit representations facilitates the computation of intersection points: In case that one curve is represented implicitly and the other parametrically the computation of intersection points needs only a simple (1-dimensional) Newton iteration which is contrary to the cases implicit-implicit and parametric-parametric (see intersection).
  2. An implicit representation gives the possibility to separate points not on the curve by the sign of . This may be helpful for example applying the false position method instead of a Newton iteration.
  3. It is easy to generate curves which are geometrically similar to the given implicit curve . Add just a small number: (see section smooth approximations).

Applications of implicit curves

smooth approximation of a convex polygon
smooth approximation of 1)one half of a circle, 2) an intersection of two circles

Within mathematics implicit curves play a prominent role as algebraic curves. Besides these classical field implicit curves are used for designing curves of desired geometrical shapes. Here are two examples.

Smooth approximation of convex polygons

A smooth approximation of a convex polygon can be achieved in the following way: Let be the equations of the lines containing the edges of the polygon such that for an inner point of the polygon is positive than the implicit curve

with suitable parameters are smooth (differentiable) approximations of the polygon. For example, the curves

for

are smooth approximations of a polygon with 5 edges (s. picture)

Remark 1:

In case of two lines

one gets

a pencil of parallel lines, if the given lines are parallel or
the pencil of hyperbolas, which have the given lines as asymptotes.

For example: The product of the coordinateaxes , yields the pencil of hyperbolas, which have the coordinateaxes as asymptotes.

Remark 2:

If one starts with simple implicit curves other than lines (circles, parabolas,...) one gets a wide range of interesting new curves. For example

(product of a circle and the x-axis) yields smooth approximations of one half of a circle (s. picture) and

(product of two circles) are smooth approximations of the intersection of two circles (s. picture).

Blending curves

blending curve (red) of two circles

In CAGD one uses implicit curves for the generation of blending curves, which are special curves establishing a smooth transition between two given curves. For example

generates blending curves between the two circles

,

The method guarantees the continuity of the tangents and curvatures at the points of contact. (s. picture). The two lines

determine the points of contact at the circles. Parameter is a design parameter. For the picture: .

Visualization of an implicit curve

For visualizing an implicit curve one usually determines a polygon on the curve and displays the polygon. For a parametric curve this is an easy task: You just compute the points of a sequence of parametric values. For an implicit curve one has to solve two subproblems:

  1. determination of a first curve point to a given starting point in the vicinity of the curve,
  2. determination of a curve point starting from a known curve point.

In both cases it is reasonable to assume . It seems a strong restriction. But in practice the assumption is not met in single points only.

Point algorithm

For the solution of both tasks mentioned above it is essential to have a computer program , which determines to a start point in the vicinity of the curve a point on the curve:

(P1) for the start point is
(P2) repeat
( Newton step for function )
(P3) until the distance between the points is small enough.
(P4) is the curve point near the start point .

Tracing algorithm

to the tracing algorithm: starting points are green

In order to generate a nearly equally spaced polygon on the implicit curve one chooses a step length and

(T1) chooses a suitable starting point in the vicinity of the curve
(T2) determines a first curve point using program
(T3) determines the tangent (s. above), chooses a starting point on the tangent using step length (s. picture) and determines a second curve point using program .

Because the algorithm traces the implicit curve it is called tracing algorithm. The algorithm traces only connected parts of the curve. If the implicit curve consists of several parts it has to be started several times with suitable starting points.

rasteralgorithm for implicit curves

Raster algorithm

If the implicit curve consists of several or even unknown parts, the following raster algorithm is more convenient visualizing the curve:

(R1) Generate a net (raster) on the area of interest of the x-y-plane .
(R2) choose any point of the raster as starting point for the point algorithm and mark the determined curvepoint.

If the net is dense enough one gets the impression of connected parts of the implicit curve. If for further applications polygons on the curves are needed one can trace parts of interest by the tracing algorithm.

Example: Given the implicit curve

In order to demonstrate the algorithm the raster was widely spaced. The picture shows the single curve points determined by the raster algorithm. In order to accelerate the algorithm not every raster point was used as starting point.[1]

Free Software

The following free software packages allow the visualization of implicit curves:

Additional software is mentioned in section Weblinks.

Implicit space curves

Any space curve which is defined by two equations

is called implicit space curve.

A curve point is called regular,if the cross product of the gradients and is not at this point:

otherwise singular. Vector is a tangent vector of the curve at point .

Intersection curve between a sphere and a cylinder

Examples:

is a line.

is a plane section of a sphere, hence a circle.

is an ellipse (plane section of a cylinder).

is the intersection curve between a sphere and a cylinder

For the computation of curve points and the visualizition of an implicit space curve see intersection.

See also

Wikimedia Commons has media related to Implicit curves.

References

  1. G. Taubin: Distance Approximations for Rastering Implicit Curves. ACM Transactions on Graphics, Vol. 13, No. 1, 1994.
This article is issued from Wikipedia - version of the 11/15/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.