`Q=(a^3-3a^2+3a-1)/(a^2-1)`
`a)ĐK:a^2-1 ne 0<=>a ne +-1`
`Q=(a^3-3a^2+3a-1)/(a^2-1)`
`=(a-1)^3/((a-1)(a+1))`
`=(a-1)^2/(a+1)`
`b)|a|=5`
`<=>` \(\left[ \begin{array}{l}a=5\\a=-5\end{array} \right.\)
`<=>` \(\left[ \begin{array}{l}Q=\dfrac{(5-1)^2}{5+1}=\dfrac83\\Q=\dfrac{(-5-1)^2}{-5+1}=-9\end{array} \right.\)