Coordinate Transformations

Representing a Point in Space

A point P in 3D space is represented using a vector (sometimes). Although, the coordinates of this vector depend entirely on the coordinate frame we are using as a reference.

Let's consider two different coordinate frames, {A} and {B}.

AP=[pxpypz]

Each vector is just a set of three coordinates that locate the point P along the axes of that particular frame.

Rigid Body Transformations

When we talk about transformations, we're often dealing with rigid bodies. This means the object itself doesn't bend or deform; it only changes its position (translation) and orientation (rotation) in space.

Rotation Matrix

A rotation matrix describes the orientation of one coordinate frame with respect to another. ( This statement might not always hold btw)

The notation BAR represents the rotation matrix that maps the coordinates of a vector from frame {B} to frame {A}.

AP=BAR BP

This equation takes a point described in frame {B} (BP) and, by pre-multiplying it with the rotation matrix BAR, gives us the coordinates of that same point as described in frame {A} (AP).

Deriving the Rotation Matrix

How do we find the values inside BAR? The matrix is constructed from the dot products of the unit vectors of the two frames.

Let the unit vectors for frame {A} be X^A,Y^A,Z^A and for frame {B} be X^B,Y^B,Z^B.

The matrix BAR is a 3x3 matrix whose columns are the unit vectors of frame {B} expressed in frame {A}'s coordinates.

BAR=[AX^BAY^BAZ^B]

Each of those column vectors can be found by projecting the {B} unit vectors onto the {A} axes:

Coordinate Transformations

Representing a Point in Space

A point P in 3D space is represented using a vector. Although, the coordinates of this vector depend entirely on the coordinate frame we are using as a reference

Let's consider two different coordinate frames, {A} and {B}.

AP=[pxpypz]

Each vector is just a set of three coordinates that locate the point P along the axes of that particular frame.

Rigid Body Transformations

When we talk about transformations, we're often dealing with rigid bodies. This means the object itself doesn't bend or deform; it only changes its position (translation) and orientation (rotation) in space. A transformation is a way of mapping points from one frame to another


Rotation Matrix

The primary tool for handling rotations is the rotation matrix. A rotation matrix describes the orientation of one coordinate frame with respect to another.

Pasted image 20250919004914.png

The notation BAR represents the rotation matrix that maps the coordinates of a vector from frame {B} to frame {A}. This mapping is expressed as:

AP=BAR BP

(Craig, 2014, Eq. 2.13)

This equation takes a point described in frame {B} (BP) and, by pre-multiplying it with the rotation matrix BAR, gives us the coordinates of that same point as described in frame {A} (AP).

Deriving the Rotation Matrix

The matrix BAR is a 3x3 matrix whose columns are the unit vectors of frame {B} expressed in frame {A}'s coordinates

Let the unit vectors for frame {A} be X^A,Y^A,Z^A and for frame {B} be X^B,Y^B,Z^B.

BAR=[AX^BAY^BAZ^B]

Each column vector is found by projecting the {B} unit vectors onto the {A} axes. This means the components of the rotation matrix are the dot products of the unit vectors of the two frames

BAR=[X^BX^AY^BX^AZ^BX^AX^BY^AY^BY^AZ^BY^AX^BZ^AY^BZ^AZ^BZ^A]

(Craig, 2014, Eq. 2.3)

Properties of a Rotation Matrix

now go read chapter 2 JJ Craig