The derivative at a point: roots, the chain rule, x to the power x

28 min · 4 drills

In the textbook: Ch. 3.1 Die Ableitung einer Funktion3.2 Differenzieren

In the last article the rules of differentiation came one at a time: power, exponential, product, chain. In the exam they come together: the function is built from several links. The derivative (“Ableitung”) of such a function is asked for at one point.

Here is such a chain. An online shop is deciding whether to add 100 € to its monthly advertising. The money passes through three links: advertising brings visitors, some of the visitors buy, each purchase brings revenue. Right now the links work like this:

LinkWhat it brings right now
100 € of advertising40 new visitors
40 visitors10 purchases (one in four buys)
10 purchases250 € of revenue (25 € each)

Each euro of advertising brings 0.4 visitors, each visitor 0.25 purchases, each purchase 25 €. Multiplied, that is 2.50 € of revenue per euro of advertising, so adding the 100 € pays. But the same people keep seeing the ads, and with a large budget the same 100 € bring fewer new visitors. So the answer depends on how much has already been spent. You look for it at one point and, for every link, take what that link brings right there. That is the chain rule (“Kettenregel”) at a point.

This article teaches four such tasks: a function inside a function, a product with an exponential or a logarithm, nested roots, x in both base and exponent. The rules themselves and why they hold are explained in the article “What the derivative is: slope and the rules”.

At a glance

In the advertising from the introduction the links came one after another; that is a chain. In the other tasks of the article the functions are joined differently: they stand side by side as factors, sit inside each other under a root, or share one x between base and exponent. The overview shows where to start in each case:

  • Chain rule at a point

    Outside a power, a root, ln⁡ or e, inside an expression in x. You take the derivative of the outer link h at the inner number g(x0) and multiply by g′(x0).
    f′(x0)=h′(g(x0))⋅g′(x0)

    Trap: taking the outer derivative at the point x0 itself; it belongs at the inner number g(x0).

  • Product with an exponential or a logarithm

    Two factors in x, one with e or ln⁡. You differentiate the factors u and v in turn, each time leaving the other as it is.
    (u⋅v)′=u′⋅v+u⋅v′

    Trap: multiplying only the derivatives u′⋅v′; the right form is u′v+uv′.

  • Nested roots as one power

    A root of a power of x, times or divided by a second root. Turn everything into one power: the n-th root of xa equals xa/n.
    xan=xa/n

    Trap: not dividing the exponent of the inner root by its degree; you divide inside and outside.

  • x in the base and the exponent

    x stands in the base and in the exponent. You rewrite the base g to the power E through e, and then the chain rule works.
    gE=eEln⁡g

    Trap: using only the power rule or only the rule for a number to the power x; you need the form through e.

Full list: Formula sheet and what to memorise.

Derivative of a nested function at a point

The chain “advertising, visitors, purchases” looks on paper like a function inside a function, and the derivative at a point is taken link by link. The first exam task is built the same way:

Exam-style task

Gegeben ist die Funktion

f(x)=(3x2−3x+2)4

Berechnen Sie f′(1). Runden Sie auf zwei Nachkommastellen.

  1. a)288.00
  2. b)96.00
  3. c)12.00
  4. d)309.98
  5. e)32.00

How to recognise the task. “Gegeben ist die Funktion f(x)=(12−x3)2. Berechnen Sie die erste Ableitung an der Stelle …” (given is the function …; work out the first derivative at the point …). On the outside there is a power, a root, ln⁡, e or a number to a power, on the inside an expression with x.

f′(x0)=h′(g(x0))⋅g′(x0)
  • Steps: Split outer and inner function → Inner function at the point → Both derivatives at the point → Multiply.
  • Formula sheet (“Formelsammlung”, the printed sheet): chain rule (“Kettenregel”) and basic derivatives.
  • Memorise: first the inner number g(x0), and take the outer derivative at it.

We practise the steps on the task itself: we need f′(1) for f(x)=(3x2−3x+2)4.

Inside is u=3x2−3x+2, outside the fourth power u4.

u(1)=3−3+2=2.

Inner: u′=6x−3, at x=1 this is 3. Outer: (u4)′=4u3, at u=2 this is 4⋅8=32.

