New Reply

3D coordinate system

 
Share Thread Thread Tools
Jul29-12, 04:22 AM   #1
 

3D coordinate system


Given two points in 3D, is there a way to find the slope of that line.
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
Jul29-12, 05:19 AM   #2
 
Quote by Lizwi View Post
Given two points in 3D, is there a way to find the slope of that line.
Hey Lizwi.

Your question is incomplete because the slope is usually with respect to some direction.

What you can do is find the direction of the line (take two points on the line with a difference of unit parameter: i.e. take t = 1 and t = 0 and form a vector from those two points), and then project this vector onto some direction vector with length 1.

Alternatively you can simply take your vector calculated with t = 0 and t = 1 and find the length of this vector: this is equivalent to the concept of the total differential that is used in multivariable calculus.

In other geometries, you need to consider the basis, determinant and the stuff in tensor theory but for this example for a normal cartesian geometry, you take the difference of t = 1 and t = 0 and use the fact that the rate of change is constant across the line to give you this 'tangent' vector.
Jul29-12, 05:31 AM   #3
 
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by Lizwi View Post
Given two points in 3D, is there a way to find the slope of that line.
Adding to chiro's post:

A "slope" is always connected to some ANGLE.

And, in order to talk about angles, you need TWO lines.

Thus, you cannot talk about "slope", either, without having some reference line in addition to the line specified by the two points.

Agreed?
Jul29-12, 03:46 PM   #4
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus

3D coordinate system


Consider a unit vector in the direction of a given line. In two dimensions, it is [itex]<cos(\theta), sin(\theta)>[/itex] where [itex]\theta[/itex] is the angle the line makes with the x-axis. (And the slope is [itex]tan(\theta)[/itex].)

A unit vector in three dimensions is given by [itex]<cos(\alpha), cos(\beta), cos(\gamma)>[/itex] (the "direction cosines" of the direction) where [itex]\alpha[/itex] is the angle the line makes with the x axis, [itex]\beta[/itex] is the angle the line makes with the y axis, and [itex]\gamma[/itex] is the angle the line makes with the z axis. Because this is a unit vector, these must satisfy [itex]cos^2(\alpha)+ cos^2(\beta)+ cos^2(\gamma)= 1[/itex] but this still depends upon two angles so we cannot give a single number, slope or other, that determines the direction of the line.

(Note that in two dimensions we can take [itex]\gamma= 0[/itex] so [itex]cos^2(\alpha)+ cos^2(\beta)= 1[/itex] which means that [itex]cos(\beta)= sin(\alpha)[/itex].)
New Reply
Thread Tools


Similar Threads for: 3D coordinate system
Thread Forum Replies
Convert this rectangular coordinate system point to spherical coordinate system Calculus & Beyond Homework 1
Coordinate system transform for antenna measuring system Electrical Engineering 1
Coordinate transformation and choice of a suitable coordinate system. Special & General Relativity 2
3D coordinate system Calculus & Beyond Homework 2
Coordinate System help... Introductory Physics Homework 1