Independent study guide

Implicit Differentiation and Related Rates

Connect changing quantities before differentiating. Five worked examples and eight exercises explain implicit slopes, filling cones, shadow speeds and angular tracking rates.

Nablio · 55 minPublished

Return to Concordia MATH 203 course guide

Stuck on a step? Text us Email us Request a lesson

For course topics and one-to-one help, see Concordia MATH 203 tutoring.

Continue the lesson: shadow length, shadow-tip speed and angular tracking rates. Two more worked examples and four exercises follow the core lesson.

A radius, a water level and a distance can all change with time, but their rates need not be equal. Related-rates problems begin with an equation that connects the quantities. Differentiating that equation connects their instantaneous rates.

This lesson builds from implicit differentiation to two moving-geometry models, then gives four increasingly independent questions. You will practise choosing variables, separating fixed dimensions from momentary values, and explaining the sign and units of a result. Review the product and chain rules first if needed.

The examples and figures are original Nablio practice. They address topics listed for Concordia MATH 203; use your own section’s current outline for assessed material. This is an independent study guide, not an official course handout.

The changing variable inside the formula

If yy depends on xx, then y2y^2 is a composite function: square the value of y(x)y(x). The chain rule gives

ddx(y2)=2ydydx.\frac{d}{dx}(y^2)=2y\frac{dy}{dx}.

The factor dy/dxdy/dx records how the inside changes. The product xyxy also contains two factors that depend on xx:

ddx(xy)=y+xdydx.\frac{d}{dx}(xy)=y+x\frac{dy}{dx}.

Implicit differentiation means differentiating a relation without first isolating yy. We work on a portion of the curve where yy is a differentiable function of xx. We do not assume the entire curve passes the vertical-line test.

Worked example 1 Find a slope without isolating the function

Consider the curve

x2+xy+2y2=28.x^2+xy+2y^2=28.

Here xx and yy are dimensionless coordinates. Find the tangent slope at (2,3)(2,3).

Check the point and differentiate

The point lies on the curve because 22+2(3)+2(32)=282^2+2(3)+2(3^2)=28. Treat yy as a function of xx and differentiate every term:

2x+y+xdydx+4ydydx=0.2x+y+x\frac{dy}{dx}+4y\frac{dy}{dx}=0.

The constant 2828 has derivative zero. The xyxy term needs the product rule, while 2y22y^2 needs the chain rule.

Collect the unknown derivative

(x+4y)dydx=−(2x+y),dydx=−2x+yx+4y.\begin{aligned}(x+4y)\frac{dy}{dx}&=-(2x+y),\\\frac{dy}{dx}&=-\frac{2x+y}{x+4y}.\end{aligned}

This division is valid where x+4y≠0x+4y\ne0. At (2,3)(2,3), the denominator is 1414, so

dydx∣(2,3)=−714=−12.\left.\frac{dy}{dx}\right|_{(2,3)}=-\frac{7}{14}=-\frac12.

The tangent line is y−3=−12(x−2)y-3=-\tfrac12(x-2). Near this point, a small positive change in xx produces about half as much change in yy, with the opposite sign. If the denominator had been zero, this quotient would not supply a finite slope; you would need to examine the curve at that point.

Change the independent variable to time

For related rates, the independent variable is usually time tt. Both x=x(t)x=x(t) and y=y(t)y=y(t) may now change. Compare carefully:

ddt(x2)=2xdxdt,ddt(y2)=2ydydt.\begin{aligned}\frac{d}{dt}(x^2)&=2x\frac{dx}{dt},\\\frac{d}{dt}(y^2)&=2y\frac{dy}{dt}.\end{aligned}

In particular, d(x2)/dtd(x^2)/dt is not generally 2x2x. Differentiating the curve relation from example 1 with respect to time would give

(2x+y)dxdt+(x+4y)dydt=0.\begin{aligned}&(2x+y)\frac{dx}{dt}\\&\quad +(x+4y)\frac{dy}{dt}=0.\end{aligned}

At (2,3)(2,3), this says dy/dt=−12 dx/dtdy/dt=-\tfrac12\,dx/dt. The curve’s slope tells us how two coordinate rates are related; it does not tell us how quickly the point travels until one time rate is supplied.

