Skip to content
Tactiverge

Textbooks/The Mathematics of Machines/Chapter 3

3Trigonometry and periodic motion

Version 1 · Technically checked (automated checks only) · 4 source lessons · 8 practice items

Text
All chapters and search
  1. 1. Algebraic modelling
  2. 2. Functions as models
  3. 3. Trigonometry and periodic motion
  4. 4. Vectors
  5. 5. Matrices and transformations
  6. 6. Rates of change
  7. 7. Accumulation and integrals
  8. 8. Differential equations
  9. 9. Probability and uncertainty
  10. 10. Linear systems
  11. 11. Eigenvalues and stability

Introduction

Robot arms, wheels and waves all turn angles into lengths. Trigonometry starts with similar triangles, whose side ratios depend only on the angle, and names those ratios sine, cosine and tangent. Measuring angles in radians then puts sine and cosine on the unit circle, and a point going round that circle gives the sinusoids that describe anything that repeats.

θcos θsin θθ = 30° = π/6cos θ = 0.866sin θ = 0.5radius = 1
Figure 3.1. The unit circle at 30°. A circle of radius 1 centred at the origin. A radius at 30 degrees (π/6 radians) ends at the point (cos 30°, sin 30°) = (0.866, 0.5). The horizontal leg is labelled cos θ and the vertical leg sin θ.

Explanation

This chapter is built from 4 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.

3.1 Same shape, different size: similar triangles

You can't climb the crane, but you have a 1.5 m pole and a sunny afternoon. How do you measure the crane's height without leaving the ground?

What makes triangles similar

Two triangles are similar if their angles match. Then every side of one is the matching side of the other multiplied by the same scale factor k. If one triangle has sides 3, 4, 5 cm and a similar one has a 6 cm shortest side, k = 2 and the others are 8 and 10 cm.

Ratios inside a triangle are fixed

Because every side scales by k, any ratio of two sides of the same triangle, such as height ÷ base, stays the same. Sun rays hit a pole and a crane at the same angle, so height ÷ shadow is the same for both: measure the pole and both shadows, and the crane's height follows.

Areas scale by k²

Area is a length times a length, so it scales by k × k = k². A model at half size (k = 0.5) has a quarter of the area. Volumes scale by k³, which is why a half-size model of a solid part weighs only an eighth as much.

Common mix-ups

  • Scaling a shape changes its angles too.
    ✓ Scaling changes lengths only. Angles describe shape, so similar shapes have identical angles.
  • A half-size model has half the area and half the mass.
    ✓ Area scales by k² (a quarter) and volume, so mass, by k³ (an eighth).

Open the full lesson: Same shape, different size: similar triangles →

3.2 sin, cos and tan are just ratios

A 10 cm robot link tilted at 30° lifts its tip 5 cm. Make the link twice as long at the same angle. How high does the tip go?

Label the sides first

Mark the angle θ you care about. The hypotenuse is the longest side, opposite the right angle (for a robot link, the link itself). The opposite side is across from θ. The adjacent side is next to θ but isn't the hypotenuse. Mislabelled sides cause most trig mistakes.

Three ratios, one angle

sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent. Because the hypotenuse is the longest side, sin and cos are never bigger than 1. Some to remember: sin 30° = 0.5, cos 60° = 0.5, tan 45° = 1, sin 90° = 1.

From ratios to robot parts

Rearrange: a link of length L at angle θ reaches L · cos θ across and L · sin θ up. A 12 cm link at 30° lifts its tip 12 × 0.5 = 6 cm. Your calculator must be in degrees for these; next lesson you will meet radians, which most code uses.

Derivation: Why each angle has its own ratios
  1. Take any right-angled triangle with an angle θ. Its three angles are θ, 90° and 90° − θ.

  2. Any other right-angled triangle with the same θ has the same three angles, so the two triangles are similar.

  3. In similar triangles every side is scaled by the same k, so a ratio like opposite ÷ hypotenuse cancels k out: (k·o) ÷ (k·h) = o ÷ h.

  4. So the ratio depends only on θ. We name them: sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse, tan θ = opposite ÷ adjacent (SOH CAH TOA).

  5. Rearranged for a link of length L: vertical part = L · sin θ, horizontal part = L · cos θ.

