數(shù)列{an}中a1=8,a4=2,且滿足an+2-2an+1+an=0(n∈N*),
(1)求數(shù)列{an}通項(xiàng)公式;
(2)設(shè)S50=|a1|+|a2|+L+|a50|,求S50.
分析:(1)首先判斷數(shù)列{an}為等差數(shù)列,由a1=8,a4=2求出公差,代入通項(xiàng)公式即得.
(2)判斷哪幾項(xiàng)為非負(fù)數(shù),前五項(xiàng)加絕對(duì)值不變,用等差數(shù)列前n項(xiàng)和算出,后45項(xiàng)加絕對(duì)值變?yōu)橄喾磾?shù),可把a(bǔ)6看作首項(xiàng),公差不變,求出后45項(xiàng)的和,用前5項(xiàng)的和減去后45項(xiàng)的和即得所求.
解答:解:(1)∵a
n+2-2a
n+1+a
n=0,∴2a
n+1=a
n+a
n+2∴數(shù)列{a
n}是首項(xiàng)為a
1=8的等差數(shù)列.
∵a
1=8,a
4=2,公差d=
=-2,a
n=a
1+(n-1)d=10-2n.
(2)∵a
n=10-2n≥0,∴n≤5
∴數(shù)列{a
n}的前5項(xiàng)為非負(fù)數(shù),后面的45項(xiàng)為負(fù)數(shù).
a
6=10-2×6=-2,a
50=10-2×50=-90
S
50=a
1+a
2+…+a
5+(-a
6)+(-a
7)+…+(-a
50)
=
×5+
×45=2090.
點(diǎn)評(píng):考查了等差數(shù)列的通項(xiàng)公式和前n項(xiàng)和公式,求出公差,用代入法直接可求;求S50時(shí),注意后45項(xiàng)與{an}中的項(xiàng)是互為相反,可以利用數(shù)列{an}是等差數(shù)列求出后45項(xiàng)的和,取相反數(shù)即可.