Whether following propositional formula a tautology?
$(p\iff q) \space \lor \space (p\iff \lnot q)$.
I think it is not. For contradiction I came up with following interpretation.
$p(x): \text{x got A grade in math.}$
$q(x): \text{x got A grade in english.}$
Now, in a class where there are students getting $A$ in both english and math as well as there are students getting $A$ in only one of them. Then above formula fails.
But answer given is that formula is a tautology.
They gives following reasoning for that.
As we know, $\lnot(p\iff q) = (p\iff \lnot q)$
and
$X \lor \lnot X$ is tautology.
So is $(p\iff q) \lor \lnot (p\iff q)$.
So, where I am getting wrong.