Worked example
Shared route distance (km): 8
Inputs
- Segment identifiers on route A: 1,2,3
- Segment distances on route A (km): 2,3,5
- Segment identifiers on route B: 2,3,4
- Segment distances on route B (km): 3,5,4
Each physical directed segment appears once per route.
Use the units shown.
Sum route A segment lengths whose identifiers also occur on route B.
Divide shared length by route A total.
Divide shared length by route B total.
Each physical directed segment appears once per route. Identical identifiers must carry the same distance. Opposite directions should use different IDs if treated separately.
OpenStax: Solve proportions and their applications ↗Shared route distance (km): 8
Shared route distance (km): 5