extracting start and end coordinates of vector

raehs555 shared this question 8 months ago
Answered

Hi Guys,

If I have a vector defined, is there a way to extract the start coordinates and/or the end coordinates? (I'm thinking of something similar to using x(A) when you want to extract the x-coord of point A, except for vectors). I'm trying to avoid having to define a point at the beginning and end of each vector when I'm drawing vectors "tip-to-tail". Cheers!

Best Answer
photo

Hi,


Let vector u


x(Point(u,0)) | y(Point(u,0) )


x(Point(u,1)) | y(Point(u,1))

Comments (3)

photo
1

Hi,


Let vector u


x(Point(u,0)) | y(Point(u,0) )


x(Point(u,1)) | y(Point(u,1))

photo
1

Marvellous! Just what I was looking for. Thanks Noel!

photo
photo
1

The coordinates of vector define the horizontal and the vertical translation. It hasn't got start nor end coordinates. As for points you can use x(u) and y(u) to get these horizontal and vertical translations separately.

chris

© 2021 International GeoGebra Institute