For f(x): R -> R, where f(x) is a discontinuous function.
As example let f(x) = e^x / x,when x = 0, f(0) = g(0), with g(x) being a continuous function only defined at x = 0, then:
0*f(x) = 0*(e^x / x) = 0, for x not equal to 0
and 0*f(0) = 0*g(x) =0, for when x = 0
then 0*f(x) = 0 for all x (which becomes a continuous function)
And this will always be true for all discontinuous functions.
Would any of my reasoning be wrong?
One cannot write $f:{\bf{R}}\rightarrow{\bf{R}}$ by just $f(x)=e^{x}/x$ without specifying the value of $f$ at $x=0$, that is, then how does $f(0)$ defined in this case? Indeed, you must specify a number to $f(0)$, say, $f(0)=c$, then the zero function multiplies with $f$ is simply $x\rightarrow 0\cdot e^{x}/x=0$ for $x\ne 0$, and $0\rightarrow 0\cdot c=0$ for $x=0$.
Of course, one need no to define a function $f$ with domain ${\bf{R}}$ each time. We can talk about, say, $g:{\bf{R}}-\{0\}\rightarrow 0$, $g(x)=e^{x}/x$, then the resulting multiplication $0\cdot g$ is defined on ${\bf{R}}-\{0\}$ with the rule that $x\rightarrow 0\cdot e^{x}/x=0$ for $x\in{\bf{R}}-\{0\}$. In this case, it makes no sense to ask what is the value of $0$ times $g(0)$ because the domain of $g$ has ruled out the discussion about the value of $g$ at $x=0$.