'When it is raining, peacocks dance.'
Based only on this sentence, which one of the following options is necessarily true?
GATE CSE 2026Analytical Aptitude › Logical Reasoning & Statement AnalysisVerified
(C) When peacocks are not dancing, it is not raining.
Translate the sentence into propositional logic. Let P = "it is raining" and Q = "peacocks dance." The sentence states P -> Q. The only option that is logically equivalent to P -> Q is its contrapositive, not Q -> not P.
The sentence is an implication P -> Q. Its only equivalent among the options is the contrapositive not Q -> not P, which is Option C.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.