a) Vì \(A=2-\left|x+\frac{5}{6}\right|\le2-0=2\left(\forall x\right)\)
Dấu "=" xảy ra khi: \(\left|x+\frac{5}{6}\right|=0\Rightarrow x=-\frac{5}{6}\)
Vậy Max(A) = 2 khi \(x=-\frac{5}{6}\)
b) Vì \(B=5-\left|\frac{2}{3}-x\right|\le5-0=5\left(\forall x\right)\)
Dấu "=" xảy ra khi: \(\left|\frac{2}{3}-x\right|=0\Rightarrow x=\frac{2}{3}\)
Vậy Max(B) = 5 khi \(x=\frac{2}{3}\)