Problem
find $A,B$ in way that $f:A\rightarrow B$ is bijective, when $f(x)=\sqrt{x^2-1}$.
Attempt to solve
map $f:A \rightarrow B$ is bijective when it's surjective and injective simultaneously. This map is injective when:
$$ \forall(x,y) \in A : x \neq y \implies f(x) \neq f(y) $$
This map is surjective when:
$$ \forall y \in B \exists x \in A : f(x)=y $$
if function $f(x)$ is "truly" monotonic it implies that function has to be injective.
Observation:
$$ \forall x \in \mathbb{R} : \frac{d}{dx}f(x) \neq 0$$
$$ \frac{d}{dx}\sqrt{x^2-1}=\frac{x}{\sqrt{x^2+1}} = f'(x) $$
It is visible that only way $f'(x)$ could be zero is when $x=0$ but $\sqrt{-1}$ is not defined in $\mathbb{R}$
which implies that $f(x)$ is injective if we pick $A$ in a way:
$$ A\in \mathbb{R}\setminus[-1,1] $$
and $B$:
$$ B \in \mathbb{R} $$
we have map: $$ f:\mathbb{R}\setminus[-1,1] \rightarrow \mathbb{R} $$
Inverse function of $f(x)$ can be computed by solving y from following equation. Inverse function is map $f^{-1}:B \rightarrow A$
$$ \sqrt{x^2-1}=y $$
$f(x)$ is defined when : $x^2-1 \ge 0 \implies x^2\ge 1 \implies -1 \ge x \ge 1$
$$ x^2-1=y^2 $$
$$ x^2=y^2+1 \implies x=\pm \sqrt{x^2+1} $$
$$ h^{-1}(x)=\sqrt{x^2+1} $$
meaning $f(x)$ is surjective. Which implies $f(x)$ is bijective when:
$$ A\in \mathbb{R}\setminus[-1,1], B \in \mathbb{R} $$
You have made a mistake here
$$\frac{d}{dx}\sqrt{x^2-1}=\frac{x}{\sqrt{x^2-1}} = f'(x)$$
therefore $f(x)$ is injective for $x>1$ or for $x<-1$.
then for the surjectivity it suffices to observe that $$\lim_{x\to \pm \infty} f(x) = \infty$$
then $f(x)$ is bijective for the following restrictions
with $a\le -1$ and $b\ge 1$