Solveeit Logo

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 nn terms, the sum of first two terms is bb and the sum of the last two terms is cc, then find the sum of its first nn terms.

Explanation

Solution

We will assume the first term of the A.P asaa and the common difference as dd. Now the A.P is a,a+d,a+2d,a+3d,...a,a+d,a+2d,a+3d,.... In the problem they have mentioned the sum of the first two terms is bb. So, we will calculate the sum of the first two terms of the A.P and equate it to the given value bb, there we will get an equation. Again in the problem they have mentioned the sum of last two terms is cc, so we will find the nth{{n}^{th}} term and (n1)th{{\left( n-1 \right)}^{th}} term by using the known formula an=a+(n1)d{{a}_{n}}=a+\left( n-1 \right)d and calculate the sum of last two terms and equate it to cc, here also we will get an equation. Now they have asked to calculate the sum of the nn terms, so the known formula for the sum of nn terms of A.P is Sn=n2[2a+(n1)d]{{S}_{n}}=\dfrac{n}{2}\left[ 2a+\left( n-1 \right)d \right]. 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 nn terms.
Let the first term of the A.P is aa and the common difference is dd. Now the A.P is a,a+d,a+2d,a+3d,...a,a+d,a+2d,a+3d,....
The sum of the first two terms is a+(a+d)=2a+da+\left( a+d \right)=2a+d.
In the problem they have mentioned that the sum of first two terms is bb.
2a+d=b 2a=bd...(i) \begin{aligned} & \therefore 2a+d=b \\\ & \Rightarrow 2a=b-d...\left( \text{i} \right) \\\ \end{aligned}
We know that the nth{{n}^{th}} term of the A.P is given by an=a+(n1)d{{a}_{n}}=a+\left( n-1 \right)d and the (n1)th{{\left( n-1 \right)}^{th}} term is an1=a+((n1)1)d an1=a+(n2)d \begin{aligned} & {{a}_{n-1}}=a+\left( \left( n-1 \right)-1 \right)d \\\ & \Rightarrow {{a}_{n-1}}=a+\left( n-2 \right)d \\\ \end{aligned}
Now the sum of the last two terms is given by
an+an1=a+(n1)d+a+(n2)d an+an1=2a+(n1+n2)d an+an1=2a+(2n3)d \begin{aligned} & {{a}_{n}}+{{a}_{n-1}}=a+\left( n-1 \right)d+a+\left( n-2 \right)d \\\ & \Rightarrow {{a}_{n}}+{{a}_{n-1}}=2a+\left( n-1+n-2 \right)d \\\ & \Rightarrow {{a}_{n}}+{{a}_{n-1}}=2a+\left( 2n-3 \right)d \\\ \end{aligned}
According to the given data the sum of the last two terms is cc.
an+an1=c 2a+(2n3)d=c \begin{aligned} & \therefore {{a}_{n}}+{{a}_{n-1}}=c \\\ & \Rightarrow 2a+\left( 2n-3 \right)d=c \\\ \end{aligned}
From equation (i)\left( \text{i} \right) substituting the value 2a=bd2a=b-d in the above equation, then we will get
bd+(2n3)d=c (2n31)d=cb (2n4)d=cb d=cb2(n2)...(ii) \begin{aligned} & b-d+\left( 2n-3 \right)d=c \\\ & \Rightarrow \left( 2n-3-1 \right)d=c-b \\\ & \Rightarrow \left( 2n-4 \right)d=c-b \\\ & \Rightarrow d=\dfrac{c-b}{2\left( n-2 \right)}...\left( \text{ii} \right) \\\ \end{aligned}
We know that the sum of the nn terms in A.P is given by
Sn=n2[2a+(n1)d]{{S}_{n}}=\dfrac{n}{2}\left[ 2a+\left( n-1 \right)d \right]
From equation (i)\left( \text{i} \right) substituting the value 2a=bd2a=b-d in the above equation, then we will get
Sn=n2[bd+(n1)d] Sn=n2[b+(n11)d] Sn=n2[b+(n2)d] \begin{aligned} & {{S}_{n}}=\dfrac{n}{2}\left[ b-d+\left( n-1 \right)d \right] \\\ & \Rightarrow {{S}_{n}}=\dfrac{n}{2}\left[ b+\left( n-1-1 \right)d \right] \\\ & \Rightarrow {{S}_{n}}=\dfrac{n}{2}\left[ b+\left( n-2 \right)d \right] \\\ \end{aligned}
From equation (ii)\left( \text{ii} \right) substituting the value of d=cb2(n2)d=\dfrac{c-b}{2\left( n-2 \right)}, then we will get
Sn=n2[b+(n2)(cb2(n2))] Sn=n2[b+cb2] Sn=n2[2b+cb2] Sn=n4(b+c) \begin{aligned} & {{S}_{n}}=\dfrac{n}{2}\left[ b+\left( n-2 \right)\left( \dfrac{c-b}{2\left( n-2 \right)} \right) \right] \\\ & \Rightarrow {{S}_{n}}=\dfrac{n}{2}\left[ b+\dfrac{c-b}{2} \right] \\\ & \Rightarrow {{S}_{n}}=\dfrac{n}{2}\left[ \dfrac{2b+c-b}{2} \right] \\\ & \therefore {{S}_{n}}=\dfrac{n}{4}\left( b+c \right) \\\ \end{aligned}

Note: While substituting the values of 2a2a and dd. First substitute the value of 2a2a after that substitute the value of dd, then we will get the result in an easy way. Otherwise If you substitute the values of 2a2a and dd at a time then you will need some time to simplify the equation.