Multibody Dynamics · Module 2 of 10

Rigid-Body Kinematics: Position and Orientation

Before forces, get the geometry right. A rigid body’s state is where its origin is and how it is turned. Rotation matrices, angle sets, and Euler parameters are the language for that turn.

01

Readiness check

Tick only what you can do closed-notes before starting.

  • Multiply a 2 by 2 matrix by a vector.
  • Recall the sine and cosine of 30, 45, and 90 degrees.
  • State that a rotation matrix is orthogonal with determinant one.
  • Describe angular velocity as a vector.
  • Recall that a planar rotation has one angle, a spatial rotation three.
0 or 1 weak itemsContinue with this module.
2 weak itemsRevisit vectors and matrices in Mathematics, linear systems.
3 or more weak itemsReview rotation basics in Dynamics, Module 7.
02

The core idea

The configuration of a rigid body is a translation of its origin plus a rotation of its frame. The rotation can be stored as a matrix, a set of angles, or four Euler parameters; the choice trades simplicity for freedom from singularities.

global point: r = r_O + R p_bodyR orthogonal: RTR = I, det R = +1Euler parameters: e02 + e12 + e22 + e32 = 1

A rigid body never changes shape, so its position in space is fully known once you know where a reference point (the origin of a body-fixed frame) sits and how that frame is turned relative to the world. The turn is a rotation. A rotation matrix R maps any vector written in body coordinates into world coordinates, and it is orthogonal with determinant one, which keeps lengths and angles fixed. In three dimensions you need three numbers for orientation, and Euler angles or Bryan (roll-pitch-yaw) angles supply them, but every three-angle set has orientations where two axes line up and the description breaks down, a gimbal-lock singularity. Euler parameters, a unit quaternion of four numbers with one normalization constraint, remove that singularity and are what most multibody codes actually integrate. Angular velocity ties orientation to time: it is the vector whose direction is the instantaneous axis of rotation and whose length is the spin rate.

The skill works when: you keep body coordinates and world coordinates clearly separate and use R to move between them.
The skill breaks down when: you drive a three-angle set through a singularity and the rates blow up near gimbal lock.
The concept. A body’s orientation is a rotation R that carries a vector fixed in the body (blue) to its heading in the world (green). Position adds a translation of the body origin.
03

The skills, taught in order

Five skills describe where a body is and which way it points.

2.1 The rotation matrix

Build R from the body axes expressed in world coordinates. Its columns are the body unit vectors seen from the world, and RT rotates the other way. Orthogonality is the check that a matrix is a valid rotation.

2.2 Position of a body point

A point fixed in the body at p_body appears in the world at r = r_O + R p_body. This one relation places every feature of a body once the origin and rotation are known.

2.3 Euler and Bryan angles

Three successive rotations about chosen axes give three angles. Bryan (yaw-pitch-roll) angles are common for vehicles. They are compact but singular at certain orientations, so watch the pitch near ninety degrees.

2.4 Euler parameters

Store the rotation as an angle about an axis: e0 = cos(φ/2) and the vector part e = sin(φ/2) n. Four numbers with unit norm, no singularity, and clean composition make these the working choice for simulation.

2.5 Angular velocity

The angular velocity vector links orientation to its rate of change. Kinematic differential equations relate it to the time derivatives of angles or of Euler parameters, and they are what the integrator advances.

RepresentationNumbersSingularity?
Rotation matrix9 (with 6 constraints)No
Euler / Bryan angles3Yes (gimbal lock)
Euler parameters4 (with 1 constraint)No

Fewer numbers are easier to read but risk singularities; Euler parameters are the usual compromise inside a solver.

Engineering connection: a flight or vehicle simulator that tumbles through all orientations uses Euler parameters precisely so the model never hits gimbal lock at a critical moment.

04

Worked example 1: placing a body point in the world

A planar link has its origin at (1, 0) m and is rotated 30 degrees. A feature is fixed in the body at p_body = (0.5, 0.2) m. Find the feature’s global position.

Figure 1. A body point placed in the world: rotate the body vector by R(30°), then add the body origin. The green dot is the resulting global position.
  1. ProblemLocate the body point of Figure 1 in world coordinates.
  2. Given / findr_O = (1, 0), θ = 30°, p_body = (0.5, 0.2). Find r.
  3. AssumptionsRigid body, planar motion, angle measured counterclockwise from the world x-axis.
  4. Modelr = r_O + R(θ) p_body, with R(θ) = [[cosθ, −sinθ], [sinθ, cosθ]].
  5. EquationsR p = (cosθ·0.5 − sinθ·0.2, sinθ·0.5 + cosθ·0.2)
  6. SolveR p = (0.866·0.5 − 0.5·0.2, 0.5·0.5 + 0.866·0.2) = (0.333, 0.423). Add the origin: r = (1.333, 0.423) m.
  7. CheckThe feature stays 0.539 m from the origin before and after rotation (√(0.52+0.22) = 0.539), as a rigid rotation must preserve.
  8. ConclusionThe feature sits at (1.333, 0.423) m. Rotate the body vector, then translate: that two-step rule places every point on every body.
Result. r = (1.333, 0.423) m.
05

