Access this content offline
Omniguides
Skip to the reading

Powers and Logarithms

This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.

Finally!

You might have been curious about when this was going to happen, why we waited until finishing implicit differentiation to cover these special derivatives about powers and logs. This is because we are going to use implicit differentiation to prove them!

We proved that the derivative of ex= ex using limits in section 3.2. Now we use implicit differentiation combined with this knowledge to prove three other derivatives. Let’s start by proving this statement:

ddx(lnx)=1x​
We want to prove the derivative of ln(x), so let’s write it as an equation and say that y=ln(x). Using the definition of a logarithm, we can rewrite this as:

ey=x

Now we can implicitly differentiate both sides.

ddx(ey=x)

ddxey=ddxx

eydydx=1

Now, what was ey again? We just said it was x! Let’s substitute that back in and we find that dydx=1x This is the derivative of ln(x) because we had set that equal to y. Imagine having to prove that using limits! No thanks.

Now we have proven the derivatives of ex and ln(x). However, we won’t always be dealing with the base e. We need something more general. Let’s try to come up with a formula for the derivative of y= ax.

y=ax​
Before we take this derivative, let’s prep the equation a little bit by taking the natural log of both sides. You may have to recall your log rules for this.

lny=x⋅lna

Now we can take the derivative of both sides​
ddxlny=ddxx⋅lna​
dydx⋅1y=1⋅lna​
Remember that ln(a) is just a constant! Simplifying this, multiplying by y on both sides, and substituting y= ax gives us:

ddx(ax)=ax⋅ln(a)

Now what about a general logarithmic derivative? Thankfully, we can do that too, through implicit differentiation!

y=logax​
ay=x​
Now we can take the derivative of both sides

ddxay=ddxx​
dydx⋅ay⋅lna=1​
Remembering that since ay= x, we can isolate dydx and get

dydx=1x⋅lna

We just proved all the logarithmic and exponential derivatives in one swoop thanks to implicit differentiation! Let’s try some practice problems using our new knowledge.

Example Problem 5.1.1

Differentiate y=x⋅log2(x)+3sinxy and set the derivative as a function of x only.

Let’s multiply both sides by y first so that we won’t have to take the quotient rule:

y2=x⋅log2x+3sinx​
Now we can take the derivative of both sides​
ddx(y2=x⋅log2x+3sinx)​
2y⋅dydx=1⋅log2(x)+x⋅1x⋅ln2+3sinx⋅ln3⋅cosx​
Since we are getting into complex derivatives, let’s create a key for each rule.

Magenta - Quotient Rule​
Green - Chain Rule​
Blue - Product Rule

dydx=log2x+x⋅1x⋅ln2+3sinx⋅ln3⋅cosx2y

We need to figure out what y is equal to. Since​
y2=xlog2x+3sinx,

y=xlog2(x)+3sinx​
For simplicity’s sake, we’ll only be concerned with the positive square root. Substituting this equation into the derivative gives:

dydx=log2x+1ln2+3sinx⋅ln3⋅cosx2x⋅log2(x)+3sinx

 ​

Pop Quiz 5.1.1 Logs and Exponents

Question 1 of 5 · 0 correct

Find the derivative of y=3xlog16x

Select one answer.
Glossary and deeper reading · 3 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Implicit differentiation

    Implicit differentiation finds a derivative from an equation relating variables without first solving explicitly for one variable. When y depends on x, differentiating a term containing y requires the chain rule and a factor of dy/dx. For example, x²+y²=1 gives 2x+2y(dy/dx)=0. Solving that relation for dy/dx gives −x/y only where y≠0 and the relation supports the local function being considered.

    Read more: 3.2 · Implicit differentiation →

  • Derivative

    A derivative gives the instantaneous rate of change of a function with respect to its input. At a point, it is the finite limit of the difference quotient when that limit exists. For example, the derivative of x² is 2x, so the tangent slope at x=3 is 6. A derivative function collects those rates across the inputs where the function is differentiable.

    Read more: 2.2 · Derivative →

  • Limit

    A limit describes the value approached by outputs as inputs approach a specified target or grow without bound. For an input approaching a finite target, its value at that exact input does not determine the limit. For example, (x²−1)/(x−1) approaches 2 as x approaches 1 even though the original expression is undefined at 1. A finite two-sided limit requires the left and right approaches to agree.

    Read more: 1.2 · Limit →

Search lessons, terms and problems