ĐKXĐ:
\(\sqrt{x-5}\ge0\Rightarrow x\ge5\)
\(\sqrt{7-x}\ge0\Rightarrow x\le7\)
=> Pmax =2 tại x=7
DKXD:\(5\le x\le7\)
GTLN: \(P=\sqrt{x-5}+\sqrt{7-x}=1.\sqrt{x-5}+1.\sqrt{7-x}\)
\(\le\frac{1^2+\left(\sqrt{x-5}\right)^2}{2}+\frac{1^2+\left(\sqrt{7-x}\right)^2}{2}\left(bdtCOSI\right)\)
\(=\frac{2+x-5+7-x}{2}=2\)
"="\(\Leftrightarrow\hept{\begin{cases}1=\sqrt{x-5}\\1=\sqrt{7-x}\\7\ge x\ge5\end{cases}}\Leftrightarrow x=6\)
Vậy..............................................................
GTNN: ta sẽ chứng minh: \(P\ge\sqrt{2}\)
bđt có thể viết lại thành:\(\sqrt{x-5}+\sqrt{7-x}\ge\sqrt{2}\Leftrightarrow\left(\sqrt{x-5}+\sqrt{7-x}\right)^2\ge\left(\sqrt{2}\right)^2\)
\(\Leftrightarrow x-5+7-x+2\sqrt{\left(x-5\right)\left(7-x\right)}\ge2\Leftrightarrow2+2\sqrt{\left(x-5\right)\left(7-x\right)}\ge2\)
\(\Leftrightarrow2\sqrt{\left(x-5\right)\left(7-x\right)}\ge0\)(đúng với mọi x thỏa mãn \(7\ge x\ge5\))
"="\(\Leftrightarrow\hept{\begin{cases}2\sqrt{\left(x-5\right)\left(7-x\right)}\\7\ge x\ge5\end{cases}\Rightarrow\orbr{\begin{cases}x=5\\x=7\end{cases}}}\)
Vậy..........