f′(1)=32⋅3=96, the answer is 96.00. Without the inner derivative you would get 32.00.

Now the function from “How to recognise the task”: we need f′(2) for f(x)=(12−x3)2. The top row of the table holds the values of the links at the point, the bottom row their derivatives.

The chain of links at x = 212 − x³squarevaluederivativex = 2g = 4f = 16g′ = −12h′ = 8

Inside g(x)=12−x3, outside the square h(g)=g2.

g(2)=12−8=4.

g′(x)=−3x2, g′(2)=−12. h′(g)=2g, at g=4 that is 8.

f′(2)=8⋅(−12)=−96.

Other outer functions. The steps stay the same; only the derivative of the outer link changes:

outsideouter derivativeexample at a point
gm, also cgm=c g−mm gm−123(11+3x)2 at x=0: g=11, g′=3, 23⋅(−2)⋅11−3⋅3≈−0.104
g12g3x+1 at x=5: g=16, g′=3, 18⋅3=0.375
ln⁡g1gln⁡(x2+1) at x=2: g=5, g′=4, 45=0.8
log⁡10g1gln⁡10, because log⁡10g=ln⁡gln⁡1050log⁡10(4x2+2) at x=2: g=18, g′=16, 50⋅1618ln⁡10≈19.30
egegex2−4 at x=2: g=0, g′=4, e0⋅4=4
bgbgln⁡b2x2 at x=1: g=1, g′=2, 2ln⁡2⋅2≈2.77

Four more cases:

  • a factor in front of the whole function multiplies the result, and an added number drops out;
  • the inside holds ecx: the inner derivative itself needs a rule; for 5+4e0.5x at the point x=0 the inside is g=9, g′=4⋅0.5=2, the result 12⋅3⋅2≈0.333;
  • the inside holds bx: for 7+2x at the point x=1 the inside is g=9, g′=2ln⁡2≈1.386, the result ≈0.231;
  • two outer links, as in (ln⁡(x+1))2: differentiate them one after the other and multiply all factors.

Trap. Taking the outer derivative at x0 instead of at g(x0): in the example with (12−x3)2 that gives h′(2)=4 and the result −48. Forgetting the inner derivative: the result is 8.

Your turn1 of 4

Find f′(1) for f(x)=(3−x2)4.

Derivative of a product with an exponential or a logarithm

In the chain one function sat inside another. Here two factors stand side by side, each with its own derivative, and a small chain hides again in the exponent:

Exam-style task

Für die Funktion

f(x)=x2ln⁡(4x+3)

soll die Änderungsrate an der Stelle x=1 ermittelt werden. Welchen Wert hat f′(1)? Runden Sie auf zwei Nachkommastellen.

  1. a)3.89
  2. b)4.03
  3. c)7.24
  4. d)4.46
  5. e)5.53

How to recognise the task. “Gegeben ist die Funktion f(x)=(4x−3)⋅e0.25x−0.5. Berechnen Sie f′(2).” (given is the function …; work out its derivative at that point). Two factors with x, one of them with e or ln⁡. At the point asked for, the exponent is often 0, or there is ln⁡1=0.

The order of work in short; the rule itself and an example follow below:

  • Steps: Write down u and v → Find u′ and v′ → Product rule → Evaluate at the point.
  • Formula sheet: product rule (“Produktregel”).
  • Memorise: put in the point only after differentiating.
(u⋅v)′=u′⋅v+u⋅v′

Why the rule reads like this is explained in the section “The product”. For v′ the exponential function (“e-Funktion”) needs the chain rule: (eg)′=eg⋅g′.

We need f′(1) for f(x)=x2⋅ln⁡(4x+3). The second factor is itself composite, so v′ contains an inner derivative.

u=x2 and v=ln⁡(4x+3).

u′=2x. The derivative of the logarithm 14x+3 times the inner derivative 4: v′=44x+3.

f′(x)=2x⋅ln⁡(4x+3)+x2⋅44x+3.

At x=1: 2⋅ln⁡7+1⋅47≈3.892+0.571=4.463, the answer is 4.46. Forgetting the inner derivative 4 makes the second term 17 and gives 4.03.

