\(S^2=\left(3\sqrt{x-1}+4\sqrt{5-x}\right)^2\le\left(3^2+4^2\right)\left(x-1+5-x\right)=100\)
\(\Rightarrow S\le10\)
\(S_{max}=10\) khi \(x=\dfrac{61}{25}\)
\(S=3\sqrt{x-1}+4\sqrt{5-x}\ge3\left(\sqrt{x-1}+\sqrt{5-x}\right)\ge3\sqrt{x-1+5-x}=6\)
\(S_{min}=6\) khi \(x=5\)