conic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geometry

  

conic

  

define a conic

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

conic(p, [A, B, C, E, F], n)

conic(p, [dir, fou, ecc], n)

conic(p, eqn, n)

Parameters

p

-

the name of the conic

A, B, C, E, F

-

five distinct points

dir

-

the line which is the directrix of the conic

fou

-

point which is the focus of the conic

ecc

-

a positive number denoting the eccentricity of the conic

eqn

-

the algebraic representation of the conic (i.e., a polynomial or an equation)

n

-

(optional) list of two names representing the names of the horizontal-axis and vertical-axis

Description

• 

A conic p can be defined as follows:

– 

from five distinct points. The input is a list of five points. Note that a set of five distinct points does not necessarily define a conic.

– 

from the directrix, focus, and eccentricity. The input is a list of the form [dir, fou, ecc] where dir, fou, and ecc are explained above.

– 

from its internal representation eqn. The input is an equation or a polynomial. If the optional argument n is not given, then:

– 

if the two environment variables _EnvHorizontalName and _EnvVerticalName are assigned two names, these two names will be used as the names of the horizontal-axis and vertical-axis respectively.

– 

if not, Maple will prompt for input of the names of the axes.

• 

The routine returns a conic which includes the degenerate cases for the given input. The output is one of the following object: (or list of objects)

– 

a parabola

– 

an ellipse

– 

a hyperbola

– 

a circle

– 

a point (ellipse: degenerate case)

– 

two parallel lines or a "double" line (parabola: degenerate case)

– 

a list of two intersecting lines (hyperbola: degenerate case)

• 

The information relating to the output conic p depends on the type of output. Use the routine geometry[form] to check for the type of output. For a detailed description of the conic p, use the routine detail (i.e., detail(p))

• 

The command with(geometry,conic) allows the use of the abbreviated form of this command.

Examples

> 

with⁡geometry:

define conic c1 from its algebraic representation:

> 

_EnvHorizontalName≔x:_EnvVerticalName≔y:

> 

conic⁡c1,x2−2⁢x⁢y+y2−6⁢x−10⁢y+9=0,x,y:

> 

form⁡c1

parabola2d

(1)
> 

detail⁡c1

name of the objectc1form of the objectparabola2dvertex0,1focus1,2directrix2⁢x2+2⁢y2+22=0equation of the parabolax2−2⁢x⁢y+y2−6⁢x−10⁢y+9=0

(2)
> 

line⁡l,x=−2,x,y:point⁡f,1,0:e≔12:

> 

conic⁡c2,l,f,e,c,d:

> 

form⁡c2

ellipse2d

(3)
> 

point⁡A,1,23⁢sqrt⁡10,point⁡B,2,−23⁢sqrt⁡13,point⁡C,3,2⁢sqrt⁡2,point⁡E,4,−103,point⁡F,5,23⁢sqrt⁡34:

> 

conic⁡c3,A,B,C,E,F,t1,t2:

> 

form⁡c3

hyperbola2d

(4)
> 

conic⁡c4,x2−6⁢x+13+y2−4⁢y−9,x,y:

ellipse:   "the given equation is indeed a circle"

> 

form⁡c4

circle2d

(5)
> 

conic⁡c5,x2+y2−4⁢x−10⁢y+29=0,x,y:

conic:   "degenerate case: single point"

degenerate case of an ellipse

> 

detail⁡c5

name of the objectc5form of the objectpoint2dcoordinates of the point2,5

(6)
> 

conic⁡c6,x2−2⁢x⁢y+2⁢x+y2−2⁢y+1,x,y:

conic:   "degenerate case: a double line"

degenerate case of a parabola

> 

detail⁡c6

name of the objectc6form of the objectline2dequation of the line−2⁢x2+2⁢y2=0

(7)
> 

conic⁡c7,x2−2⁢x⁢y−4⁢x+y2+4⁢y−77,x,y

conic:   "degenerate case: two ParallelLine lines"

Line_1_c7,Line_2_c7

(8)

degenerate case of a parabola

> 

detail⁡c7

name of the objectLine_1_c7form of the objectline2dequation of the line−2⁢x2+2⁢y2+11⁢22=0,name of the objectLine_2_c7form of the objectline2dequation of the line−2⁢x2+2⁢y2−7⁢22=0

(9)
> 

conic⁡c8,11⁢x2+24⁢x⁢y+4⁢y2+26⁢x+32⁢y+15=0,x,y

conic:   "degenerate case: two intersecting lines"

Line_1_c8,Line_2_c8

(10)

the degenerate case of a hyperbola

> 

detail⁡c8

name of the objectLine_1_c8form of the objectline2dequation of the linex+2⁢y+1=0,name of the objectLine_2_c8form of the objectline2dequation of the line−11⁢x5−2⁢y5−3=0

(11)

See Also

geometry/objects

geometry[draw]

geometry[HorizontalName]

geometry[VerticalName]