Tutorials › AP Calculus › When to Substitute Instantaneous Values

Related Rates Models · Tutorial 296 of 999

When to Substitute Instantaneous Values

Determine which quantities must remain variable through differentiation, then evaluate the differentiated relation at the specified instant.

Intermediate 9 min read

What You'll Learn

  • Distinguish a time-dependent quantity from a fixed constant in a related-rates equation
  • Explain why substituting an instantaneous value too early can erase the rate information
  • Differentiate a ladder constraint before evaluating its dimensions
  • Find the rate of change of a sphere’s volume at a specified radius
  • Identify when a known constant can safely be substituted before differentiation

Why the Order of Steps Matters

A related-rates problem describes quantities that change together over time. A geometric or physical relationship connects those quantities, and differentiation with respect to time connects their rates. The order matters: if you replace a changing quantity with its value at one instant too early, you may turn it into a constant and erase the very rate you are trying to find.

The reliable approach is to keep changing quantities as functions of time, differentiate the relationship, and only then substitute the values and rates that apply at the requested instant. This tutorial focuses on diagnosing the error and seeing why that order works.

Key takeaway: Differentiate the relationship while its changing quantities are still variables. Substitute instantaneous values into the resulting rate equation, not into the original relationship beforehand.

Changing Quantities and Instantaneous Values

Suppose \(x\) represents a distance that changes over time. To emphasize that dependence, write \(x=x(t)\). Its instantaneous value \(x(t_0)=6\) tells us the distance at the single time \(t_0\). It does not mean that the distance equals \(6\) at every time.

For example, if \(x(t)=6+3(t-t_0)\), then \(x(t_0)=6\), but \(\frac{dx}{dt}=3\). Replacing \(x(t)\) by \(6\) before differentiating instead gives the constant function \(x(t)=6\), whose derivative is \(0\). The replacement changes the function, not merely its notation.

Definition: An instantaneous value is the value of a changing quantity at one specified time. A fixed constant has the same value throughout the time interval being modeled. A quantity’s instantaneous value must not be treated as a fixed constant when differentiating its time-dependent relationship.

The usual related-rates process begins with a relationship that holds throughout the motion or process. If \(x(t)\) and \(y(t)\) satisfy that relationship, differentiating it with respect to \(t\) produces an equation involving \(\frac{dx}{dt}\), \(\frac{dy}{dt}\), and possibly the quantities themselves. The values at a particular time are then used in that differentiated equation.

1
Write the relationship.
Use variables for every quantity that changes with time; retain fixed constants as constants.
2
Differentiate with respect to time.
Apply the chain rule to the changing quantities.
3
Evaluate at the specified instant.
Substitute the known values and rates, then solve for the requested rate.

Why Differentiation Must Come First

The reason can be stated precisely. Suppose a constraint \(F(x(t),y(t))=0\) holds as the quantities change, and \(F\) is differentiable. The chain rule gives the rate equation

$$ \frac{d}{dt}F(x(t),y(t)) = F_x(x(t),y(t))\frac{dx}{dt} + F_y(x(t),y(t))\frac{dy}{dt} =0. $$

Here \(F_x\) and \(F_y\) are the partial derivatives of \(F\) with respect to its first and second variables. This equation describes how the changing quantities’ rates must relate at each time where the constraint holds and the derivatives exist.

At the specified time \(t_0\), we can then evaluate this equation using \(x(t_0)\), \(y(t_0)\), and any given rates. If we instead replace \(x(t)\) by \(x(t_0)\) in the original equation before differentiating, the resulting expression no longer describes the changing quantity \(x(t)\). Differentiating that frozen value gives zero, not the original rate.

Why the method works: Differentiating the constraint first preserves how its quantities change together. Evaluating afterward uses the actual values of those quantities at one instant without pretending they stayed fixed at those values for all time.

Worked Example: A Sliding Ladder

Worked Example: A Sliding Ladder

