Definition
A longitudinal slot machined into a shaft or hub to accept a key that provides a positive, non‑slipping connection for transmitting torque or preventing relative rotation; the keyway's dimensions and tolerances are specified relative to standardized key sizes and mating parts to control fit and stress concentration.

Principle

Principle
A keyway creates a form‑fitting shear path by locating a key between shaft and hub so torque is carried through the key in shear and by contact faces; the effectiveness depends on key material, seat fit, keyway geometry and avoiding stress‑raising features at the root of the slot.

Demonstration

Demonstration
Illustrative scenario → A pulley is mounted on a shaft with a parallel key seated in matching keyways. Recognition: machined longitudinal slot in both shaft and hub. Action: the key is inserted, the hub slid into position and fastened; torque transmits via the key. Consequence: the hub is prevented from rotating relative to the shaft under rated torque; an oversize keyway or inadequate key material leads to fretting, key shear, or shaft/hub wear.

Misapplication

Misapplication
Assuming a keyway is merely a locating feature and omitting shear capacity checks. The semantic error is treating the slot as a positional groove rather than as a load‑bearing seat; improper key/keyway selection underestimates stress concentrations and possible shear failure.

Consequence

Consequence
Using underspecified key/keyway geometry or poor fits concentrates stress at the keyway root, causing fretting, accelerated wear, key shear, fatigue cracks in the shaft or hub, and eventual loss of torque transmission or catastrophic failure under cyclic loading.

Reversal

Reversal
Where torsional loads are high, cyclic, or where frequent assembly is required, alternatives such as splines, tapered press fits, shrink fits, or keyed flanges may be preferable; conversely, for simple, low‑cost torque transfer the key/keyway remains appropriate if designed with correct tolerances and fillet radii.

Boundary

Boundary
Clearly within: a machined longitudinal slot dimensioned to accept a standard key providing positive torque transmission between shaft and mating hub. Boundary case: a shallow groove intended only for orientation or lubrication—resembles a keyway but lacks depth and seat geometry for torque. Clearly outside: an axial slot or non‑load‑bearing relief cut that is not intended to hold a key.

Semantic Tension

Semantic Tension
Keyway ↔ Spline/Interference Fit — keyways offer simple, economical torque transmission for moderate loads with discrete shear elements, whereas splines or interference fits distribute torque over a larger area and reduce stress concentration at the expense of complexity and assembly demands.

Synthesis

Synthesis
A keyway is a load‑bearing machined seat: its purpose is torque transfer through a discrete key, so its design must treat the slot as a structural feature (with correct dimensions, tolerances, material and root radii) rather than as a mere locating groove.