Set up a rate problem before using the numbers

  1. Define the variables. State what each quantity measures, its unit and its positive direction. Write the requested rate explicitly.
  2. Separate fixed facts from a snapshot. A rigid length is constant throughout the motion. A changing height that happens to equal 33 at one instant is still a variable.
  3. Write a relation valid near the instant. Use geometry or another stated model. If there are too many unknown rates, look for another relation.
  4. Differentiate, then evaluate. Fixed constants may be substituted early. Substitute momentary values of changing quantities only after differentiating.
  5. Interpret the result. Check the sign, the units, and whether the rate is local or constant over an interval.

Writing r(t0)=4r(t_0)=4 at a particular time t0t_0 does not mean r(t)=4r(t)=4 for nearby times. Replacing a changing radius by 44 before differentiation would erase the change you are trying to measure.

Worked example 2 A rigid ladder with two moving ends

In an idealized geometry model, a straight ladder of fixed length 13 m13\,\mathrm{m} keeps contact with a vertical wall and horizontal ground. Its base moves away from the wall at 0.60 m/s0.60\,\mathrm{m/s}. How fast is the top moving vertically when the base is 5 m5\,\mathrm{m} from the wall?

Let tt be time in seconds, x(t)x(t) the horizontal base-to-wall distance in metres, and y(t)y(t) the top’s height in metres. Increasing xx means away from the wall; increasing yy means upward. We know dx/dt=0.60 m/sdx/dt=0.60\,\mathrm{m/s} and want dy/dtdy/dt.

A 13 metre ladder forms a right triangle with a wall and the ground. At the marked instant its base is 5 metres from the wall and its top is 12 metres high. The base moves right and the top moves down.
The snapshot has side lengths 55, 1212 and 1313 metres, drawn to a common scale. The arrows show directions; their lengths do not encode speeds.

Use the relation that stays true during the motion

For this example, use numerical lengths in metres and time in seconds. The right triangle gives

x2+y2=132.x^2+y^2=13^2.

Differentiate with respect to tt, keeping both changing lengths:

2xdxdt+2ydydt=0.2x\frac{dx}{dt}+2y\frac{dy}{dt}=0.

The fixed ladder length contributes zero. Solve before evaluating:

dydt=−xydxdt.\frac{dy}{dt}=-\frac{x}{y}\frac{dx}{dt}.

Evaluate at the requested instant

When x=5x=5, the positive height is y=169−25=12y=\sqrt{169-25}=12. Therefore

dydt=−512(0.60)=−0.25 m/s.\frac{dy}{dt}=-\frac{5}{12}(0.60)=-0.25\,\mathrm{m/s}.

The top moves downward at 0.25 m/s0.25\,\mathrm{m/s}. Its signed vertical rate is negative. The ratio x/yx/y is dimensionless, so the answer retains the units of dx/dtdx/dt.

Why the ends have different speeds. The rigid ladder fixes the distance between its endpoints, not their separate horizontal and vertical speeds. Even if the base speed stays constant, x/yx/y changes, so the top’s speed generally changes too. The formula assumes y>0y>0 and contact with both surfaces; it does not describe the instant the ladder lies flat or real-world contact failure.

Worked example 3 A filling cone with a drain

A fixed right circular cone stands with its vertex downward. Its height is H=6 mH=6\,\mathrm{m}, and its top radius is R=2 mR=2\,\mathrm{m}. Water enters at 0.20 m3/min0.20\,\mathrm{m^3/min} and leaves through a drain at 0.08 m3/min0.08\,\mathrm{m^3/min}. The surface stays horizontal. How quickly does the water depth rise when it is 3 m3\,\mathrm{m}?

Let tt be time in minutes. Let h(t)h(t) be water depth from the vertex, r(t)r(t) the radius of the water surface, and V(t)V(t) the water volume. Lengths are in metres and volume in cubic metres. The tank’s dimensions are fixed; hh, rr and VV change.

An axial cross-section of an inverted cone of height 6 metres and top radius 2 metres. Water of depth 3 metres has surface radius 1 metre. The smaller water triangle and the full cone triangle are similar.
An axial cross-section, drawn to a common length scale. The full cone and the water cone have the same shape, so r/h=2/6r/h=2/6.

Use the net volume rate

Inflow adds volume and outflow removes it:

