Solveeit Logo

Question

Question: 200 logs are stacked in the following manner: 20 logs in the bottom row, 19 in the next row, 18 in t...

200 logs are stacked in the following manner: 20 logs in the bottom row, 19 in the next row, 18 in the row next to it and so on. In how many rows are the 200 logs placed and how many logs are in the top row?

Explanation

Solution

We can consider the number of logs in each row from bottom as an AP with 1st term 20 and common difference -1. Then we can write the equation for the sum of n terms and equate it to 200. Then we can solve for n to get the number of rows. We can find the number of logs in the top row by calculating the nth term of the AP.

Complete step by step solution:
We are given that there are 20 logs in the bottom row.
a1=20\Rightarrow {a_1} = 20
The next row has 19 logs and the row next to it has 18 logs.
a2=19\Rightarrow {a_2} = 19
a3=18\Rightarrow {a_3} = 18
Thus, the number of logs in each row forms an AP with 1st term a1=20{a_1} = 20
To find the common difference, we can subtract a term in the AP with the previous term.
d=a3a2\Rightarrow d = {a_3} - {a_2}
On substituting the values we get,
d=1819\Rightarrow d = 18 - 19
On simplification we get,
d=1\Rightarrow d = - 1
Now we have an AP with 1st term a=20a = 20 and common difference d=1d = - 1
We know that sum of n terms of an AP is given by,
Sn=n2(2a+(n1)d){S_n} = \dfrac{n}{2}\left( {2a + \left( {n - 1} \right)d} \right)
We can substitute the values of a and d.
Sn=n2(2×20+(n1)(1))\Rightarrow {S_n} = \dfrac{n}{2}\left( {2 \times 20 + \left( {n - 1} \right)\left( { - 1} \right)} \right)
On simplification, we get,
Sn=n2(41n)\Rightarrow {S_n} = \dfrac{n}{2}\left( {41 - n} \right)
It is given that there are 200 logs to be arranged.
200=n2(41n)\Rightarrow 200 = \dfrac{n}{2}\left( {41 - n} \right)
On multiplying throughout with 2, we get,
400=n(41n)\Rightarrow 400 = n\left( {41 - n} \right)
We can expand the bracket and rearrange,
n241n+400=0\Rightarrow {n^2} - 41n + 400 = 0
We can split the middle term,
n225n16n+400=0\Rightarrow {n^2} - 25n - 16n + 400 = 0
Now we can take the common factors
n(n25)16(n25)=0\Rightarrow n\left( {n - 25} \right) - 16\left( {n - 25} \right) = 0
On taking (n16)\left( {n - 16} \right) common we get,
(n16)(n25)=0\Rightarrow \left( {n - 16} \right)\left( {n - 25} \right) = 0
Hence we have,
n=16,25\Rightarrow n = 16,25
We know that nth term of an AP is given by the equation,
an=a+(n1)d{a_n} = a + \left( {n - 1} \right)d
When n is 16, 16th term will be,
a16=20+(161)(1)\Rightarrow {a_{16}} = 20 + \left( {16 - 1} \right)\left( { - 1} \right)
a16=2015\Rightarrow {a_{16}} = 20 - 15
a16=5\Rightarrow {a_{16}} = 5
When n is 25, 25th term will be,
a25=20+(251)(1)\Rightarrow {a_{25}} = 20 + \left( {25 - 1} \right)\left( { - 1} \right)
a25=2024\Rightarrow {a_{25}} = 20 - 24
a25=4\Rightarrow {a_{25}} = - 4
As the terms of AP represents the number of logs, it cannot be negative.
So, we can reject n=25n = 25
So, the number of rows is 16 and the number of logs in the top row is 5.

Note: While calculating the common difference, we must subtract the nth term from the n+1n + 1 th term. We may take the reverse order as the difference is negative. The common difference of an AP can be negative if the series is decreasing. While solving for n, we get a quadratic equation and it will have 2 solutions. We must take only the positive value of n as the number of terms cannot be negative. If both values of n are positive, we must check the value of nth term. In this case the terms of the AP cannot be negative as they represent the number of logs in each row.