Tính:a) \(A=\frac{2}{x-y}+\frac{2}{y-z}+\frac{2}{z-x}+\frac{\left(x-y\right)^2+\left(y-z\right)^2+\left(z-x\right)^2}{\left(x-y\right)\left(y-z\right)\left(z-x\right)}\)
b) Cho \(\frac{x}{y+z}+\frac{y}{z+x}+\frac{z}{x+y}=1\) . Tính \(A=\frac{x^2}{y+z}+\frac{y^2}{z+x}+\frac{z^2}{x+y}\)
a) \(A=\frac{2}{x-y}+\frac{2}{y-z}+\frac{2}{z-x}+\frac{\left(x-y\right)^2+\left(y-z\right)^2+\left(z-x\right)^2}{\left(x-y\right)\left(y-z\right)\left(z-x\right)}\)
\(=\frac{2\left(y-z\right)\left(z-x\right)+2\left(x-y\right)\left(z-x\right)+2\left(x-y\right)\left(y-z\right)+\left(x-y\right)^2+\left(y-z\right)^2+\left(z-x\right)^2}{\left(x-y\right)\left(y-z\right)\left(z-x\right)}\)
\(=\frac{\left[\left(x-y\right)+\left(y-z\right)+\left(z-x\right)\right]^2}{\left(x-y\right)\left(y-z\right)\left(z-x\right)}=\frac{\left(x-y+y-z+z-x\right)^2}{\left(x-y\right)\left(y-z\right)\left(z-x\right)}=0\)
Áp dụng: \(\left(a+b+c\right)^2=a^2+b^2+c^2+2ab+2bc+2ac\)
b)Ta có: \(\frac{x^2}{y+z}+x=\frac{x^2+x\left(y+z\right)}{y+z}=\frac{x^2+xy+xz}{y+z}=\frac{x\left(x+y+z\right)}{y+z}\)
Tương tự: \(\frac{y^2}{x+z}+y=\frac{y^2+xy+zy}{x+z}=\frac{y\left(x+y+z\right)}{x+z}\)
\(\frac{z^2}{x+y}+z=\frac{z^2+xz+zy}{x+y}=\frac{z\left(x+y+z\right)}{x+y}\)
Suy ra: \(A+\left(x+y+z\right)\)
\(=\frac{x\left(x+y+z\right)}{y+z}+\frac{y\left(x+y+z\right)}{z+x}+\frac{z\left(x+y+z\right)}{x+y}+\left(x+y+z\right)\)
\(=\left(x+y+z\right)\left(\frac{x}{y+z}+\frac{y}{z+x}+\frac{z}{x+y}+1\right)\)
\(=2.\left(x+y+z\right)\)
Nên \(A=2.\left(x+y+z\right)-\left(x+y+z\right)=x+y+z\)
Mình có sai chỗ nào không nhỉ?