# PerpendicularVector Command Jump to: navigation, search

##### PerpendicularVector

This article is about GeoGebra command.

##### Command Categories (All commands)

PerpendicularVector[Line]
Returns the perpendicular vector of the line.
Note: A line with equation ax + by = c has the perpendicular vector (a, b).
PerpendicularVector[Segment]
Returns the perpendicular vector of the segment with the same length.
PerpendicularVector[Vector v]
Returns the perpendicular vector of the given vector.
Note: A vector with coordinates (a, b) has the perpendicular vector (-b, a).

## CAS-View

PerpendicularVector[Vector v]
Returns the perpendicular vector of the given vector.
Example: `PerpendicularVector[(3,2)]` yields the vector {-2,3}. `PerpendicularVector[(a,b)]` yields the vector {-b,a}.
• GeoGebra
• Help
• Partners
• Contact us
• Feedback & Questions
• This email address is being protected from spambots. You need JavaScript enabled to view it.
• +43 677 6137 2693
© 2021 International GeoGebra Institute