If the sum of the first \(n\) terms of an AP is \(4n - n^2\), what is the first term (that is \(S_1\))? What is the sum of first two terms? What is the second term? Similarly, find the 3rd, the 10th and the \(n\)th terms.
Show solutionHide solution
Given: \(S_n=4n-n^2\), the sum of the first \(n\) terms of an AP.
First term: Put \(n=1\):
\[S_1=4(1)-1^2=4-1=3.\]
So the first term is \(a_1=3\).
Sum of the first two terms: Put \(n=2\):
\[S_2=4(2)-2^2=8-4=4.\]
Second term: Since \(S_2=a_1+a_2\),
\[a_2=S_2-S_1=4-3=1.\]
Third term: First find \(S_3\):
\[S_3=4(3)-3^2=12-9=3.\]
Then
\[a_3=S_3-S_2=3-4=-1.\]
Tenth term: Find \(S_{10}\) and \(S_9\):
\[S_{10}=4(10)-10^2=40-100=-60,\qquad S_9=4(9)-9^2=36-81=-45.\]
Hence
\[a_{10}=S_{10}-S_9=-60-(-45)=-60+45=-15.\]
\(n\)th term: For \(n\ge 2\),
\[a_n=S_n-S_{n-1}.\]
Now
\[S_{n-1}=4(n-1)-(n-1)^2=4n-4-(n^2-2n+1)=4n-4-n^2+2n-1=6n-n^2-5.\]
Therefore
\[a_n=(4n-n^2)-(6n-n^2-5)=4n-n^2-6n+n^2+5=5-2n.\]
This formula also gives \(a_1=5-2=3\), so it holds for all \(n\ge1\).
Check: The terms are \(3,1,-1,\ldots\), an AP with common difference \(d=-2\). Indeed \(a_3=5-6=-1\) and \(a_{10}=5-20=-15\), matching the values found above.
Answers: first term \(=3\); sum of first two terms \(=4\); second term \(=1\); third term \(=-1\); tenth term \(=-15\); \(n\)th term \(=5-2n\).


