Exploring Analyic Geometry with Mathematica® |
|||||
| Home | Contents | Commands | Packages | Explorations | Reference |
| Tour | Lines | Circles | Conics | Analysis | Tangents |
Conic Arcs
Definition of a Conic Arc
Equation of a Conic Arc
Projective Discriminant
Conic Characteristics
Parametric Equations
Explorations
In previous chapters we introduced line segments and circular arcs which are pieces of more complete curves. In this chapter we introduce a conic arc which is a piece of a conic curve. As with circular arcs, conic arcs are useful for constructing smoothly connected sequences of curves as well as pleasing aesthetic shapes.
Initialize
To initialize Descarta2D, select the input cell bracket and press SHIFT-Enter.
This initialization assumes that the Descarta2D software has been copied into one of the standard directories for AddOns which are on the Mathematica search path, $Path.
<<Descarta2D`
Definition of a Conic Arc [Top]
Definition of a conic arc.
Let points
and
be the start and end points, respectively, of a segment of a conic curve, Q, and let
be the point of intersection, or apex, of the two tangent lines to the curve at
and
as shown in Figure [conarc:fig01]. Furthermore, let h equal the maximum height of the segment measured from the chord
and k be the distance from
to the chord
. The points
,
,
and the ratio ρ, given by ρ=h/k, define a conic arc. The ratio ρ is called the projective discriminant of the conic arc, and the point at the maximum height on the curve is called the shoulder point. The points
,
and
are called control points of the conic arc.
Example: Plot the conic arc with start and end points (-2,1) and (3,0), respectively, apex point (1,2) and projective discriminant ρ=0.45.
Solution: Descarta2D represents a conic arc as
ConicArc2D[{x
,y
},{x
,y
},{x
,y
},ρ]
where
and
are the coordinates of the start and end points, respectively,
is the apex point and ρ is the projective discriminant.
Sketch2D[{c1=ConicArc2D[{-2,1},{1,2},{3,0},0.45]},
PlotRange->{{-3,3},{-1,2}}]
There are several functions provided by Descarta2D to query conic arcs. The function Rho2D[cnarc] returns the ρ value of the conic arc. Point2D[cnarc,Apex2D] returns the apex control point of a conic arc. The coordinates of points on a conic arc at a parameter value t are returned by the function cnarc[t], t=0 returns the start point coordinates, t=1 the end point coordinates and t=1/2 the shoulder point coordinates.
{Rho2D[c1],
Point2D[c1,Apex2D],
Map[c1[#]&, {0, 1/2, 1}]}
■
Equation of a Conic Arc [Top]
The curve underlying the conic arc is clearly a conic curve since there are five conditions imposed on the curve (two points, two tangents and the projective discriminant, ρ). The projective discriminant, ρ, can be interpreted as defining a third line tangent to the curve, parallel to the line
at a distance h from
, where h is given by h=ρk and k is the distance from
to line
.
In a subsequent chapter we will describe a general procedure for finding the quadratic equation of a conic constrained by two points and three tangent lines, and we will show that when the two points are on two of the tangent lines, there is only one quadratic satisfying the conditions. Specifically, the equation is given by
where,
k
=

α
=
![]()
β
=
![]()
Example: Find the quadratic associated with the conic arc with start and end points (0,0) and (3,0), respectively, apex point (1,2) and projective discriminant ρ=1/4. Find the conic curve associated with the conic arc.
Solution: The function Quadratic2D[cnarc] returns the quadratic associated with a conic arc. The function Loci2D[cnarc] returns a list containing the conic curve associated with a conic arc.
ca1=ConicArc2D[{0,0},{1,2},{3,0},1/4];
{q1=Quadratic2D[ca1] //Simplify,
c1=Loci2D[ca1] //N}
Map[Sketch2D[{#},PlotRange->{{-1,4},{-2,1}}]&,
{ca1,c1}]
■
Projective Discriminant [Top]
In this section we will examine the significance of the value of the projective discriminant, ρ. By definition, ρ may take on values in the range
0<ρ<1.
Consider the conic arc, S, with start and end points (0,0) and (1,0), respectively, apex point
and projective discriminant ρ. Clearly, any arbitrary conic arc can be transformed to coincide with S by applying a proper sequence of translations, rotations and scaling transformations. Such transformations do not change the type of conic curve associated with the conic arc. Using Mathematica we can find the quadratic equation underlying S as shown by the following commands.
Clear[xA,yA,p];
S=ConicArc2D[{0,0},{xA,yA},{1,0},p];
Q=Quadratic2D[S] //Simplify
As has already been shown in a previous chapter, the specific conic type of the quadratic equation
is determined by the discriminant,
. For an ellipse D<0, for a parabola D=0, and for a hyperbola D>0. For the quadratic, Q, representing the conic arc S defined above,
. It is clear by inspection, that if 0<ρ<1/2 the conic is an ellipse; if ρ=1/2 the conic is a parabola; and for 1/2<ρ<1 the conic is a hyperbola.
Conic Characteristics [Top]
In Section [conarc:sec01] we showed that the quadratic equation associated with a conic arc is given by
where,
k
=

α
=
![]()
β
=
![]()
Therefore, since we know its quadratic equation, all the geometric characteristics of the conic curve associated with the conic arc can be expressed in terms of the defining elements of the conic arc,
,
,
and ρ. Of particular interest is the formula for the center of a central conic (circle, ellipse or hyperbola), since this formula is used in the next section to convert a conic into a conic arc. The center point (H,K) is given by
where
is the midpoint of the conic arc's chord and has coordinates
This formula is derived in the exploration cacenter.html.
Example: Find the center of the conic arc with control points (0,0), (2,1) and (3,0) and ρ=1/4.
Solution: The Descarta2D function Point2D[cnarc] returns the center point of a conic arc (the underlying conic cannot be a parabola).
ca1=ConicArc2D[{0,0},{2,1},{3,0},1/4];
Point2D[ca1]
■
Let Q be a conic and L be a line that intersects Q in two distinct points. We wish to determine the conic arc, S cut by L through Q. Clearly, the intersection points of the line L with Q are the start and end points of S. Also, the line passing through the intersection points is the polar (line) of the apex point,
, of S. To complete the definition of the conic arc, we need to determine ρ. If the conic is a parabola, then ρ=1/2; otherwise, we can assume that the conic is a central conic. Assume the center of the conic is (h,k). Then, using the formula for the x-coordinate of the center of a conic arc given in Equation ([conarc:eqn01]), we solve to find the value of ρ to be
where
is the midpoint of
. We choose the plus sign in the denominator because ρ has to be less than one and the radical produces a positive number. In certain configurations, this formula will be indeterminate and we instead use the y-coordinate of the center of the conic arc yielding
again choosing the plus sign in the denominator.
Example: Find the conic arc cut by the line 2x-4y=0 through the ellipse
Plot the original curves and the conic arc separately.
Solution: The Descarta2D function ConicArc2D[line,conic] returns a conic arc defined by a line cutting a conic curve.
l1=Line2D[2,-4,0];
e1=Ellipse2D[{1,-1},3,2,0];
ca1=ConicArc2D[l1,e1]
Map[Print[Sketch2D[{#},PlotRange->{{-5,5},{-3,3}}]]&,
{{l1,e1},ca1}];
■
Parametric Equations [Top]
The conic arc defined in this chapter is a special case of a more general curve called a rational quadratic Bézier. The parametric equations of this simplified formulation are given by
x
=
![]()
y
=
![]()
where ρ=h/k is the projective discriminant and
![]()
=
![]()
![]()
=
2t(1-t)
![]()
=
![]()
It is clear from direct substitution that
is the point whose coordinates correspond to t=0, and
corresponds to t=1. The point where the curve intersects the line through the midpoint of
and
is called the shoulder point of the conic arc. The shoulder point corresponds to the parameter value t=1/2.
Example: Plot nine points at equal parameter values on the conic arc with (-2,1) and (1,2) as start and end point, (0,3) as the apex point and ρ=0.45.
Solution: The Descarta2D function cnarc[t] returns the coordinates of a point on a conic arc at a parameter t.
ca1=ConicArc2D[{-2,1},{0,3},{1,2},0.45];
Sketch2D[{ca1,Map[Point2D[ca1[#]]&,Range[0,8]/8]}]
■
Explorations [Top]
Circular Conic Arc. [cacircle.html]
Show that the conic arc with control points (0,0), (a,b) and (2a,0) will be a circular arc if
Center of a Conic Arc. [cacenter.html]
Show that the center point (H,K) of a conic arc whose control points are
,
and
and projective discriminant ρ is
H
=
![]()
K
=
![]()
where
is the midpoint of the conic arc's chord and has coordinates
Tangent Line at Shoulder Point. [catnln.html]
Let P be the point at parameter value t=1/2 on a unit conic arc, C, whose control points are
,
and
and whose projective discriminant is ρ. Let L be the line tangent to C at t. Show that L is parallel to the chord
at a distance bρ from
. The point P is called the shoulder point of the conic arc.
Coordinates of Shoulder Point. [shoulder.html]
Show that the coordinates of the shoulder point of a conic arc with control points
,
and
and projective discriminant ρ are given by
where
is the midpoint of the conic arc's chord and has coordinates
Shoulder Point on Median. [camedian.html]
Let C be a conic arc with control points
,
and
and projective discriminant ρ. Let P be the point on the median
associated with vertex
of triangle
such that
(
is the midpoint of
). Show that P is coincident with the shoulder point of C, having coordinates
Parametric Equations of a Conic Arc. [caparam.html]
Show that the parametric equations of a unit conic arc represent the same implicit quadratic equation as the one underlying the conic as derived from the control points
,
and
and ρ.