A \(10\)-foot ladder rests against a vertical wall. Let \(x(t)\) be the distance of its base from the wall and \(y(t)\) its height on the wall. At an instant when \(x=6\) feet and \(y=8\) feet, the base is moving away from the wall at \(\frac{dx}{dt}=3\) feet per second. Find the rate at which the top is moving.

Step 1: Write the relationship. The ladder length stays fixed, so the Pythagorean theorem gives a constraint that holds throughout the motion:

$$ x^2+y^2=10^2=100. $$

Step 2: Differentiate before substituting the instant’s measurements. Both \(x\) and \(y\) change with time. Applying the chain rule gives

$$ 2x\frac{dx}{dt}+2y\frac{dy}{dt}=0. $$

Step 3: Substitute the known values.

$$ 2(6)(3)+2(8)\frac{dy}{dt}=0. $$

Compute the known product: \(2(6)(3)=36\). Thus

$$ 36+16\frac{dy}{dt}=0, \qquad 16\frac{dy}{dt}=-36, \qquad \frac{dy}{dt}=-\frac{36}{16}=-\frac94. $$

The top of the ladder is moving downward at \(\frac94\) feet per second. The negative sign indicates that the height \(y\) is decreasing.

Check: Substitute the rates and dimensions into the differentiated relationship:

$$ 2(6)(3)+2(8)\left(-\frac94\right) = 36-36 = 0. $$

The rate equation is satisfied. The stated dimensions also match the ladder length because \(6^2+8^2=36+64=100\).

The Ladder Error: Freezing Both Dimensions

A tempting but incorrect calculation is to substitute \(x=6\) and \(y=8\) into the original constraint first:

$$ 6^2+8^2=100. $$

This is true, but it is only a numerical statement about the ladder at that instant. It contains no changing quantities left to differentiate. Differentiating the numerical equation gives \(0=0\), which cannot determine either rate.

A closely related error is to solve for the height, substitute \(x=6\), and then differentiate the resulting numerical value:

$$ y=\sqrt{100-x^2}, \qquad y=\sqrt{100-6^2}=8. $$

Now \(8\) is a fixed number, so differentiating it gives zero. But the ladder’s height is not fixed at \(8\) feet throughout its motion. The substitution has discarded the relationship that describes how the height changes.

Correction: If using \(y=\sqrt{100-x^2}\), keep \(x\) variable while differentiating. The chain rule gives \( \frac{dy}{dt}=-\frac{x}{\sqrt{100-x^2}}\frac{dx}{dt} \). Substituting \(x=6\) and \(\frac{dx}{dt}=3\) then gives \( \frac{dy}{dt}=-\frac{6}{8}(3)=-\frac94 \) feet per second.

Worked Example: Volume of a Changing Sphere

Worked Example: Volume of a Changing Sphere

A sphere’s radius is increasing at \(\frac{dr}{dt}=2\) centimeters per second. Find the rate of change of its volume at the instant when its radius is \(3\) centimeters.

Step 1: Write the volume relationship. The sphere’s volume is \(V=\frac43\pi r^3\), where both \(V\) and \(r\) change as the sphere grows.

$$ V(t)=\frac43\pi (r(t))^3. $$

Step 2: Differentiate with respect to time. The constant factor \(\frac43\pi\) remains unchanged, and the chain rule applied to \(r^3\) gives

$$ \frac{dV}{dt} = \frac43\pi \cdot 3r^2\frac{dr}{dt} = 4\pi r^2\frac{dr}{dt}. $$

Step 3: Evaluate at \(r=3\).

$$ \frac{dV}{dt} = 4\pi(3)^2(2) = 4\pi(9)(2) = 72\pi. $$

The volume is increasing at \(72\pi\) cubic centimeters per second. The units are cubic centimeters per second because a volume rate measures change in volume per unit time.