The second function comes from “How to recognise the task”: f(x)=(4x−3)⋅e0.25x−0.5, and we need f′(2).

u=4x−3, v=e0.25x−0.5.

u′=4, v′=0.25 e0.25x−0.5.

f′(x)=4 e0.25x−0.5+(4x−3)⋅0.25 e0.25x−0.5.

At x=2: e0=1, 4x−3=5, f′(2)=4+5⋅0.25=5.25.

With ln⁡ instead of e. Then v=ln⁡x and v′=1x; at the point 1, ln⁡1=0, and the term u′v drops out. For f(x)=(2x+1)ln⁡x at x=1: u=3, u′=2, v=0, v′=1, together f′(1)=3. With ln⁡(4x+3) the inner derivative 4 goes in the numerator: v′=44x+3.

Trap. Multiplying only the derivatives: in the example with (4x−3)⋅e0.25x−0.5 that gives u′⋅v′=4⋅0.25=1. Putting in the point too early: then u=5 and v=1 have become numbers, and their derivatives are 0.

Your turn2 of 4

Find f′(2) for f(x)=(3x−2)⋅e−0.5x+1.

Nested roots: write them as one power and differentiate

The product needed a rule for each factor. With nested roots the power rule alone is enough, once every root is written as a power. The task looks worse than it is:

Exam-style task

Der Graph der Funktion f(x)=6⋅x3⋅x234 mit x>0 hat an der Stelle x=2 eine Tangente. Wie groß ist deren Steigung? Geben Sie das Ergebnis mit zwei Nachkommastellen an.

  1. a)5.19
  2. b)3.78
  3. c)3.12
  4. d)2.79
  5. e)4.43

How to recognise the task. Under a root there is a product or a fraction with a second root inside, such as 10⋅x4⋅x5 for x>0. You are asked for the slope of the tangent or the instantaneous rate of change (“momentane Änderungsrate”) at a point.

The chain rule gets you there too, but twice and with fractions. It is shorter to bring everything to one power c⋅xr:

xan=xa/n,xa⋅xb=xa+b,xaxb=xa−b
  • Steps: Roots as powers → Combine the exponents → Power rule → Evaluate at the point.
  • Formula sheet: power rule (xn)′=n xn−1.
  • Memorise: xan=xa/n; when multiplying you add the exponents, when dividing you subtract them.

We need f′(2) for f(x)=6⋅x3⋅x234: every root becomes a power.

x23=x2/3, the fourth root gives the exponent 14: f(x)=6⋅(x3⋅x2/3)1/4.

(3+23)⋅14=113⋅14=1112, so f(x)=6⋅x11/12.

f′(x)=6⋅1112⋅x−1/12=5.5⋅x−1/12.

f′(2)=5.5⋅2−1/12≈5.5⋅0.9439≈5.19. Overlooking the inner root leaves the exponent 34 and gives 3.78.

Here is the function from “How to recognise the task”: f(x)=10⋅x4⋅x5 with x>0, and we need f′(2). In the table the exponent of x is built up from the inside out.

The exponent of x after each stepexpressionexponent of xinsideproductoutside√x1/2x⁴ · √x4 + 1/2 = 9/25th root9/2 : 5 = 9/10

x=x1/2, the fifth root is the power 15.

4+12=92, then 92:5=910: f(x)=10 x0.9.

f′(x)=10⋅0.9 x−0.1=9 x−0.1.

f′(2)=9⋅2−0.1≈8.40.

Trap. Not dividing the exponent under the inner root: x3=x3/2, not x3. With a fraction you subtract the exponent of the denominator: x2/x3=x(2−1/2)/3=x1/2.

Your turn3 of 4

Find f′(4) for f(x)=4⋅x5/x3 with x>0, rounded to two decimal places.

Derivative when x is in the base and the exponent

The roots could be brought to c⋅xr because the exponent there is a number. When x stands in the exponent too, neither the power rule nor the rule for bx fits:

Exam-style task

Der Graph von f(x)=3(2x)x (mit x>0) hat im Punkt P mit der x-Koordinate 1.5 eine Tangente. Welche Steigung hat die Tangente in P? Das Ergebnis ist auf zwei Stellen nach dem Komma zu runden.

  1. a)32.71
  2. b)40.51
  3. c)23.03
  4. d)43.35
  5. e)17.13

