In an A.P., the first term is 4 and the last term is 31. If sum of all the terms is 175, find the number of terms and the common difference. OR (b) How many…

Question
(a) In an A.P., the first term is 4 and the last term is 31. If sum of all the terms is 175, find the number of terms and the common difference.
OR
(b) How many terms of the A.P. 21, 18, 15, …. must be added to get the sum zero ?
Solution
(a)2 marks
Solution
- ½$a = 4$, $l = 31$, $S_n = 175$: $\dfrac{n}{2}(4 + 31) = 175$
- ½$\Rightarrow n = 10$
- ½$a_{10} = 31 \Rightarrow 4 + 9d = 31$
- ½$\Rightarrow d = 3$
Answer$\boxed{n = 10,\ d = 3}$
OR
(b)2 marks
Solution
- ½$a = 21$, $d = 18 - 21 = -3$
- 1$S_n = 0$: $\dfrac{n}{2}\left[2 \times 21 + (n - 1)(-3)\right] = 0 \Rightarrow n^2 - 15n = 0 \Rightarrow n(n - 15) = 0$
- ½$n = 0$ or $15$. $n$ is a natural number, so $n = 15$.The positive terms 21, 18, …, 3 and the negative terms −3, …, −21 cancel in pairs (with 0 in the middle).
Answer$\boxed{15\text{ terms}}$
Marks on the right are a suggested CBSE-style split for each step.
Answer and step marks from the official CBSE marking scheme (Set 30/3/3); explanations by the Mnemos team.

