Difference Between If & Whether
We need to determine
whether/if the stunted growth observed in these plants is due to deficiency of nitrogen or magnesium.
When whether is used, it suggests that only two possibilities are being considered. However, with if, the sentence suggests more than two possibilities.