How to recognise the task. The variable is at the bottom and at the top: x1/x, x2x, (x+1)x, with or without a factor in front. You are asked for f′ at a point, rounded.

The route in four steps; why the power is rewritten with e is explained in the paragraph right below them:

  • Steps: Rewrite with base e → Differentiate the exponent → Put together → Evaluate at the point.
  • Formula sheet: Aax=Aecx, c=ln⁡a (finance section): with A=1 this is ax=exln⁡a, so any power can be written with e. Also the chain rule and the product rule.
  • Memorise: f′=f⋅(Eln⁡g)′, with the exponent E and the base g.

The power rule needs a fixed exponent, the rule (bx)′=bxln⁡b a fixed base. Here both change, so you write the power with e:

gE=eEln⁡g,(gE)′=gE⋅(E′ln⁡g+E⋅g′g)

We need f′(1.5) for f(x)=3⋅(2x)x: x sits in the base 2x and in the exponent.

f(x)=3⋅(2x)x=3⋅exln⁡(2x).

By the product rule: (x⋅ln⁡(2x))′=1⋅ln⁡(2x)+x⋅22x=ln⁡(2x)+1.

f′(x)=3⋅exln⁡(2x)⋅(ln⁡(2x)+1)=f(x)⋅(ln⁡(2x)+1).

At x=1.5: f(1.5)=3⋅31.5≈15.588 and ln⁡3+1≈2.0986, the product is ≈32.71. Treating the base as constant with (bx)′=bxln⁡b gives 15.588⋅ln⁡3≈17.13.

One more function with x both below and above: we need f′(4) for f(x)=xx with x>0.

f(x)=ex ln⁡x, f(4)=42=16.

(x ln⁡x)′=ln⁡x2x+xx, at x=4: 0.3466+0.5=0.8466.

f′(x)=f(x)⋅(x ln⁡x)′.

f′(4)=16⋅0.8466≈13.55.

Trap. The power rule alone gives only the second term of the bracket, the rule bxln⁡b alone only the first. Work out the logarithm with the “ln” key, because “log” works to base 10.

Your turn4 of 4

Find f′(1) for f(x)=(x+1)x, rounded to three decimal places.

Second derivative at a point, the quotient u/v and the change Δf ≈ f′·Δx

All four tasks above asked for the first derivative. Less often the exam asks for the second derivative at a point, the derivative of a fraction, or an estimate of how much the function changes over a small step. These three cases are in the block below.

Formula sheet and what to memorise

The rules all four tasks rest on are on the formula sheet. What it lacks are the moves: at which point to take the outer derivative, when to plug in the number, how to bring roots down to one power.

On the formula sheet:

  • the basic derivatives, among them xn, ex and ln⁡x: in every method
  • sum, product, quotient and chain rules: the chain rule in the section “Derivative of a nested function at a point”, the product rule in the section “Derivative of a product with an exponential or a logarithm”, both in the section “Derivative when x is in the base and the exponent”
  • Aax=Aecx, c=ln⁡a (in the finance section), that is ax=exln⁡a: from it (bx)′=bxln⁡b in the section “Derivative of a nested function at a point” and gE=eEln⁡g in the section “Derivative when x is in the base and the exponent”

Memorise yourself:

  • chain rule at a point: first the inner number g(x0), then f′(x0)=h′(g(x0))⋅g′(x0); (log⁡10g)′=g′gln⁡10
  • product: put in the point after differentiating
  • nested roots: xan=xa/n, bring everything to c⋅xr (section “Nested roots: write them as one power and differentiate”)
  • x in the base and the exponent: f′=f⋅(Eln⁡g)′; so (xx)′=xx(ln⁡x+1) (section “Derivative when x is in the base and the exponent”)

Cards to memorise

Tap a card to see the formula. All topic cards

Formula

What is the derivative of xx?

What it means

What does the difference quotient f(x0+h)−f(x0)h measure?

Now practise it

The derivative at a point: roots, the chain rule, x to the power x

Trainer · Differential calculus

Practise
Next: Maximum profit, shutdown point, order size
0/4

Was this article helpful?