I was reading Problem Solving Strategies by Arthur Engel (Chapter 6 p. 128) when I came across
$x^2 - dy^2 = 1\phantom{a}$ (1)
and
We associate the number $x+y\sqrt{d}$ with every solution $(x,y)$. We have the basic factorization $$x^2 - dy^2 = (x-y\sqrt{d})(x+y\sqrt{d}) \phantom{iii} (2)$$ It follows from (2) that the product or quotient of two solutions of (1) is again a solution of (1).
The way the book says this seems to suggest that this is a somewhat trivial observation, but I don't see it. I think I am aware of Brahmagupta's identity which says that the solutions are closed under multiplication but it seems that the algebra is somewhat involved. Can someone explain if there is a simple way to see how equation (2) shows that the solutions are closed under multiplication and division? Thanks.