Let $X$ be a real random variable and $f$ is its density w.r.t. the Lebesgue measure.
As a background, I was asked to show the density of $Y:=aX+b$ exists and is $g(x):=\frac{1}{|a|}f(\frac{x-b}{a})$. In order to do that, I eventually need to show that $\frac{1}{|a|}f(\frac{x-b}{a})$ is measurable. This is where I struggle to find why my alternative would be wrong.
Correct Answer: it is clear since $\int_{-\infty}^{c}\frac{1}{|a|}f(\frac{x-b}{a})dx$ exists that $g(x):=\frac{1}{|a|}f(\frac{x-b}{a})$ is measurable on $(\infty, c], \forall c \in \mathbb R$. And since $\{ (\infty, c] |c \in \mathbb R\}$ is a generator of the $\mathcal{B}(\mathbb R)$, therefore $g$ is borel measurable. (Is this correct reasoning?)
Proposed Alternative Solution: I would think that an alternative way of showing that $g$ is Borel-Measurable is simply stating that $g$ is the product of borel-measurable functions $\frac{1}{|a|}$ (as a constant function is continuous and therefore Borel-measurable) as well as $f(\frac{x-b}{a})$, and therefore the product is Borel-measurable. I have a feeling that this may however not be so simple because $f(x)$ being measurable does not imply that $f(\frac{x-b}{a})$ is indeed Borel-measurable.
Any ideas, as to why the alternative does not hold?