Question
Question: In an A.P of \(n\) terms, the sum of first two terms is \(b\) and the sum of the last two terms is \...
In an A.P of n terms, the sum of first two terms is b and the sum of the last two terms is c, then find the sum of its first n terms.
Solution
We will assume the first term of the A.P asa and the common difference as d. Now the A.P is a,a+d,a+2d,a+3d,.... In the problem they have mentioned the sum of the first two terms is b. So, we will calculate the sum of the first two terms of the A.P and equate it to the given value b, there we will get an equation. Again in the problem they have mentioned the sum of last two terms is c, so we will find the nth term and (n−1)th term by using the known formula an=a+(n−1)d and calculate the sum of last two terms and equate it to c, here also we will get an equation. Now they have asked to calculate the sum of the n terms, so the known formula for the sum of n terms of A.P is Sn=2n[2a+(n−1)d]. We will simplify the above equation by using the obtained equation in the above process to get the result.
Complete step by step answer:
Given that, an A.P has n terms.
Let the first term of the A.P is a and the common difference is d. Now the A.P is a,a+d,a+2d,a+3d,....
The sum of the first two terms is a+(a+d)=2a+d.
In the problem they have mentioned that the sum of first two terms is b.
∴2a+d=b⇒2a=b−d...(i)
We know that the nth term of the A.P is given by an=a+(n−1)d and the (n−1)th term is an−1=a+((n−1)−1)d⇒an−1=a+(n−2)d
Now the sum of the last two terms is given by
an+an−1=a+(n−1)d+a+(n−2)d⇒an+an−1=2a+(n−1+n−2)d⇒an+an−1=2a+(2n−3)d
According to the given data the sum of the last two terms is c.
∴an+an−1=c⇒2a+(2n−3)d=c
From equation (i) substituting the value 2a=b−d in the above equation, then we will get
b−d+(2n−3)d=c⇒(2n−3−1)d=c−b⇒(2n−4)d=c−b⇒d=2(n−2)c−b...(ii)
We know that the sum of the n terms in A.P is given by
Sn=2n[2a+(n−1)d]
From equation (i) substituting the value 2a=b−d in the above equation, then we will get
Sn=2n[b−d+(n−1)d]⇒Sn=2n[b+(n−1−1)d]⇒Sn=2n[b+(n−2)d]
From equation (ii) substituting the value of d=2(n−2)c−b, then we will get
Sn=2n[b+(n−2)(2(n−2)c−b)]⇒Sn=2n[b+2c−b]⇒Sn=2n[22b+c−b]∴Sn=4n(b+c)
Note: While substituting the values of 2a and d. First substitute the value of 2a after that substitute the value of d, then we will get the result in an easy way. Otherwise If you substitute the values of 2a and d at a time then you will need some time to simplify the equation.