define a line
line(l, [A, B])
line(l, eqn, n)
the name of the line
the algebraic representation of a line, that is, a polynomial or equation
(optional) a list of two names representing the names of the horizontal-axis and vertical-axis
In the geometry package, a line means a ``straight line''. It is unlimited in extent, i.e., it may be extended in either direction indefinitely.
A line l can be defined as follows:
from two given points A and B
from its algebraic representation eqn. I.e., eqn is a polynomial or an equation. If the third optional argument is not given, then:
if names are assigned to the two environment variables _EnvHorizontalName and _EnvVerticalName, then these two names will be used as the names of the horizontal-axis and vertical-axis respectively.
otherwise, Maple will prompt the user to input the names of the axes.
To access the information relating to a line l, use the following function calls:
returns the form of the geometric object (i.e., line2d if l is a line).
returns the equation that represents the line l.
returns the name of the horizontal-axis; or FAIL if the axis is not assigned a name.
returns the name of the vertical-axis; or FAIL if the axis is not assigned a name.
returns a detailed description of the line l.
The command with(geometry,line) allows the use of the abbreviated form of this command.
define two points A⁡0,0 and B⁡1,1
define the line l that passes through A and B
To assign names to the axes, assign the names to the environment variables _EnvHorizontalName and _EnvVerticalName.
_EnvHorizontalName ≔ x:_EnvVerticalName ≔ y:
name of the objectlform of the objectline2dequation of the line−x+y=0
Define a line from its algebraic representation.
Download Help Document
What kind of issue would you like to report? (Optional)