I am going through a maths book and unable to understand the following:
Given that $x$ and $y$ are rational numbers, then if the equation $$2\sqrt{3}-3=(x+y)\sqrt{3}-2\sqrt{3xy}$$ is true, then we must have $x+y=2$ and $2\sqrt{3xy}=3$.
I don't understand this. We cannot reach such a conclusion with equations involving only rational numbers. For example, let $a$, $b$, $c$, and $d$ be rational numbers, and $a - b = c - d$; then it does not mean that $a = c$ and $b = d$ always for the equation to be true.
How can we be sure that we must have $x + y = 2$ and $2 \sqrt{3xy} = 3$ for the equation to be true?
Hmm... it's not as obvious as I thought
See, my first thought was this as a case of if $W$ is irrational and $a,b,c,d$ are rational and $a+bW = c+dW$ then $b=d$ and $a=c$.
Why? Because $a-c = (d-b)W$. The left hand side is rational so the right hand side must be rational. But $W$ is irrational and the only way an irrational times a rational can be rational is if we are multiplying by zero. So $d-b =0$ and $a-c=0$ and so $a=c$ and $b=d$.
But for us to use this on $-3 +2\sqrt 3 = -2\sqrt{3xy} + (x+y)\sqrt 3$ and reach the conclusion $-3 =-2\sqrt{3xy}$ and $2=x+y$, we have to have to be assuming $-2\sqrt{3xy}$ is rational. And we can't assume that, can we?
Well, lets muck about:
$2\sqrt 3 -3 = 2 \sqrt{3} - 3 = (x + y) \sqrt{3} - 2 \sqrt{3xy}$ we can divide both sides by $\sqrt 3$ to get
$2 -\sqrt{3}= (x+y) - 2\sqrt{xy}$. Put the nasty irrationals to one side
$2-(x+y) = \sqrt 3 - 2\sqrt{xy}$ and square both sides
$4 -4(x+y) + (x+y)^2 = 3 + 4xy -4\sqrt{3xy}$
Now the LHS is rational so the RHS must be rational and therefore $\sqrt{3xy}$ is rational.
And that breaks it wide open!
Go back to the very beginning.
$\underbrace{-3}_{rational} + \underbrace{2}_{rational}\sqrt 3=\underbrace{- 2 \sqrt{3xy}}_{rational}+ \underbrace{(x + y)}_{rational} \sqrt{3}$
And we are done.
$-3 = -2\sqrt{3xy}$ and $2=x+y$.
=====
here's something kind of interesting that I've never noticed before:
If you have $\sqrt{q}-\sqrt{p} = r$ where $p,q,r$ are rational then you have $\sqrt q = \sqrt p + r$ and $q = p + r^2 + 2r\sqrt{p}$ so either $r=0$ and $p=q$ or both $q$ and $p$ are rational squares.
So $-3+2\sqrt 3= -2\sqrt{3xy} + (x+y)\sqrt 3$ mean
$-3 = (-2 -2\sqrt{xy} + x+y)\sqrt 3$
$-\sqrt 3 = -2 -\sqrt{4xy} +x+y$ means that either $4xy = 3$ or both $3$ and $4xy$ are rational squares. So $xy = \frac 34$
From there we have $-3+2\sqrt 3=-2\sqrt{\frac 94} + (x+y)\sqrt 3$ and
$-3 + 2\sqrt 3=-3 + (x+y)\sqrt 3$ and so $x+y = 2$.
This let's us go further with $x,y = \frac 12, \frac 34$.