I was trying to prove that any quadratic formula ($ax^2 + bx + c$) will not be injective, but I have a little problem.
I started by assuming $f(x) = f(y)$. We can put x and y into the general form of quadratic function, and we get
$ax^2 + bx + c = ay^2 + by + c$
Subtract c from both sides and organise a little bit and you get
$a(x^2-y^2) + b(x-y)=0$
$a(x+y)(x-y) + b(x-y)=0$
Here we can assume that $x\ne y$, hence $x-y\ne 0$, so divide both sides by x-y, and we get
$a(x+y)+b=0$
However, from here I couldn't find any contradictions, which is a problem because there must be a contradiction as quadratic functions are not injective. Can anyone tell me what the contradiction is here?
One way to tackle it is by resorting to their graphs. How does the graph of a quadratic look like? Use the horizontal line test. (Should be good enough a hint.)