Question
Question: Find four numbers in A.P whose sum is 20 and the sum of whose squares is 120....
Find four numbers in A.P whose sum is 20 and the sum of whose squares is 120.
Solution
Hint: Assume four numbers as a−3d, a−d, a+d and a+3d. So, by adding all terms we can get the value of one variable. And we will get the value of another variable from the sum of squares of terms.
Complete step-by-step answer:
As we know, the difference between two consecutive terms of A.P is the same.
So, let us assume an A.P.
Let the four numbers in A.P will be,
⇒a−3d, a−d, a+dand a+3d.
As, common difference of an A.P is the difference of two consecutive numbers.
So, the common difference of the above A.P will be (a−d)−(a−3d)=2d.
As, given in the question that the sum of four terms of the A.P is 20.
So, (a−3d)+(a−d)+(a+d)+(a+3d)=20
So, on solving the above equation. We get,
⇒4a=20
⇒a=5 (1)
Now, as given in the question, the sum of squares of 4 numbers of A.P is 120.
⇒So, (a−3d)2+(a−d)2+(a+d)2+(a+3d)2=120
Solving above equation we get,
⇒(a2−6d+9d2)+(a2−2d+d2)+(a2+2d+d2)+(a2+6d+9d2)=120
Solving above equation we get,
⇒4a2+20d2=120
Now, putting the value of a from equation 1 to above equation. We get,
⇒100+20d2=120
⇒Hence, d=±1
Now we got the values of a and d. So, we can put the value of a and d to above assumed numbers.
So, four numbers of the A.P will be,
⇒Hence, the numbers are 2, 4, 6, 8 or 8, 6, 4, 2.
Note: Whenever we came up with this type of problem then to get values of a and d easily. We assume numbers of A.P such that, on applying the given condition, one out of a and d cancels out. And then using the equation of other given conditions. We can find the values of a and d.