Student[MultivariateCalculus]
AreSkew
determine if two lines are skew
Calling Sequence
Parameters
Description
Examples
Compatibility
AreSkew(l1, l2)
l1, l2
-
Line ; Line defined in Student[MultivariateCalculus]
The AreSkew command determines if two Line objects are skew.
Lines are skew if they do not intersect and are not parallel to each other. Since lines in 2D space always either intersect or are parallel, this command always returns false for lines in 2D space.
with⁡StudentMultivariateCalculus:
l1≔Line⁡3,2,6,−2,5,1:
l2≔Line⁡5,7,3,4,2,2:
AreSkew⁡l1,l2
true
Intersects⁡l1,l2
false
AreParallel⁡l1,l2
Graphing two skew lines.
p1≔GetPlot⁡Line⁡3,2,6,−2,5,1,caption=,showvector=false,showpoint=false,lineoptions=color=red:
p2≔GetPlot⁡Line⁡5,7,3,4,2,2,caption=,showvector=false,showpoint=false,lineoptions=color=green:
plotsdisplay⁡p1,p2,caption=Two skew lines
l3≔Line⁡0,1,0,6,9,−3:
l4≔Line⁡1,4,0,−2,−3,1:
AreSkew⁡l3,l4
Intersects⁡l3,l4
AreParallel⁡l3,l4
Graphing two parallel lines.
p3≔GetPlot⁡Line⁡0,1,0,6,9,−3,caption=,showvector=false,showpoint=false,lineoptions=color=red:
p4≔GetPlot⁡Line⁡1,4,0,−2,−3,1,caption=,showvector=false,showpoint=false,lineoptions=color=green:
plotsdisplay⁡p3,p4,caption=Two parallel lines
The Student[MultivariateCalculus][AreSkew] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
Student[MultivariateCalculus][Line]
Student[MultivariateCalculus][AreParallel]
Student[MultivariateCalculus][Intersects]
Student[MultivariateCalculus][GetIntersection]
Student[MultivariateCalculus][GetDirection]
Download Help Document