You use whether when you are talking about a choice or doubt between two or more alternatives.
To this day, it's unclear whether he shot himself or was murdered.
直到今天,他是自杀还是他杀仍然不清楚。
Whether it turns out to be a good idea or a bad idea, we'll find out.
最终这个点子是好还是坏,我们会搞清楚的。
You use whether to say that something is true in any of the circumstances that you mention.
This happens whether the children are in two-parent or one-parent families.
这种情况无论在双亲或单亲家庭的孩子身上都会发生。
Whether they say it aloud or not, most men expect their wives to be faithful.
无论是否愿意说出来,大部分男人都希望他们的妻子忠贞不渝。