I have to prove that given f and g are bounded functions on $[a,b]$, then if $c>0$, then $c$ inf $f(x)$ = inf $cf(x)$
My proof goes as follow,
So, we know that $\forall x \in [a,b]$, inf $f(x) \leq f(x)$, and because $c>0$ then, by multiplying by $c$ we get, $$c\cdot\inf\ f(x) \leq cf(x)$$. Now we now that the definition of the infimum of $cf(x)$, $\forall x \in [a,b]$, $$\inf \ cf(x) \leq cf(x)$$
And since for both equations this applies to all $x \in [a,b]$, the only way this would be possible is that both are equal, and hence the proof is done.
Is this correct?
It is not true that $\inf cf$ is the only number $d$ such that $$d\leq cf(x)$$ for all $x\in [a,b]$. Indeed, any number less than $\inf cf$ will also satisfy this inequality. So you cannot conclude that $c\inf f=\inf cf$ just because $d=c\inf f$ satisfies this inequality. To prove $c\inf f=\inf cf$, you must show that $c\inf f$ is the greatest number that satisfies this inequality (since that is the definition of $\inf cf$).
(Also, it's not really correct to write something like $\inf f\leq f$, since $\inf f$ is a number and $f$ is a function. Instead you want $f(x)$ on the right side, since you are evaluating $f$ at some specific $x\in[a,b]$.)