Docsity

Spherical to Rectangular Coordinates Conversion and Angle Between Two Points - Prof. David, Study notes of Trigonometry

Toggle sidebar
bg1
Dr. Neal, Spring 2009
MATH 117 Spherical to Rectangular Coordinates
A point in three-dimensional space is uniquely determined by its spherical coordinates
(, , ), where is the length (or radius of the sphere), is the sideways angle
measured from the positive
x
-axis, and is the vertical angle measured upward or
downward from the
x
y
plane to the point.
x
(x,y,z)
r
(x,y, 0)
z
We generally take –90º ≤ ≤ 90º and 0 ≤ ≤ 360º, although sometimes we take
–180º ≤ ≤ 180º. Of course, ≥ 0. Now given the spherical coordinates ( , , ), we
wish to find the rectangular coordinates (
x
,
y
,
z
).
The
z
coordinate: From the relationship sin =z, we have
z
= sin .
The radius r on the xy plane: From the relationship cos =r, we have r=cos
The x and y coordinates: As usual, x=rcos and y=rsin . By using r=cos ,
we have
x
= cos cos and
y
= cos sin .
The rectangular coordinates of a point ( , , ) are given by
x
= cos cos
y
= cos sin
z
= sin
Example 1. Compute the rectangular coordinates of the two points
u
= (12, 120º, 30º)
and
v
= (20, 270º, –45º).
pf3
pf4
pf5

Partial preview of the text

Download Spherical to Rectangular Coordinates Conversion and Angle Between Two Points - Prof. David and more Study notes Trigonometry in PDF only on Docsity!

MATH 117 Spherical to Rectangular Coordinates

A point in three-dimensional space is uniquely determined by its spherical coordinates ( , , ), where is the length (or radius of the sphere), is the sideways angle measured from the positive x -axis, and is the vertical angle measured upward or downward from the x y plane to the point.

x

( x , y , z )

r

( x , y , 0)

z

We generally take –90º ≤ ≤ 90º and 0 ≤ ≤ 360º, although sometimes we take –180º ≤ ≤ 180º. Of course, ≥ 0. Now given the spherical coordinates ( , , ), we wish to find the rectangular coordinates ( x , y , z ).

The z coordinate : From the relationship sin = z^ , we have z = sin.

The radius r on the xy plane : From the relationship cos = r^ , we have r = cos

The x and y coordinates : As usual, x = r cos and y = r sin. By using r = cos , we have x = cos cos and y = cos sin.

The rectangular coordinates of a point ( , , ) are given by

x = cos cos y = cos sin z = sin

Example 1. Compute the rectangular coordinates of the two points u = (12, 120º, 30º) and v = (20, 270º, –45º).

u

y

x

z For point^ u^ ,^ = 12,^ = 120º, and^ = 30º.

z = 12 sin30º = 12 × 1 2

x = 10 cos30ºcos120º = 12 × 3 2

× 1

y = 12 cos30º sin120º= 12 × 3 2

× 3

Thus, u = ( 3 3 , 9, 6).

v

y

y

For v , = 20, = 270º, and = –45º.

z = 20 sin(−45º) = 20 × −^2 2

x = 20 cos(−45º) cos270º = 20 × 2 2

× 0 = 0

y = 20 cos( −45º)sin270º = 20 × 2 2

× − 1 = − 10 2

Thus, v = (0, − 10 2 , − 10 2 ).

u

v

y

y

The angle in between u and v is

= cos−^1 ( cos30ºcos( −45º)cos(120º −270º) + sin30º sin(−45º))

= cos−^1 ( cos30ºcos( −45º)cos( −150º) + sin30º sin( −45º))

= cos−^1 2

× 2

× −^3

× −^2

= cos−^1 −^3 8

 = cos−^1 −^5 8

Exercise. Find the angle between u = (10, 100º, 60º) and v = (6, –20º, –30º).

(Answer on next page)

Use = cos−^1 ( cos 1 cos 2 cos( 1 − 2 ) + sin 1 sin 2 )

with

1 = 60º^2 = –30º^1 = 100º^2 = –20º

= cos−^1 ( cos60ºcos( −30º)cos(100º −(−20º)) + sin60º sin( −30º))

= cos−^1 ( cos60ºcos( −30º)cos(120º) + sin60º sin(−30º))

= cos−^1 2

× 3

× −^1

× −^1

= cos−^1 −^3 8

 = cos−^1 −^3 8