Vậy GTLN của A là \(\dfrac{5}{4}\)\(\Leftrightarrow|x-1|=0\Leftrightarrow x-1=0\Leftrightarrow x=1\)
B=\(\dfrac{10}{2-\left(x-2\right)^2}\)
Vì \(\left(x-2\right)^2\ge0\Leftrightarrow-\left(x-2\right)\le0\Leftrightarrow2-\left(x-2\right)\le2\)
\(\Rightarrow\dfrac{1}{2-\left(x-2\right)^2}\ge\dfrac{1}{2}\Leftrightarrow\dfrac{10}{2-\left(x-2\right)^2}\ge\dfrac{10}{2}\Leftrightarrow\dfrac{10}{2-\left(x-2\right)^2}\ge5\)Vậy GTLN của B là 5\(\Leftrightarrow\left(x-2\right)^2=0\Leftrightarrow x-2=0\Leftrightarrow x=2\)