Common mix-ups

  • A longer link at the same angle has a bigger sin θ.
    ✓ sin θ depends only on the angle. A longer link has a bigger height, but the ratio height ÷ length is the same.
  • The hypotenuse is whichever side is not touching the angle.
    ✓ The hypotenuse is always the longest side, opposite the right angle. The side not touching θ is the opposite side.

Open the full lesson: sin, cos and tan are just ratios →

3.3 Radians and the unit circle

Why would anyone measure a full turn as 6.283… instead of a nice round 360?

What a radian is

Wrap the radius of a circle around its edge: the angle it covers is 1 radian (about 57.3°). A full circle's edge is 2π radii long, so a full turn is 2π rad = 360°, and π rad = 180°. To convert: degrees × π/180 = radians; radians × 180/π = degrees. Arc length is simply s = r·θ when θ is in radians.

Sine and cosine live on a circle

Draw a circle of radius 1 centred on the origin. Go anticlockwise through angle θ from +x. The point you land on is (cos θ, sin θ). That's the definition, and it works for every angle, including 200° and −30°. The triangle definitions (opposite over hypotenuse) are the special case 0° < θ < 90°.

Signs by quadrant

Quadrant 1 (0–90°): both positive. Quadrant 2 (90–180°): cos negative, sin positive. Quadrant 3 (180–270°): both negative. Quadrant 4 (270–360°): cos positive, sin negative. And always cos²θ + sin²θ = 1, because the point sits on a circle of radius 1.

Common mix-ups

  • Sine and cosine only make sense for angles inside a right-angled triangle.
    ✓ On the unit circle they're defined for every angle, positive or negative, any size.
  • Radians are just a different number for the same thing, so it doesn't matter which you use.
    ✓ Software and formulas like s = r·θ assume radians. Mixing them up gives silently wrong results.

Open the full lesson: Radians and the unit circle →

3.4 Periodic motion: A·sin(ωt + φ)

A piston, a pendulum and a flapping wing repeat forever. Three numbers describe all of them. Which three?

The shadow of a circle

A point going round a circle of radius A at a steady ω radians per second has height y(t) = A·sin(ωt + φ), where φ is its starting angle. Its shadow on a wall bobs up and down: that is simple periodic (harmonic) motion. A crank pin, a wheel's valve and a rotating cam all make exactly this.

Three numbers

Amplitude A: the biggest distance from the middle. Angular frequency ω (rad/s): how fast the angle grows. One cycle is 2π, so the period T = 2π/ω and the frequency f = 1/T = ω/2π (in hertz). Phase φ: where in the cycle it starts; a positive φ shifts the wave earlier by φ/ω seconds.

Reading a graph

Peak height (from the middle line) = A. Time between two peaks = T, so ω = 2π/T. Where the wave crosses upwards through zero, compared with t = 0, gives the phase. Always check your calculator is in radians: ωt + φ is an angle in radians.

Common mix-ups

  • A bigger amplitude means a faster oscillation.
    ✓ Amplitude sets the size; ω alone sets the period T = 2π/ω.
  • Frequency f and angular frequency ω are the same number.
    ✓ ω = 2πf. A 1 Hz motion has ω ≈ 6.28 rad/s.

Open the full lesson: Periodic motion: A·sin(ωt + φ) →

Worked examples

Same shape, different size: similar triangles: example 1

A 1.2 m stick casts a 0.8 m shadow. A wind turbine tower nearby casts a 40 m shadow at the same time. How tall is the tower?

Solution

Similar triangles: 1.2 ÷ 0.8 = h ÷ 40, so h = 1.2 × 40 ÷ 0.8 = 60 m.

Same shape, different size: similar triangles: example 2

A plate drawn at 1 : 2 has an area of 600 mm² on paper. What is the real plate's area?

Solution

Lengths scale by 2, so area scales by 2² = 4: 600 × 4 = 2400 mm².

sin, cos and tan are just ratios: example 1

A 15 cm link points 60° above horizontal. How high is its tip above the joint?

Solution

Up = L sin θ = 15 × sin 60° ≈ 15 × 0.866 ≈ 13.0 cm.

sin, cos and tan are just ratios: example 2

