What does it mean when a function is finite?
Solution 1:
In Elias Stein's Real Analysis, at the beginning of Chapter 4.1, it reads "We shall say that $f$ is finite-valued if $-\infty<f(x)<\infty$ for all $x$."
Solution 2:
A function is finite if it never asigns infinity to any element in its domain. Note that this is different than bounded as $f(x):\mathbb R \to \mathbb R \cup\{\infty\}: f(x)=x^2$ is not bounded since $\lim_{x \to \infty}=\infty$. However, $f$ is finite since it does not assign $\infty$ to any real number.
Solution 3:
Since a valued function may have $\mathbb R \cup \{\infty\}$ as target, it's possible that finite function $f$ corresponds to cases where $\forall x \in \mathbb R \quad f(x) \neq \infty$ like $f(x)=x$ or $f(x)= \frac x {x^2+6}$ while $f(x)=\frac 1x$ , for example, is not finite according to this meaning, because $f(0)=\infty$ (thing that can be taken by defintion or convention)