Ta có: \(A=\left(\frac{\sqrt{a}}{\sqrt{a}+\sqrt{b}}+\frac{a}{b-a}\right):\left(\frac{a}{\sqrt{a}+\sqrt{b}}-\frac{a\sqrt{a}}{a+b+2\sqrt{ab}}\right)\)
\(=\left(\frac{\sqrt{a}\left(\sqrt{a}-\sqrt{b}\right)}{\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}-\frac{a}{\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}\right):\left(\frac{a\left(\sqrt{a}+\sqrt{b}\right)}{\left(\sqrt{a}+\sqrt{b}\right)^2}-\frac{a\sqrt{a}}{\left(\sqrt{a}+\sqrt{b}\right)^2}\right)\)
\(=\frac{a-\sqrt{ab}-a}{\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}:\frac{a\sqrt{a}+a\sqrt{b}-a\sqrt{a}}{\left(\sqrt{a}+\sqrt{b}\right)^2}\)
\(=\frac{-\sqrt{ab}}{\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}\cdot\frac{\left(\sqrt{a}+\sqrt{b}\right)^2}{a\sqrt{b}}\)
\(=\frac{-\sqrt{a}\cdot\sqrt{b}}{\sqrt{a}-\sqrt{b}}\cdot\frac{\sqrt{a}+\sqrt{b}}{\left(\sqrt{a}\right)^2\cdot\sqrt{b}}\)
\(=\frac{-\sqrt{a}-\sqrt{b}}{\sqrt{a}\left(\sqrt{a}-\sqrt{b}\right)}\)