The first term of an A.P. is 5, the last term is 45 and the sum is 400. Find the number of terms and the common difference.
The first term of an A.P. is 5, the last term is 45 and the sum is 400. Find the number of terms and the common difference.
In the given problem, we have the first and the last term of an A.P. along with the sum of all the terms of A.P. Here, we need to find the number of terms and the common difference of the A.P.
Here,
The first term of the A.P (a) = 5
The last term of the A.P (l) = 45
Sum of all the terms
Let the common difference of the A.P. be d.
So, let us first find the number of the terms (n) using the formula,
$400=\left(\frac{n}{2}\right)(5+45)$
$400=\left(\frac{n}{2}\right)(50)$
$400=(n)(25)$
$n=\frac{400}{25}$
$n=16$
Now, to find the common difference of the A.P. we use the following formula,
$I=a+(n-1) d$
We get,
$45=5+(16-1) d$
$45=5+(15) d$
$45=5+15 d$
$\frac{45-5}{15}=d$
Further, solving for d,
$d=\frac{40}{15}$
$d=\frac{8}{3}$
Therefore, the number of terms is $n=16$ and the common difference of the A.P is $d=\frac{8}{3}$.