Show that $P=\sqrt{a^2-2ab+b^2}+\left(\frac{a}{\sqrt{a}-\sqrt{b}}-\sqrt{a}\right):\left(\frac{b\sqrt{a}}{a-\sqrt{ab}}+\sqrt{b}\right)$ is rational Show that the number $$P=\sqrt{a^2-2ab+b^2}+\left(\dfrac{a}{\sqrt{a}-\sqrt{b}}-\sqrt{a}\right):\left(\dfrac{b\sqrt{a}}{a-\sqrt{ab}}+\sqrt{b}\right)$$ is a rational number ($P\in\mathbb{Q})$ if $a\in\mathbb{Q},b\in\mathbb{Q},a>0,b>0$ and $a\ne b$. Find the value of $P$ if $a=1.1$ and $b=1.22$.
My try: $$P=\left|a-b\right|+\dfrac{a-\sqrt{a}\left(\sqrt{a}-\sqrt{b}\right)}{\sqrt{a}-\sqrt{b}}:\dfrac{b\sqrt{a}+\sqrt{b}\left(a-\sqrt{ab}\right)}{a-\sqrt{ab}}=\\=|a-b|+\dfrac{\sqrt{ab}}{\sqrt{a}-\sqrt{b}}.\dfrac{a-\sqrt{ab}}{b\sqrt{a}+a\sqrt{b}-\sqrt{b^2a}}.$$

Just keep chewing on it until it falls apart
$|a-b|+\dfrac{\sqrt{ab}}{\sqrt{a}-\sqrt{b}}.\dfrac{a-\sqrt{ab}}{b\sqrt{a}+a\sqrt{b}-\sqrt{b^2a}}=$
$|a-b| +\frac {\sqrt {ab}}{\sqrt a - \sqrt b}\cdot \frac {\sqrt a(\sqrt a -\sqrt b)}{b\sqrt a + a\sqrt b - b\sqrt a}=$
$|a-b| + \frac {\sqrt{ab}}{\sqrt a-\sqrt b}\cdot \frac {\sqrt a(\sqrt a-\sqrt b)}{a\sqrt b}=$
$|a-b| + \frac {\sqrt {ab}\sqrt a}{a\sqrt b}=$
$|a-b| + \frac {\sqrt{a^2b}}{\sqrt{a^2b}}=$
$|a-b| + 1$.
