a) Ta có: \(A=\left(2\sqrt{4+\sqrt{6-2\sqrt{5}}}\right)\cdot\left(\sqrt{10}-\sqrt{2}\right)\)
\(=\left(2\sqrt{4+\sqrt{5-2\cdot\sqrt{5}\cdot1+1}}\right)\cdot\left(\sqrt{10}-\sqrt{2}\right)\)
\(=\left(2\sqrt{4+\sqrt{\left(\sqrt{5}-1\right)^2}}\right)\cdot\left(\sqrt{10}-\sqrt{2}\right)\)
\(=\left(2\sqrt{4+\left|\sqrt{5}-1\right|}\right)\cdot\left(\sqrt{10}-\sqrt{2}\right)\)(Vì \(\sqrt{5}>1\))
\(=\left(2\sqrt{4+\sqrt{5}-1}\right)\cdot\sqrt{2}\cdot\left(\sqrt{5}-1\right)\)
\(=2\cdot\sqrt{3+\sqrt{5}}\cdot\sqrt{2}\cdot\left(\sqrt{5}-1\right)\)
\(=2\cdot\left(\sqrt{5}-1\right)\cdot\sqrt{6+2\sqrt{5}}\)
\(=2\cdot\left(\sqrt{5}-1\right)\cdot\sqrt{5+2\cdot\sqrt{5}\cdot1+1}\)
\(=2\cdot\left(\sqrt{5}-1\right)\cdot\sqrt{\left(\sqrt{5}+1\right)^2}\)
\(=2\cdot\left(\sqrt{5}-1\right)\cdot\left|\sqrt{5}+1\right|\)
\(=2\cdot\left(\sqrt{5}-1\right)\cdot\left(\sqrt{5}+1\right)\)
\(=2\cdot\left(5-1\right)\)
\(=2\cdot4=8\)
b) Ta có: \(B=\left(\frac{\sqrt{a}-1}{\sqrt{a}+1}+\frac{\sqrt{a}+1}{\sqrt{a}-1}\right)\cdot\left(1-\frac{2}{a+1}\right)^2\)
\(=\left(\frac{\left(\sqrt{a}-1\right)^2+\left(\sqrt{a}+1\right)^2}{\left(\sqrt{a}+1\right)\cdot\left(\sqrt{a}-1\right)}\right)\cdot\left(\frac{a+1-2}{a+1}\right)^2\)
\(=\frac{a-2\sqrt{a}+1+a+2\sqrt{a}+1}{\left(\sqrt{a}+1\right)\cdot\left(\sqrt{a}-1\right)}\cdot\frac{\left(a-1\right)^2}{\left(a+1\right)^2}\)
\(=\frac{2a+2}{\left(a-1\right)}\cdot\frac{\left(a-1\right)^2}{\left(a+1\right)^2}\)
\(=\frac{2\left(a+1\right)\cdot\left(a-1\right)}{\left(a+1\right)^2}\)
\(=\frac{2a-2}{a+1}\)