### CHECK OUT SHMOOP'S FREE STUDY TOOLS:

### CHECK OUT SHMOOP'S FREE STUDY TOOLS:

# In the Real World

Logs are everywhere. Birch logs, mahogany logs, pine logs—okay, we'll stop there.

Our original statement still holds true. Logs are everywhere, and so are exponents. Most anything that starts slow and then increases really fast can be modeled using an exponential function, and similarly things that start quickly and then slow down in a hurry (oxymoron?) can usually be modeled using a log function.

## Bacterial Growth

Let's start with something really yummy: bacteria.

Get that funny look off your face, there are bacteria all around you: on the table, the bed, your pillow, *inside of you*.

Those little buggers like to multiply like there's no tomorrow, through a process known as binary fission. No, not nuclear fission. That'd be a little scary. By fission, we mean "splitting."

If every bacterium splits into two, and those two bacteria split into two each, and so on, we've got an exponential function on our hands. (Lucky us, right?)

### Sample Problem

What exponential function *y *= *Cb*^{x} would model bacteria growth per second, assuming the bacteria split every 4 seconds and we start with 20 bacteria? In this case, we'll simplify any irrational numbers to four decimal places.

In the beginning of time, *x* = 0, there's 20 bacteria: *y = 20*20 = *Cb*^{0}

20 = *C*

At 4 seconds, *x* = 4, the bacteria doubles: *y *= 40

40 = 20b^{4}

2 = *b*^{4}*b* = 1.1892

Then put it all together like a puzzle: *y* = 20(1.1892)^{x}

## Sound

What happens when you're at a loud rock concert? Your hair stands up, your brain hides in the corner of your skull, and your skin ripples in waves. Compared to a normal conversation, the sound at this concert is about 100,000x more intense. We can measure this intensity on the decibel scale, a *logarithmic scale*.

The decibel scale begins at 0, which is a "reference level" of sound intensity that humans can *just barely* hear. For every increase of the decibel level by ten, the sound intensity increases by ten *times *the previous intensity. Sound intensity isn't quite the same thing as volume, though, but that's math for a rainy day.

## Moore's Law

A smartphone today is more powerful than the most powerful, room-filling supercomputers just a few decades ago. This is thanks to the collective efforts of thousands of smart people all around the world. The cool thing about computers is that as they get better, they help us make better computers, which yields better computers, which helps…well, you get the idea.

The number of transistors on a single computer processor chip, which is a rough estimate of how powerful it is, doubles about every 18 months. This trend is known as "Moore's Law," named for the co-founder of computer supergiant Intel, Gordon Moore.

Notice how the *y*-axis of this plot looks all kinds of odd. That's because it's not following a linear trend anymore; every tick mark represents a doubling from the previous value. You could even think of it like this: 10^{4}, 10^{5}, 10^{6}, and so on, which is commonly used and known as "scientific notation."

### Sample Problem

Write out the exponential function *y *= *Cb*^{x} that would represent Moore's Law, assuming *x* is measured in years. Assume you start with 1 transistor in the beginning of time, and simplify any irrational numbers to 3 decimal places.

An easy way to solve this problem is to start with C. If there's one very lonely transistor on the chip to start off (*x *= 0), then you can solve the following equation:

1 = *Cb*^{0}

1 = *C*

Because 18 months equals 1.5 years, and you know that the number of transistors doubles every 18 months, you can then write:

*B*^{1.5} = 2

We can also write it like this:

If we raise each side to the power of :

We get an irrational base of 1.58740…, which we can simplify to just 1.587. Now our final answer, for one million fake dollars, is:*y = *1.587^{x}Essentially, this means that every year, the number of transistors increases by about 1.587 times! At this rate, in a few decades we won't even need brains anymore. Or hands.

## Compound Interest

Remember that funny lil' number, *e*? It's time to pull up the curtains on one of its many uses. Like we mentioned before, it's the sum of up to a gazillion-billion-billion. (Note: this is not a formal definition, do not use it in a term paper.)

A very common use of *e* is in calculating compound interest. When money accumulates interest, it could be "simple interest" that accumulates every year, quarter, month, week, day, or whichever unit of time fits your delicate taste. Compounded interest takes accumulation to the *next level*, though—the hardest, fastest, most extreme accumulation there is. Every sliver of a second that makes up a day contributes to the generation of interest, and this can make quite a big difference in the long run.

### Sample Problem

If you have $100 in your bank account, which has a continuously compounded interest rate of 9.5% (lucky you), how many years will it take for it to grow to $150? Simplify to 2 decimal places.

The original investment is $100, and we need to get $150. We can write out:

150 = 100*e*^{0.095t}

To solve for *t*, first divide the coefficients:

1.5 = *e*^{0.095t}

Then take the natural log of both sides and solve:

ln 1.5 = ln *e*^{0.095t}

0.405 = 0.095*t* ln *e* (from the exponent in log property)

0.405 = 0.095t (ln *e* = 1)*t* = 4.26 years

We're rich. Uber Rich*. *Well, we'll be 50% more rich in four years and change. Not too shabby, but we'd better start saving more, that money isn't going to grow on trees.