Jump to content
Krion

If a vector also has a length, why is it perceived to be of 3 values?

Recommended Posts

Posted (edited)

Was wondering this when I learned about length vector functions in a tutorial.. :) 

Edited by that Abstract guy

Share this post


Link to post
Share on other sites
Posted (edited)

Because the three values defines an imaginary line going from 0,0,0 to the position in space described by the 3 values. That point can be far away or i can be close to 0,0,0. This way the 3 values are able to define both a direction and a length.

-b

Edited by bonsak
  • Like 4

Share this post


Link to post
Share on other sites

Thanks for the answers and resources all of you!

Share this post


Link to post
Share on other sites
Posted (edited)

There's ways to decompose/describe a vector

- 3 coordinates (xyz) that scale the coordinate system unit vectors (ijk) and add them together:  P = i*x + j*y + k*z.

- direction (vector scaled to length 1) and legth/magnitude (distance from tail to head of the vector)

- direction (two angles) and length

And more...

It's all about using the representation that is more sensible to the operation you are doing. For angular related calcs direction is handy, while for position calcs you want to deal with xyz, etc.

Edited by probiner
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×