Incorrect spelling

bye-election

Incorrect spelling, explanation: while by is a preposition used in a variety of contexts, bye is generally only used as a farewell. The pronunciation may be the same, but if you really think about it, bye-election sounds more like a quirky farewell, while by-election is a kind of word, where you can really see the meaning just by looking at its structure.


Correct spelling

by-election

Correct spelling, explanation: by-election is a word compounded from words by (meaning: through or beside), and election, which is a logical explanation of the meaning of the word. By is a preposition of many meanings, such as beside, so you can think of a by-election as a side election, which is not perfect but makes sense.

Definition of by-election:
noun
1. a type of additional election to fill any vacancies in a given position.
The by-election didn’t go well as there weren’t even enough eligible candidates.
Many people attended the debate before the by-election.