In this note, we will show the necessary conditions for two sequences of reals, and such that equality is reached by the Cauchy-Schwarz Inequality. I believe this fact is already presented in the Cauchy-Schwarz Brilliant Wiki, but I don't believe it was shown in this manner. First, we begin with a statement of the inequality:
Now, subtracting to yield a non-negative result,
This expression can be expanded and then neatly, intuitively compacted into summation notation. Also, we'll be leaving behind the inequality sign in exchange for an equal sign, since we're focusing on the equality case.
Now, combining our double sums:
If , then for some . For equality to occur, the above expression must equal , and so each term of the double sum must equal . Considering only the positive terms , it follows that equality holds with the Cauchy-Schwarz Inequality if and only if for all such that and for some value of .
Dividing both sides of this relation by and and setting , we reach the fact that . In other words, our sequences and must be for the equality case of the Cauchy-Schwarz Inequality.