dVdt=0.20−0.08=0.12 m3/min.\frac{dV}{dt}=0.20-0.08=0.12\,\mathrm{m^3/min}.

The depth rate dh/dtdh/dt has units m/min\mathrm{m/min}, so it cannot simply equal this volume rate.

Eliminate the changing radius with similar triangles

The water occupies a smaller, similar cone. For h>0h>0,

rh=26=13,r=h3.\begin{aligned}\frac{r}{h}&=\frac{2}{6}=\frac13,\\r&=\frac{h}{3}.\end{aligned}

Substitute this relation into the cone-volume formula:

V=13πr2h=π27h3.V=\frac13\pi r^2h=\frac{\pi}{27}h^3.

This substitution is valid before differentiation because r=h/3r=h/3 holds throughout the filling process. It is different from replacing hh by its momentary value 33.

Differentiate and solve for the depth rate

dVdt=π9h2dhdt.\frac{dV}{dt}=\frac{\pi}{9}h^2\frac{dh}{dt}.

At h=3h=3, the horizontal water-surface area is π m2\pi\,\mathrm{m^2}, giving

dhdt=0.12π m/min≈0.0382 m/min.\begin{aligned}\frac{dh}{dt}&=\frac{0.12}{\pi}\,\mathrm{m/min}\\&\approx0.0382\,\mathrm{m/min}.\end{aligned}

The water rises by about 3.82 cm/min3.82\,\mathrm{cm/min} at that instant. Cubic metres per minute divided by square metres gives metres per minute, as required.

Check the geometry. At greater depths the cone is wider, so the same net inflow produces a smaller depth rate. For example, at h=4 mh=4\,\mathrm{m}, the rate would be 0.0675/π m/min0.0675/\pi\,\mathrm{m/min}, less than at h=3 mh=3\,\mathrm{m}. This model applies while 0<h<60<h<6, before overflow and under the stated flow assumptions.

A common trap. At the requested instant r=1r=1, but the radius is not constant. Writing V=πh/3V=\pi h/3 and then differentiating would describe a cone whose radius stays fixed, which is not the filling process. If you keep both rr and hh, you must use the product rule and also dr/dt=(1/3) dh/dtdr/dt=(1/3)\,dh/dt.

Try four problems with less guidance each time

Keep the answers closed at first. For every problem, write a relation, differentiate it, then attach a sign and units to your result.

1 Guided A growing circular patch

A circular patch has radius r(t)r(t) in centimetres and area A(t)A(t) in square centimetres. Time tt is in seconds. At one instant r=4 cmr=4\,\mathrm{cm} and dr/dt=0.30 cm/sdr/dt=0.30\,\mathrm{cm/s}. Starting from A=πr2A=\pi r^2, find dA/dtdA/dt. Explain why substituting A=16πA=16\pi before differentiating loses the required information.

2 Diagnose A rectangle growing in one direction

A rectangle’s length L(t)L(t) and width W(t)W(t) are measured in centimetres, with tt in seconds. At an instant, L=8L=8, W=5W=5, dL/dt=0.40dL/dt=0.40 and dW/dt=−0.10dW/dt=-0.10, using the corresponding centimetre and second units. A student claims the area rate is (0.40)(−0.10)=−0.04 cm2/s(0.40)(-0.10)=-0.04\,\mathrm{cm^2/s}. Identify the rule error and find the correct rate.

3 Independent A moving cart and a fixed sensor

A cart travels along a straight horizontal track. A fixed sensor is 24 m24\,\mathrm{m} from the track along a perpendicular. Let x(t)x(t) be the cart’s signed coordinate measured from the closest point on the track, positive to the right; let s(t)s(t) be its straight-line distance to the sensor. Time is in seconds. The cart moves right at dx/dt=5 m/sdx/dt=5\,\mathrm{m/s}.

Find ds/dtds/dt when (a) x=7 mx=7\,\mathrm{m} and (b) x=−7 mx=-7\,\mathrm{m}. Explain the sign change even though the cart moves right in both cases.

4 Transfer Find an unknown inflow

A different inverted right circular cone has fixed height 8 m8\,\mathrm{m} and top radius 4 m4\,\mathrm{m}. Water drains at 0.040 m3/min0.040\,\mathrm{m^3/min}. At a water depth of 3 m3\,\mathrm{m}, the level is rising at 0.020 m/min0.020\,\mathrm{m/min}. What inflow rate QinQ_{\mathrm{in}}, in m3/min\mathrm{m^3/min}, is required at this instant? Define any additional variables you use.

