Lời giải:
\(\frac{1}{x}+\frac{1}{y}-\frac{1}{z}=\frac{1}{x+y-z}\Leftrightarrow \frac{x+y}{xy}=\frac{1}{z}+\frac{1}{x+y-z}=\frac{x+y}{z(x+y-z)}\)
\(\Leftrightarrow (x+y)(\frac{1}{xy}-\frac{1}{z(x+y-z)})=0\)
\(\Leftrightarrow (x+y).\frac{z(x+y-z)-xy}{xyz(x+y-z)}=0\)
\(\Leftrightarrow (x+y).\frac{(z-x)(y-z)}{xyz(x+y-z)}=0\)
\(\Leftrightarrow (x+y)(z-x)(y-z)=0\)
Xét các TH sau:
TH1: $x+y=0$. TH này loại do ĐKXĐ $x,y>0$
TH2: $z-x=0\Leftrightarrow z=x$
$\Leftrightarrow \frac{1}{y}=\frac{2020}{2021}$
\(M=\frac{1}{\sqrt{y}}+\frac{1}{\sqrt{y}}=\frac{2}{\sqrt{y}}=2\sqrt{\frac{2020}{2021}}\)
TH3: $y-z=0$ tương tự TH2, ta có \(M=2\sqrt{\frac{2020}{2021}}\)