一.方法依据: 已知数列\(\{a_n\}\)是等差数列,首项为\(a_1\),公差为\(d\),前\(n\)项和为\(S_n\),则求\(S_n\)的最值常用方法有两种: (1).函数法:由于\(S_n=\cfrac{n(a_1+a_n)}{2}=na_1+\cfrac{n(n-1)}{2}d=\cfrac{d}{2}n^2+(a_1-\cfrac{d}{2})n\), 令\(A=\cfrac{d}{2}\),\(B=a_1-\cfrac{d}{2}\),则\(S_n=An^2+Bn\), 即