- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# 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 nth terms.

Given:

The sum of first $n$ terms of an A.P. is $4n-n^{2}$.

To do:

We have to find the first term (that is $S_1$), sum of first two terms, second term, 3rd term, 10th term and the $n$th term.

Solution:

$S_{n} =4n-n^{2}$

For $n=1,\ S_{1} =4\times 1 -1^2=4-1=3$

Therefore, first term $a=3$

For $n=2,\ S_{2} =4\times 2-2^{2}=8-4=4$

$\therefore$ Second term of the A.P.$=S_{2} -S_{1}$

$=4-3$

$=1$

Common difference of the A.P., $d=$second term $-$ first term

$=1-3=-2$

We know that,

$a_{n}=a+(n-1)d$

$a_{2}=a+d=3+(-2)=3-2=1$

$a_3=a+2d=3+2(-2)=3-4=-1$

$a_{10}=a+(10-1)d=3+9(-2)=3-18=-15$

$a_n=a+(n-1)d=3+(n-1)(-2)$

$=3-2n+2$

$=5-2n$

Therefore, the first term is $3$, the second term is $1$, the third term is $-1$, the tenth term is $-15$, $n$th term is $5-2n$ and the sum of the first two terms is $4$.

- Related Questions & Answers
- Sum of the first N terms of the series 2, 6, 12, 20, 30…. in c programming
- Sum of the first N terms of the series 2,10, 30, 68,…. in C programming
- Sum of the first N terms of the series 5,12, 23, 38…. in C Programming
- Sum of the first N Prime numbers
- What MySQL MAKE_SET() function returns if the value of the bit is 1 and the first string is NULL?
- C/C++ Program to Find the sum of Series with the n-th term as n^2 – (n-1)^2
- Python Program for Find sum of Series with the n-th term as n^2 – (n-1)^2
- Find if given number is sum of first n natural numbers in C++
- Find maximum N such that the sum of square of first N natural numbers is not more than X in Python
- Find maximum N such that the sum of square of first N natural numbers is not more than X in C++
- What is the term serializability in DBMS?
- Sum of the series 1 / 1 + (1 + 2) / (1 * 2) + (1 + 2 + 3) / (1 * 2 * 3) + … + upto n terms in C++
- What MySQL returns if the first argument of INTERVAL() function is NULL?
- Is the second string a rotated version of the first string JavaScript
- Find sum of Series with n-th term as n^2 - (n-1)^2 in C++
- What is the use of %n in printf()?