If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Proof: The derivative of ๐‘’หฃ is ๐‘’หฃ

AP.CALC:
FUNโ€‘3 (EU)
,
FUNโ€‘3.A (LO)
,
FUNโ€‘3.A.4 (EK)
e, start superscript, x, end superscript is the only function that is the derivative of itself!
start fraction, d, divided by, d, x, end fraction, open bracket, e, start superscript, x, end superscript, close bracket, equals, e, start superscript, x, end superscript
(Well, actually, f, left parenthesis, x, right parenthesis, equals, 0 is also the derivative of itself, but it's not a very interesting function...)
The AP Calculus course doesn't require knowing the proof of this fact, but we believe that as long as a proof is accessible, there's always something to learn from it. In general, it's always good to require some kind of proof or justification for the theorems you learn.
Khan Academy video wrapper
Proof: The derivative of ๐‘’หฃ is ๐‘’หฃSee video transcript

Want to join the conversation?

  • starky sapling style avatar for user tejas_gondalia
    At , how did the limit got inside the logarithm function? It is getting hard for me to make sense for this step. It is like saying lim (x -> 0) cos(x) = cos (lim x->0 x).
    How is that possible?
    Can this thing be only applied to logarithm functions or is it generic for other functions also like cos, sin etc?
    (30 votes)
    Default Khan Academy avatar avatar for user
    • cacteye blue style avatar for user Jerry Nilsson
      It's NOT a general rule, and I wish Sal spent some time explaining why it works in this particular case.

      โ€“ โ€“ โ€“

      First of all, we're dealing with a composite function.

      ๐‘“(๐‘ฅ) = 1โˆ•ln ๐‘ฅ
      ๐‘”(๐‘ฅ) = (1 + ๐‘ฅ)^(1โˆ•๐‘ฅ)
      โ‡’
      ๐‘“(๐‘”(๐‘ฅ)) = 1โˆ•ln((1 + ๐‘ฅ)^(1โˆ•๐‘ฅ))

      In general terms we are looking for
      ๐น = lim(๐‘› โ†’ 0) ๐‘“(๐‘”(๐‘›))

      This means that we let ๐‘› approach zero, which makes ๐‘”(๐‘›) approach some limit ๐บ, which in turn makes ๐‘“(๐‘”(๐‘›)) approach ๐น.

      In other words:
      ๐บ = lim(๐‘› โ†’ 0) ๐‘”(๐‘›)
      ๐น = lim(๐‘”(๐‘›) โ†’ ๐บ) ๐‘“(๐‘”(๐‘›)) = [let ๐‘ฅ = ๐‘”(๐‘›)] = lim(๐‘ฅ โ†’ ๐บ) ๐‘“(๐‘ฅ)

      Now, if we use our definitions of ๐‘“(๐‘ฅ) and ๐‘”(๐‘ฅ), we get
      ๐บ = lim(๐‘› โ†’ 0) (1 + ๐‘›)^(1โˆ•๐‘›) = [by definition] = ๐‘’
      ๐น = lim(๐‘ฅ โ†’ ๐‘’) 1โˆ•ln ๐‘ฅ = [by direct substitution] = 1โˆ•ln ๐‘’ = 1

      Note that ๐น was given to us by direct substitution, which means that in this particular case we have
      lim(๐‘ฅ โ†’ ๐บ) ๐‘“(๐‘ฅ) = ๐‘“(๐บ) = ๐‘“(lim(๐‘› โ†’ 0) ๐‘”(๐‘›))

      โ€“ โ€“ โ€“

      EDIT (10/28/21):
      The reason this works is because lim ๐‘ฅโ†’0 ๐‘”(๐‘ฅ) = ๐‘’ (i.e. the limit exists)
      and๐‘“(๐‘ฅ) is continuous at ๐‘ฅ = ๐‘’

      According to the theorem for limits of composite functions we then have
      lim ๐‘ฅโ†’0 ๐‘“(๐‘”(๐‘ฅ)) = ๐‘“(lim ๐‘ฅโ†’0 ๐‘”(๐‘ฅ))

      Sal explains that theorem here:
      https://www.khanacademy.org/math/ap-calculus-ab/ab-limits-new/ab-1-5a/v/limits-of-composite-functions
      (65 votes)
  • duskpin ultimate style avatar for user jasminepandit
    How can e^x be the only function that is the derivative of itself? Doesn't f(x) = 19e^x also satisfy this property?
    (13 votes)
    Default Khan Academy avatar avatar for user
    • mr pants teal style avatar for user Moon Bears
      When we say that the exponential function is the only derivative of itself we mean that in solving the differential equation f' = f. It's true that 19f = (19f)' but this isn't simplified; I can still pull the 19 out of the derivative and cancel both sides. You are correct in saying that the general solution is Ae^x where A is a real value; however, the "A" part isn't the main focus - the main focus is the exponential, since that's what varies and the constants don't.
      (16 votes)
  • piceratops ultimate style avatar for user Ruize Wang
    Where can I find the proof of limit as nโ†’infinity (1+1/n)^n =e and limit as nโ†’0 (1+n)^(1/n)=e?
    (7 votes)
    Default Khan Academy avatar avatar for user
  • aqualine seed style avatar for user Dylan
    how/why is (1+1/n)^n equal to (1+n)^(1/n)? Is this just a basic law of exponents
    (7 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user Justin O'Dwyer
      Think about it like this:

      it is completely legal for us to define one variable as some amount of another variable. Therefore, we can say that n=1/u, for example.

      Let's say n=1/u

      and

      (lim n-> inf) e= (1+1/n)^n

      Now let's rewrite this in terms of u. The limit will be that u gets very small and approaches 0, because this will cause the fraction 1/u to become very large. For n=1/u: if n approaches infinity, u must approach 0 for both sides to approach infinity.

      (lim u-> 0) (1+u)^(1/u) (I simplified 1/(1/u) to just u)

      This, therefore, is equivalent to the other definition of e, because all we have done is described the variable in a new way without adding in or taking away anything from the original equation, just looking at it differently.
      (6 votes)
  • blobby green style avatar for user Andrew.Blais
    At , is it that this is an application of the principle:

    lim(x->a)[ f(g(x)) ] = f( lim(x->a)[g(x)] )

    ?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • cacteye blue style avatar for user Jerry Nilsson
      Yes, with ๐‘“(๐‘ฅ) = ln ๐‘ฅ and ๐‘”(๐‘ฅ) = (1 + 1โˆ•๐‘ฅ)^๐‘ฅ
      we get ๐‘“(๐‘”(๐‘ฅ)) = ln(1 + 1โˆ•๐‘ฅ)^๐‘ฅ

      Because the natural log function is continuous, we have
      lim[๐‘ฅ โ†’ โˆž] ๐‘“(๐‘”(๐‘ฅ)) = ๐‘“(lim[๐‘ฅ โ†’ โˆž] ๐‘”(๐‘ฅ))
      = ln(lim[๐‘ฅ โ†’ โˆž] (1 + 1โˆ•๐‘ฅ)^๐‘ฅ)
      (4 votes)
  • boggle yellow style avatar for user Gustavo Sรกez
    Technically, the function x^0-1 is its own derivative.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • old spice man green style avatar for user James Birkin
    Hi - i am interested that sal says that e = (1+n)^1/n when I graphed y = (1+x)^1/x the graph converges to 1. What mistake have I made?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user scott.d.corwin
    When/where do we learn that change of variables method?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • leaf green style avatar for user Moly
    At , Sal came up with n . Can the whole proof be shown without this n ? Why did he came up with this idea and not something else ?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user xyzPoKeFaNxyz
    At , how did he change the derivative into a limit?
    How is that possible?
    What is the formula of changing?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • cacteye blue style avatar for user Jerry Nilsson
      That is the definition of derivative as a limit.

      The derivative at a point is the slope of the tangent line at that point.

      You can verify for yourself that
      (๐‘“(๐‘ฅ + ๐›ฅ๐‘ฅ) โˆ’ ๐‘“(๐‘ฅ))โˆ•๐›ฅ๐‘ฅ
      is the slope of the line through the points
      (๐‘ฅ, ๐‘“(๐‘ฅ)) and (๐‘ฅ + ๐›ฅ๐‘ฅ, ๐‘“(๐‘ฅ + ๐›ฅ๐‘ฅ))

      Then, as ๐›ฅ๐‘ฅ โ†’ 0 the two points practically become one and the same, and our slope will be that of the tangent line at (๐‘ฅ, ๐‘“(๐‘ฅ)).
      (4 votes)