In mathematics, an implicit curve is a plane curve defined by an implicit equation relating two coordinate variables, commonly x and y. For example, the unit circle is defined by the implicit equation
x2+y2=1
F(x,y)=0
If
F(x,y)
Plane curves can be represented in Cartesian coordinates (x, y coordinates) by any of three methods, one of which is the implicit equation given above. The graph of a function is usually described by an equation
y=f(x)
t.
Examples of implicit curves include:
x+2y-3=0,
x2+y2-4=0,
x3-y2=0,
(x2+y2)2-2c2(x2-y2)-(a4-c4)=0
\sin(x+y)-\cos(xy)+1=0
The implicit function theorem describes conditions under which an equation
F(x,y)=0
x=g(y)
y=f(x)
An implicit curve with an equation
F(x,y)=0
z=F(x,y)
In general, implicit curves fail the vertical line test (meaning that some values of x are associated with more than one value of y) and so are not necessarily graphs of functions. However, the implicit function theorem gives conditions under which an implicit curve locally is given by the graph of a function (so in particular it has no self-intersections). If the defining relations are sufficiently smooth then, in such regions, implicit curves have well defined slopes, tangent lines, normal vectors, and curvature.
There are several possible ways to compute these quantities for a given implicit curve. One method is to use implicit differentiation to compute the derivatives of y with respect to x. Alternatively, for a curve defined by the implicit equation
F(x,y)=0
F
Fx
Fy
Fxx
Fxy
Fyy.
A curve point
(x0,y0)
Fx(x0,y0)
Fy(x0,y0)
The equation of the tangent line at a regular point
(x0,y0)
Fx(x0,y0)(x-x0)+Fy(x0,y0)(y-y0)=0,
so the slope of the tangent line, and hence the slope of the curve at that point, is
slope=-
Fx(x0,y0) | |
Fy(x0,y0) |
.
If
Fy(x,y)=0\neFx(x,y)
(x0,y0),
Fy(x,y)=0
Fx(x,y)=0
A normal vector to the curve at the point is given by
n(x0,y0)=(Fx(x0,y0),Fy(x0,y0))
For readability of the formulas, the arguments
(x0,y0)
\kappa
\kappa=
| ||||||||||||||||
|
The implicit function theorem guarantees within a neighborhood of a point
(x0,y0)
f
F(x,f(x))=0
f
f'(x)=- | Fx(x,f(x)) |
Fy(x,f(x)) |
f''(x)= |
| |||||||||||||||
|
(x,f(x))
Inserting the derivatives of function
f
y=f(x)
y=f(x0)+f'(x0)(x-x0)
\kappa(x | |||||||||||||
|
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 (see next section).
F(x,y)=0
F(x,y)
F(x,y)=0,
F(x,y)-c=0
Within mathematics implicit curves play a prominent role as algebraic curves.In addition, implicit curves are used for designing curves of desired geometrical shapes. Here are two examples.
A smooth approximation of a convex polygon can be achieved in the following way: Let
gi(x,y)=aix+biy+ci=0, i=1,...c,n
gi
F(x,y)=g1(x,y) … gn(x,y)-c=0
c
F(x,y)=(x+1)(-x+1)y(-x-y+2)(x-y+2)-c=0
c=0.03,...c,0.6
In case of two lines
F(x,y)=g1(x,y)g2(x,y)-c=0
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 coordinate axes variables yields the pencil of hyperbolas
xy-c=0, c\ne0
If one starts with simple implicit curves other than lines (circles, parabolas,...) one gets a wide range of interesting new curves. For example,
F(x,y)=y(-x2-y2+1)-c=0
F(x,y)=(-x2-(y+1)2+4)(-x2-(y-1)2+4)-c=0
In CAD one uses implicit curves for the generation of blending curves,[2] [3] which are special curves establishing a smooth transition between two given curves. For example,
F(x,y)=(1-\mu)f1f2-\mu(g1g
3 | |
2) |
=0
f1(x,y)=(x-x
2+y | |
1) |
2=0 | |
1 |
,
f2(x,y)=(x-x
2+y | |
2) |
2=0 | |
2 |
.
g1(x,y)=x-x1=0, g2(x,y)=x-x2=0
\mu
\mu=0.05,...c,0.2
Equipotential curves of two equal point charges at the points
P1=(1,0), P2=(-1,0)
f(x,y)= | 1 | + |
|PP1| |
1 | |
|PP2| |
-c
= | 1 |
\sqrt{(x-1)2+y2 |
To visualize an implicit curve one usually determines a polygon on the curve and displays the polygon. For a parametric curve this is an easy task: One just computes the points of a sequence of parametric values. For an implicit curve one has to solve two subproblems:
In both cases it is reasonable to assume
\operatorname{grad}F\ne(0,0)
For the solution of both tasks mentioned above it is essential to have a computer program (which we will call
CPoint
Q0=(x0,y0)
P
(P1) for the start point is
j=0
(P2) repeat
(xj+1,yj+1)=(xj,yj)-
F(xj,yj) | ||||||||||||||||||
|
\left(Fx(xj,yj),Fy(xj,yj)\right).
(Newton step for function
g(t)=F\left(xj+tFx(xj,yj),yj+tFy(xj,yj)\right) .
(P3) until the distance between the points
(xj+1,yj+1),(xj,yj)
(P4)
P=(xj+1,yj+1)
Q0
In order to generate a nearly equally spaced polygon on the implicit curve one chooses a step length
s
(T1) chooses a suitable starting point in the vicinity of the curve
(T2) determines a first curve point
P1
CPoint
(T3) determines the tangent (see above), chooses a starting point on the tangent using step length
s
P2
CPoint
…
Because the algorithm traces the implicit curve it is called a 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.
If the implicit curve consists of several or even unknown parts, it may be better to use a rasterisation algorithm. Instead of exactly following the curve, a raster algorithm covers the entire curve in so many points that they blend together and look like the curve.
(R1) Generate a net of points (raster) on the area of interest of the x-y-plane.
(R2) For every point
P
CPoint
If the net is dense enough, the result approximates the 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.
Any space curve which is defined by two equations
\begin{matrix} F(x,y,z)=0,\\ G(x,y,z)=0\end{matrix}
A curve point
(x0,y0,z0)
F
G
(0,0,0)
t(x0,y0,z0)=\operatorname{grad}F(x0,y0,z0) x \operatorname{grad}G(x0,y0,z0)\ne(0,0,0);
t(x0,y0,z0)
(x0,y0,z0).
(1) x+y+z-1=0 , x-y+z-2=0
is a line.
(2) x2+y2+z2-4=0 , x+y+z-1=0
is a plane section of a sphere, hence a circle.
(3) x2+y2-1=0 , x+y+z-1=0
is an ellipse (plane section of a cylinder).
(4) x2+y2+z2-16=0 ,
2+z | |
(y-y | |
0) |
2-9=0
is the intersection curve between a sphere and a cylinder.
For the computation of curve points and the visualization of an implicit space curve see Intersection.