Calculation
Completing the square
Writing a quadratic polynomial as a shifted square plus a constant.
Core idea
For real , completing the square is the identity
Expansion proves the formula. If , it shows that the minimum is , attained at ; if , the same value is the maximum.
Gaussian factors
For , . This separates an overall amplitude from a translated decaying profile. The sign of the quadratic coefficient is essential for decay.