How would you calculate
?
We can simplify by simultaneous equations as well.
Let
Squaring, we get
Now by matching up coefficients, we get two equations:
...[1]
...[2]
...[2']
Now substituting into [1]:
Now we make the substitution , then it becomes:
or
Then or
So or
So the solutions are \sqrt{5},\frac{1}{\sqrt{5}}),(-\sqrt{5},-\frac{1}{\sqrt{5}}),(\sqrt{2},\frac{1}{\sqrt{2}}), (-\sqrt{2},-\frac{1}{\sqrt{2}})\}" alt="\{(A,B)\sqrt{5},\frac{1}{\sqrt{5}}),(-\sqrt{5},-\frac{1}{\sqrt{5}}),(\sqrt{2},\frac{1}{\sqrt{2}}), (-\sqrt{2},-\frac{1}{\sqrt{2}})\}" />
Let's try the first one; then we have:
You can check this by equating both sides as Soroban did. Note that , also works, but the other two solutions Do Not. They are the negative solutions. That's why you have to check the final result to see if it fits!
Of course it then follows that