I am stuck on this:
Deduce the eigenvalues of the operator $A^{\dagger} A$ are positive, where
$$A^{\dagger} = -\frac{\text{d}}{\text{d}x} + \tanh(x)$$ $$A = \frac{\text{d}}{\text{d}x} + \tanh(x)$$
The point is that those are not matrices, in the usual sense I understand them, so how shall I proceed?
I shall basically solve
$$(A^{\dagger}A)|\phi\rangle = a |\phi\rangle$$
That is
$$\text{det}(A^{\dagger}A - a\mathbb{1}) = 0$$
And here I somehow stopped.
I also managed to compute the commutator, and I found
$$[A^{\dagger}, A] = -2 \left[\frac{\text{d}}{\text{d}x}, \tanh(x)\right]$$
You might proceed by looking for eigenfunctions $\phi(x)$ such that
$$A^\dagger A\,\phi(x) = c\,\phi(x)$$
and show that all the $c$ are real and positive.
For example, consider the simpler case of $A = \frac{d}{dx}$ so that
$$A^\dagger A = -\frac{d^2}{dx^2}$$
and then the eigenvalue equation is
$$-\frac{d^2}{dx^2}\,\phi(x) = c\, \phi(x)$$
The eigenfunctions are well known to be
$$\phi_k(x) = A\sin(kx) + B\cos(kx)$$
with eigenvalues
$$c_k = k^2$$