Lesson assets
No linked assets.
Implicit Differentiation, Related Rates, and Exponential Functions
Lesson 4AM closed with the toolkit table: power, sum, constant multiple, product, quotient, and chain. Any expression assembled from finitely many of those operations is differentiable mechanically. Lesson 4PM removed the last remaining restriction: when the relationship between and is given by an equation rather than an explicit formula, the chain rule still produces as a ratio in and , and the same rule converts it into related rates when is the underlying variable.
Layered Rules in Practice
The hardest part of using the product, quotient, and chain rules together is not the calculus. Every individual derivative is one line. The work is deciding which rule sits on the outside and which sits on the inside.
Differentiate
The expression is a quotient on the outside, with a power on top and a power-of-a-polynomial on the bottom. Read the architecture before reaching for any rule: outer is quotient, top is a chain , bottom is a chain .
Step 1: derivatives of the two pieces. By the general power rule applied to each composite,
Step 2: assemble with the quotient rule. With and ,
Step 3: clear the inner fraction. Multiply numerator and denominator by :
Step 4: factor. Both terms in the numerator share , so
The discriminant of is , so the second factor is positive for every real . Critical numbers come only from , giving . Since the squared factor is nonnegative on both sides of and the remaining factor is always positive, the slope vanishes there but does not change sign. By the first derivative test, this gives a horizontal tangent but not a relative extremum.
Differentiate
The outermost rule is the general power rule with applied to the inner expression :
The inner derivative is itself a sum, with the square-root term needing the general power rule a second time:
Therefore
Each new layer of nesting adds one factor: one for the outer power, one for the inner square root. The chain rule applied times produces multiplied factors and nothing else.
Problem 1
Differentiate each function. For the first two, simplify until critical numbers are visible without further work.
- .
- .
- (three-layer chain).
Tangent Lines on Implicit Curves
The static slope formula from Lesson 4PM gives as a ratio in and . When this ratio is finite at the point, it combines with the point-slope form from Lesson 2AM to give the tangent line. In the examples below, a zero denominator with nonzero numerator signals a vertical tangent.
The curve
is a lemniscate of Bernoulli, the same family as the Lesson 4PM problem (with constants chosen so that the lobes pass through tidy points). A quick check confirms lies on the curve:
Find the tangent line there.
Differentiate (1) with respect to . The left side is a power of a sum; the chain rule gives
Divide both sides by and expand:
Collect on the left:
which factors as
Solve for :
At : , so the numerator vanishes and
The tangent at is horizontal, so the line is . Reading off the slope formula directly: every point on the curve satisfying has a horizontal tangent. Geometrically, the lemniscate’s two highest and lowest points sit on the auxiliary circle of radius .
The substitution collapsed the slope formula to zero in one line. Whenever the curve equation forces a useful value on a sub-expression that appears in , use it before plugging in numbers.
Higher Derivatives Implicitly
The slope formula from Lesson 4PM is itself an equation in and , so a second round of implicit differentiation gives in terms of the same variables.
For the ellipse , find at the point , and use the result to confirm the concavity at that point.
Step 1: first derivative. Differentiate implicitly:
At : .
Step 2: second derivative. Differentiate (2) using the quotient rule, treating as a function of via :
Substitute (2) for :
The numerator equals on every point of the ellipse, so the second derivative along the curve simplifies to
Step 3: evaluate at .
Since the second derivative is negative, the upper half of the ellipse is concave down at . This matches the concavity language from Lesson 3AM. Form (3) makes the sign readable: on the upper half (), throughout, so the upper half is concave down everywhere; on the lower half, the sign flips and the curve is concave up.
Problem 2
For the curve , a scaled folium of Descartes, compute at the point . Explain in one sentence why the answer’s sign matches the geometry of the loop near its top.
Related Rates I: Geometry of a Shadow
Lesson 4PM’s procedure for related rates was: name variables, find one equation tying them together, differentiate with respect to , then substitute. The next two examples fix the procedure against problems where the equation comes from elementary geometry rather than a model handed across.
A streetlamp stands meters tall. A pedestrian meters tall walks away from the foot of the lamp at meters per second. How fast is the tip of the pedestrian’s shadow moving along the ground at the moment the pedestrian is meters from the lamp?
Let be the pedestrian’s horizontal distance from the lamp post and the distance from the foot of the lamp to the tip of the shadow. Both and are functions of .
Step 1: write the geometric constraint. The lamp top, the pedestrian’s head, and the tip of the shadow are collinear. The two right triangles they form share the same hypotenuse direction, so by similar triangles,
Cross-multiplying:
Collecting ,
The shadow tip is always at a fixed multiple of the pedestrian’s distance, namely times.
Step 2: differentiate with respect to . Equation (4) is linear, so
Step 3: substitute the data. The pedestrian’s distance never enters because (4) was already simplified to a multiplicative law:
The shadow tip moves at 1.875 m/s, faster than the pedestrian.
The figure shows why the shadow-tip rate exceeds the pedestrian’s. The light ray to the shadow tip pivots about the lamp top as the pedestrian moves; the pedestrian, whose head sits below that ray, intercepts a shorter arc than the ground does. The ratio depends only on the two heights; the pedestrian’s distance from the lamp drops out.
The pedestrian’s distance in this example was a red herring: the constraint (4) is linear in , so its time derivative carries no instantaneous data. Always carry out Step 2 of the procedure before substituting; if a piece of data turns out to be unnecessary, the structure of the equation will reveal it.
Related Rates II: A Conical Tank
When the geometric constraint is non-linear, the answer depends on the current state of the system in a substantive way.
A water tank has the shape of an inverted right circular cone with height meters and top radius meters, so the height is twice the top radius. Water flows in at a steady cubic meters per second. How fast is the water level rising at the moment the depth is meters?
Let be the depth of water and the radius of the water surface at depth . Both vary with time.
Step 1: eliminate using the tank geometry. The cross-section of the tank is a triangle with , so at every depth,
Step 2: write as a function of alone. The volume of water is the volume of a cone of height and base radius :
Step 3: differentiate with respect to . By the chain rule,
Solve for :
Step 4: substitute. At and ,
The water level rises at about 1.59 cm/s when the depth is meters.
The answer depends on , and the dependence matters: at depth , the rate scales as , so the level rises four times faster at depth than at depth , and nine times faster at depth than at depth . The shallow water has a small surface, so a fixed inflow stretches further upward; deep water has a wide surface, so the same inflow spreads sideways before it can lift the level. Substituting before differentiating, contrary to Lesson 4PM’s Differentiate before substituting note, would remove this -dependence and give the wrong rate.
Problem 3
A second tank has the shape of an inverted cone with height meters and top radius meters. Water flows out of a small hole at the bottom at a rate proportional to the depth: for some constant , where is the current water depth.
- Express in terms of alone using the similar-triangle ratio between the water surface radius and the depth, as in the Water rising in a conical tank example.
- Use the chain rule to find in terms of , , and the geometric constants. Simplify to a single expression with no or remaining.
- Describe what happens to the formula as approaches from above, and explain why this proportional-outflow model stops being physically reliable near an empty tank.
The examples above track rates after the formula is already known. The next question is different: which functions have a rate of change proportional to their current value?
Preview for Lesson 5: Exponential Functions
Three basic models motivate the next function family. The full derivative rules for exponential functions are developed in Lesson 5; here the goal is only to identify the kind of model that needs them.
When an investment grows by a fixed percentage each year, the yearly increase is proportional to the current balance: the larger the balance, the larger the next increase in pounds. When a bacteria culture grows in a nutrient-rich Petri dish, the rate of growth at any moment is proportional to the number of bacteria currently present. A pile of radioactive uranium decays at a rate that, at every moment, is proportional to the amount of still present. The first two are instances of exponential growth; the third, of exponential decay.
What ties them together is a structural condition the toolkit rules cannot meet. A nonconstant function whose rate of change satisfies with nonzero constant cannot be a polynomial: every nonconstant polynomial’s derivative is one degree lower than itself, so is not a nonzero constant multiple of . Nor can it be a rational function for the simple examples we want here. A new family of functions is required.
The three panels share a single shape: a curve whose vertical rate at every point is proportional to its current height, rising in the first two cases and falling in the third. The function family that produces this shape is the family of exponential functions.
Definition
Throughout this section, denotes a positive number with .
The exponential function with base is
defined for every real number . The number , is the base.
The variable sits in the exponent. That placement is what distinguishes exponential functions from the power functions whose derivatives were studied in Lesson 2PM, where the variable was the base and the exponent was a fixed constant. Swapping the two roles changes nearly everything: the toolkit rule for does not apply to , the shape of the graph is qualitatively different, and the rate of change is proportional to the function itself.
For integer and rational exponents, we use the usual meanings:
For irrational exponents such as or , one defines by approximating with rational numbers and taking a limit; the details are omitted here, and we assume that is defined for every real in such a way that the laws of exponents below hold without exception.
Laws of Exponents
The six laws of exponents transfer unchanged from rational exponents to real exponents.
For positive numbers and real numbers :
(i)
(ii)
(iii)
(iv)
(v)
(vi)
Three of these laws, (i), (ii), and (iv), do much of the work. Law (iii) is law (i) combined with law (ii), while laws (v) and (vi) record how a common exponent distributes across multiplication and division of positive bases. Memorizing the six is faster than re-deriving each, but knowing which law is being used keeps the algebra honest.
Property (iv) is the one that earns its keep most often: it converts powers of one base into powers of another, provided the bases share a common smaller base. For example,
This is the conversion that makes a comparison of two seemingly different exponentials possible at all.
Use the laws of exponents to write each expression in the form for a suitable constant .
Solution. Each part picks out one or two of the six laws.
- Replace the base and apply law (iv):
- Combine the two factors inside the parentheses using law (i), then law (iv):
- Replace and , apply law (iv) to each factor, and finish with law (i):
- Two routes. First, apply law (v) to , then cancel:
Alternatively, apply law (vi) directly:
Both routes land on , so . The two-route check is structural rather than numerical: if the two laws (v) and (vi) ever produced different answers, one of them would be wrong.
Problem 4
Write each expression in the form for suitable constants and .
- .
- .
- .
- .
Problem 5
Rewrite each expression as a single exponential for the smallest possible integer base .
- .
- .
- .
A British investor places £1000 into an account paying annual interest, compounded once per year. After years, the balance is
Without the laws of exponents, the question “what is the balance after years?” is answered only by computing directly. With them, one can also write the same balance using a different base. Using law (iv) with , the balance can be rewritten in quarterly steps:
The exact equivalent quarterly growth factor is , whose decimal approximation is . An account multiplying by this exact factor each quarter compounds to the same yearly . The two formulas describe the same balance at every , but expose different operational pieces, yearly versus quarterly, by a single application of law (iv). The yearly increase is still of the current balance at each annual compounding step; the base only changes how the same multiplication is recorded.
Problem 6
A radioactive sample’s mass after years is modeled by
where is the half-life in years and is the initial mass. Verify two structural properties from the laws of exponents alone, without doing any numerical calculation:
- and .
- The mass at time is exactly half the mass at time , for every .
State, in plain English, what property (2) says about the model.
Graphs
The qualitative shape of is fixed by the value of relative to .
The case tabulates cleanly. Sample values:
Plotting the seven points and joining them by a smooth curve produces the now-standard exponential shape: increasing, passing through , approaching the -axis on the left as , and growing without bound on the right as .
Two features of the graph carry over to every base .
- The graph passes through , since for every positive .
- The graph never touches the -axis: for every real , so the line is a horizontal asymptote on the left (in the sense of Lesson 3AM’s Intercepts, Undefined Points, and Asymptotes discussion) but is never reached.
The third feature, that the graph is everywhere increasing, also carries over for , but the speed of the increase is base-dependent.
The figure compares five curves at once. Among the increasing curves, reading from steepest to flattest at gives
These four are increasing because their bases satisfy . The curve is decreasing because its base satisfies . Among the increasing curves, the steepness at grows with the base: a small change in near zero produces a much larger change in than in , because larger bases multiply by more for each unit gained.
The case produces decreasing curves rather than increasing ones, but is structurally not new: by law (ii),
so the graph of is the reflection of across the -axis. Studying alone covers by reflection.
The Injectivity Property
Every exponential graph in the previous figure has the same structural feature: it is strictly monotonic. For it is strictly increasing; for it is strictly decreasing. In either case, no horizontal line crosses the graph twice. Equivalently, an exponential function is one-to-one: distinct inputs produce distinct outputs.
For any positive number with , the equation
implies .
The result is the algebraic shadow of the geometric monotonicity. If and , then with , since the exponent is positive. Thus , and the two values cannot coincide. The case runs the same argument with the inequality flipped. The base is excluded precisely because for every and ; the only base that fails injectivity is the one we ruled out from the start.
Find every for which .
The right-hand side is a power of the same base: . The equation becomes
By injectivity, the exponents must be equal:
The single root is forced. The structure of exponential functions reduces an equation in the exponent to a linear equation in .
Find every for which .
Neither side is in a common base immediately, but both and are powers of :
Apply law (iv) to each side:
By injectivity,
The conversion to a common base via law (iv) is the only non-trivial content; injectivity then leaves a linear equation.
Find every for which .
The expression is a polynomial in , not in itself: by law (iv), . Set . The equation becomes
Factor: , so or . Translate each back through :
- , so by injectivity.
- , so by injectivity.
Both roots check in the original equation: , and .
The substitution is the useful move. Whenever an equation contains , , and constants, one substitution turns it into a polynomial equation in . Any root of that polynomial that lies in corresponds, by injectivity, to a single .
The substitution in the example above is admissible only because for every real . Roots of the polynomial in that fall in correspond to no real . If the polynomial above had been , both roots and would have been spurious, and the original exponential equation would have no real solution. Always check the sign of every polynomial root before translating back.
Problem 7
Solve each equation for , using the injectivity property and the laws of exponents as needed.
- .
- .
- .
- .
Problem 8
Solve each quadratic-in-disguise equation by an appropriate substitution. Discard any root of the substituted equation that does not correspond to a real .
- .
- .
- . (Hint: the term .)
Problem 9
A British investor’s account balance is pounds after years. Suppose a quarterly growth factor is chosen to be exactly . After how many years does the balance reach
pounds? Use the laws of exponents to convert the right-hand side into the form and solve for by injectivity.
Reading the Slope
A single qualitative observation about the graphs of ties the algebra above back to the proportionality that opened this half of the recitation.
For every , the graph of is concave up everywhere. Reading from left to right, the slope is small and positive on the far left, becomes moderate near , and grows on the far right. Lesson 5 will make the following preview precise: the slope at is times the slope at , the slope at is times the slope at , and so on. The slope at every is a constant multiple of the slope at , with the constant equal to itself.
The proportionality is the formula this preview is pointing toward. The constant is whatever the slope of happens to be at , and Lesson 5 turns that observation into a derivative formula.
Three tangent lines, drawn at , , and on the graph of , have slopes
where is the slope at . The middle slope is the lone unknown. Once it is named, every other slope is read off as in the Lesson 5 formula.
Exercises
Exercise 1
Differentiate using the product rule and the general power rule. Factor the answer over the integers. Identify every for which .
Exercise 2
For the curve :
- Use implicit differentiation to find as a function of and .
- Show that the point lies on the curve, and compute the tangent slope there.
- Find the equation of the tangent line at in the form .
Exercise 3
Differentiate
on the domain by writing as a power and combining the general power rule with the quotient rule. Express the answer with no negative exponents and identify any at which .
Exercise 4
A spherical balloon’s radius is increasing at centimeters per second. Air is being pumped in at a rate that is not constant; it increases as the balloon grows. Find at the moment cm. Then explain why a constant rate of radial growth requires a non-constant rate of volume supply, citing the chain rule.
Exercise 5
A 13-foot ladder leans against a vertical wall. The bottom slips away from the wall at feet per second.
- Find the rate at which the top of the ladder is sliding down the wall when the bottom is feet from the wall.
- The area of the triangle enclosed by the ladder, the wall, and the ground is . Find at the same instant.
- At what value of is the area momentarily constant, meaning ? Interpret in plain English.
Exercise 6
For the demand curve , where is unit price (pounds) and is quantity sold (thousand units per week):
- Use implicit differentiation to find in terms of and .
- The point lies on the curve. Compute there and state, in plain English, what the answer says about price sensitivity.
- The total weekly revenue is . Use the product rule on to find at the instant and pounds per week.
Exercise 7
Show that for any differentiable curve implicitly defining as a function of near a point with , the normal line at , meaning the line through perpendicular to the tangent, has equation
when , and when . Apply this to the circle at the point to find both the tangent line and the normal line, and verify that the normal line passes through the origin.
Exercise 8
Write each expression as a single exponential of the form or for suitable constants and .
- .
- .
- .
Exercise 9
Solve each exponential equation for . State whether each step uses a law of exponents (and which one) or the injectivity property.
- .
- .
- .
Exercise 10
A pile of has half-life years. The mass remaining after years is .
- Use the laws of exponents to show that for every .
- Express in the form using law (ii).
- Find the value of at which exactly of the original mass remains, by setting up an equation in the form and applying injectivity.
Exercise 11
The graph of passes through for every admissible . Determine the unique base for which the graph also passes through . Then use that to compute the value of the function at and at .
Exercise 12
Show, using the laws of exponents alone, that for every positive with and every real ,
Conclude that and are reciprocals. Use this to prove that the graph of never crosses the -axis, without appealing to the definition of for irrational .