Difference between revisions of "PerpendicularLine Command"

From GeoGebra Manual
Jump to: navigation, search
(removed unnecessary tags and elements in the examples)
Line 3: Line 3:
 
;PerpendicularLine[ <Point>, <Line> ]
 
;PerpendicularLine[ <Point>, <Line> ]
 
:Creates a line through the point perpendicular to the given line.
 
:Creates a line through the point perpendicular to the given line.
:{{example|1=<div>Let <code><nowiki>c: -3x + 4y = -6</nowiki></code> be a line with the points <code><nowiki>A = (-2, -3)</nowiki></code> and <code><nowiki>B = (2, 0)</nowiki></code>. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d: -4x - 3y = 17''.</div>}}
+
:{{example|1=<div>Let ''c'': -3''x'' + 4''y'' = -6 be a line and ''A'' = (-2, -3) a point. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d'': -4''x'' - 3''y'' = 17.</div>}}
  
  
 
;PerpendicularLine[ <Point>, <Segment> ]
 
;PerpendicularLine[ <Point>, <Segment> ]
 
:Creates a line through the point perpendicular to the given segment.
 
:Creates a line through the point perpendicular to the given segment.
:{{example|1=<div>Let <code><nowiki>c = 3.61</nowiki></code> be the segment between the two points <code><nowiki>A = (-3, 3)</nowiki></code> and <code><nowiki>B = (0, 1)</nowiki></code>. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d: -3x + 2y = 15''.</div>}}
+
:{{example|1=<div>Let ''c'' be the segment between the two points <code><nowiki>A = (-3, 3)</nowiki></code> and <code><nowiki>B = (0, 1)</nowiki></code>. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d: -3x + 2y = 15''.</div>}}
  
  
 
;PerpendicularLine[ <Point>, <Vector> ]
 
;PerpendicularLine[ <Point>, <Vector> ]
 
:Creates a line through the point perpendicular to the given vector.
 
:Creates a line through the point perpendicular to the given vector.
:{{example|1=<div>Let <code><nowiki>Vector[ (5, 3), (1, 1) ]</nowiki></code> be the vector ''u'' and <code><nowiki>A = (-2, 0)</nowiki></code> a point. <code><nowiki>PerpendicularLine[ A, u ]</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}}
+
:{{example|1=<div>Let ''u'' be a vector between two points: ''u'' = ''Vector''[ (5, 3), (1, 1) ] and A = (-2, 0) a point. <code><nowiki>PerpendicularLine[ A, u ]</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}}
  
  

Revision as of 11:41, 14 November 2013



PerpendicularLine[ <Point>, <Line> ]
Creates a line through the point perpendicular to the given line.
Example:
Let c: -3x + 4y = -6 be a line and A = (-2, -3) a point. PerpendicularLine[ A, c ] yields the line d: -4x - 3y = 17.


PerpendicularLine[ <Point>, <Segment> ]
Creates a line through the point perpendicular to the given segment.
Example:
Let c be the segment between the two points A = (-3, 3) and B = (0, 1). PerpendicularLine[ A, c ] yields the line d: -3x + 2y = 15.


PerpendicularLine[ <Point>, <Vector> ]
Creates a line through the point perpendicular to the given vector.
Example:
Let u be a vector between two points: u = Vector[ (5, 3), (1, 1) ] and A = (-2, 0) a point. PerpendicularLine[ A, u ] yields the line c: 2x + y = -4.


Note: See also Tool Perpendicular Line.gif Perpendicular Line tool.
© 2024 International GeoGebra Institute