I came across this equation
$$\sqrt a-\sqrt b=\sqrt 7-\sqrt 5$$
And you have to find the value of '$a$' and '$b$' when both of them are primes. The solution was $a=7, b=5$.
Now, my question is, can't there be any other primes?
I came across this equation
$$\sqrt a-\sqrt b=\sqrt 7-\sqrt 5$$
And you have to find the value of '$a$' and '$b$' when both of them are primes. The solution was $a=7, b=5$.
Now, my question is, can't there be any other primes?
Square both sides and we get $a+b-2\sqrt{ab}=12-2\sqrt{35}$. Hence, $$\left\{\begin{array}{c} a+b=12\\ ab=35 \end{array}\right.$$ Solve for $a,b$, and we have $a=7,b=5$ or $a=5,b=7$. Of course only the first one is correct.