Steply

z = 4xy, x = t^3, y = t, 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 = 4xy, x = t³ and y = t.

z = 4xy, 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 4xy, 4y is fixed and waits in front.

x gives 1.

So 4y.

So ∂z/∂x = 4y.

∂z∂x = 4y

Term by term.

In 4xy, 4x is fixed and waits in front.

y gives 1.

So 4x.

So ∂z/∂y = 4x.

∂z∂y = 4x

x = t³, so dx/dt = 3t².

dxdt = 3t2

y = t, so dy/dt = 1.

dydt = 1

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 = (4y) × (3t2) + (4x) × (1)

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 = 4(t) × (3t2) + 4(t3) × (1)

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

dzdt = 12t3 + 4t3

Add the like terms: dz/dt = 16t³.

dzdt = 16t3

5 Check

Let's check another way.

Put x and y in first: z = 4t⁴.

z = 4t⁴

Its derivative is 16t³.

The same answer.

Right!

dzdt = 16t³

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 = 16t3

Your turn

Try this one yourself, then check:

Find z = xy, x = 3t³, y = t
Show the answer
dzdt = 12t³

More from Chain rule with several variables

The whole lesson: Chain rule with several variables →