Check the first step that went wrong

  • If a rate factor is missing, rewrite the changing quantity as a function of time and apply the chain rule.
  • If an unknown rate remains, look for a second relation, such as similar triangles, before inserting numbers.
  • If the sign seems surprising, state the positive direction and describe what is increasing or decreasing.
  • If the units do not fit the question, distinguish length, area and volume from their time rates.

For more work on the prerequisite rules, try Derivative Rules: A Three-Question Check. Then choose a related-rates problem from your own course materials and explain why your starting equation remains valid while the quantities move.

Course context and further reading

Course: Concordia MATH 203.

The explanations, numerical scenarios, questions, solutions and diagrams here were created for this lesson. No university assessment questions or textbook figures are reproduced.

Two rates that look alike: moving shadows and turning sightlines

Related-rates problems become much easier when each variable describes one precise measurement. A shadow's length is not the position of its tip, and a tracked object's speed is not the speed at which a camera turns. In this workshop, first name the quantities, then connect them geometrically, and only then differentiate.

A reusable modelling routine

  1. Draw the geometry and choose a fixed origin and positive direction.
  2. Label changing quantities as functions of time. Keep fixed lengths separate.
  3. Write a relation that is valid throughout the motion, not just at the requested instant.
  4. Differentiate with respect to time before substituting instantaneous values.
  5. Interpret the sign, units, and conditions under which your answer makes sense.

Throughout, time is measured in seconds. A prime means a time derivative: x′=dx/dtx'=dx/dt. Speeds are nonnegative magnitudes; signed rates can be positive, zero, or negative.

Shadow length versus shadow-tip position

Place a point lamp at height HH above level ground. A person of fixed height hh, with 0<h<H0<h<H, stands a horizontal distance x>0x>0 from the lamp's base. Let ss be the length of the shadow measured from the person's feet to its tip. Let yy be the tip's position measured from the lamp's base, in the same positive direction. Thus y=x+sy=x+s, not y=sy=s.

Assume the person remains upright, walks along the straight line away from or toward the lamp, and stays on the same side of it. Treat the lamp as a point source, ignore the person's width, and use the ray through the top of the person's head to locate the tip. The large triangle has height HH and base x+sx+s; the small triangle has height hh and base ss. Similarity gives

Hx+s=hs,(H−h)s=hx.\frac{H}{x+s}=\frac{h}{s},\qquad (H-h)s=hx.

Since the two heights are constant,

s′=hH−hx′,y′=x′+s′=HH−hx′.s'=\frac{h}{H-h}x',\qquad y'=x'+s'=\frac{H}{H-h}x'.

The two rates have units of length per time. For nonzero x′x', they have the same sign as x′x' but different magnitudes. Neither depends on xx in this ideal model. A negative s′s' means that the shadow is getting shorter; it does not mean its length is negative. These formulas apply while x>0x>0; crossing under the lamp requires redefining the geometry.

Worked example 1 — One walker, two answers

Side view showing the lamp, person, and shadow; y equals x plus s.
The same shadow tip belongs to two measurements: length s and position y.

A lamp is 5 m5\,\mathrm m tall. A 1.5 m1.5\,\mathrm m person walks directly away from it at 1.4 m/s1.4\,\mathrm{m/s}. Find both the shadow-length rate and the shadow-tip velocity.

Set up. Choose the direction away from the lamp as positive, so x′=1.4x'=1.4. With the variables above, (5−1.5)s=1.5x(5-1.5)s=1.5x.

Differentiate and calculate.

3.5s′=1.5x′,s′=1.53.5(1.4)=0.6 m/s.3.5s'=1.5x',\qquad s'=\frac{1.5}{3.5}(1.4)=0.6\,\mathrm{m/s}. y′=x′+s′=1.4+0.6=2.0 m/s.y'=x'+s'=1.4+0.6=2.0\,\mathrm{m/s}.

Interpret. The shadow length increases by 0.60.6 metres per second, while its tip moves away from the lamp at 2.02.0 metres per second. The tip's motion includes the motion of the person and the increase in shadow length.

