Reading history

Parametric and Logarithmic Differentiation

5 min read Updated 0 views

Learn parametric differentiation with dy/dx = (dy/dt)/(dx/dt), second derivatives of parametric curves, and logarithmic differentiation of x^x.

Some curves are easiest to describe with a third variable. A cricket ball’s position depends on the time t since it was hit: x is one formula in t, and y is another. These are parametric equations. Other functions, like xˣ, have a variable in the power, and the usual rules do not fit. In this lesson you will learn parametric differentiation for the first kind and logarithmic differentiation for the second.

In this lesson you will learn

  • What parametric equations are
  • How to find dy/dx from dy/dt and dx/dt
  • How to find the second derivative of a parametric curve
  • How taking logs helps differentiate xˣ and aˣ
  • How logs turn a long product into an easy sum

You should know implicit differentiation and exponential and logarithmic functions.

Want to go deeper? Our step-by-step Calculus course builds differentiation and integration from basic limits to advanced techniques.

Parametric Equations

In parametric form, both x and y are given in terms of a parameter, usually t or θ. Each value of t gives one point (x, y), and as t changes the point traces a curve.

x = t², y = 2t         gives the parabola y² = 4x
x = 3cos t, y = 3sin t gives the circle x² + y² = 9

You met this idea in locus, where we removed t to find the curve. Now we find slopes without removing t.

The Slope of a Parametric Curve

By the chain rule, dy/dt = (dy/dx)(dx/dt). Divide both sides by dx/dt:

dy/dx = (dy/dt) / (dx/dt)

Example 1. For x = t², y = 2t, find the tangent at t = 2.

dx/dt = 2t,  dy/dt = 2
dy/dx = 2 / (2t) = 1/t
At t = 2: point (4, 4), slope 1/2
Tangent: y − 4 = ½(x − 4), or x − 2y + 4 = 0

Check with implicit differentiation of y² = 4x: 2y dy/dx = 4, so dy/dx = 2/y = 2/4 = 1/2. The two methods agree.

Example 2. For the circle x = 3cos t, y = 3sin t:

dy/dx = (3cos t) / (−3sin t) = −cot t

A Moving Ball

A ball is hit so that after t seconds x = 20t metres and y = 15t − 5t² metres. Taking g as 10 m/s² gives the 5t².

dx/dt = 20,  dy/dt = 15 − 10t
dy/dx = (15 − 10t) / 20
The ball is highest when dy/dx = 0: 15 − 10t = 0, so t = 1.5 s
Height then: y = 15(1.5) − 5(1.5)² = 11.25 m

See projectiles for more on this kind of motion.

The Second Derivative

Be careful here. d²y/dx² is not (d²y/dt²) ÷ (d²x/dt²). Differentiate dy/dx with respect to t, then divide by dx/dt again:

d²y/dx² = [ d/dt (dy/dx) ] / (dx/dt)

For x = t², y = 2t:  dy/dx = 1/t
d/dt (1/t) = −1/t²
d²y/dx² = (−1/t²) / (2t) = −1/(2t³)

Logarithmic Differentiation

For y = xˣ, the power rule does not apply because the power is not a constant, and the exponential rule does not apply because the base is not a constant. The trick is to take natural logs first, then differentiate implicitly.

y = xˣ
ln y = x ln x
(1/y) dy/dx = ln x + x × (1/x) = ln x + 1
dy/dx = xˣ (ln x + 1)

At x = 2: dy/dx = 4(ln 2 + 1) ≈ 6.773

The same method proves the rule for aˣ when a is a constant:

y = aˣ,  ln y = x ln a,  (1/y) dy/dx = ln a,  dy/dx = aˣ ln a
For example, the derivative of 2ˣ is 2ˣ ln 2

Long Products and Quotients

Logs turn multiplication into addition and powers into multipliers. This makes messy products easy.

y = (x + 1)² (x − 2)³ / (x + 3)
ln y = 2 ln(x + 1) + 3 ln(x − 2) − ln(x + 3)
(1/y) dy/dx = 2/(x + 1) + 3/(x − 2) − 1/(x + 3)
dy/dx = y [ 2/(x + 1) + 3/(x − 2) − 1/(x + 3) ]

At x = 3: y = 16 × 1 / 6 = 8/3
dy/dx = (8/3)(1/2 + 3 − 1/6) = (8/3)(10/3) = 80/9 ≈ 8.889

Common Mistakes

  1. Dividing the wrong way. dy/dx is dy/dt on top, dx/dt underneath.
  2. Wrong second derivative. Differentiate dy/dx with respect to t, then divide by dx/dt once more.
  3. Using the power rule on xˣ. x · x^(x−1) is wrong. Take logs first.
  4. Forgetting to multiply by y at the end. After logs you have (1/y) dy/dx; multiply both sides by y.

Practice Exercises

Exercise 1. For x = 2t + 1, y = t³, find dy/dx at t = 1.

Show answer

dx/dt = 2 and dy/dt = 3t², so dy/dx = 3t²/2. At t = 1, dy/dx = 3/2.

Exercise 2. Differentiate y = 3ˣ.

Show answer

Using the rule for aˣ: dy/dx = 3ˣ ln 3.

Exercise 3. Differentiate y = x^(sin x) for x > 0.

Show answer

ln y = sin x · ln x. Differentiating: (1/y) dy/dx = cos x · ln x + (sin x)/x. So dy/dx = x^(sin x) [cos x ln x + (sin x)/x].

Frequently Asked Questions

How do you find dy/dx for parametric equations?

Differentiate x and y with respect to the parameter t, then divide: dy/dx equals dy/dt divided by dx/dt.

When should I use logarithmic differentiation?

Use it when the variable appears in both the base and the power, such as x to the power x, or when a function is a long product or quotient of several factors.

Summary

  • Parametric curves give x and y in terms of a parameter t.
  • dy/dx = (dy/dt) ÷ (dx/dt).
  • d²y/dx² = [d/dt(dy/dx)] ÷ (dx/dt).
  • Take ln of both sides to differentiate xˣ, aˣ and long products.

Next: Prisms and Pyramids.

Lessons are also marked complete when you click Next.

Leave a Reply

Your email address will not be published. Required fields are marked *