Step by step
The question
Question: find dy/dx for y = (x + 1)³ over (x + 2)², using logarithms.
The log rules turn a product into a sum, a fraction into a difference, and bring powers down.
Careful!
The ln of a product is a sum of lns, not a product.
1 Take ln of both sides
Take ln of both sides.
2 Use the log rules
Use the log rules: each power comes down, multiplying becomes adding, dividing becomes taking away.
3 The derivative of each side
The left side: 1/y, times dy/dx, by the chain rule.
Each ln(x + c) gives 1/x + c.
Each power waits in front.
4 Multiply by y
Multiply both sides by y.
5 Put y back
Put y back.
dy/dx = (x + 1)³ over (x + 2)² × (3/(x + 1) − 2/(x + 2)).
Books leave it like this.
6 Check
Let's check: the derivative is the slope.
At x = 2, our answer gives 0.8438, with a calculator.
Now the slope between two very close points: x = 2 and x = 2.001.
A calculator gives about 0.84.
Very close to 0.8438.
Right!
Let's look back.
First: take ln of both sides.
Then: use the log rules.
Then: the derivative of each side.
Then: multiply by y.
Then: put y back.
Last: check.