8

Day 8

Implicit And Exponential Logarithmic Derivatives


Implicit Differentiation

Not every curve can be solved explicitly for yy in terms of xx — circles, folium-shaped curves, and many AP FRQ setups only give you an equation relating xx and yy. Implicit differentiation lets you find dydx\frac{dy}{dx} anyway, by differentiating both sides of the equation as-is.

Core Theorem
Differentiate each term of the equation with respect to xx. Every time you differentiate a term containing yy, treat yy as a function of xx and multiply by dydx\frac{dy}{dx} (the chain rule). For example, ddx(xy)=y+xdydx\frac{d}{dx}(xy) = y + x\frac{dy}{dx} (product rule) and ddx(y3)=3y2dydx\frac{d}{dx}(y^3) = 3y^2\frac{dy}{dx} (chain rule).
Step-by-Step SOP
  1. 1

    Differentiate Every Term w.r.t. x

    Go term by term. For xx-only terms, differentiate normally. For yy-only or mixed terms, apply the chain rule (and product rule, if mixed) and attach yy'.
  2. 2

    Collect and Factor

    Move every term containing yy' to one side of the equation, factor yy' out, and solve for it.
  3. 3

    Substitute the Point Last

    Keep yy' in terms of both xx and yy until the very end, then plug in the specific point you care about.

Practice Exercises


Example 01Easy
Find dydx\frac{dy}{dx} for the circle x2+y2=25x^2+y^2=25, and use it to find the tangent line at the point (3,4)(3,-4).
NEED A HINT?
Differentiate both sides with respect to xx; the y2y^2 term needs the chain rule.
SHOW DETAILED EXPLANATION

Step 1: Differentiate Both Sides

2x+2ydydx=02x + 2y\frac{dy}{dx} = 0.

Step 2: Solve for dy/dx

dydx=xy\frac{dy}{dx} = -\frac{x}{y}.

Step 3: Evaluate the Slope at (3, -4)

dydx(3,4)=34=34\frac{dy}{dx}\Big|_{(3,-4)} = -\frac{3}{-4} = \frac{3}{4}.

Step 4: Write the Tangent Line

y(4)=34(x3)    y=34x254y - (-4) = \frac{3}{4}(x-3) \implies y = \frac{3}{4}x - \frac{25}{4}.
Example 02Medium
Find yy' for the folium of Descartes: x3+y3=6xyx^3+y^3=6xy.
NEED A HINT?
The right side 6xy6xy needs the product rule, and every yy term needs an extra yy' tacked on.
SHOW DETAILED EXPLANATION

Step 1: Differentiate Both Sides

3x2+3y2y=6y+6xy3x^2 + 3y^2y' = 6y + 6xy' (the right side used the product rule on 6xy6xy).

Step 2: Collect All y' Terms on One Side

3y2y6xy=6y3x2    y(3y26x)=6y3x23y^2y' - 6xy' = 6y - 3x^2 \implies y'(3y^2-6x) = 6y-3x^2.

Step 3: Solve for y'

y=6y3x23y26x=2yx2y22xy' = \frac{6y-3x^2}{3y^2-6x} = \frac{2y-x^2}{y^2-2x}.
Example 03Hard
For the curve x2+xy+y3=1x^2+xy+y^3=1, find yy' and yy'' at the point (1,0)(1,0).
NEED A HINT?
First confirm (1,0)(1,0) is actually on the curve, then differentiate once for yy', and differentiate that whole equation again for yy''.
SHOW DETAILED EXPLANATION

Step 1: Differentiate Once for y'

