How many real roots does the equation [tex]\frac{x-7}{x-5}-\frac{x-8}{x-4}+\frac{x-9}{x-3}-\frac{x-10}{x-2}=x-6[/tex] have?
Solution:
Domain: [tex]x\notin\left\{2, 3, 4, 5\right\}[/tex]. Add [tex]1[/tex] to each fraction. The fractions enter with the signs [tex]+[/tex], [tex]-[/tex], [tex]+[/tex], [tex]-[/tex], so the added units cancel out. Since [tex]\frac{x-7}{x-5}+1=\frac{2(x-6)}{x-5}[/tex] (and similarly for the other fractions), the equation becomes
[tex]2(x-6)\left(\frac{1}{x-5}-\frac{1}{x-4}+\frac{1}{x-3}-\frac{1}{x-2}\right)=x-6[/tex]
One root is [tex]x=6[/tex] (it belongs to the domain). For [tex]x\ne 6[/tex] we divide by [tex]x-6[/tex] and group the fractions:
[tex]2\left(\frac{1}{x-5}-\frac{1}{x-2}\right)+2\left(\frac{1}{x-3}-\frac{1}{x-4}\right)=1\ \Rightarrow\ \frac{6}{x^2-7x+10}-\frac{2}{x^2-7x+12}=1[/tex]
Put [tex]k=x^2-7x+11[/tex]; then [tex]x^2-7x+10=k-1[/tex], [tex]x^2-7x+12=k+1[/tex], and in the domain [tex]k\ne\pm 1[/tex]:
[tex]\frac{6}{k-1}-\frac{2}{k+1}=1\ \Rightarrow\ 6(k+1)-2(k-1)=k^2-1\ \Rightarrow\ k^2-4k-9=0\ \Rightarrow\ k=2\pm\sqrt{13}[/tex]
For [tex]k=2+\sqrt{13}[/tex] we get [tex]x^2-7x+9-\sqrt{13}=0[/tex] with discriminant [tex]13+4\sqrt{13}\gt 0[/tex], so there are two real roots [tex]x=\frac{7\pm\sqrt{13+4\sqrt{13}}}{2}[/tex].
For [tex]k=2-\sqrt{13}[/tex] we get [tex]x^2-7x+9+\sqrt{13}=0[/tex] with discriminant [tex]13-4\sqrt{13}=\sqrt{13}\left(\sqrt{13}-4\right)\lt 0[/tex], so there are no real roots.
For the two new roots the number [tex]x^2-7x=\sqrt{13}-9[/tex] is irrational, while for [tex]x\in\left\{2, 3, 4, 5, 6\right\}[/tex] the number [tex]x^2-7x[/tex] is an integer. Hence these roots belong to the domain and are different from [tex]6[/tex]. Therefore the equation has [tex]3[/tex] real roots.