ta có: \(\frac{1}{c}=\frac{1}{2}\left(\frac{1}{a}+\frac{1}{b}\right)\)
\(\Rightarrow\frac{2}{c}=\frac{1}{a}+\frac{1}{b}\)
\(\Rightarrow\frac{2}{c}=\frac{b+a}{ab}\)
\(\Rightarrow2ab=c\left(a+b\right)\)
\(\Rightarrow ab+ab=ac+bc\)
\(\Rightarrow ac-ab=ab-bc\)
\(\Rightarrow a\left(c-b\right)=b\left(a-c\right)\)
\(\Rightarrow\frac{a}{b}=\frac{a-c}{c-b}\)
tíc mình nha