TITLE: Identity for categorical product is terminal?
QUESTION [5 upvotes]: It is well-known that for a category $\mathbf{C}$ with binary products and terminal object $\mathbf{1} \in \mathbf{C}$, we have $\mathbf{1} \times A \cong A$ naturally in $A$. I want to know if the converse holds, i.e. if $B \times A \cong A$ for all objects $A$, does this mean $B$ is terminal?

REPLY [9 votes]: If we strengthen the condition, we can get an affirmative answer.
Namely, first assume that specifically the second projection $\pi_2:B\times A\to A$ is invertible for all objects $A$ (implying that the isomorphism is natural in $A$).
Then we can conclude that $B$ is a terminal object:
For any object $A$ we have an arrow $A\overset{\pi_2^{-1}}\to B\times A\overset{\pi_1}\to B$, and this is unique, since for any $f:A\to B$, the arrow $(f,1_A):A\to B\times A$ is a right inverse of $\pi_2$, as $\pi_2\circ(f,1_A)=1_A$, hence it is its inverse now, and thus
$$f=\pi_1\circ (f,1_A)=\pi_1\circ\pi_2^{-1}\,.$$

Secondly, if we only have a natural isomorphism $\tau_A:A\to B\times A$, the conclusion still holds:
Let $\alpha_A:=\pi_2\circ\tau_A:A\to A$, this is still natural in $A$, and consider $u:=\tau_A^{-1}\circ (f,1_A):A\to A$ with an arbitrary $f:A\to B\ $ (say, $f=\pi_1\circ\tau_A$), then by naturality of $\alpha:{\rm id}_{\bf C}\to{\rm id}_{\bf C}$, we obtain
$$\alpha_A\circ u = u\circ\alpha_A$$
where we have $\alpha_A\circ u=\pi_2\circ (f,1_A)=1_A$, so $\alpha_A$ and hence also $\pi_2$ is invertible, and $(f,1_A)=\pi_2^{-1}$ with every $f$, showing its uniqueness as above.