Worked example 2: a rotation as Euler parameters

A body is rotated 120 degrees about the axis (1, 1, 1). Write the Euler parameters and confirm they form a unit quaternion.

Figure 2. Euler parameters store a rotation as an angle about an axis. A 120° turn about (1,1,1) gives the unit quaternion (0.5, 0.5, 0.5, 0.5), with no singularity.
  1. ProblemExpress the rotation of Figure 2 as Euler parameters.
  2. Given / findφ = 120°, axis direction (1, 1, 1). Find e0, e1, e2, e3 and check the norm.
  3. AssumptionsThe axis is a unit vector after normalization; the rotation is a single turn about it.
  4. Modele0 = cos(φ/2); the vector part e = sin(φ/2) n with n the unit axis.
  5. Equationsn = (1,1,1)/√3, e0 = cos60° = 0.5e = sin60°·n = 0.866·0.577 = 0.5 each
  6. Solvee = (e0, e1, e2, e3) = (0.5, 0.5, 0.5, 0.5).
  7. CheckNorm squared = 0.52 × 4 = 1, so the quaternion is unit length, as every valid rotation requires.
  8. ConclusionThe rotation is the unit quaternion (0.5, 0.5, 0.5, 0.5). Four numbers describe the turn with no singularity, which is why solvers integrate these instead of angles.
Result. Euler parameters (0.5, 0.5, 0.5, 0.5), unit norm.
06

Misconceptions and diagnostics

MistakeSymptomDiagnostic questionCorrection
Mixing body and world framesAdding vectors that live in different framesWhich frame is this vector written in?Use R to bring both vectors into the same frame first.
Transposing the rotation the wrong wayPoints rotate backwardsAm I mapping body to world or world to body?R maps body to world; RT maps world to body.
Ignoring gimbal lockRates explode near a certain pitch angleIs any angle near its singular value?Switch to Euler parameters for large-range motion.
Letting the quaternion driftThe norm slips away from one during integrationIs the quaternion still unit length?Renormalize the Euler parameters each step.
07

Practice ladder

Level 1 · Direct skill

A planar body is rotated 90 degrees. Where does the body vector (2, 0) point in the world?

Show answer

R(90°)(2,0) = (0, 2). The vector rotates onto the world y-axis.

Level 2 · Mixed concept

A rotation matrix has columns (0.8, 0.6) and (−0.6, 0.8). Is it a valid rotation?

Show answer

Yes: columns are unit length and orthogonal, and the determinant is 0.8·0.8 − (−0.6)·0.6 = 1.

Level 3 · Independent problem

A body turns 180 degrees about the z-axis. Write its Euler parameters.

Show answer

e0 = cos90° = 0, e = sin90°·(0,0,1) = (0,0,1); quaternion (0, 0, 0, 1), norm 1.

Transfer task | Real engineering

Take a vehicle heading you know (yaw, pitch, roll) and explain which maneuver would push it toward gimbal lock and how Euler parameters avoid it.

What good work looks like

A good answer identifies a pitch near ninety degrees as the singular case, shows the angle rates growing, and notes that Euler parameters carry four numbers with no such singularity.

08

Working with AI, and proving it yourself

Ask AI to check a rotation, not to invent your convention

"Verify that my rotation matrix is orthogonal with determinant one."
"Convert this axis-angle rotation to Euler parameters and I will check the norm."
"Give me the orientation." Choosing and applying the representation is the skill.
"Rotate this for me." Doing the frame bookkeeping yourself is the point.

Portfolio task

Take a body from your own model, pick a representation, and write its orientation both as a matrix and as Euler parameters, showing they agree on one test vector.

Must include: one rotation shown two ways, a checked orthogonality or norm condition, and one vector mapped identically by both.
09

Retrieval and spaced review

Closed notes. Answer out loud, then reveal.

1. What is the configuration of a rigid body?

A translation of its origin plus a rotation of its frame.

2. Write the position of a body point in the world.

r = r_O + R p_body.

3. What two properties define a rotation matrix?

Orthogonality (RTR = I) and determinant +1.

4. Why prefer Euler parameters to three angles?

They avoid the gimbal-lock singularity of any three-angle set.

5. What does angular velocity connect?

Orientation to its rate of change over time.

TodayFinish this quiz and Levels 1 and 2 of the ladder.
+1 dayRe-derive the global position (1.333, 0.423) from a blank page.
+3 daysConvert two new axis-angle rotations to Euler parameters.
+7 daysMove on to coordinates and degrees of freedom in Module 3.
+30 daysReuse r = r_O + R p whenever you place a body feature in a model.
10

Textbook mapping

Orientation is the subject of Wittenburg’s kinematics chapter. Use these references to read further.

Topic in this moduleWhere to read more
Direction cosines, Euler and Bryan anglesWittenburg, Dynamics of Multibody Systems, ch. 2
Euler parameters and quaternionsWittenburg, Dynamics of Multibody Systems, ch. 2 (2nd ed. additions)
Angular velocity and kinematic equationsStandard rigid-body dynamics texts on rotational kinematics

Chapter references are to Wittenburg, Dynamics of Multibody Systems (Springer).