a) ĐKXĐ: \(x\ne1\)
Ta có: \(x^2-8x+7=0\)
\(\Leftrightarrow x^2-x-7x+7=0\)
\(\Leftrightarrow x\left(x-1\right)-7\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x-7\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\x-7=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\left(loại\right)\\x=7\left(nhận\right)\end{matrix}\right.\)
Thay x=7 vào B, ta được:
\(B=\dfrac{1}{7-1}=\dfrac{1}{6}\)
Vậy: Khi \(x^2-8x+7=0\) thì \(B=\dfrac{1}{6}\)
b) Ta có: \(A=\dfrac{x^2+2}{x^3-1}+\dfrac{x+1}{x^2+x+1}\)
\(=\dfrac{x^2+2}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{\left(x+1\right)\left(x-1\right)}{\left(x^2+x+1\right)\left(x-1\right)}\)
\(=\dfrac{x^2+2+x^2-1}{x^3-1}\)
\(=\dfrac{2x^2+1}{x^3-1}\)
c) Ta có: S=A-B
\(=\dfrac{2x^2+1}{x^3-1}-\dfrac{1}{x-1}\)
\(=\dfrac{2x^2+1}{\left(x-1\right)\left(x^2+x+1\right)}-\dfrac{x^2+x+1}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{2x^2+1-x^2-x-1}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{x^2-x}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{x\left(x-1\right)}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\dfrac{x}{x^2+x+1}\)
d) Để \(S=\dfrac{1}{3}\) thì \(\dfrac{x}{x^2+x+1}=\dfrac{1}{3}\)
\(\Leftrightarrow x^2+x+1=3x\)
\(\Leftrightarrow x^2-2x+1=0\)
\(\Leftrightarrow\left(x-1\right)^2=0\)
\(\Leftrightarrow x-1=0\)
hay x=1(loại)
Vậy: Không có giá trị nào của x để \(S=\dfrac{1}{3}\)