Question
Question: If \[a\] is the first term, 1 is the common difference and \[b\] is the last term of an AP, then its...
If a is the first term, 1 is the common difference and b is the last term of an AP, then its sum is.
A.2(a+b)(1+a−b)
B.2(a+b)(1−a+b)
C.2(a+b)(1−a)
D.(a+b)(1−a+b)
Solution
Here we will first assume the number of terms in an AP to be any variable. Then we will use the formula of the general term of an AP to find the required number of terms present in an AP. At last, we will use the formula of the sum of n terms of an AP to get the required answer.
Formula Used:
We will use the following formulas:
1.The sum of the terms of an AP is given by Sum=2n(a+l) where, n is the number of terms, l is the last term of an AP and n is the number of terms of an AP.
2.The formula of the general term of an AP is given by Tn=a+(n−1)d.
Complete step-by-step answer:
It is given that a is the first term, 1 is the common difference and b is the last term of an AP.
Let the number of terms in an AP to be n.
We know the value of the last term. So we will use the formula of the general term of an AP for the last term of an AP.
Now, we will substitute the value of the first term, last term, number of terms and the value of the common difference in the formula Tn=a+(n−1)d. Therefore, we get
b=a+(n−1)×1
On further simplification, we get
⇒b=a+n−1
Now, adding 1 to both sides, we get
⇒b+1=a+n−1+1 ⇒b+1=a+n
Now, we will subtract the term a from both sides. So, we get
⇒b+1−a=a+n−a ⇒b+1−a=n
⇒n=b−a+1 …………. (1)
Now we will find the sum of n terms.
Using the formula Sum=2n(a+l) for the given AP, we get
Sum=2n(a+b)
Now, we will substitute the value of the number of terms of an AP from equation (1).
⇒Sum=2(1−a+b)(a+b)
Hence, the correct option is option B.
Note: Here we have obtained the value of the sum of terms of an AP. Here, AP stands for the Arithmetic Progression and it is defined as the sequence in which the difference between any two consecutive terms of an arithmetic progression is constant. If we add any constant term to each term of an AP, then the resultant sequence will also be in AP. A real-life example of AP is when we add a fixed amount in our money bank every week. Similarly, when we ride a taxi, we pay an amount for the initial kilometer and pay a fixed amount for all the further kilometers, this also turns out to be an AP.