**Question:**

(i) How many terms of the sequence 18, 16, 14, ... should be taken so that their sum is zero?

(ii) How many terms are there in the A.P. whose first and fifth terms are −14 and 2 respectively and the sum of the terms is 40?

(iii) How many terms of the A.P. 9, 17, 25,... must be taken so that their sum is 636?

(iv) How many terms of the A.P. 63, 60, 57, ... must be taken so that their sum is 693?

**Solution:**

In the given problem, we have the sum of the certain number of terms of an A.P. and we need to find the number of terms.

(i) A.P. is

So here, let us find the number of terms whose sum is 0. For that, we will use the formula,

$S_{n}=\frac{n}{2}[2 a+(n-1) d]$

Where; *a* = first term for the given A.P.

*d* = common difference of the given A.P.

*n *= number of terms

The first term (*a*) = 18

The sum of* n* terms (*S**n*) = 0

Common difference of the A.P. $(d)=a_{2}-a_{1}$

$=16-18$

$=-2$

So, on substituting the values in the formula for the sum of *n* terms of an A.P., we get,

$0=\frac{n}{2}[2(18)+(n-1)(-2)]$

$0=\left(\frac{n}{2}\right)[36+(-2 n+2)]$

$0=\left(\frac{n}{2}\right)[38-2 n]$

Further,

$\frac{n}{2}=0$

$n=0$

Or,

$38-2 n=0$

$n=\frac{-38}{-2}$

$n=19$

Since, the number of terms cannot be zero, the number of terms (*n*) is.

(ii) Here, let us take the common difference as *d.*

So, we are given,

First term (*a**1*) = −14

Fifth term (*a*5) = 2

Sum of terms (*s*n) = 40

Now,

$a_{5}=a_{1}+4 d$

$2=-14+4 d$

$2+14=4 d$

$d=\frac{16}{4}$

$d=4$

Further, let us find the number of terms whose sum is 40. For that, we will use the formula,

$S_{n}=\frac{n}{2}[2 a+(n-1) d]$

Where; *a* = first term for the given A.P.

*d* = common difference of the given A.P.

*n *= number of terms

The first term (*a*1) = −14

The sum of* n* terms (*S**n*) = 40

Common difference of the A.P. (*d*) = 4

So, on substituting the values in the formula for the sum of *n* terms of an A.P., we get,

$40=\frac{n}{2}[2(-14)+(n-1)(4)]$

$40=\left(\frac{n}{2}\right)[-28+(4 n-4)]$

$40=\left(\frac{n}{2}\right)[-32+4 n]$

$40(2)=-32 n+4 n^{2}$

So, we get the following quadratic equation,

$4 n^{2}-32 n-80=0$

$n^{2}-8 n+20=0$

On solving by splitting the middle term, we get,

$n^{2}-10 n+2 n+20=0$

$n(n-10)+2(n-10)=0$

$(n+2)(n-10)=0$

Further,

$n+2=0$

$n=-2$

Or,

$n-10=0$

$n=10$

Since the number of terms cannot be negative. Therefore, the number of terms (*n*) is

(iii) A.P. is

So here, let us find the number of terms whose sum is 636. For that, we will use the formula,

$S_{n}=\frac{n}{2}[2 a+(n-1) d]$

Where; *a* = first term for the given A.P.

*d* = common difference of the given A.P.

*n *= number of terms

The first term (*a*) = 9

The sum of* n* terms (*S**n*) = 636

Common difference of the A.P. $(d)=a_{2}-a_{1}$

$=17-9$

$=8$

So, on substituting the values in the formula for the sum of *n* terms of an A.P., we get,

$636=\frac{n}{2}[2(9)+(n-1)(8)]$

$636=\left(\frac{n}{2}\right)[18+(8 n-8)]$

$636=\left(\frac{n}{2}\right)[10+8 n]$

$636(2)=10 n+8 n^{2}$

So, we get the following quadratic equation,

$8 n^{2}+10 n-1272=0$

$4 n^{2}+5 n-636=0$

On solving by splitting the middle term, we get,

$4 n^{2}-48 n+53 n-636=0$

$4 n(n-12)-53(n-12)=0$

$(4 n-53)(n-12)=0$

Further,

$4 n-53=0$

$n=\frac{53}{4}$

Or,

$n-12=0$

$n=12$

Since, the number of terms cannot be a fraction, the number of terms (*n*) is.

(iv) A.P. is $63,60,57, \ldots$

So here, let us find the number of terms whose sum is 693. For that, we will use the formula,

$S_{n}=\frac{n}{2}[2 a+(n-1) d]$

Where; *a* = first term for the given A.P.

*d* = common difference of the given A.P.

*n *= number of terms

The first term (*a*) = 63

The sum of* n* terms (*S**n*) = 693

Common difference of the A.P. $(d)=a_{2}-a_{1}$

$=60-63$

$=-3$

So, on substituting the values in the formula for the sum of *n* terms of an A.P., we get,

$693=\frac{n}{2}[2(63)+(n-1)(-3)]$

$693=\left(\frac{n}{2}\right)[126+(-3 n+3)]$

$693=\left(\frac{n}{2}\right)[129-3 n]$

$693(2)=129 n-3 n^{2}$

So, we get the following quadratic equation,

$3 n^{2}-129 n+1386=0$

$n^{2}-43 n+462=0$

On solving by splitting the middle term, we get,

$n^{2}-22 n-21 n+462=0$

$n(n-22)-21(n-22)=0$

$(n-22)(n-21)=0$

Further,

$n-22=0$

$n=22$

Or,

$n-21=0$

$n=21$

Here, $22^{\text {nd }}$ term will be

$a_{22}=a_{1}+21 d$

$=63+21(-3)$

$=63-63$

$=0$

So, the sum of 22 as well as 21 terms is 693. Therefore, the number of terms (*n*) is 21 or 22

(v)

The given AP is 27, 24, 21, ...

First term of the AP = 27

Common difference = 24 − 27 = −3

Let the sum of the first *x* terms of the AP be 0.

Sum of first $x$ terms $=\frac{x}{2}[2 \times 27+(x-1)(-3)]=0$

$\Rightarrow \frac{x}{2}[54+(-3 x+3)]=0$

$\Rightarrow x(54-3 x+3)=0$

$\Rightarrow x(57-3 x)=0$

Now, either $x=0$ or $57-3 x=0$.

Since the number of terms cannot be $0, x \neq 0$.

$\therefore 57-3 x=0$

$\Rightarrow 57=3 x$

$\Rightarrow x=19$

Thus, the sum of the first 19 terms of the AP is 0.