Direct Vector Homework: Calculating Direction b/w Two x,y,z Coordinates

  • Thread starter Thread starter quddusaliquddus
  • Start date Start date
  • Tags Tags
    Direction Vector
Click For Summary

Homework Help Overview

The discussion revolves around calculating a 3D vector that represents the direction between two given coordinates in a three-dimensional space. The original poster presents a specific case involving coordinates and seeks clarification on the method to derive the direction vector.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • The original poster considers subtracting the respective coordinate values to find the direction vector and tests this with a simple example. Other participants confirm this approach and discuss how to derive a second vector using the direction vector.

Discussion Status

The discussion includes confirmations of the original poster's method and explores additional questions about vector calculations. While some guidance has been provided, there is no explicit consensus on all aspects of the problem.

Contextual Notes

Participants are working within the constraints of a homework assignment, which may limit the depth of exploration and the information available for discussion.

quddusaliquddus
Messages
353
Reaction score
3

Homework Statement



I have two x,y,z coordinates - a & b. I know the distance between the coordinates. I need to get a 3D vector which represent the direction between vector a and vector b.

Homework Equations



I am unsure as to whether the I should simply substract each respective coordinate value from one to the other i.e. (x1-x2,y1-y2,z1-z2)

The Attempt at a Solution



I tried to apply the forumula above to a trivial case e.g.

A = (1,1,1); B = (2,2,2); C=(2-1,2-1,2-1,)=(1,1,1)

I am not sure if this is right.
 
Physics news on Phys.org
That's right.
 
Thanks.
 
On a side note - how can i calculate the second vector from the first vector and the direction vector? Would l just add the direction vect to the first vector?
 
obviously, if d = b - a, then b = a + d!:smile:
 
Thanks again!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
1K
Replies
17
Views
3K
Replies
1
Views
1K
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
15K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K