A ramp rises 1 m over 4 m across. What is tan of its angle?

Solution

tan θ = opposite ÷ adjacent = 1 ÷ 4 = 0.25. (The angle itself is about 14°: you'll find it with tan⁻¹ next lesson.)

Radians and the unit circle: example 1

A servo turns 2.5 rad. Is that more or less than half a turn, and how many degrees?

Solution

Half a turn is π ≈ 3.14 rad, so less. 2.5 × 180/π ≈ 143.2°.

Periodic motion: A·sin(ωt + φ): example 1

A test rig shakes a sensor with y(t) = 4 sin(10t) mm. Find the amplitude, period and frequency.

Solution

A = 4 mm. ω = 10 rad/s, so T = 2π/10 ≈ 0.628 s and f = 1/T ≈ 1.59 Hz.

Interactive figures

Figure 3.2 from Same shape, different size: similar trianglesChoose 'Scale it'. Change the scale factor k and watch the table: every side multiplies by k, but height ÷ base and the angle stay put. Then set k = 2 and compare the areas. Predict first: does the area double?
Can't use the interactive? Read a description instead

The 'Scale it' tool draws a right-angled triangle and a scaled copy on top of it. Sliders set the base, height and scale factor k. A table lists the sides, the ratio height ÷ base, the angle and the area for both triangles: sides multiply by k, the ratio and angle stay the same, and the area multiplies by k².

Interactive figure (online). Description: The 'Scale it' tool draws a right-angled triangle and a scaled copy on top of it. Sliders set the base, height and scale factor k. A table lists the sides, the ratio height ÷ base, the angle and the area for both triangles: sides multiply by k, the ratio and angle stay the same, and the area multiplies by k².

Figure 3.3 from sin, cos and tan are just ratiosFix the angle at 30° and slide the link length from 5 to 30 cm: the sides change, the three ratios don't. Then try the shelf challenges: predict the angle with sin θ = height ÷ length before you slide.
Can't use the interactive? Read a description instead

The diagram draws a robot link from a shoulder joint at an angle you set, with a dashed horizontal line (adjacent side) and a dashed vertical line (opposite side) making a right-angled triangle. Sliders set the link length and the angle. A table shows sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent with the current numbers; changing the length changes the sides but not the ratios.

Interactive figure (online). Description: The diagram draws a robot link from a shoulder joint at an angle you set, with a dashed horizontal line (adjacent side) and a dashed vertical line (opposite side) making a right-angled triangle. Sliders set the link length and the angle. A table shows sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent with the current numbers; changing the length changes the sides but not the ratios.

Figure 3.4 from Radians and the unit circleOn the unit circle, step θ from 0° to 355°. Watch the blue cos bar and orange sin bar. Find the four angles where one of them is exactly 0. Where is cos negative? Where are both negative? Note θ in radians at 90°, 180° and 360°.
Can't use the interactive? Read a description instead

The unit-circle explorer draws a circle of radius 1 with a point at angle θ. A blue horizontal bar shows cos θ and an orange vertical bar shows sin θ. The readout gives θ in degrees and radians, both values and the quadrant. At 0°, 90°, 180° and 270° the point is at (1, 0), (0, 1), (−1, 0) and (0, −1).

Interactive figure (online). Description: The unit-circle explorer draws a circle of radius 1 with a point at angle θ. A blue horizontal bar shows cos θ and an orange vertical bar shows sin θ. The readout gives θ in degrees and radians, both values and the quadrant. At 0°, 90°, 180° and 270° the point is at (1, 0), (0, 1), (−1, 0) and (0, −1).

Laboratory

Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.

Guided practice

Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.

Practice 1

A 1.5 m pole casts a 2 m shadow. At the same moment a tree casts a 12 m shadow. How tall is the tree, in metres?

m

Practice 2

A robot link is tilted at angle θ above the horizontal. Relative to θ, which side is the vertical drop from the tip down to the horizontal line?

Practice 3

tan 45° = 1. A line rises at 45° and goes 8 cm across. How far up does it go, in cm?

cm

Practice 4

Convert 60° to radians (3 decimal places).

rad

Practice 5

At θ = 250°, what are the signs of (cos θ, sin θ)?

Practice 6

A wheel of radius 0.1 m turns through 3 radians. How far does its rim travel, in metres?

m

Practice 7

y(t) = 5 sin(4t). What is the period, in seconds? (3 decimal places)

s

Practice 8

A motor vibration repeats every 0.02 s. What is its frequency, in hertz?

Hz
  1. A 1.5 m pole casts a 2 m shadow. At the same moment a tree casts a 12 m shadow. How tall is the tree, in metres? (m)
  2. A robot link is tilted at angle θ above the horizontal. Relative to θ, which side is the vertical drop from the tip down to the horizontal line?
    • The hypotenuse
    • The opposite side
    • The adjacent side
  3. tan 45° = 1. A line rises at 45° and goes 8 cm across. How far up does it go, in cm? (cm)
  4. Convert 60° to radians (3 decimal places). (rad)
  5. At θ = 250°, what are the signs of (cos θ, sin θ)?
    • (+, +)
    • (−, +)
    • (−, −)
    • (+, −)
  6. A wheel of radius 0.1 m turns through 3 radians. How far does its rim travel, in metres? (m)
  7. y(t) = 5 sin(4t). What is the period, in seconds? (3 decimal places) (s)
  8. A motor vibration repeats every 0.02 s. What is its frequency, in hertz? (Hz)

Engineering applications

  • Where is the gripper?

    A one-link arm of length L at angle θ puts its tip at x = L·cos θ, y = L·sin θ. Every robot's forward kinematics is built from this one idea, repeated link by link.

  • Wheel odometry

    A wheel of radius r that turns through θ radians rolls a distance r·θ. Measuring angles in radians makes this formula work with no conversion factor.

Watch

Optional verified videos. Nothing loads from YouTube until you press play.

Shows what makes two triangles similar and how matching sides scale by one factor, the idea behind scale drawings and trigonometry.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Explains why sin, cos and tan are well-defined: every right triangle with the same angle has the same side ratios.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

A radian is the angle that wraps one radius of arc round the circle; this walkthrough makes 2π for a full turn feel obvious.

10 min 51 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

  • Similar triangle basics | Similarity | Geometry | Khan Academy (Khan Academy)
  • Similarity to define sine, cosine, and tangent | Basic trigonometry | Trigonometry | Khan Academy (Khan Academy)
  • Introduction to radians | Unit circle definition of trig functions | Trigonometry | Khan Academy (Khan Academy)

Chapter summary

  • Similar triangles have equal angles, so their side ratios are equal.
  • sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, tan θ = opposite/adjacent.
  • One radian is the angle that cuts off an arc equal to the radius; 180° = π radians.
  • On the unit circle the point at angle θ is (cos θ, sin θ), and the signs follow the quadrant.
  • A·sin(ωt + φ) repeats every T = 2π/ω seconds, so f = ω/(2π).

Glossary

Sine, cosine and tangent
In a right-angled triangle, sine is opposite over hypotenuse, cosine is adjacent over hypotenuse and tangent is opposite over adjacent, each a function of the angle.
Radians and degrees
A radian is the angle at which the arc length equals the radius. A full turn is 2π radians, which is 360 degrees.
Pythagoras' theorem
In a right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.
Frequency and period
Frequency is how many cycles happen per second; the period is the time for one cycle. Each is the reciprocal of the other.

Definitions from the Field Guide.

Project: Measure a height without climbing

Measure the height of a tall object (a tree, a lamp post, a building) using a known distance along the ground and a measured angle, then check it with a second method based on similar triangles and shadows. Compare the two results and explain the difference.

Deliverables

  • Both measurements with units
  • Both calculations
  • An uncertainty estimate for each
  • A sentence on which method you trust more and why

Keep your work in your Engineering Journal; it stays private unless you choose to share it.

References

  • Jay Abramson (2015). Algebra and Trigonometry. OpenStax. Link ↗
  • K. A. Stroud and Dexter J. Booth (2013). Engineering Mathematics, 7th edition. Palgrave Macmillan.

Further reading from the source lessons

Publication record

Version
1
Status
Technically checked (automated checks only)
Technical review
Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
Written by
Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
Licence
All rights reserved by the founders unless a licence is approved.
Corrections
None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.