letx=

Calculus basics

Derivatives of eˣ and ln x

ex is its own derivative, and the derivative of ln⁡x is 1/x.

ddxekx=kekx, ddxln⁡x=1x
Other basesddxax=axln⁡a
Log of a functionddxln⁡(g(x))=g′(x)g(x)

Calculator

The live calculator needs JavaScript. The worked example below shows the same steps it would.

See it move

−0.50.511.522.53200400600800100012001400
  • At x = 1: f(x) = 22.167, slope f′(x) = 44.334 (coral tangent). Dashed: the derivative f′.

What the symbols mean

D
the value of f′(x) at the chosen x
A
the coefficient of ekx
k
the rate in ekx
B
the coefficient of ln⁡x
x
the point (must be positive if there is a ln term)

When to use it

Use it for growth and decay models (the rate of change of N0ekt is k times the amount), for logarithmic functions, and with the chain rule for things like ex2 or ln⁡(3x+1). The calculator differentiates Aekx+Bln⁡x.

Worked example

Find the derivative of f(x) = 3e²ˣ at x = 1 (A = 3, k = 2, B = 0).

  1. The two rules: ddxekx=kekx and ddxln⁡x=1x.

  2. So

    f′(x)=A⁢k⁢ek⁢x
  3. Substitute and work it out:

    D=3·2⁢e2·1
    =6⁢e2
    ≈44.3343

Answer f′(1) = 3 × 2 × e² ≈ 44.334

Why it works

e is exactly the base whose exponential curve has slope 1 at x = 0, which makes the slope at every point equal to the height. ln x is the inverse of ex, so its slope is the reciprocal: 1/x.

Common mistakes

  • Writing ddxe2x=e2x: the chain rule gives an extra factor 2.
  • Using the power rule on ex (giving xex−1); the exponent is the variable, not the base.
  • Differentiating ln x at x ≤ 0, where ln is not defined.