Independent check. The geometry says s=3x/7s=3x/7 and y=10x/7y=10x/7. Over one second of this constant-speed motion, xx increases by 1.41.4 metres, so ss increases by 0.60.6 metres and yy by 2.02.0 metres. The check agrees with both derivatives.

Tracking an angle: radians are essential

A stationary camera is a perpendicular distance d>0d>0 from a straight road. Let OO be the point on the road closest to the camera. Give the road a positive direction and let xx be the tracked point's signed position measured from OO. Define the signed angle θ\theta from the camera-to-OO perpendicular toward that positive direction, with −π/2<θ<π/2-\pi/2<\theta<\pi/2.

Assume a point target, a straight level road, a fixed camera, and a constant perpendicular distance dd. The camera follows the target without delay. For every finite xx,

tan⁡θ=xd.\tan\theta=\frac{x}{d}.

Measure θ\theta in radians so that d(tan⁡θ)/dt=sec⁡2θ θ′d(\tan\theta)/dt=\sec^2\theta\,\theta'. Differentiating and using sec⁡2θ=1+tan⁡2θ\sec^2\theta=1+\tan^2\theta gives

sec⁡2θ θ′=x′d,θ′=d x′d2+x2.\sec^2\theta\,\theta'=\frac{x'}d,\qquad \theta'=\frac{d\,x'}{d^2+x^2}.

The signed angular rate is in rad/s\mathrm{rad/s}; its magnitude is the angular speed. For fixed nonzero ∣x′∣|x'|, turning is fastest at x=0x=0 and slower farther from OO. The sign of θ′\theta' follows the sign of x′x', not the sign of xx. A point with x<0x<0 moving toward OO can therefore have θ<0\theta<0 and θ′>0\theta'>0.

Worked example 2 — A camera beside a road

Top view with perpendicular distance d, signed road position x, and angle theta measured from the perpendicular.
The dashed perpendicular defines the zero angle; positive x is to the right.

A camera stands 30 m30\,\mathrm m from a road. At one instant, the target is at x=40 mx=40\,\mathrm m and moves in the positive road direction at x′=5 m/sx'=5\,\mathrm{m/s}. How fast does the camera turn?

Relate and differentiate. Start with tan⁡θ=x/30\tan\theta=x/30, rather than replacing xx by 4040 before differentiating. Thus sec⁡2θ θ′=x′/30\sec^2\theta\,\theta'=x'/30.

Evaluate. At this instant, tan⁡θ=4/3\tan\theta=4/3, so sec⁡2θ=1+16/9=25/9\sec^2\theta=1+16/9=25/9. Therefore

θ′=5/3025/9=30(5)302+402=0.06 rad/s.\theta'=\frac{5/30}{25/9}=\frac{30(5)}{30^2+40^2}=0.06\,\mathrm{rad/s}.

Interpret. The signed angle increases at 0.060.06 radians per second. This is an instantaneous rate, not a claim that the camera will turn through exactly 0.060.06 radians over the next second.

Independent check. The target is 302+402=50\sqrt{30^2+40^2}=50 metres from the camera. Its velocity component perpendicular to the sightline is 5(30/50)=3 m/s5(30/50)=3\,\mathrm{m/s}. Angular speed equals this transverse speed divided by the distance: 3/50=0.06 rad/s3/50=0.06\,\mathrm{rad/s}. If degrees are requested, convert the final result by multiplying by 180/π180/\pi, giving approximately 3.44∘/s3.44^\circ/\mathrm s.

Practice: four graduated checks

Use the ideal assumptions above. Try each problem before opening its hint or solution; label whether your result is a signed rate or a speed.

1. Walking toward the lamp

A 1.6 m1.6\,\mathrm m person walks toward a 4.8 m4.8\,\mathrm m lamp at a speed of 0.9 m/s0.9\,\mathrm{m/s}, without reaching its base. Take the direction away from the lamp as positive. Find s′s' and y′y', and explain their signs.

Hint

The given speed is positive, but x′x' is negative. Keep y=x+sy=x+s.

Explained solution

