Grade by Grade
A. Rate of Change · Derivatives of Exponential and Sinusoidal Functions

Products and Quotients with Exponential Functions

A3.5About 70 minutes
Learning goals
  • I can use the product rule to differentiate products such as x eˣ and x² e^(−x).
  • I can differentiate quotients with exponential functions, using the quotient rule or by rewriting as a product.
  • I can factor derivatives that contain a common exponential factor, and use the fact that eˣ is never zero to find horizontal tangents.
  • I can interpret derivatives of product models, such as a drug concentration that rises and then falls.

Words to know

product rule
If h(x) = f(x)g(x), then h′(x) = f′(x)g(x) + f(x)g′(x).
quotient rule
If h(x) = f(x)/g(x), then h′(x) = [f′(x)g(x) − f(x)g′(x)] ÷ [g(x)]², where g(x) ≠ 0.
common factor
A factor that appears in every term, such as eˣ in eˣ + x eˣ, which can be factored out: eˣ(1 + x).
horizontal tangent
A tangent with slope 0, where f′(x) = 0.
concentration
The amount of a substance per unit of volume, for example milligrams per litre (mg/L).

When exponentials team up

After a dose of medicine, the amount in the bloodstream first rises as it is absorbed, then falls as the body clears it. A common model multiplies a rising factor (t) by a decaying factor (e^(−0.4t)). To find the rate of change of such a product, you need the product rule from Derivatives and Differentiation Rules, now with exponential functions inside.

Remember: (fg)′ = f′g + fg′, and (f/g)′ = (f′g − fg′)/g². A quotient can also be written as a product with a negative exponent, the approach the Ontario curriculum emphasizes.

Worked example

Example 1: y = x eˣ

Differentiate y = x eˣ and find the point where the tangent is horizontal.

  1. Let f = x (f′ = 1) and g = eˣ (g′ = eˣ).
  2. Product rule: y′ = 1 × eˣ + x × eˣ = eˣ + x eˣ.
  3. Factor out the common eˣ: y′ = eˣ(1 + x).
  4. Set y′ = 0. Since eˣ > 0 for every x, only 1 + x = 0 works: x = −1.
  5. y(−1) = −1 × e⁻¹ = −1/e ≈ −0.368.

y′ = eˣ(1 + x); horizontal tangent at (−1, −1/e).

−0.50.511.5xy−4−3−2−1(−1, −1/e)y = x eˣy′ = eˣ(1 + x)x < −1: y′ < 0, fallingx = −1: y′ = 0, lowest pointx > −1: y′ > 0, risingdashed: horizontal tangenty = −1/e
The graph of y = x eˣ falls until x = −1, has a horizontal tangent at its lowest point (−1, −1/e), then rises. The sign of y′ = eˣ(1 + x) matches what the graph does.

Factor out the exponential

Derivatives of products with eˣ or e^(kx) almost always have the exponential in every term. Factor it out. Since an exponential is never zero (and always positive), the sign of the derivative and its zeros come only from the other factor.

Worked example

Example 2: y = x² e^(−x)

Differentiate y = x² e^(−x). Find all points with horizontal tangents.

  1. f = x², f′ = 2x. g = e^(−x), g′ = −e^(−x) (chain rule).
  2. y′ = 2x e^(−x) + x²(−e^(−x)) = 2x e^(−x) − x² e^(−x).
  3. Factor: y′ = x e^(−x)(2 − x).
  4. y′ = 0 when x = 0 or x = 2.
  5. y(0) = 0 and y(2) = 4e⁻² ≈ 0.541.

y′ = x e^(−x)(2 − x); horizontal tangents at (0, 0) and (2, 4/e²) ≈ (2, 0.541).

Worked example

Example 3: A quotient, two ways

Differentiate y = eˣ/x (x ≠ 0).

  1. Quotient rule: y′ = [eˣ × x − eˣ × 1] ÷ x² = eˣ(x − 1)/x².
  2. As a product: y = eˣ x⁻¹. y′ = eˣ x⁻¹ + eˣ(−x⁻²) = eˣ/x − eˣ/x².
  3. Common denominator: eˣ/x − eˣ/x² = (x eˣ − eˣ)/x² = eˣ(x − 1)/x². Same answer. ✓
  4. Horizontal tangent where x − 1 = 0: at (1, e).

y′ = eˣ(x − 1)/x², with a horizontal tangent at (1, e).

Worked example

Example 4: Drug concentration

The concentration of a medication in the blood is C(t) = 5t e^(−0.4t) mg/L, t hours after a dose. Find C′(t), C′(1) and C′(5), and find when the concentration is greatest.

  1. Product rule: C′(t) = 5e^(−0.4t) + 5t(−0.4e^(−0.4t)) = 5e^(−0.4t)(1 − 0.4t).
  2. C′(1) = 5e^(−0.4)(0.6) ≈ 2.01 mg/L per hour (rising).
  3. C′(5) = 5e^(−2)(−1) ≈ −0.68 mg/L per hour (falling).
  4. C′(t) = 0 when 1 − 0.4t = 0, so t = 2.5 h. The concentration rises before this and falls after, so it is greatest at t = 2.5.
  5. C(2.5) = 12.5e⁻¹ ≈ 4.60 mg/L.

