Let $\,f(x)=x^2-2x-8\,,\,$ $\forall x\in\Bbb R$.
Consider the proposition
$P: \forall a\in\Bbb R,\;\forall b\in\Bbb R,\, f(a)=f(b)\rightarrow a=b$
- Find $f(x)=0$.
- Negate the proposition $P$.
- Find truth values for $P$.
So, I started by finding the values for $f(x)=0$, which the $x$ values are $4$ and $-2$. I started trying to negate it, but I wasn't sure how to. Do I negate the $\forall a$ ? And if I do, where does the negation symbol go? I’m not sure how to go about negation here.
Some rules of predicate logic:
So $$\begin{align*}&\neg\left[\forall a\in\Bbb R\;\forall b\in\Bbb R\, \left(f(a)=f(b)\rightarrow a=b\right)\right] \\&\equiv\exists a\in\Bbb R\;\neg\left[\forall b\in\Bbb R\,\left(f(a)=f(b)\rightarrow a=b\right)\right]\\&\equiv \exists a\in\Bbb R\,\exists b\in\Bbb R\, \neg\left(f(a)=f(b)\rightarrow a=b\right)\\&\equiv\exists a\in\Bbb R\,\exists b\in\Bbb R\, \neg\left(f(a)\neq f(b)\vee a=b\right)\\&\equiv\exists a\in\Bbb R\,\exists b\in\Bbb R\, \left(f(a)=f(b)\wedge a\neq b\right) \end{align*}$$
Let's translate out of the formalism. The property $P$ says that if $f$ has the same value for arguments $a$ and $b$, then $a$ and $b$ are equal. In other words, different arguments $a$ and $b$ always result in different values $f(a)$ and $f(b)$. In other words, $f$ is injective.
The negation says injectivity fails for at least one pair of arguments $a$ and $b$. So we must have $a\neq b$, but nevertheless $f(a)=f(b)$.
Your answer to (3) shows that $f(4)=0$ and $f(-2)=0$, so we can set $a=4$ and $b=-2$ to show that the negation is true. (Logicians say that $a=4,b=-2$ "witnesses" the truth of $\neg P$.)