2x+(y+xy)+3y2y=0    y(x+3y2)=(2x+y)    y=2x+yx+3y22x + (y+xy') + 3y^2y' = 0 \implies y'(x+3y^2) = -(2x+y) \implies y' = -\frac{2x+y}{x+3y^2}.

Step 2: Evaluate y' at (1, 0)

y(1,0)=2(1)+01+3(0)2=21=2y'(1,0) = -\frac{2(1)+0}{1+3(0)^2} = -\frac{2}{1} = -2.

Step 3: Differentiate the y' Equation Again for y''

Differentiating 2x+y+xy+3y2y=02x+y+xy'+3y^2y'=0 term by term: 2+y+(y+xy)+(6y(y)2+3y2y)=02 + y' + (y'+xy'') + (6y(y')^2+3y^2y'') = 0, which simplifies to y(x+3y2)=[2+2y+6y(y)2]y''(x+3y^2) = -\left[2+2y'+6y(y')^2\right].

Step 4: Substitute x=1, y=0, y'=-2

y(1+0)=[2+2(2)+6(0)(4)]=[24+0]=2y''(1+0) = -[2+2(-2)+6(0)(4)] = -[2-4+0] = 2, so y(1,0)=2y''(1,0) = 2.
Example 04AB/BC Standard
Verify that y=ax3y = ax^3 and x2+3y2=bx^2+3y^2=b form a family of orthogonal trajectories (every curve in one family meets every curve in the other at a right angle).
NEED A HINT?
Find the slope of each family in terms of xx and yy only (eliminate the parameters aa and bb), then multiply the two slopes together.
SHOW DETAILED EXPLANATION

Step 1: Find the Slope of y = ax³ in Terms of x, y

y=3ax2y' = 3ax^2. Since a=yx3a = \frac{y}{x^3} from the original equation, y=3(yx3)x2=3yxy' = 3\left(\frac{y}{x^3}\right)x^2 = \frac{3y}{x}.

Step 2: Find the Slope of x² + 3y² = b Implicitly

2x+6yy=0    y=x3y2x+6yy'=0 \implies y' = -\frac{x}{3y}.

Step 3: Multiply the Two Slopes

3yx(x3y)=1\frac{3y}{x} \cdot \left(-\frac{x}{3y}\right) = -1.

Step 4: Conclude

Since the product of the slopes is 1-1 at every intersection point, the two families are orthogonal trajectories.
Example 05Hard
Find all points on the curve x2xy+y2=3x^2 - xy + y^2 = 3 where the tangent line is horizontal.
NEED A HINT?
A horizontal tangent means y=0y'=0. Differentiate implicitly, set the numerator of yy' equal to 0, then substitute back into the original equation to find the actual points.
SHOW DETAILED EXPLANATION

Step 1: Differentiate Implicitly

2x(y+xy)+2yy=0    y(2yx)=y2x    y=y2x2yx2x - (y+xy') + 2yy' = 0 \implies y'(2y-x) = y-2x \implies y' = \frac{y-2x}{2y-x}.

Step 2: Set the Numerator to Zero

y2x=0    y=2xy - 2x = 0 \implies y = 2x.

Step 3: Substitute Back into the Original Equation

x2x(2x)+(2x)2=3    x22x2+4x2=3    3x2=3    x=±1x^2 - x(2x) + (2x)^2 = 3 \implies x^2-2x^2+4x^2=3 \implies 3x^2=3 \implies x=\pm 1.

Step 4: State the Points

At x=1x=1: y=2y=2. At x=1x=-1: y=2y=-2. Both denominators (2yx2y-x) are nonzero at these points, confirming horizontal tangents at (1,2)(1,2) and (1,2)(-1,-2).
Common Pitfalls
  • Every y Needs Its Own dy/dxIt's easy to differentiate y3y^3 correctly as 3y2y3y^2y' but then forget to attach yy' to a simpler term like a lone yy later in the same equation — track every single yy term.
  • Mixed Terms Like xy Need the Product Ruleddx(xy)=y+xy\frac{d}{dx}(xy) = y + xy', NOT just yy' or just xyx y' — since xx and yy are both functions of xx here, the product rule is mandatory.
  • Solve for dy/dx Only at the EndDon't try to isolate yy' mid-differentiation. Differentiate the entire equation first, then collect all yy' terms on one side and factor.

Derivatives of Exponential & Logarithmic Functions

exe^x is the only function that is its own derivative — every other exponential or logarithmic derivative picks up an extra factor of ln(base)\ln(\text{base}). When a variable shows up in BOTH the base and the exponent, none of the usual rules apply directly — that's when logarithmic differentiation comes in.

Core Theorem
ddxex=ex\frac{d}{dx}e^x = e^x
ddxax=axlna\frac{d}{dx}a^x = a^x \ln a
ddxlnx=1x (x>0)\frac{d}{dx}\ln x = \frac{1}{x}\ (x>0), and ddxlnx=1x (x0)\frac{d}{dx}\ln|x| = \frac{1}{x}\ (x \neq 0)
ddxlogax=1xlna\frac{d}{dx}\log_a x = \frac{1}{x\ln a}
General power rule:
ddxur=rur1dudx\frac{d}{dx}u^r = ru^{r-1}\frac{du}{dx} for any real rr.
Logarithmic differentiation: to differentiate
y=[f(x)]g(x)y=[f(x)]^{g(x)}, take ln\ln of both sides first: lny=g(x)lnf(x)\ln y = g(x)\ln f(x), then differentiate implicitly.
Watch the TikTok ExplanationDerivative of Exponential FunctionsWatch the TikTok ExplanationDerivative of Logarithmic Functions
Step-by-Step SOP
  1. 1

    Classify the Expression

    Determine whether the variable is in the base only (power rule), the exponent only (exponential rule), or both (logarithmic differentiation needed).
  2. 2

    For Logarithmic Differentiation, Take ln of Both Sides First

    Rewrite lny=g(x)lnf(x)\ln y = g(x)\ln f(x), differentiate implicitly, then multiply both sides by the original yy to isolate yy'.
  3. 3

    Don't Forget the Chain Rule for Nested Arguments

    Even after picking the right base rule, if the exponent or argument is itself a function of xx, you still need to multiply by its derivative.

Practice Exercises


Example 01Medium
Differentiate y=esec(3θ)y = e^{\sec(3\theta)}.
NEED A HINT?
The outside function is e()e^{(\cdot)} — apply the chain rule and don't forget the derivative of sec(3θ)\sec(3\theta) needs its own chain rule too.
SHOW DETAILED EXPLANATION

Step 1: Differentiate the Outer e^(...) Layer

dydθ=esec(3θ)ddθ[sec(3θ)]\frac{dy}{d\theta} = e^{\sec(3\theta)} \cdot \frac{d}{d\theta}\left[\sec(3\theta)\right].

Step 2: Differentiate sec(3θ) with the Chain Rule

ddθsec(3θ)=sec(3θ)tan(3θ)3\frac{d}{d\theta}\sec(3\theta) = \sec(3\theta)\tan(3\theta) \cdot 3.

Step 3: Combine

dydθ=3sec(3θ)tan(3θ)esec(3θ)\frac{dy}{d\theta} = 3\sec(3\theta)\tan(3\theta)\,e^{\sec(3\theta)}.
Example 02Medium
Differentiate f(x)=lnxf(x) = \sqrt{\ln x}.
NEED A HINT?
Rewrite as (lnx)1/2(\ln x)^{1/2} and apply the chain rule, recalling that the derivative of lnx\ln x is 1x\frac{1}{x}.
SHOW DETAILED EXPLANATION

Step 1: Rewrite as a Power

f(x)=(lnx)1/2f(x) = (\ln x)^{1/2}.

Step 2: Differentiate the Outer Power

f(x)=12(lnx)1/2ddx(lnx)f'(x) = \frac{1}{2}(\ln x)^{-1/2} \cdot \frac{d}{dx}(\ln x).

Step 3: Multiply by the Inner Derivative

f(x)=12(lnx)1/21x=12xlnxf'(x) = \frac{1}{2}(\ln x)^{-1/2} \cdot \frac{1}{x} = \frac{1}{2x\sqrt{\ln x}}.
Example 03AB/BC Standard
Use logarithmic differentiation to find dydx\frac{dy}{dx} for y=xxy = x^{\sqrt{x}}.
NEED A HINT?
Since both the base AND the exponent contain xx, no ordinary rule applies directly — take ln\ln of both sides first.
SHOW DETAILED EXPLANATION

Step 1: Take the Natural Log of Both Sides

lny=xlnx\ln y = \sqrt{x}\ln x.

Step 2: Differentiate Both Sides Implicitly

yy=12xlnx+x1x=lnx2x+1x\frac{y'}{y} = \frac{1}{2\sqrt{x}}\ln x + \sqrt{x}\cdot\frac{1}{x} = \frac{\ln x}{2\sqrt{x}} + \frac{1}{\sqrt{x}}.

Step 3: Combine the Right Side

yy=lnx+22x\frac{y'}{y} = \frac{\ln x + 2}{2\sqrt{x}}.

Step 4: Solve for y' by Multiplying by y

y=xxlnx+22xy' = x^{\sqrt{x}}\cdot\frac{\ln x + 2}{2\sqrt{x}}.
Example 04Medium
Compare the derivatives of four similar-looking expressions: (a) 535^3, (b) x3x^3, (c) 2sinx2^{\sin x}, (d) xxx^x.
NEED A HINT?
Ask which part is the variable: the base, the exponent, both, or neither?
SHOW DETAILED EXPLANATION

(a) Constant Base, Constant Exponent

535^3 is just the number 125 — a constant. Its derivative is 00.

(b) Variable Base, Constant Exponent → Power Rule

ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2.

(c) Constant Base, Variable Exponent → Exponential Rule

ddx(2sinx)=2sinx(ln2)cosx\frac{d}{dx}\left(2^{\sin x}\right) = 2^{\sin x}(\ln 2)\cos x.

(d) Variable Base AND Variable Exponent → Logarithmic Differentiation

ddx(xx)=xx(lnx+1)\frac{d}{dx}(x^x) = x^x(\ln x + 1), found by taking lny=xlnx\ln y = x\ln x and differentiating implicitly.
Example 05Easy
At which point on the curve y=exy=e^x is the tangent line parallel to y=2xy=2x?
NEED A HINT?
'Parallel' means the slopes match. Set y=exy'=e^x equal to the slope of the given line and solve for xx.
SHOW DETAILED EXPLANATION

Step 1: Set the Derivative Equal to the Target Slope

y=ex=2y' = e^x = 2.

Step 2: Solve for x

x=ln2x = \ln 2.

Step 3: Find the y-Coordinate

y=eln2=2y = e^{\ln 2} = 2.

Step 4: State the Point

The tangent line is parallel to y=2xy=2x at the point (ln2, 2)(\ln 2,\ 2).
Common Pitfalls
  • Only e^x Reproduces Itselfddxax=axlna\frac{d}{dx}a^x = a^x\ln a, NOT just axa^x. The extra lna\ln a factor is only invisible when a=ea=e, since lne=1\ln e = 1.
  • Identify Which Part Is the Variable Before Choosing a RulePower rule, exponential rule, and logarithmic differentiation look similar but apply to different situations — always check whether the variable is in the base, the exponent, or both before picking a method.
Gary Chang

Gary Chang

Calculus Educator

5+ Years of Calculus Teaching Experience | AP Calculus Specialist. Dedicated to helping students master calculus through step-by-step logic and clear visualizations.