geometry[hyperbola]  define a hyperbola

Calling Sequence


hyperbola(p, [A, B, C, E, F], n)
hyperbola(p, ['directrix'=dir, 'focus'=fou, 'eccentricity'=ecc], n)
hyperbola(p, ['foci'=foi, 'vertices'=ver], n)
hyperbola(p, ['foci'=foi, 'distancev'=disv], n)
hyperbola(p, ['vertices'=ver, 'distancef'=disf], n)
hyperbola(p, eqn, n)


Parameters


p



the name of the hyperbola

A, B, C, E, F



five distinct points

'directrix'=dir



dir is the line which is the directrix of the hyperbola

'focus'=fou



fou is a point which is the focus of the hyperbola

'eccentricity'=ecc



ecc is a constant bigger than one denoting the eccentricity of the hyperbola

'vertices'=ver



where ver is a list of two points which is the vertices of the hyperbola

'foci'=foi



foi is a list of two points which is the foci of the hyperbola

'distancev'=disv



where disv is the distance between the two vertices

'distancef'=disf



where disf is the distance between the two foci

eqn



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

n



(optional) a list of two names representing the names of the horizontalaxis and verticalaxis





Description


•

A hyperbola is the set of all points in the plane, the difference of whose distances from two fixed points is a given positive constant that is less than the distance between the fixed points.

•

The two fixed points are called the foci. The line through the foci is called the focal axis, and the line through the center and perpendicular to the focal axis is called the conjugate axis. The hyperbola intersects the focal axis at two points, called vertices.

•

Associated with every hyperbola is a pair of lines, called the asymptotes of the hyperbola. These lines intersect at the center of the hyperbola and have the property that as a point P moves along the hyperbola away from the center, the distance between P and one of the asymptotes approaches zero.

•

The two fixed points are called the foci.

•

A hyperbola 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 hyperbola.

–

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

–

from the foci, and vertices. The input is a list of the form ['foci' = foi, 'vertices' = ver] where foi and ver are explained above.

–

from the foci and the distance between the two vertices. The input is a list of the form ['foci' = foi, 'distancev' = disv] where foi and disv are explained above.

–

from the vertices and the distance between the two foci. The input is a list of the form ['vertices' = ver, 'distancef' = disf] where ver and disf 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 horizontalaxis and verticalaxis respectively.

–

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

•

To access the information relating to an hyperbola p, use the following function calls:

form(p)

returns the form of the geometric object (i.e., hyperbola2d if p is a hyperbola).

center(p)

returns the name of the center of p.

foci(p)

returns a list of two foci of p.

vertices(p)

returns a list of two vertices of p.

asymptotes(p)

returns a list of two asymptotes of p.

Equation(p)

returns the equation that represents the hyperbola p.

HorizontalName(p)

returns the name of the horizontalaxis; or FAIL if the axis is not assigned a name.

VerticalName(p)

returns the name of the verticalaxis; or FAIL if the axis is not assigned a name.

detail(p)

returns a detailed description of the hyperbola p.



•

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



Examples


>


define hyperbola h1 from its algebraic representation:
>


>


 (1) 
>


 (2) 
>


 (3) 
>


 (4) 
define hyperbola h2 from its foci and vertices:
>


>


 (5) 
define hyperbola h3 from its foci and distance between the two vertices:
>


>


 (6) 
define hyperbola h4 from its vertices and distance between the two foci:
>


>


 (7) 
define hyperbola h5 from five distinct points:
>


>


do some simplifications:
>


 (8) 
define hyperbola h6 from its directrix, focus and eccentricity:
>


>


 (9) 

