RobotGuide
Math foundations/Vectors and forces: the physical reading of the dot product

Foundations T3 / 27 · From high school

Vectors and forces: the physical reading of the dot product

The planar dot product a·b = |a||b|cosθ is high school material. In robotics, every «force and motion» problem starts with this one line.

About 20 min2 theorems5 proof steps3 self-test questions

One-line takeaway

The physical reading of the dot product is «work»: the effective component of a force along the direction of motion. Grasping, friction, torque — all unfold from this one reading.

Animated · drag the force arrow to change its angle and watch the work bar update — wrong angle, wasted effort

The friction cone at /labs/friccone/, grasp evaluation at /labs/grasp/, and the deep-water version at /math/friccone/ all use this high school formula in their first line. This article builds the reading first.

Why this tool exists

An end effector presses on a workpiece; the force splits into a «pressing normal» component and a «shearing along the surface» component — which component moves and which is locked decides whether the grip holds.

Torque in two dimensions can be computed as an area (a determinant).

«Will it slip» is a tan comparison problem — five seconds to a verdict.

Definitions

Two readings of the dot product

Geometric version: a·b = |a||b|cosθ. Coordinate version: a·b = a_x b_x + a_y b_y. The two definitions agree (provable via the law of cosines; taken as known here).

Why define it this wayThe geometric version gives intuition (projection, effective component); the coordinate version gives computation (you can just plug in numbers). A robot engineer's daily life is switching back and forth between these two readings.

Theorems and proofs

Theorem 1 (decomposition loses no work)

The work of the resultant = the sum of the works of the components: W = (F₁+F₂)·d = F₁·d + F₂·d.

Proof

Expand with the coordinate version: (F₁+F₂)·d = (F₁x+F₂x)d_x + (F₁y+F₂y)d_y.

Regroup: F₁x d_x + F₁y d_y + F₂x d_x + F₂y d_y = F₁·d + F₂·d.

NoteThis is where the legitimacy of «decompose the forces, compute each separately, add them back» comes from. The whole workflow of contact mechanics stands on this stone.

Theorem 2 (critical angle on an incline)

A block of mass m on an incline of angle θ with friction coefficient μ: the condition for no slipping is μ ≥ tanθ.

Proof

Decompose gravity mg: the component normal to the incline = mg·cosθ (pressing, setting the maximum static friction μ·mg·cosθ), the component along the incline = mg·sinθ (the sliding driver).

No slipping requires μ·mg·cosθ ≥ mg·sinθ. Cancel mg on both sides (independent of mass).

Rearranged: μ ≥ sinθ/cosθ = tanθ.

NoteIndependent of mass — this is the origin of the half-angle of the «friction cone» in /labs/friccone/: cone half-angle = arctanμ.

Work it by hand

Incline angle 30°, μ = 0.6 — does the block slide?

  1. tan30° = 1/√3 ≈ 0.5774.
  2. 0.6 > 0.5774, so the condition holds.
  3. Critical angle = arctan(0.6) ≈ 30.96°.
Answer

It does not slide — but only 0.96° away from sliding. The margin is tiny; one vibration and it goes.

Run the numbers

Where the numbers come from

Critical-angle formula computed directly (the generator really computes):

  • μ = 0.6 → critical angle 30.96° (typical magnitude for rubber on rubber μ≈0.6–1.0, i.e., 31°–45° all lock).
  • μ = 1.0 → critical angle 45°, exactly 45°.
  • μ = 0.1 → critical angle 5.711° (typical magnitude for unlubricated steel on steel — almost no grip).
  • Friction coefficients vary enormously with surface condition; the numbers above are orders of magnitude, not a parameter table. For playing with the bench, see /labs/friccone/.

Where this shows up

The object hereThe counterpart in RLUsed in
Normal/tangential decomposition of a forceThe two components of the end-effector contact forceused in →
Friction cone angle arctanμThe force closure condition of graspingused in →
Dot productThe ledger of work and energyused in →

Boundaries: where this article stops

This article stops at two-dimensional statics. The cross product for three-dimensional torque, screws, and the linear programming proof of force closure live respectively in /k/B8/ and /math/closure/.

Self-test: 3 questions

All hand-computation and «find the flaw in this proof» questions — nothing to memorize. Stuck? Go back to the section.

01What state is the block in when μ = tan30°?

Critical: the sliding force exactly equals the maximum static friction. Any disturbance (vibration, oil, wear) breaks it loose.

02Pushing a block along the incline versus pushing it horizontally — which moves it more easily (ignoring force-saving rigs)?

Pushing along the incline. A horizontal push has a component pressing the block into the incline, which increases friction — that is the value of «decompose, then compute».

03What does a dot product of 0 between two vectors tell you?

cosθ=0: perpendicular. In robotics it is often used to find «the directions that do nothing».

Up next

The full series · 27 articles

T1The Matrix Is a Ledger for Rotation≈ 25 minT2From Slope to Gradient: The First Line of Every Robot Learning Algorithm≈ 25 minT3Vectors and forces: the physical reading of the dot productAbout 20 minT4Two Rulers and a Better Rulerabout 25 minT5The Ledger of One Motor Revolution: Radians, Speed, and Powerabout 20 minT6Complex multiplication is rotation: the one-dimensional version of quaternionsAbout 20 minT7Bases and coordinates: why robots put everything in matrices45 minT8Matrix Multiplication: Chaining Transformations, Not a Table OperationAbout 40 minT9The Jacobian: Rotate a Joint One Degree — How Far Does the End Effector Move?About 45 minT10Eigenvectors: The Directions a Matrix Dare Not Touchabout 45 minT11SVD and the Pseudoinverse: When There Is No Exact Solution, Find the Nearest Oneabout 50 minT12Taylor expansion: putting a straight line to work in place of a curveAbout 40 minT13Probability spaces: why «random» needs axioms50 minT14Expectation: A Rigorous Construction of «Average»About 55 minT15Conditional Expectation: What the Vertical Bar Really Means≈ 60 minT16Four inequalities: the quantitative answer to «how many samples are enough»45 minT17Norms and fixed points: where «it always converges» comes from55 minT18Markov Chains: When the Time Average Equals the Ensemble Averageabout 55 minT19The Mathematical Construction of the MDP: What One Axiom Is Worthabout 50 minT20Dynamic Programming: The Accounting for Two Iterations≈ 50 minT21Optimization: why constraints cannot rely on penalties aloneAbout 55 minT22Stochastic Approximation: Every Term in the Learning-Rate Formulaabout 55 minT23The Mathematics of Contact: Hertz Theoryabout 45 minT24Friction and the Friction Cone: The Geometry of Constraintsabout 40 minT25Force Closure and Grasp Metrics: ε Is a Linear ProgramAbout 50 minT26Contact Kinematics: Why Rolling Is Not «Sliding Along»≈ 45 minT27Slip detection: from «I felt it» to «I computed it»About 50 min