Question
Question: If the first, second and last term of an A.P. are \(a\), \(b\) and \(2a\) respectively, then its sum...
If the first, second and last term of an A.P. are a, b and 2a respectively, then its sum is:
(a) 2(b−a)ab
(b) b−aab
(c) 2(b−a)3ab
(d) None of these
Solution
We will first calculate the common difference by subtracting the second term from the first term of the given sequence. Then, calculate the number of terms using the last term of the sequence and applying the formula, an=a+(n−1)d, where a is the first term of the sequence and d is the common difference of the sequence. Next, calculate the sum of terms by substituting the values in the formula, 2n(A+An), where A is the first term and An is the last term.
Complete step by step solution:
We are given that the first term of the A.P is a and the second term is b.
As it is known that the terms of an A.P have a common difference. The common difference of the A.P. can be calculated by subtracting the first term from the second term.
Then, d=b−a
Also, we are given that the last term is 2a.
We have to calculate the sum of all the terms, but for that, we need to find the number of terms first.
The number of terms of the A.P. can be calculated by using the last term of the given A.P.
We know that the nth term of the A.P. is an=a+(n−1)d, where a is the first term of the sequence and d is the common difference of the sequence.
Hence, an=2a and d=b−a
Then, we have,
2a=a+(n−1)(b−a) ⇒a=(n−1)(b−a) ⇒b−aa=n−1 ⇒n=b−aa+1 ⇒n=b−aa+b−a ⇒n=b−ab
Hence, the number of terms for the A.P is b−ab
Now, we can calculate the sum using the formula, 2n(A+An), where A is the first term and An is the last term
Hence, the sum of the terms is 2b−ab(a+2a)
On simplifying, we will get,
2(b−a)b(3a)=2(b−a)3ab
Hence, the option (c) is correct.
Note:
We can alternatively find the sum of A.P. using the formula, 2n(2a+(n−1)d), where a is the first term, d is the common difference and n is the number of terms. Here, we used the formula, 2n(a+an), where a is the first term and an is the last term because we were given the last term of the sequence.