The concentration peaks at about 4.60 mg/L, 2.5 hours after the dose. (Finding maximums like this is studied fully in Applications of Derivatives.)

1234567891012345t (h)C (mg/L)slope 2.01slope 0slope −0.68C(t) = 5t e^(−0.4t)Rising while 1 − 0.4t > 0Peak at t = 2.5 h,C ≈ 4.60 mg/LFalling after 2.5 h
C(t) = 5t e^(−0.4t) rises, levels off at t = 2.5 h and then falls. The tangents at t = 1, 2.5 and 5 have slopes about 2.01, 0 and −0.68.
Worked example

Example 5: Another base in a product

Differentiate y = x³ 2ˣ and find the slope at x = 1.

  1. y′ = 3x² × 2ˣ + x³ × 2ˣ ln 2 = x² 2ˣ(3 + x ln 2).
  2. At x = 1: 1 × 2 × (3 + ln 2) = 6 + 2 ln 2 ≈ 7.39.

y′ = x² 2ˣ(3 + x ln 2); slope 6 + 2 ln 2 ≈ 7.39 at x = 1.

Hands-on activity

Tangent lines by hand on a medication curve

You need: graph paper, a ruler, a pencil and a scientific calculator.

  1. Make a table of C(t) = 5t e^(−0.4t) for t = 0, 0.5, 1, 1.5, …, 8. Plot the points and join them with a smooth curve.
  2. At t = 1, lay the ruler so it just touches the curve without cutting across it. Draw the tangent. Pick two points on your line and compute its slope.
  3. Repeat at t = 2.5 and t = 5.
  4. Compare your three slopes with C′(1) ≈ 2.01, C′(2.5) = 0 and C′(5) ≈ −0.68.
  5. Use C′(t) = 5e^(−0.4t)(1 − 0.4t) to find C′(0). Why is it the steepest rise of all?

What to look for: hand-drawn slopes usually land within about 0.3 of the exact values. The tangent at t = 2.5 should be level. C′(0) = 5 mg/L per hour: at the very start the concentration climbs fastest, because almost none of the medication has been cleared yet. (This is only a model; real dosing decisions are made by doctors and pharmacists.)

Just for fun

The product rule is the fairest rule in calculus: in (fg)′ = f′g + fg′, each factor gets exactly one turn being differentiated while the other one waits patiently.

Your turn

1

Differentiate y = x² eˣ.

2

Differentiate y = (3x − 1)e^(2x).

3

Differentiate y = e^(−x)/x² by writing it as a product.

4

Differentiate y = x/eˣ using the quotient rule.

5

Find the horizontal tangent of y = x e^(−x).

6

Find the slope of y = x eˣ at x = 2.

More practice: warm-up

1

State the product rule.

2

Differentiate y = 5x eˣ.

3

Can eˣ(x − 3) equal 0 when x = 1? Explain.

4

Factor: 4x³e^(2x) + 2x⁴e^(2x).

5

Differentiate y = eˣ(x + 1).

More practice: on your own

1

Find the equation of the tangent to y = x e^(2x) at x = 0.

2

Find all points where y = x² e^(−2x) has a horizontal tangent.

3

Differentiate y = (x² + 1)/eˣ and simplify.

4

A worker's productivity t hours into a shift is modelled by P(t) = 30t e^(−0.25t) units per hour. Find P′(2) and say whether productivity is rising or falling.

5

Differentiate y = eˣ/(eˣ + 1).

Challenge

1

For y = x eˣ, find y″ and y‴. Then guess a formula for the nth derivative.

2

Find a and b if y = (ax + b)eˣ has y(0) = 2 and y′(0) = 5.

3

Show that y = eˣ/(eˣ + 1) is increasing for every x, and find where its slope is greatest. (Use the answer to the last 'on your own' question.)

Check your understanding

Quiz

1.

d/dx (x eˣ) =

2.

Why can a factor like e^(−x) be ignored when solving f′(x) = 0?

3.

Where does y = x² e^(−x) have horizontal tangents?

4.

d/dx (eˣ/x) =

5.

C(t) = 5t e^(−0.4t). When is C′(t) = 0?

6.

d/dx (x³ 2ˣ) =

For parents and teachers

Big idea (A3.5): the product and quotient rules work with exponential functions exactly as with polynomials. Factoring out the exponential (which is never zero) makes it easy to find where the derivative is zero and where it is positive or negative.

How to help: ask your teen to say the product rule aloud while writing ("derivative of the first times the second, plus the first times derivative of the second"). Then ask them to factor the answer. Check that they never set eˣ = 0.

Common difficulties:

  • Differentiating each factor separately and multiplying: (x eˣ)′ ≠ 1 × eˣ.
  • Forgetting the chain-rule factor inside, as in d/dx e^(−x) = −e^(−x).
  • Sign errors in the quotient rule (the numerator is f′g − fg′, in that order).
  • Leaving answers unfactored, which hides the zeros. The curriculum's focus is applying the rules, not heavy simplification, but factoring out the exponential is worth the habit.