WAEC Mathematics 2025 Question 8

Question 8

Logic

Consider the following statements:
p: The weather is warm.
q: The sun is shining.
Which of the following correctly represents the statement. "The sun is shining if and only if the weather is warm"?

  1. A.p ⇔ ~q
  2. B.~p ⇔ ~q
  3. C.~q ⇔ ~p
  4. D.q ⇔ p
Show the answer and explanation

Answer: D (q ⇔ p)

Explanation

"q if and only if p" is written q ⇔ p.