The ages of the students in a class are in AP, whose common difference is months. If the youngest student is old and the sum of the ages of all the students is then find the number of students in the class.
Step 1. Given:
Here, the age of the youngest student, .
Common difference,
.
The sum of the ages of all the students in the class is .
Let be the number of students in the class.
Step 2. Find the quadratic equation by using the formula :
Formula:
We know that the sum of the first terms of an AP is
Where first term and common difference.
Step 2. Solve the quadratic equation to find the values of :
Number of students cannot be negative
Hence, the number of students in the class is .