Skip to content

the number in front

foundations

the puzzle

A count is n2+6nn^2 + 6n. What fraction of the count is 6n6n when n=90n = 90?

a worked example

Work out the 6n6n part's share at a few sizes.

  1. The share is 6nn2+6n\frac{6n}{n^2 + 6n}. Take nn out of the bottom, n2+6n=n(n+6)n^2 + 6n = n(n + 6).
  2. nn is not 0 and multiplies all of the top and all of the bottom, so it divides out, leaving 6n+6\frac{6}{n + 6}.
  3. At n=6n = 6 it is 612\frac{6}{12}, a half. At n=18n = 18 it is 624\frac{6}{24}, a quarter. At n=90n = 90 it is 696=116\frac{6}{96} = \frac{1}{16}.
  4. As nn grows, the share shrinks towards nothing, so the smaller part is dropped. We say the count grows like n2n^2: keep the part that ends up biggest, without the number in front.
nnthe count, n2+6nn^2 + 6n6n6n6n6n's share
672361 in 2
184321081 in 4
4220162521 in 8
9086405401 in 16
Each row, the smaller part's share halves.

how it works

The number in front is dropped too, as it depends on how the steps are counted. A loop marking nn seats takes 1 set-up step, then 1 step a seat if finding and marking a seat count as 1, so n+1n + 1.

nnn+1n + 12n+12n + 1
101121
202141
404181
8081161
Two counts of one loop, each nearly doubling as nn doubles.

If finding and marking count as 2 steps, it takes 2n+12n + 1. Same loop, and both grow like nn.

So a count's growth keeps the part that ends up biggest and drops the number in front: 7n2+6n+47n^2 + 6n + 4 grows like n2n^2.

in symbols

The number in front also cannot stop a faster growth. Take a 250n250n method and an n2n^2 method. In 250n250n, the number in front is 250.

The n2n^2 method is quicker at first, up to where the two tie in the plot, at n=250n = 250.

At n=1000n = 1000 the 250n250n method takes 250000 steps and the n2n^2 method 1000000, 4 times as many. However big the number in front, n2n^2 still ends up bigger.

A computer 4 times faster does 4 steps in the time of 1. In a minute, an nn method now handles 4 times the items, but an n2n^2 method only twice as many, as (2n)2=4n2(2n)^2 = 4n^2.

On the new computer, n2n^2 steps take the time 14n2\frac{1}{4} n^2 took before, and neither count's growth changed.

As 16=2416 = 2^4, lesson 6.2 gives log⁡2 n=4 log⁡16 n\log_2\, n = 4 \,\log_{16}\, n, and dividing both sides by 4, log⁡16 n=14×log⁡2 n\log_{16}\, n = \frac{1}{4} \times \log_2\, n. Changing a log's base only puts a number in front, so every log grows like log⁡2 n\log_2\, n.

An exponent is never dropped. n3=n×n2n^3 = n \times n^2, and that nn in front is not fixed: 10 at n=10n = 10, 100 at n=100n = 100. So n3n^3 does not grow like n2n^2.

stepsitems050,000100,000150,000200,000250,0000100200300400500stepsitems050,000100,000150,000200,000250,0000100200300400500
  • 250n250n
  • n2n^2
The n2n^2 method starts lower, the two tie at n=250n = 250, and after that n2n^2 climbs away for good.

your turn

Work each one out. Where there is a box, type your answer and check it. Each exercise's worked answer opens under it.

exercise 1

A count is n2+9nn^2 + 9n.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. The share is 9nn2+9n\frac{9n}{n^2 + 9n}. Take nn out of the bottom, n2+9n=n(n+9)n^2 + 9n = n(n + 9).
  2. nn is not 0 and multiplies all of the top and all of the bottom, so it divides out, leaving 9n+9\frac{9}{n + 9}.
  3. At n=9n = 9 it is 918=12\frac{9}{18} = \frac{1}{2}.
  4. At n=891n = 891 it is 9900=1100\frac{9}{900} = \frac{1}{100}.

Check it another way: At 891, 9n=80199n = 8019 and the count is 793881+8019=801900793881 + 8019 = 801900, and 8019÷801900=11008019 \div 801900 = \frac{1}{100}.

exercise 2

One method takes knkn steps, for a fixed number kk, and another takes n2n^2.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. At n=300n = 300 the n2n^2 method takes 90000 steps, and the knkn method 300k300k.
  2. 300k300k is more than 90000 when kk is more than 300, dividing both sides by 300. So the smallest whole kk is 301.
  3. At 602, n2=362404n^2 = 362404 and 301×602=181202301 \times 602 = 181202, and 362404÷181202=2362404 \div 181202 = 2.

Check it another way: The n2n^2 method over the other is n2301n=n301\frac{n^2}{301n} = \frac{n}{301}, and 602301=2\frac{602}{301} = 2.

exercise 3

On an old computer, a method of n2n^2 steps handled 500 items in a minute, and a method of n3n^3 steps handled 500 items in 500 minutes.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. 4000 is 8 times 500, so the n2n^2 method needs 82=648^2 = 64 times the steps, a computer 64 times faster.
  2. For n3n^3, 64 times the steps is only 4 times the items, as 43=644^3 = 64. So 4×500=20004 \times 500 = 2000.

Check it another way: 40002=16000000=64×50024000^2 = 16000000 = 64 \times 500^2, and 20003=64×50032000^3 = 64 \times 500^3.

exercise 4

Logs in different bases differ only by a number in front.

A number, like 13, 9.5 or 19/2.

worked answer
  1. 32=2532 = 2^5, so multiplying by 32 takes 5 doublings.
  2. So log⁡32 n\log_{32}\, n counts one step for every 5 that log⁡2 n\log_2\, n counts, log⁡32 n=15×log⁡2 n\log_{32}\, n = \frac{1}{5} \times \log_2\, n.

Check it another way: At n=1024n = 1024, log⁡32 1024=2\log_{32}\, 1024 = 2 and log⁡2 1024=10\log_2\, 1024 = 10, and 2=1052 = \frac{10}{5}.

exercise 5

Name the growth of each count.

n(4n+7)n(4n + 7) grows like:

8+3n+n258 + 3n + \frac{n^2}{5} grows like:

worked answer
  1. n(4n+7)=4n2+7nn(4n + 7) = 4n^2 + 7n. The part that ends up biggest is 4n24n^2. Drop the 4 in front, and it grows like n2n^2.
  2. In 8+3n+n258 + 3n + \frac{n^2}{5}, the part that ends up biggest is n25=15×n2\frac{n^2}{5} = \frac{1}{5} \times n^2. Drop the 15\frac{1}{5} in front, and it grows like n2n^2.

Check it another way: At n=100n = 100, n(4n+7)=40000+700n(4n + 7) = 40000 + 700 and 8+300+2000=23088 + 300 + 2000 = 2308, both mostly the squared part.