Considering the case such that $b \gt 0$ and $b \in \mathbb{R^+}$ and making the substitution $t'=bt$, it follows that $$\int_{t=-\infty}^{t=\infty}f(t)\delta(t)\mathrm{d}t =\color{red}{\int_{t'=-\infty}^{t'=\infty}f\left(\cfrac{t'}{b}\right)\delta(t')\cfrac{\mathrm{d}t'}{b} =\cfrac{1}{b}f(0)}$$ I have marked in $\color{red}{\mathrm{red}}$ the part for which I do not understand, namely where did $\color{red}{f(0)}$ come from?
Could someone please explain the steps in showing that the equality marked $\color{red}{\mathrm{red}}$ is true?
Many thanks
The common definition of the delta function is $$ \int_{-\infty}^{\infty} g(x) \delta(x) \, dx = g(0), \tag{1} $$ for any continuous $g$.
Now let's look at what $\delta(bt)$ does. We have no formula for this, so let's do that substitution, $t'=bt$, so $dt'=b \, dt$ and the limits remain unchanged because $b>0$. Then we have $$ \int_{-\infty}^{\infty} f(t) \delta(bt) \, dt = \frac{1}{b}\int_{-\infty}^{\infty} f(b^{-1}t') \delta(t') \, dt' = \frac{1}{b}f(0/b) = \frac{1}{b}f(0), $$ where the second equality has used the definition (1).