Here x′=−0.9 m/sx'=-0.9\,\mathrm{m/s}. The height ratio gives s′=1.64.8−1.6(−0.9)=−0.45 m/ss'=\frac{1.6}{4.8-1.6}(-0.9)=-0.45\,\mathrm{m/s}. Then y′=−0.9−0.45=−1.35 m/sy'=-0.9-0.45=-1.35\,\mathrm{m/s}. The shadow shortens at a speed of 0.45 m/s0.45\,\mathrm{m/s}, and the tip moves toward the lamp at 1.35 m/s1.35\,\mathrm{m/s}. As a check, y=1.5xy=1.5x gives y′=1.5(−0.9)=−1.35y'=1.5(-0.9)=-1.35. All lengths remain positive while x>0x>0.

2. Infer the walker's motion from the tip

A 6 m6\,\mathrm m lamp illuminates a 1.8 m1.8\,\mathrm m person. The tip is observed moving away from the lamp at 2.5 m/s2.5\,\mathrm{m/s}. Find the person's velocity and the shadow-length rate.

Hint

The observed quantity is y′y', not s′s'. Solve y′=Hx′/(H−h)y'=H x'/(H-h) for x′x'.

Explained solution

Taking away as positive gives y′=2.5y'=2.5. Therefore x′=6−1.86(2.5)=1.75 m/sx'=\frac{6-1.8}{6}(2.5)=1.75\,\mathrm{m/s}, away from the lamp. Since s′=y′−x′s'=y'-x', the shadow length increases at 2.5−1.75=0.75 m/s2.5-1.75=0.75\,\mathrm{m/s}. Checking directly, 1.84.2(1.75)=0.75\frac{1.8}{4.2}(1.75)=0.75. Both calculations depend on constant heights and the same-side geometry, not on the person's instantaneous distance from the lamp.

3. Same road speed, different turning speeds

A camera is 20 m20\,\mathrm m from a road. A point target travels with constant x′=8 m/sx'=8\,\mathrm{m/s}. Compare the signed angular rates at x=0x=0 and x=60 mx=60\,\mathrm m. Where is the angular speed largest over the whole passage?

Hint

With dd and x′x' fixed, inspect the denominator d2+x2d^2+x^2.

Explained solution

At the nearest point, θ′=20(8)/400=0.4 rad/s\theta'=20(8)/400=0.4\,\mathrm{rad/s}. At x=60x=60, θ′=160/(400+3600)=0.04 rad/s\theta'=160/(400+3600)=0.04\,\mathrm{rad/s}, one tenth as large. Both are positive. Because x2≥0x^2\geq0, the denominator is smallest at x=0x=0, so the angular speed is largest there. There is no singularity: d=20>0d=20>0. At x=−60x=-60, the rate would also be 0.04 rad/s0.04\,\mathrm{rad/s}; equal distances on opposite sides give equal rates for this constant positive road velocity.

4. Recover signed velocity from angular data

A camera is 24 m24\,\mathrm m from a road. At an instant when θ=−π/4\theta=-\pi/4 radians, it measures θ′=0.05 rad/s\theta'=0.05\,\mathrm{rad/s}. Find the target's signed position and road velocity. Is the target approaching or leaving the closest point?

Hint

First use x=dtan⁡θx=d\tan\theta. Then rearrange the differentiated relation as x′=dsec⁡2θ θ′x'=d\sec^2\theta\,\theta'.

Explained solution

Since tan⁡(−π/4)=−1\tan(-\pi/4)=-1, x=−24 mx=-24\,\mathrm m. Also sec⁡2(−π/4)=2\sec^2(-\pi/4)=2, so x′=24(2)(0.05)=2.4 m/sx'=24(2)(0.05)=2.4\,\mathrm{m/s}. The target is on the negative side but moving in the positive direction: it is approaching OO. Check: 24(2.4)/(242+(−24)2)=57.6/1152=0.05 rad/s24(2.4)/(24^2+(-24)^2)=57.6/1152=0.05\,\mathrm{rad/s}. Its road speed is 2.4 m/s2.4\,\mathrm{m/s}; its negative angle does not imply a negative angular rate.

Before you move on

Ask yourself: From which point is this distance measured? Which direction is positive? Is the requested rate linear or angular? For shadows, preserve y=x+sy=x+s. For tracking, define the angle and use radians. In both cases, a sound model and a clear interpretation matter as much as the derivative.

Useful for

Work on the step you’re missing.

Tell us the subject and your preferred time. Nablio confirms the details by text or email.

Request a lesson