AreSkew - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Student[MultivariateCalculus]

 AreSkew
 determine if two lines are skew

 Calling Sequence AreSkew(l1, l2)

Parameters

 l1, l2 - Line ; Line defined in Student[MultivariateCalculus]

Description

 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{MultivariateCalculus}\right]\right):$
 > $\mathrm{l1}≔\mathrm{Line}\left(\left[3,2,6\right],⟨-2,5,1⟩\right):$
 > $\mathrm{l2}≔\mathrm{Line}\left(\left[5,7,3\right],⟨4,2,2⟩\right):$
 > $\mathrm{AreSkew}\left(\mathrm{l1},\mathrm{l2}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{Intersects}\left(\mathrm{l1},\mathrm{l2}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{AreParallel}\left(\mathrm{l1},\mathrm{l2}\right)$
 ${\mathrm{false}}$ (3)

Graphing two skew lines.

 > $\mathrm{p1}≔\mathrm{GetPlot}\left(\mathrm{Line}\left(\left[3,2,6\right],⟨-2,5,1⟩\right),'\mathrm{caption}'="",'\mathrm{showvector}'=\mathrm{false},'\mathrm{showpoint}'=\mathrm{false},'\mathrm{lineoptions}'=\left['\mathrm{color}'="red"\right]\right):$
 > $\mathrm{p2}≔\mathrm{GetPlot}\left(\mathrm{Line}\left(\left[5,7,3\right],⟨4,2,2⟩\right),'\mathrm{caption}'="",'\mathrm{showvector}'=\mathrm{false},'\mathrm{showpoint}'=\mathrm{false},'\mathrm{lineoptions}'=\left['\mathrm{color}'="green"\right]\right):$
 > $\mathrm{plots}\left[\mathrm{display}\right]\left(\left[\mathrm{p1},\mathrm{p2}\right],'\mathrm{caption}'="Two skew lines"\right)$
 > $\mathrm{l3}≔\mathrm{Line}\left(\left[0,1,0\right],⟨6,9,-3⟩\right):$
 > $\mathrm{l4}≔\mathrm{Line}\left(\left[1,4,0\right],⟨-2,-3,1⟩\right):$
 > $\mathrm{AreSkew}\left(\mathrm{l3},\mathrm{l4}\right)$
 ${\mathrm{false}}$ (4)
 > $\mathrm{Intersects}\left(\mathrm{l3},\mathrm{l4}\right)$
 ${\mathrm{false}}$ (5)
 > $\mathrm{AreParallel}\left(\mathrm{l3},\mathrm{l4}\right)$
 ${\mathrm{true}}$ (6)

Graphing two parallel lines.

 > $\mathrm{p3}≔\mathrm{GetPlot}\left(\mathrm{Line}\left(\left[0,1,0\right],⟨6,9,-3⟩\right),'\mathrm{caption}'="",'\mathrm{showvector}'=\mathrm{false},'\mathrm{showpoint}'=\mathrm{false},'\mathrm{lineoptions}'=\left['\mathrm{color}'="red"\right]\right):$
 > $\mathrm{p4}≔\mathrm{GetPlot}\left(\mathrm{Line}\left(\left[1,4,0\right],⟨-2,-3,1⟩\right),'\mathrm{caption}'="",'\mathrm{showvector}'=\mathrm{false},'\mathrm{showpoint}'=\mathrm{false},'\mathrm{lineoptions}'=\left['\mathrm{color}'="green"\right]\right):$
 > $\mathrm{plots}\left[\mathrm{display}\right]\left(\left[\mathrm{p3},\mathrm{p4}\right],'\mathrm{caption}'="Two parallel lines"\right)$

Compatibility

 • The Student[MultivariateCalculus][AreSkew] command was introduced in Maple 17.
 • For more information on Maple 17 changes, see Updates in Maple 17.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 23, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://fr.maplesoft.com/support/help/errors/view.aspx?path=Student%2FMultivariateCalculus%2FAreSkew", "fetch_time": 1669886902000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2022-49/segments/1669446710808.72/warc/CC-MAIN-20221201085558-20221201115558-00555.warc.gz", "warc_record_offset": 311572593, "warc_record_length": 30387, "token_count": 1019, "char_count": 2957, "score": 3.546875, "int_score": 4, "crawl": "CC-MAIN-2022-49", "snapshot_type": "longest", "language": "en", "language_score": 0.22744159400463104, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00041-of-00064.parquet"}