\(x^2-46x+45=0\)
\(\Leftrightarrow\left(x^2-45x\right)-\left(x-45\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x-45\right)=0\)
\(\Leftrightarrow\left[\begin{array}{nghiempt}x-1=0\\x-45=0\end{array}\right.\Leftrightarrow\left[\begin{array}{nghiempt}x=1\\x=45\end{array}\right.\)
Mà x là GTLN nên \(x=45\)
x2-46x+45=0
Hoặc x2-2.23.x+232-484=0
(x-23)2=484
x-23=22
x=45
Vậy x=45