Check: Differentiating \(\frac43\pi r^3\) gives \(4\pi r^2\frac{dr}{dt}\), as used. Substituting \(r=3\) and \(\frac{dr}{dt}=2\) into that derivative gives \(4\pi(9)(2)=72\pi\), confirming the computed rate.

The Sphere Error: Substituting the Radius First

If the radius \(r=3\) is substituted into the volume formula before differentiating, the result is \(V=\frac43\pi(3)^3=36\pi\) cubic centimeters. That correctly gives the sphere’s volume at the specified instant. It does not describe the sphere’s volume at other times. Differentiating the fixed number \(36\pi\) gives zero, which incorrectly suggests that the volume is not changing.

The radius value is needed, but it is needed after differentiation. The derivative equation still contains \(r\), so substituting \(r=3\) there calculates the volume’s rate at the correct instant without freezing the radius during the differentiation.

When Early Substitution Is Safe

Not every substitution before differentiation is an error. A value can be substituted early if it is a genuine constant for the whole process being modeled, rather than a changing quantity’s value at one instant.

Worked Example: A Fixed Rectangle Width

A rectangle has a fixed width of \(4\) meters and a changing length \(y(t)\). Its area is \(A=xy\). When the length is \(5\) meters, it is decreasing at \(\frac{dy}{dt}=-0.2\) meters per second. Find the area’s rate of change at that instant.

Here \(x=4\) meters is fixed throughout the process, so substituting it before differentiating is valid:

$$ A=xy=4y. $$

Differentiate with respect to time:

$$ \frac{dA}{dt}=4\frac{dy}{dt}. $$

Now substitute \(\frac{dy}{dt}=-0.2\) meters per second:

$$ \frac{dA}{dt}=4(-0.2)=-0.8. $$

The area is decreasing at \(0.8\) square meters per second. The units follow from \((\text{meters})(\text{meters per second})=\text{square meters per second}\).

Check: Differentiating \(A=xy\) while treating \(x\) as constant gives \(\frac{dA}{dt}=x\frac{dy}{dt}\). With \(x=4\) and \(\frac{dy}{dt}=-0.2\), this is \(4(-0.2)=-0.8\), agreeing with the result.

The distinction is not whether a number is known. It is whether the quantity is constant over time. A fixed ladder length, a fixed rectangle width, and fixed numerical coefficients may be substituted as constants. A ladder’s distance from the wall at one instant or a sphere’s radius at one instant may not be treated as constant if that dimension is changing.

A Practical Diagnostic

Before substituting a number, ask what the number represents. If it is the value of a changing quantity “at the instant,” keep the corresponding variable in the equation until after differentiating. If it is a fixed parameter that does not vary during the modeled process, it can be treated as a constant.

One useful check is to inspect the equation after substitution. If the substitution has turned every changing quantity into a number, then differentiating that numerical equation cannot reveal the original rates. Return to the time-dependent relationship and differentiate before evaluating.

Rule of thumb: “At the instant when” usually signals a value to substitute after differentiating. “Fixed,” “constant,” or a stated unchanging dimension signals a parameter that may be used as a constant from the start.

This order is essential because a related-rates equation describes change, not just a configuration at one moment. Differentiation captures the way quantities vary together; evaluation supplies the measurements for the particular moment of interest.

Check Your Understanding

For each question, focus on whether a quantity is changing or fixed, and when its value should enter the calculation.

  1. In the ladder example, why does substituting \(x=6\) and \(y=8\) into \(x^2+y^2=100\) before differentiating lose the rate information?
  2. A sphere has radius \(5\) centimeters at a particular instant. If its radius changes over time, should \(r=5\) be substituted before or after differentiating its volume formula? Explain.
  3. What is the difference between a changing length’s instantaneous value and a fixed length in a model?
  4. A rectangle’s width is fixed at \(7\) meters while its length changes. Is it valid to substitute the width before differentiating \(A=xy\)? Why?
  5. For a related-rates constraint, state the three main steps in the order that preserves the rate information.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon