Math ClubMath Club
v1 · padrão canônico

Lesson 55 — Higher-Order Derivatives

Second derivative (concavity, acceleration), third derivative (jerk), nth-order formulas, inflection points, and a preview of Taylor series.

Used in: Cálculo I (Brasil) · Equiv. Math III japonês (cap. 4) · Equiv. Analysis LK alemão

f(x)=ddx ⁣[dydx]=d2ydx2f''(x) = \frac{d}{dx}\!\left[\frac{dy}{dx}\right] = \frac{d^2y}{dx^2}

The second derivative is the derivative of the derivative. Physically: if ff is position, then ff' is velocity and ff'' is acceleration. Geometrically: f>0f'' > 0 means the curve is concave up (a smile); f<0f'' < 0 means the curve is concave down (a frown). Where ff'' changes sign, there is an inflection point.

Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous Definition

Higher-Order Derivatives

"If y=f(x)y = f(x), then the second derivative of ff is the derivative of ff' and is denoted f(x)f''(x) or d2y/dx2d^2 y/dx^2. The process of calculating successive derivatives is called repeated differentiation." — OpenStax Calculus Vol. 1, §3.2

Equivalent Notations

NotationReadingObservation
f(x)f''(x)"f double prime of x"Newton; n=2n = 2
d2ydx2\dfrac{d^2y}{dx^2}"d squared y over d x squared"Leibniz
D2fD^2 f"D squared f"operational
y¨\ddot{y}"y double dot"physics; independent variable is tt
f(n)(x)f^{(n)}(x)"f nth of x"general order
dnydxn\dfrac{d^n y}{dx^n}"d nth y"general Leibniz

Table: Closed-form nn-th order formulas

f(x)f(x)f(n)(x)f^{(n)}(x)Validity
eaxe^{ax}aneaxa^n e^{ax}aRa \in \mathbb{R}, n0n \geq 0
sinx\sin xsin ⁣(x+nπ2)\sin\!\bigl(x + \tfrac{n\pi}{2}\bigr)n0n \geq 0
cosx\cos xcos ⁣(x+nπ2)\cos\!\bigl(x + \tfrac{n\pi}{2}\bigr)n0n \geq 0
xkx^kk!(kn)!xkn\dfrac{k!}{(k-n)!} x^{k-n}knk \geq n; zero if k<nk < n
lnx\ln x(1)n1(n1)!xn(-1)^{n-1}\dfrac{(n-1)!}{x^n}x>0x > 0, n1n \geq 1
1x\dfrac{1}{x}(1)nn!xn+1(-1)^n \dfrac{n!}{x^{n+1}}x0x \neq 0, n0n \geq 0

Geometric Meaning — Concavity

"If f(x)>0f''(x) > 0 for all xx in (a,b)(a, b), then ff is concave up on (a,b)(a, b). If f(x)<0f''(x) < 0 for all xx in (a,b)(a, b), then ff is concave down on (a,b)(a, b)." — Active Calculus, §1.6

f'' > 0: concave up (smile)tangents turn upwardsf'' < 0: concave down (frown)tangents turn downwards

Concavity determined by the sign of f''. On the blue curve, f'' > 0 — the function "opens upwards". On the orange curve, f'' < 0 — the function "closes downwards".

Leibniz Rule for Product

(fg)(n)=k=0n(nk)f(k)g(nk)(fg)^{(n)} = \sum_{k=0}^{n} \binom{n}{k} f^{(k)}\, g^{(n-k)}

A perfect analogue of Newton's binomial theorem: replace power with the corresponding order derivative.

Taylor Polynomial of Degree nn

Tn(x)=k=0nf(k)(a)k!(xa)kT_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k
what this means · Taylor polynomial of degree n around a. Each coefficient is determined by the k-th order derivative of f evaluated at a, divided by k factorial. It is the best polynomial approximation of f in the neighborhood of a.

Solved Examples

Exercise list

40 exercises · 10 with worked solution (25%)

