Steply

z = x^2 y^2, x = t, y = t^2, find dz/dt

Step by step, with the reason for every step · Chain rule with several variables · Calculus 3

Step by step

The question

Question: find dz/dt when z = x²y², x = t and y = t².

z = x2y2, x = t, y = t²

1 Draw the tree

Draw a tree.

z depends on x and y.

Each of them depends on t.

Each branch has its own slope.

To go from z down to t, there are two paths.

Multiply along each path, then add the paths.

2 The pieces

Term by term.

In x²y², y² is fixed and waits in front.

x² gives 2x.

So 2xy².

So ∂z/∂x = 2xy².

∂z∂x = 2xy2

Term by term.

In x²y², x² is fixed and waits in front.

y² gives 2y.

So 2x²y.

So ∂z/∂y = 2x²y.

∂z∂y = 2x2y

x = t, so dx/dt = 1.

dxdt = 1

y = t², so dy/dt = 2t.

dydt = 2t

3 Use the chain rule

The chain rule: the x path plus the y path.

dzdt = ∂z∂x × dxdt + ∂z∂y × dydt

Put the four pieces in.

dzdt = (2xy2) × (1) + (2x2y) × (2t)

Careful!

Many people use only one path.

z changes through x and through y, so both paths count.

Careful: two paths: add them

4 Write it in t

The answer should be in t only.

So put x = t and y = t² in.

x = t, y = t²

Each x becomes t and each y becomes t².

dzdt = 2(t)(t2)2 × (1) + 2(t)2(t2) × (2t)

Multiply each part out: numbers with numbers, and add the powers of t.

dzdt = 2t5 + 4t5

Add the like terms: dz/dt = 6t⁵.

dzdt = 6t5

5 Check

Let's check another way.

Put x and y in first: z = t⁶.

z = t⁶

Its derivative is 6t⁵.

The same answer.

Right!

dzdt = 6t⁵

Let's look back.

First: draw the tree.

Then: the pieces.

Then: use the chain rule.

Then: write it in t.

Last: check.

Answer
dzdt = 6t5

Your turn

Try this one yourself, then check:

Find z = 2x2y2, x = t, y = t²
Show the answer
dzdt = 12t⁵

More from Chain rule with several variables

The whole lesson: Chain rule with several variables →