例例文
I can't decide whether to study abroad or stay in Japan.
留学するか日本に残るか、私は決められない。
EN英英で言うと
used to talk about a choice between doing something and not doing it
源語源・イメージ

whether(~かどうか)に to 不定詞が続き、「…すべきかどうか」という選択を表す。
!入試ポイント
if to do とは言えない(×if to go)。how to do / what to do などの「疑問詞+to 不定詞」と同じ型。whether or not to do の形も出る。
「…すべきかどうか」で、名詞の働き(目的語・主語など)をする。whether or not to do、whether to do or not の形もある。if は to 不定詞の前に置けない(× if to go)。decide / wonder / be not sure / ask などの後ろに来ることが多い。how to do / what to do と同じ「疑問詞+ to 不定詞」の型で、= whether S should do。
VSここが違う!
whether to dovsif S V
「…かどうか」の if は後ろに S V を取るが、to 不定詞は取れない。whether はどちらも可。見分け方:空所の後ろが to do なら whether だけ、S V なら whether も if も可(ただし文頭の主語の位置や前置詞の後ろは whether)。
I can't decide whether to go. / I can't decide whether [if] I should go.
覚覚え方
whether は二択の印。to do と組めるのは whether だけで、if は to do の前・前置詞の後ろ・文頭の主語の位置で使えない、と if が使えない場所をまとめて覚える。
Q入試形式の例題
I couldn't decide to accept the job offer or not.
後ろが to accept と to 不定詞なので whether(whether to do で「…すべきかどうか」)。if は to 不定詞を続けられない。that は「疑問詞+ to do」の形を作らない。what は accept の目的語 the job offer がすでにあるので入らない。