Ta có: \(\frac{a+8}{b+9}=\frac{a-8}{b-9}.\)
\(\Rightarrow\left(a+8\right).\left(b-9\right)=\left(a-8\right).\left(b+9\right)\)
\(\Rightarrow ab-9a+8b-72=ab+9a-8b-72\)
\(\Rightarrow ab-9a+8b=ab+9a-8b\)
\(\Rightarrow ab-9a+8b-ab-9a+8b=0\)
\(\Rightarrow-18a+16b=0\)
\(\Rightarrow-18a=0-16b\)
\(\Rightarrow-18a=-16b\)
\(\Rightarrow18a=16b\)
\(\Rightarrow\frac{a}{b}=\frac{16}{18}.\)
\(\Rightarrow\frac{a}{b}=\frac{8}{9}\)
Vậy \(\frac{a}{b}=\frac{8}{9}.\)
Chúc bạn học tốt!