Negation of the compound statement ‘if the examination is difficult, then I shall pass if I study hard’ is
The examination is difficult and I study hard and I shall not pass
∼(p⇒q)=p ∧∼q
p: The examination is difficult
q: I study hard
r: I shall not pass
The given statement is p⇒(q⇒r). Its negation is
∼p⇒(q⇒r)=p ∧∼(q⇒r)=p∧(q ∧∼r)
The negation of the given statement is p∧(q∧∼r) i.e. 'The examination is difficult and I study hard and I shall not pass'.