Application 24Understanding 3Modeling 8Challenge 3Proof 2
  1. Ex. 55.1Application

    Let f(x)=x32x2+x5f(x) = x^3 - 2x^2 + x - 5. Calculate f(x)f'(x) and f(x)f''(x).

    Show solution
    First derivative: f(x)=3x24x+1f'(x) = 3x^2 - 4x + 1. Second derivative: f(x)=6x4f''(x) = 6x - 4. The constant term disappears with each differentiation.
    Show step-by-step (with the why)
    1. Identify the function. f(x)=x32x2+x5f(x) = x^3 - 2x^2 + x - 5. Goal: differentiate twice.
    2. First derivative. Applying the power rule to each term: f(x)=3x24x+1f'(x) = 3x^2 - 4x + 1. The constant term 5-5 disappears.
    3. Second derivative. Differentiating ff': f(x)=6x4f''(x) = 6x - 4. The constant term 11 disappears.
    4. Trick: each differentiation reduces the degree by 1 and multiplies by that degree. Quick check: degree of ff is 3, degree of ff'' is 1. Correct.
  2. Ex. 55.2Application

    Let f(x)=x53x2+x+2f(x) = x^5 - 3x^2 + x + 2. Calculate f(x)f''(x).

    Show solution
    First derivative: f(x)=5x46x+1f'(x) = 5x^4 - 6x + 1. Second derivative: f(x)=20x36f''(x) = 20x^3 - 6.
  3. Ex. 55.3Application

    Let f(x)=sinxf(x) = \sin x. Calculate f(x)f''(x).

    Show solution
    First derivative: f(x)=cosxf'(x) = \cos x. Second derivative: f(x)=sinxf''(x) = -\sin x.
  4. Ex. 55.4Application

    Let f(x)=cos(2x)f(x) = \cos(2x). Calculate f(x)f''(x).

    Show solution
    By the chain rule: f(x)=2sin(2x)f'(x) = -2\sin(2x). Second derivative: f(x)=4cos(2x)f''(x) = -4\cos(2x).
  5. Ex. 55.5Application

    Let f(x)=lnxf(x) = \ln x. Calculate f(x)f''(x).

    Show solution
    f(x)=lnxf(x) = \ln x has f(x)=x1f'(x) = x^{-1}. Second derivative: f(x)=x2=1/x2f''(x) = -x^{-2} = -1/x^2.
    Show step-by-step (with the why)
    1. First derivative. (lnx)=1/x=x1(\ln x)' = 1/x = x^{-1}.
    2. Second derivative. Differentiating x1x^{-1} by the power rule: (1)x2=1/x2(-1) \cdot x^{-2} = -1/x^2.
    3. Observation: f(x)<0f''(x) < 0 for all x>0x > 0 — the logarithm is concave down throughout its domain.
  6. Ex. 55.6ApplicationAnswer key

    Let f(x)=xexf(x) = xe^x. Calculate f(x)f''(x).

    Show solution
    By the product rule: f(x)=ex+xex=(1+x)exf'(x) = e^x + xe^x = (1+x)e^x. Differentiating again: f(x)=ex+(1+x)ex=(2+x)exf''(x) = e^x + (1+x)e^x = (2+x)e^x.
  7. Ex. 55.7Application

    Let f(x)=x2lnxf(x) = x^2 \ln x. Calculate f(x)f''(x).

    Show solution
    By the product rule: f(x)=2xlnx+x2(1/x)=2xlnx+xf'(x) = 2x\ln x + x^2 \cdot (1/x) = 2x\ln x + x. Differentiating again: f(x)=2lnx+2x(1/x)+1=2lnx+3f''(x) = 2\ln x + 2x \cdot (1/x) + 1 = 2\ln x + 3.
  8. Ex. 55.8Application

    Let f(x)=x44x3+1f(x) = x^4 - 4x^3 + 1. Calculate f(x)f'''(x).

    Show solution
    f(x)=4x312x2f'(x) = 4x^3 - 12x^2, f(x)=12x224xf''(x) = 12x^2 - 24x, f(x)=24x24f'''(x) = 24x - 24.
  9. Ex. 55.9ApplicationAnswer key

    Let f(x)=11+x2f(x) = \dfrac{1}{1 + x^2}. Calculate f(0)f''(0).

    Show solution
    By the quotient rule: f(x)=(1+x2)1f(x) = (1+x^2)^{-1}. f(x)=2x(1+x2)2f'(x) = -2x(1+x^2)^{-2}. By the chain and product rules: f(x)=2(1+x2)2+8x2(1+x2)3f''(x) = -2(1+x^2)^{-2} + 8x^2(1+x^2)^{-3}. At x=0x = 0: f(0)=21+0=2f''(0) = -2 \cdot 1 + 0 = -2.
  10. Ex. 55.10Application

    Let f(x)=xf(x) = \sqrt{x}. Calculate f(x)f''(x).

    Show solution
    f(x)=x1/2f(x) = x^{1/2}. f(x)=12x1/2f'(x) = \frac{1}{2}x^{-1/2}. f(x)=14x3/2=14x3/2f''(x) = -\frac{1}{4}x^{-3/2} = -\frac{1}{4x^{3/2}}. Note that f<0f'' < 0 for all x>0x > 0 — the square root is concave down.
  11. Ex. 55.11ApplicationAnswer key

    Let f(x)=cos(2x)f(x) = \cos(2x). Calculate f(4)(x)f^{(4)}(x).

    Show solution
    f(1)=2sin(2x)f^{(1)} = -2\sin(2x), f(2)=4cos(2x)f^{(2)} = -4\cos(2x), f(3)=8sin(2x)f^{(3)} = 8\sin(2x), f(4)=16cos(2x)f^{(4)} = 16\cos(2x). Each differentiation multiplies by 2 and advances the sine-cosine cycle.
  12. Ex. 55.12Application

    Let f(x)=x4f(x) = x^4. Calculate f(5)(x)f^{(5)}(x).

    Show solution
    f(x)=x4f(x) = x^4 is a polynomial of degree 4. The fifth derivative of any polynomial of degree 4 is zero, because (x4)(4)=4!=24(x^4)^{(4)} = 4! = 24 is constant and the derivative of a constant is zero.
  13. Ex. 55.13Application

    Let f(x)=e2xf(x) = e^{2x}. Determine f(n)(x)f^{(n)}(x) for all n1n \geq 1.

    Show solution
    Each differentiation of e2xe^{2x} by the chain rule multiplies by 2: f(1)=2e2xf^{(1)} = 2e^{2x}, f(2)=4e2xf^{(2)} = 4e^{2x}. In general f(n)=2ne2xf^{(n)} = 2^n e^{2x}.
  14. Ex. 55.14ApplicationAnswer key

    Determine (sinx)(100)(\sin x)^{(100)}.

    Show solution
    The sine function has a derivative cycle of period 4. 100=4×25100 = 4 \times 25, remainder 0. Therefore (sinx)(100)=(sinx)(0)=sinx(\sin x)^{(100)} = (\sin x)^{(0)} = \sin x.
  15. Ex. 55.15Application

    Let f(x)=1xf(x) = \dfrac{1}{x}. Determine the general formula f(n)(x)f^{(n)}(x).

    Show solution
    f(x)=x1f(x) = x^{-1}. f(1)=x2f^{(1)} = -x^{-2}, f(2)=2x3f^{(2)} = 2x^{-3}, f(3)=6x4f^{(3)} = -6x^{-4}. Pattern: f(n)=(1)nn!x(n+1)f^{(n)} = (-1)^n n! x^{-(n+1)}. Alternating sign comes from the product of consecutive negative factors.
    Show step-by-step (with the why)
    1. Calculate the first derivatives. f=x1f = x^{-1}: f=1x2f' = -1 \cdot x^{-2}, f=(1)(2)x3=2x3f'' = (-1)(-2)x^{-3} = 2x^{-3}, f=(1)(2)(3)x4=6x4f''' = (-1)(-2)(-3)x^{-4} = -6x^{-4}.
    2. Identify the pattern. Coefficient of f(n)f^{(n)}: (1)nn!(-1)^n \cdot n!. Exponent: (n+1)-(n+1).
    3. Write the general formula. f(n)(x)=(1)nn!x(n+1)f^{(n)}(x) = (-1)^n n! x^{-(n+1)}.
    4. Curiosity: this formula is a special case of the derivative of xkx^k: (xk)(n)=k(k1)(kn+1)xkn(x^k)^{(n)} = k(k-1)\cdots(k-n+1)x^{k-n}, with k=1k = -1.
  16. Ex. 55.16Application

    For f(x)=x44x3+1f(x) = x^4 - 4x^3 + 1, determine the inflection points and intervals of concavity.

    Show solution
    f(x)=12x224x=12x(x2)f''(x) = 12x^2 - 24x = 12x(x-2). Zeros at x=0x = 0 and x=2x = 2. f>0f'' > 0 in (,0)(-\infty, 0), f<0f'' < 0 in (0,2)(0, 2), f>0f'' > 0 in (2,+)(2, +\infty). Both zeros are inflections (sign changes at each one).
    Show step-by-step (with the why)
    1. Calculate ff''. f(x)=x44x3+1f(x) = x^4 - 4x^3 + 1. f=4x312x2f' = 4x^3 - 12x^2. f=12x224x=12x(x2)f'' = 12x^2 - 24x = 12x(x-2).
    2. Zeros of ff''. 12x(x2)=0x=012x(x-2) = 0 \Rightarrow x = 0 or x=2x = 2.
    3. Sign table. At x=1x = -1: f=36>0f'' = 36 > 0. At x=1x = 1: f=12<0f'' = -12 < 0. At x=3x = 3: f=36>0f'' = 36 > 0.
    4. Conclusion. ff'' changes sign at both points — inflections at x=0x = 0 and x=2x = 2.
    5. Mental shortcut: when ff'' factors as a product of two distinct linear factors, each zero is automatically an inflection (sign alternates at each simple zero).
  17. Ex. 55.17Application

    For f(x)=x33x2+2f(x) = x^3 - 3x^2 + 2, determine the intervals of concavity and the inflection point.

    Show solution
    f(x)=x33x2+2f(x) = x^3 - 3x^2 + 2. f=6x6=6(x1)f'' = 6x - 6 = 6(x - 1). For x<1x < 1: f<0f'' < 0 (concave down). For x>1x > 1: f>0f'' > 0 (concave up). Inflection at x=1x = 1, with f(1)=0f(1) = 0.
  18. Ex. 55.18ApplicationAnswer key

    For f(x)=ex2f(x) = e^{-x^2}, calculate f(0)f''(0).

    Show solution
    f(x)=ex2f(x) = e^{-x^2}. By the chain rule: f(x)=2xex2f'(x) = -2x e^{-x^2}. By the product rule: f(x)=2ex2+(2x)(2x)ex2=(2+4x2)ex2f''(x) = -2e^{-x^2} + (-2x)(-2x)e^{-x^2} = (-2 + 4x^2)e^{-x^2}. At x=0x = 0: f(0)=21=2f''(0) = -2 \cdot 1 = -2.
  19. Ex. 55.19Application

    For f(x)=x55x4f(x) = x^5 - 5x^4, determine the inflection points.

    Show solution
    f(x)=x55x4f(x) = x^5 - 5x^4. f=5x420x3f' = 5x^4 - 20x^3. f=20x360x2=20x2(x3)f'' = 20x^3 - 60x^2 = 20x^2(x - 3). Zeros: x=0x = 0 (double) and x=3x = 3. At x=1x = -1, f=80>0f'' = 80 > 0; at x=1x = 1, f=40<0f'' = -40 < 0; at x=4x = 4, f>0f'' > 0. Sign change at x=0x = 0 and x=3x = 3 — both are inflections.
  20. Ex. 55.20Understanding

    If f(c)=0f''(c) = 0, can we conclude that cc is an inflection point of ff?

    Select the correct option
    Select an option first
    Show solution
    Counterexample: f(x)=x4f(x) = x^4. f(x)=12x2f''(x) = 12x^2 and f(0)=0f''(0) = 0. But f0f'' \geq 0 throughout R\mathbb{R} — it does not change sign. Sufficient condition for inflection: ff'' changes sign when passing through cc.
  21. Ex. 55.21Understanding

    If f(c)=0f'(c) = 0 and f(c)>0f''(c) > 0, what can be concluded about cc?

    Select the correct option
    Select an option first
    Show solution
    If f(c)=0f'(c) = 0 and f(c)>0f''(c) > 0, by the 2nd order Taylor expansion: f(c+h)f(c)+f(c)2h2>f(c)f(c+h) \approx f(c) + \frac{f''(c)}{2}h^2 > f(c) for small h0h \neq 0. Thus cc is a local minimum. The positive curvature ensures that the function "opens upwards" around cc.
  22. Ex. 55.22Application

    Determine the concavity of f(x)=exf(x) = e^x throughout its domain.

    Show solution
    f(x)=exf(x) = e^x has f(x)=ex>0f''(x) = e^x > 0 for all xRx \in \mathbb{R}. Therefore exe^x is concave up throughout its domain. This implies that exe^x is a strictly convex function.
  23. Ex. 55.23ApplicationAnswer key

    Analyze the concavity of f(x)=x3f(x) = x^3 and identify the inflection point.

    Show solution
    f(x)=x3f(x) = x^3. f(x)=6xf''(x) = 6x. For x<0x < 0: f<0f'' < 0 (concave down). For x>0x > 0: f>0f'' > 0 (concave up). Inflection at x=0x = 0 — the point (0,0)(0, 0) is where the curve changes from a "frown" to a "smile".
  24. Ex. 55.24Application

    For f(x)=x46x2f(x) = x^4 - 6x^2, determine the intervals of concavity and the inflection points.

    Show solution
    f(x)=x46x2f(x) = x^4 - 6x^2. f=12x212=12(x1)(x+1)f'' = 12x^2 - 12 = 12(x-1)(x+1). Zeros: x=±1x = \pm 1. f>0f'' > 0 in (,1)(-\infty, -1) and (1,+)(1, +\infty); f<0f'' < 0 in (1,1)(-1, 1). Inflections at x=1x = -1 and x=1x = 1, with f(1)=f(1)=5f(-1) = f(1) = -5.
  25. Ex. 55.25Understanding

    Explain why (sinx)(4)=sinx(\sin x)^{(4)} = \sin x and why (ex)(n)=ex(e^x)^{(n)} = e^x for all n0n \geq 0.

    Show solution
    For sine: differentiating four times cycles through sincossincossin\sin \to \cos \to -\sin \to -\cos \to \sin, returning to the starting point — period 4. For the exponential: (ex)=ex(e^x)' = e^x — it is the only fixed point of the derivative operator (up to a multiplicative constant), therefore (ex)(n)=ex(e^x)^{(n)} = e^x for all nn.
  26. Ex. 55.26ApplicationAnswer key

    Derive the formula for (fg)(fg)'' from the product rule, and identify the analogy with Newton's binomial theorem.

    Show solution
    By the product rule: (fg)=fg+fg(fg)' = f'g + fg'. Differentiating again: (fg)=fg+fg+fg+fg=fg+2fg+fg(fg)'' = f''g + f'g' + f'g' + fg'' = f''g + 2f'g' + fg''. The coefficient 2 in the mixed term is analogous to the binomial (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2.
  27. Ex. 55.27Application

    Let f(x)=(1+x)10f(x) = (1 + x)^{10}. Calculate f(10)(0)f^{(10)}(0).

    Show solution
    f(x)=(1+x)10f(x) = (1+x)^{10}. The coefficient of the x10x^{10} term in the binomial expansion is (1010)=1\binom{10}{10} = 1. Therefore f(10)(x)=10!1=10!f^{(10)}(x) = 10! \cdot 1 = 10! (constant). Evaluating at x=0x = 0: f(10)(0)=10!=3628800f^{(10)}(0) = 10! = 3628800.
  28. Ex. 55.28Modeling

    Position of a particle: s(t)=4t3t4s(t) = 4t^3 - t^4 (meters, tt in seconds). Calculate v(1)v(1), a(1)a(1), and j(1)j(1), and interpret j(1)=0j(1) = 0.

    Show solution
    s(t)=4t3t4s(t) = 4t^3 - t^4. Velocity: v(t)=12t24t3v(t) = 12t^2 - 4t^3; v(1)=124=8v(1) = 12 - 4 = 8 m/s. Acceleration: a(t)=24t12t2a(t) = 24t - 12t^2; a(1)=2412=12a(1) = 24 - 12 = 12 m/s². Jerk: j(t)=2424tj(t) = 24 - 24t; j(1)=0j(1) = 0 m/s³. The zero jerk at t=1t = 1 indicates that the acceleration is at its maximum (inflection point of the acceleration curve).
    Show step-by-step (with the why)
    1. Velocity. v(t)=s(t)=12t24t3v(t) = s'(t) = 12t^2 - 4t^3. v(1)=124=8v(1) = 12 - 4 = 8 m/s.
    2. Acceleration. a(t)=v(t)=24t12t2a(t) = v'(t) = 24t - 12t^2. a(1)=2412=12a(1) = 24 - 12 = 12 m/s².
    3. Jerk. j(t)=a(t)=2424tj(t) = a'(t) = 24 - 24t. j(1)=0j(1) = 0 m/s³.
    4. Interpretation: jerk = 0 at t=1t = 1 means that the acceleration is not changing at that instant — it has reached its extreme value.
  29. Ex. 55.29Modeling

    Pendulum: θ(t)=Acos(ωt)\theta(t) = A\cos(\omega t). Calculate θ¨\ddot{\theta} and verify that θ¨+ω2θ=0\ddot{\theta} + \omega^2\theta = 0.

    Show solution
    θ(t)=Acos(ωt)\theta(t) = A\cos(\omega t). θ˙=Aωsin(ωt)\dot\theta = -A\omega\sin(\omega t). θ¨=Aω2cos(ωt)=ω2θ(t)\ddot\theta = -A\omega^2\cos(\omega t) = -\omega^2 \theta(t). Therefore θ¨+ω2θ=0\ddot\theta + \omega^2\theta = 0 — equation of a simple pendulum (for small amplitudes). The second derivative of angular position is proportional to position, with a negative sign — principle of restoration.
  30. Ex. 55.30Modeling

    Production cost: C(q)=q36q2+15qC(q) = q^3 - 6q^2 + 15q (Rthousand).Calculatethousand). CalculateC''(q)$ and interpret the inflection point as "minimum marginal cost".

    Show solution
    C(q)=q36q2+15qC(q) = q^3 - 6q^2 + 15q. C(q)=3q212q+15C'(q) = 3q^2 - 12q + 15 (marginal cost). C(q)=6q12=6(q2)C''(q) = 6q - 12 = 6(q - 2). Zero at q=2q = 2. For q<2q < 2: C<0C'' < 0 (decreasing marginal cost). For q>2q > 2: C>0C'' > 0 (increasing marginal cost). Inflection at q=2q = 2 is the point of minimum marginal cost — maximum scale efficiency.
    Show step-by-step (with the why)
    1. Calculate CC''. C(q)=3q212q+15C'(q) = 3q^2 - 12q + 15. C(q)=6q12C''(q) = 6q - 12.
    2. Zero of CC''. 6q12=0q=26q - 12 = 0 \Rightarrow q = 2.
    3. Sign. C<0C'' < 0 for q<2q < 2; C>0C'' > 0 for q>2q > 2. Sign change: inflection confirmed.
    4. Economic interpretation: the marginal cost CC' reaches its minimum at q=2q = 2. Producing below 2 units: there is still a gain in scale. Above 2: marginal cost starts to rise.
  31. Ex. 55.31ModelingAnswer key

    Vehicle position: s(t)=10t330t2+5s(t) = 10t^3 - 30t^2 + 5 (meters). Calculate v(t)v(t), a(t)a(t), j(t)j(t) and determine when acceleration is zero.

    Show solution
    s(t)=10t330t2+5s(t) = 10t^3 - 30t^2 + 5. Velocity: v(t)=30t260tv(t) = 30t^2 - 60t. Acceleration: a(t)=60t60=60(t1)a(t) = 60t - 60 = 60(t-1). Jerk: j(t)=60j(t) = 60 m/s³ (constant). Acceleration zero at t=1t = 1 s. For t<1t < 1: a<0a < 0; for t>1t > 1: a>0a > 0. Constant jerk indicates linear variation of acceleration.
  32. Ex. 55.32Modeling

    Projectile height: h(t)=4,9t2+v0t+h0h(t) = -4{,}9t^2 + v_0 t + h_0. Calculate h(t)h''(t) and identify its physical meaning.

    Show solution
    h(t)=4,9t2+v0t+h0h(t) = -4{,}9t^2 + v_0 t + h_0. h(t)=9,8t+v0h'(t) = -9{,}8t + v_0 (velocity). h(t)=9,8h''(t) = -9{,}8 m/s² — the gravitational acceleration, constant and negative (points downwards). The second derivative of position under gravity is always g-g, independent of v0v_0 and h0h_0.
  33. Ex. 55.33Modeling

    In a mechanical system, the potential energy U(θ)U(\theta) has a critical point at θ0\theta_0. What does U(θ0)>0U''(\theta_0) > 0 versus U(θ0)<0U''(\theta_0) < 0 imply about the stability of the equilibrium?

    Show solution
    In a system with potential energy U(θ)U(\theta), equilibrium occurs where U(θ0)=0U'(\theta_0) = 0. The second derivative test classifies: U(θ0)>0U''(\theta_0) > 0UU has a local minimum, stable equilibrium (system returns if perturbed). U(θ0)<0U''(\theta_0) < 0UU has a local maximum, unstable equilibrium (system escapes if perturbed). The second derivative quantifies the curvature of the potential, i.e., the effective stiffness of the system.
  34. Ex. 55.34Modeling

    Using the first three derivatives of f(x)=exf(x) = e^x at a=0a = 0, write the Taylor polynomial T2(x)T_2(x) and estimate the error for x=0,1x = 0{,}1.

    Show solution
    f(x)=exf(x) = e^x. f(0)=1f(0) = 1, f(0)=1f'(0) = 1, f(0)=1f''(0) = 1. T2(x)=1+x+12x2T_2(x) = 1 + x + \frac{1}{2}x^2. For x=0,1x = 0{,}1: T2=1+0,1+0,005=1,105T_2 = 1 + 0{,}1 + 0{,}005 = 1{,}105; e0,11,10517e^{0{,}1} \approx 1{,}10517; error 0,00017\approx 0{,}00017.
  35. Ex. 55.35ModelingAnswer key

    Write the Taylor polynomial of degree 2 for f(x)=cosxf(x) = \cos x around a=0a = 0 and verify for x=0,1x = 0{,}1.

    Show solution
    f(x)=cosxf(x) = \cos x. f(0)=1f(0) = 1, f(0)=sin(0)=0f'(0) = -\sin(0) = 0, f(0)=cos(0)=1f''(0) = -\cos(0) = -1. T2(x)=1+0x+12x2=1x22T_2(x) = 1 + 0 \cdot x + \frac{-1}{2}x^2 = 1 - \frac{x^2}{2}. For x=0,1x = 0{,}1: T2=0,995T_2 = 0{,}995; cos(0,1)0,99500\cos(0{,}1) \approx 0{,}99500. Excellent approximation — error term is of order x4/24x^4/24.
  36. Ex. 55.36Challenge

    Calculate f(n)(x)f^{(n)}(x) for f(x)=ln(1+x)f(x) = \ln(1+x) and write the Taylor polynomial Tn(x)T_n(x) around a=0a = 0.

    Show solution
    For f(x)=ln(1+x)f(x) = \ln(1+x): f(x)=(1+x)1f'(x) = (1+x)^{-1}, f(x)=(1+x)2f''(x) = -(1+x)^{-2}, f(x)=2(1+x)3f'''(x) = 2(1+x)^{-3}. Pattern: f(n)(x)=(1)n1(n1)!(1+x)nf^{(n)}(x) = (-1)^{n-1}(n-1)!(1+x)^{-n}. At x=0x = 0: f(n)(0)=(1)n1(n1)!f^{(n)}(0) = (-1)^{n-1}(n-1)!. Therefore f(n)(0)n!=(1)n1n\frac{f^{(n)}(0)}{n!} = \frac{(-1)^{n-1}}{n}, and Tn(x)=k=1n(1)k+1kxkT_n(x) = \sum_{k=1}^n \frac{(-1)^{k+1}}{k}x^k.
  37. Ex. 55.37Challenge

    For f(x)=xxf(x) = x^x (x>0x > 0), calculate f(x)f''(x) using logarithmic differentiation.

    Show solution
    Take logarithm: lnf=xlnx\ln f = x\ln x. Differentiate: f/f=lnx+1f'/f = \ln x + 1, so f=xx(1+lnx)f' = x^x(1 + \ln x). Differentiate again by the product rule: f=xx(1+lnx)2+xx1x=xx(1+lnx)2+xx1f'' = x^x(1 + \ln x)^2 + x^x \cdot \frac{1}{x} = x^x(1 + \ln x)^2 + x^{x-1}.
  38. Ex. 55.38Challenge

    State Leibniz's formula (fg)(n)=k=0n(nk)f(k)g(nk)(fg)^{(n)} = \sum_{k=0}^n \binom{n}{k} f^{(k)} g^{(n-k)} and describe the structure of the induction argument that proves it.

    Show solution
    See the referenced source for the detailed solution.
  39. Ex. 55.39ProofAnswer key

    Proof. Let ff be twice differentiable on [0,1][0, 1], with f(0)=f(1)=0f(0) = f(1) = 0 and f≢0f' \not\equiv 0. Does there exist c(0,1)c \in (0, 1) with f(c)=0f''(c) = 0? Justify.

    Show solution
    Given f(0)=f(1)=0f(0) = f(1) = 0 and ff differentiable, by Rolle's Theorem there exists c1(0,1)c_1 \in (0, 1) with f(c1)=0f'(c_1) = 0. Since f≢0f' \not\equiv 0, there exists some point where f0f' \neq 0. In particular, ff' has zeros (at least c1c_1). Applying Rolle's to ff' in an interval where ff' takes the same value at two points (or using MVT between a zero of ff' and a point where f0f' \neq 0), we obtain c(0,1)c \in (0, 1) with f(c)=0f''(c) = 0.
  40. Ex. 55.40Proof

    Proof. Prove that if ff is twice differentiable and f(x)0f''(x) \geq 0 on (a,b)(a, b), then ff is convex on (a,b)(a, b).

    Show solution
    If f0f'' \geq 0 in (a,b)(a,b), then ff' is non-decreasing. Given x1<x<x2x_1 < x < x_2 in (a,b)(a,b), write x=λx1+(1λ)x2x = \lambda x_1 + (1-\lambda)x_2 with λ(0,1)\lambda \in (0,1). By the MVT: f(x2)f(x)f(x)(x2x)f(x_2) - f(x) \geq f'(x)(x_2 - x) and f(x)f(x1)f(x)(xx1)f(x) - f(x_1) \leq f'(x)(x - x_1) (monotonicity of ff'). Multiplying the first by λ\lambda and the second by 1λ1-\lambda and combining, we obtain f(λx1+(1λ)x2)λf(x1)+(1λ)f(x2)f(\lambda x_1 + (1-\lambda)x_2) \leq \lambda f(x_1) + (1-\lambda)f(x_2) — definition of convexity.

Sources

  • Active Calculus 2.0 — Boelkins · 2024 · §1.6 (The Second Derivative), §8.3 (Taylor Polynomials). Primary source. CC-BY-NC-SA.
  • Calculus, Volume 1 — OpenStax · 2016 · §3.2 (The Derivative as a Function), §4.5 (Derivatives and the Shape of a Graph). CC-BY-NC-SA.
  • APEX Calculus — Hartman et al. · 2024 · v5 · §2.2 (Interpretations of the Derivative), §3.4 (Concavity and the Second Derivative). CC-BY-NC.

Updated on 2024-05-16 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.