Announcements! ( See All )
3/12 - Week 8 assignments have been posted! Quiz 2 will be on Wed 3/20 in section.
3/5 - Week 7 assignments have been posted!
2/19 - Week 5 assignments have been posted! Midterm 1 on Thu 2/28.
2/12 - Week 4 assignments have been posted! Lab 4 due on Sun 2/17 at noon.
2/5 - Week 3 assignments have been posted! Quiz 1 on Wed 2/6 in your assigned section.
1/29 - Week 2 assignments have been posted! Quiz 1 will be on Wed 2/6 in section.
1/22 - Week 1 assignments have been posted! Please bring your laptops to section.

Exponential and Log Functions


Limits and Approximations

For all $x$,

The expansion as a sum implies that

Here the symbol $\sim$ means that the ratio of the two sides goes to 1 as $x$ goes to 0.

You can see this approximation in the figure. Around $x = 0$, the blue graph of $e^x$ and the red graph of $1+x$ are almost indistinguishable.

Take $\log$ on both sides to see that

To spot this in the figure, look at values near 1 on the horizontal axis. You can see that $\log(x) \sim -1 + x$ for $x$ near 1. Write $x$ as 1 plus a small increment $w$. The approximation becomes $\log(1+w) \sim w$ for small $w$, which is the result we had before. It doesn’t matter whether you refer to the small number as $x$ or $w$. But it does matter that it is small.

For exact values, let $\vert x \vert < 1$. Then the Taylor expansion of $\log(1+x)$ is


  • $e^x \ge 1+x$ for all $x$. You can see this in the graphs above.

  • For $x \in (0, 1)$:

    • $\log(1+x) < x$
    • $\log(1+x) > x - \frac{x^2}{2}$
    • and so on. You get alternating upper and lower bounds as you go further into the series.

In probability theory you will often come across logs of values that are near 1. Here is another useful lower bound on $\log(1+x)$. It is true for all positive $x$ but it is only close to $\log(1+x)$ when $x$ is close to 0.

  • For $x > 0$, $\log(1+x) \ge \frac{x}{1+x/2} = \frac{2x}{2+x}$

There are many ways of proving inequalities like this one. One way is to show that the difference between the two sides has the right sign, by noticing that it is 0 at $x=0$ and monotone (in the right direction) on the specified domain.

Here are the graphs of $\log(1+x)$ and $2x/(2+x)$.


The difference $\log(1+x) - 2x/(2+x)$ is an increasing positive function: