Unit Vector from Point A to Point B | Simple Vector Problem

  • Thread starter Thread starter graycolor
  • Start date Start date
  • Tags Tags
    Vector
graycolor
Messages
34
Reaction score
0
The unit vector that has the same direction as the vector from the point A=(2,2) to the point B=(4,0) is?

I chose to find the length so that would be A-B right?
I got (-2,2) as the vector between the two points.
I found its magnitude which was 2, then I divided the vector <-2,2> so it'll be a unit vector.

My answer was <-1,1> but I'm wrong.
 
Physics news on Phys.org
You're pretty close

Magnitude = sqrt(deltaX^2 + deltaX^2) <> 2

And you want the vector going in the direction that would get you from a to b. So you want to subtract b-a to get the direction
 
margaret37 said:
You're pretty close

Magnitude = sqrt(deltaX^2 + deltaX^2) <> 2

And you want the vector going in the direction that would get you from a to b. So you want to subtract b-a to get the direction

Ahah, Thank you

Sometimes my mind keeps flipping numbers around and the strange thing is I repeat the same mistakes over and over its like a disease or something haha.

Thanks,

Ray
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top