$S$ is a set and $f(x)$ is an arbitrary statement where $x \in S$
Show that $\neg(\forall x \in S: f(x)) \Leftrightarrow \exists x \in S: \neg f(x)$.
I planned to solve this by making a truth table. To make a truth table, we somehow have to get its formula. Since we know that $\forall x \in S:f(x) \Leftrightarrow f(x_{1}) \wedge f(x_{2}) \wedge .. \wedge f(x_{n})$ and that $\exists x \in S: f(x) \Leftrightarrow f(x_{1}) \vee f(x_{2}) \vee .. \vee f(x_{n})$ we will get to this formula:
$$(\neg a \wedge \neg b) \Leftrightarrow \neg (a \vee b)$$
And then, simply make a truth table for this..?
Could it be done like that or is there another, better way of doing it?