PerpendicularLine - Maple Help

geometry

 PerpendicularLine
 find the line which goes through a given point and is perpendicular to a given line

 Calling Sequence PerpendicularLine(lp, P, l )

Parameters

 lp - the name of the line to be created P - point l - line

Description

 • The routine finds the line lp which goes through point P and is perpendicular to line l.
 • For a detailed description of the line to be created lp, use the routine detail (e.g., detail(lp))
 • The command with(geometry,PerpendicularLine) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{geometry}\right):$
 > $\mathrm{point}\left(P,2,3\right),\mathrm{line}\left(l,x+y=1,\left[x,y\right]\right)$
 ${P}{,}{l}$ (1)
 > $\mathrm{PerpendicularLine}\left(\mathrm{lp},P,l\right)$
 ${\mathrm{lp}}$ (2)
 > $\mathrm{detail}\left(\mathrm{lp}\right)$
 $\begin{array}{ll}{\text{name of the object}}& {\mathrm{lp}}\\ {\text{form of the object}}& {\mathrm{line2d}}\\ {\text{equation of the line}}& {1}{+}{x}{-}{y}{=}{0}\end{array}$ (3)