whereby

UK: /weəˈbaɪ/ | US: /wɛrˈbaɪ/

Definition
  1. adv. by which; through which (introducing a clause showing method or means)

  2. adv. in accordance with which; as a result of which

Structure
where <in what place>by <through>
Etymology

The word "whereby" combines the Old English roots of "where" (from hwǣr, meaning "in what place") and "by" (from , meaning "near" or "through"). Over time, it evolved into a compound adverb in Middle English, used to denote means or consequence. The fusion reflects a logical progression from spatial ("where") to instrumental ("by") relationships, common in Germanic languages.

Examples
  1. The contract includes a clause whereby either party may terminate the agreement with 30 days' notice.

  2. She devised a clever system whereby waste materials could be recycled efficiently.

  3. The treaty established rules whereby trade disputes would be resolved peacefully.

  4. He explained the mechanism whereby the machine operates automatically.

  5. There must be a way whereby we can achieve our goals without conflict.