
Since the teeth on each gear must be the same size in order to mesh properly, the arclengths that are turned by the two gears must be equal in magnitude. The two gears, however, turn in opposite directions.
If we equate the arclengths and account for the opposite rotation directions, we obtain:
This equation expresses the relationship between rotation angles for the two gears. Solving for :