a, B = |x-5| +|2-x|
Áp dụng Bđt \(\left|a\right|+\left|b\right|\ge\left|a+b\right|\) ta có:
\(\left|x-5\right|+\left|2-x\right|\ge\left|x-5+2-x\right|=3\)
\(\Rightarrow B\ge3\)
Dấu = khi \(\left(x-5\right)\left(2-x\right)\ge0\)\(\Rightarrow2\le x\le5\)
\(\Leftrightarrow\begin{cases}\left(x-5\right)\left(2-x\right)=0\\2\le x\le5\end{cases}\)\(\Leftrightarrow\begin{cases}x=5\\x=2\end{cases}\)
Vậy MinB=3 khi \(\begin{cases}x=5\\x=2\end{cases}\)
b)Áp dụng Bđt \(\left|a\right|+\left|b\right|\ge\left|a+b\right|\) ta có:
\(\left|y+8\right|+\left|2-y\right|\ge\left|y+8+2-y\right|=10\)
\(\Rightarrow C\ge10\)
Dấu = khi \(\left(y+8\right)\left(y-2\right)\ge0\)\(\Rightarrow-8\le x\le2\)
\(\Leftrightarrow\begin{cases}\left(y+8\right)\left(y-2\right)=0\\-8\le x\le2\end{cases}\)\(\Leftrightarrow\begin{cases}y=-8\\y=2\end{cases}\)
Vậy MinC=10 khi \(\begin{cases}y=-8\\y=2\end{cases}\)
c)Ta có:
\(\left|x-2015\right|+\left|x-2016\right|+\left|x-2017\right|\)
\(\ge x-2015+0+2017-x=2\)
\(\Rightarrow P\ge2\)
Dấu = khi \(\begin{cases}x-2015\ge0\\x-2016=0\\x-2017\le0\end{cases}\)\(\Rightarrow\begin{cases}x\ge2015\\x=2016\\x\le2017\end{cases}\)\(\Rightarrow x=2016\)
Vậy MinP=2 khi x=2016