I need to learn, by which method, I can prove that the function $f$ is injective. I would like to ask you to explain this problem using more detailed, more understandable, clearer and simpler English words. There's only one way I can understand. For example;
Let $f: \mathbb{R} \to\mathbb{R}$ and $f(x)=x-10$.
We have, $f(y)=y-10$, then $f(x)=f(y)$, we get $f(x)=f(y) \Rightarrow x-10=y-10 \Rightarrow x=y$. So, $f$ is injective.
And here is my problem:
Why can't we apply this method to this problem?
$f: \mathbb{R} \to\mathbb{R}$ and $f(0)≠0$, such that, for all real numbers $x$ and $y$, $$f \big(f(x)f(y)\big) + f(x +y) = f(xy).$$ Prove that, $f$ is injective.
Thank you very much for teaching.
You cannot apply the simple test straightforwardly, mainly because we do not have explicit information about $f$. You may be able to arrive at a contradiction by assuming $f(a)=f(b)$ for some $a\ne b$ and playing around cleverly with the functional equation.
For example, if $f(a)=f(b)$, we find $$f(a^2)-f(2a)=f(ab)-f(a+b)=f(b^2)-f(2b)=f(f(a)f(b)) $$ This gives you further points of $f$ that are somwehat related. This may help, but it is not straightforward to see how this could shortcut the way to injectivity (as in, as was said in the comments, being able to see that $f$ is injective much easier than determining the complete set of solutions of the functional equation).
Another approach: By letting $x=y=0$, we find $$f(f(0)^2)=0 $$ and from $y_0:=f(0)\ne 0$ can conclude that $f$ has a non-zero root, i.e., there exists $x_0(=f(0)^2)$ such that $f(x_0)=0$. Then $$f(f(x_0)f(y)) +f(x_0+y)=f(x_0y)$$ for all $y$, i.e., $$f(x_0y)=f(x_0+y)+y_0\ne f(x_0+y). $$ Here, we arrive at a contradiction if we exhibit $y$ with $x_0y=x_0+y$. This is possibly (namely, $y=\frac{x_0}{x_0-1}$) as long as $x_0\ne 1$. So we conclude $$ x_0=1$$ before getting any closer to the goal of showing that $f$ is injective (i.e., we seem to only exclude that $|a-b|=1$). We can use this (letting $x=y=1$) to show $$ f(2)=-f(0)$$ and other tricky things (in fact, ultimately that $f(x)=\pm(x-1)$), but I still do not see any way to show injectivity much simpler than solving the functional equation completely.