A vector in GeoGebra can be defined either by its coordinates, or by its start and end points. 
     GeoGebra Instruction 1
Algebra     View     and         Graphics     View     under         View     in         Menu.         Vector(<Point>)     and         enter         the         coordinates         of         the         vector         as         a         point—that         is,         as         (x,     y).         If         you         only         know         the         start         and         end         points,         use         the         command         Vector(<Start     Point>,     <End     Point>)     and         insert         those         values         accordingly.         Press         Enter.         Algebra     View     and         Graphics     View.         
      
     You can work with vectors in the same way as numbers in GeoGebra. If the name of your object is a lowercase letter, then GeoGebra interprets the coordinates as a vector. Uppercase letter names are interpreted as points. 
Example 1
If you have defined v:=(4, 3) and u:=(1, 3), then you can type 2v and get (8, 6), and u+v to get (5, 6). 
     You can also use GeoGebra to find the length of a vector. 
     GeoGebra Instruction 2
Algebra     View     and         Graphics     View     under         View     in         Menu.         Length(<Object>),         and         fill         in         your         vector         for         <Object>.         Press         Enter.         Algebra     View.         
      
     You can also use GeoGebra to find the distance between two points. 
     GeoGebra Instruction 3
View     tab,         select         both         Algebra     View     and         Graphics     View.         Distance(<Point>,     <Object>),         fill         in         the         names         of         the         point         and         the         object,         and         press         Enter.         Algebra     View.         
      
The image above shows the distance between two points, and . It also shows the distance from the vector and the point .
To find the distance between two points, you can either find the length of the vector going between them—as in Item 3—or use the command in Item 5.