This is the proof of Cauchy-Schwarz inequality given in "One variable calculus with introduction to linear algebra" by Tom M. Apostol.
In last paragraph It is said that the right hand side has smallest value when x=... etc!
so we proved.
My question is why we choose smallest value? why not largest value? are we allowed to choose like this? Is this logically correct to choose like this? we choose some particular x, doesn't it went wrong if we choose like this? please explain this.