Derivative Formulas for Powers, Polynomials, Trigonometric, and Exponential Functions

Definition of the Derivative and Limit Foundation

  • The derivative of a function f(x)f(x) with respect to xx, denoted as ddxf(x)\frac{d}{dx} f(x) or f′(x)f'(x), is defined mathematically as the limit of secant line slopes as the increment hh approaches zero:   ddxf(x)=lim⁡h→0f(x+h)−f(x)h\frac{d}{dx} f(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

  • This fundamental definition serves as the foundation for building explicit derivative rules for powers, polynomials, trigonometric functions, exponentials, and logarithms.

Derivative of Constant and Linear Functions

  • Constant Function Rule:

    • Let f(x)=kf(x) = k, where kk is any constant real number.

    • Applying the limit definition:     f′(x)=ddx(k)=lim⁡h→0f(x+h)−f(x)h=lim⁡h→0k−kh=lim⁡h→00h=0f'(x) = \frac{d}{dx}(k) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} = \lim_{h \to 0} \frac{k - k}{h} = \lim_{h \to 0} \frac{0}{h} = 0

    • General Formula:     ddx(k)=0\frac{d}{dx}(k) = 0

    • Graphical Interpretation:     A constant function y=f(x)=ky = f(x) = k represents a horizontal line across the Cartesian coordinate plane. Because a horizontal line has a constant slope of zero, its derivative (representing the instantaneous rate of change) is identically zero everywhere.     

      Graph of constant function y = k with slope 0
    • Explicit Examples:

    • Derivative of integer constant 22:       ddx(2)=0\frac{d}{dx}(2) = 0

    • Derivative of irrational constant π\pi:       ddx(π)=0\frac{d}{dx}(\pi) = 0

    • Derivative of Euler's number e≈2.71828e \approx 2.71828:       ddx(e)=0\frac{d}{dx}(e) = 0

  • Linear Function Rule:

    • Let f(x)=b+mxf(x) = b + mx, representing a line with yy-intercept bb and slope mm.

    • Applying the limit definition:     f′(x)=ddx(b+mx)=lim⁡h→0b+m(x+h)−(b+mx)hf'(x) = \frac{d}{dx}(b + mx) = \lim_{h \to 0} \frac{b + m(x+h) - (b + mx)}{h}     =lim⁡h→0b+mx+mh−b−mxh= \lim_{h \to 0} \frac{b + mx + mh - b - mx}{h}     =lim⁡h→0mhh=lim⁡h→0m=m= \lim_{h \to 0} \frac{mh}{h} = \lim_{h \to 0} m = m

    • General Formula:     ddx(b+mx)=m\frac{d}{dx}(b + mx) = m

    • Rule Statement:     The derivative of a linear function is equal to its constant slope mm.

Algebraic Properties of Differentiation

  • Constant Multiple Rule:

    • The derivative of a constant times a function is equal to the constant times the derivative of the function:     ddx[c⋅f(x)]=c⋅ddx[f(x)]=c⋅f′(x)\frac{d}{dx}[c \cdot f(x)] = c \cdot \frac{d}{dx}[f(x)] = c \cdot f'(x)

  • Sum and Difference Rule:

    • The derivative of a sum or difference of two functions is equal to the sum or difference of their individual derivatives:     ddx[f(x)±g(x)]=ddx[f(x)]±ddx[g(x)]=f′(x)±g′(x)\frac{d}{dx}[f(x) \pm g(x)] = \frac{d}{dx}[f(x)] \pm \frac{d}{dx}[g(x)] = f'(x) \pm g'(x)

  • Application to Polynomials:

    • Polynomials are expressions formed by algebraic sums of monomial terms (constants multiplied by power terms of the variable xx).

    • Combining the linearity rules (Constant Multiple Rule and Sum/Difference Rule) with rules for power terms allows for the direct differentiation of any polynomial function without repeatedly evaluating limit definitions.

The Power Rule

  • Derivation and Pattern Recognition:

    • Consider finding the derivative of a power function ddx(xp)\frac{d}{dx}(x^p).

    • For positive integer values p=np = n, a clear structural pattern emerges from evaluating low-degree cases:

    • Case n=1n = 1:       ddx(x)=1\frac{d}{dx}(x) = 1

    • Case n=2n = 2:       ddx(x2)=2x\frac{d}{dx}(x^2) = 2x

    • Case n=3n = 3:       Evaluating using the limit definition:       ddx(x3)=lim⁡h→0(x+h)3−x3h\frac{d}{dx}(x^3) = \lim_{h \to 0} \frac{(x+h)^3 - x^3}{h}       Expanding (x+h)3(x+h)^3 using the Binomial Theorem and coefficients from Pascal's Triangle (1,3,3,11, 3, 3, 1):       (x+h)3=x3+3x2h+3xh2+h3(x+h)^3 = x^3 + 3x^2 h + 3xh^2 + h^3       Substituting into the quotient:       (x3+3x2h+3xh2+h3)−x3h=3x2h+3xh2+h3h=3x2+3xh+h2\frac{(x^3 + 3x^2 h + 3xh^2 + h^3) - x^3}{h} = \frac{3x^2 h + 3xh^2 + h^3}{h} = 3x^2 + 3xh + h^2       Taking the limit as h→0h \to 0:       lim⁡h→0(3x2+3xh+h2)=3x2\lim_{h \to 0} (3x^2 + 3xh + h^2) = 3x^2

  • General Proof for Positive Integers nn:

    • Expanding (x+h)n(x+h)^n via the Binomial Theorem yields xn+nxn−1h+h2(higher terms)x^n + n x^{n-1} h + h^2(\text{higher terms}):     ddx(xn)=lim⁡h→0(x+h)n−xnh=lim⁡h→0xn+nxn−1h+h2(stuff)−xnh\frac{d}{dx}(x^n) = \lim_{h \to 0} \frac{(x+h)^n - x^n}{h} = \lim_{h \to 0} \frac{x^n + n x^{n-1} h + h^2(\text{stuff}) - x^n}{h}     =lim⁡h→0[nxn−1+h(stuff)]=nxn−1= \lim_{h \to 0} [n x^{n-1} + h(\text{stuff})] = n x^{n-1}

  • General Statement of the Power Rule:   ddx(xn)=nxn−1\frac{d}{dx}(x^n) = n x^{n-1}

    • This rule holds valid for any exponent p∈Rp \in \mathbb{R}, including positive and negative integers, fractions, irrational numbers, and rational exponents.

Worked Examples of Power and Linearity Rules

  • Polynomial Example:

    • Problem: Compute ddx(x5−3x4+2x3−5x2+7x+11)\frac{d}{dx}(x^5 - 3x^4 + 2x^3 - 5x^2 + 7x + 11)

    • Step-by-step resolution applying term-by-term differentiation:     ddx(x5−3x4+2x3−5x2+7x+11)\frac{d}{dx}(x^5 - 3x^4 + 2x^3 - 5x^2 + 7x + 11)     =ddx(x5)−3ddx(x4)+2ddx(x3)−5ddx(x2)+7ddx(x)+ddx(11)= \frac{d}{dx}(x^5) - 3\frac{d}{dx}(x^4) + 2\frac{d}{dx}(x^3) - 5\frac{d}{dx}(x^2) + 7\frac{d}{dx}(x) + \frac{d}{dx}(11)     =5x5−1−3(4x4−1)+2(3x3−1)−5(2x2−1)+7(1)+0= 5x^{5-1} - 3(4x^{4-1}) + 2(3x^{3-1}) - 5(2x^{2-1}) + 7(1) + 0     =5x4−3(4x3)+2(3x2)−5(2x)+7+0= 5x^4 - 3(4x^3) + 2(3x^2) - 5(2x) + 7 + 0     =5x4−12x3+6x2−10x+7= 5x^4 - 12x^3 + 6x^2 - 10x + 7

  • Rational and Radical Exponent Examples:

    • Example 1:     f(x)=2  ⟹  f′(x)=0f(x) = \sqrt{2} \implies f'(x) = 0 (since 2\sqrt{2} is a constant).

    • Example 2:     Given f(x)f(x) with rational exponents leading to f′(x)=12x5−15x4−13x−2/3f'(x) = 12x^5 - 15x^4 - \frac{1}{3}x^{-2/3}:

    • Expressing with negative exponent:       f′(x)=12x5−15x4−13x−2/3f'(x) = 12x^5 - 15x^4 - \frac{1}{3}x^{-2/3}

    • Expressing in radical denominator form:       f′(x)=12x5−15x4−13x23f'(x) = 12x^5 - 15x^4 - \frac{1}{3\sqrt[3]{x^2}}

    • Both formats are fully acceptable algebraic representations.

    • Example 3:     f(x)=3x=3x−1f(x) = \frac{3}{x} = 3x^{-1}     f′(x)=3(−1x−1−1)=−3x−2=−3x2f'(x) = 3(-1 x^{-1-1}) = -3x^{-2} = \frac{-3}{x^2}

    • Example 4:     f(x)=x4+4x4=x1/4+4x−1/4f(x) = \sqrt[4]{x} + \frac{4}{\sqrt[4]{x}} = x^{1/4} + 4x^{-1/4}     f′(x)=14x(1/4−1)+4(−14x−1/4−1)f'(x) = \frac{1}{4}x^{(1/4 - 1)} + 4\left(-\frac{1}{4}x^{-1/4 - 1}\right)     f′(x)=14x−3/4−x−5/4f'(x) = \frac{1}{4}x^{-3/4} - x^{-5/4}     In radical quotient notation:     f′(x)=14x34−1x54f'(x) = \frac{1}{4\sqrt[4]{x^3}} - \frac{1}{\sqrt[4]{x^5}}

Higher-Order Derivatives

  • Definition and Higher Derivatives Notation:

    • Taking the derivative of a derivative yields a second derivative, denoted as:     d2dx2f(x)=f′′(x)\frac{d^2}{dx^2} f(x) = f''(x)

    • Repeated differentiation can be continued sequentially for third derivatives f′′′(x)f'''(x), fourth derivatives f(4)(x)f^{(4)}(x), and higher orders.

  • Worked Second Derivative Calculation:

    • For f(x)=x5−3x4+2x3−5x2+7x+11f(x) = x^5 - 3x^4 + 2x^3 - 5x^2 + 7x + 11:

    • First derivative f′(x)f'(x):       f′(x)=5x4−12x3+6x2−10x+7f'(x) = 5x^4 - 12x^3 + 6x^2 - 10x + 7

    • Second derivative f′′(x)f''(x):       f′′(x)=ddx(5x4−12x3+6x2−10x+7)f''(x) = \frac{d}{dx}(5x^4 - 12x^3 + 6x^2 - 10x + 7)       f′′(x)=5(4x3)−12(3x2)+6(2x)−10(1)+0=20x3−36x2+12x−10f''(x) = 5(4x^3) - 12(3x^2) + 6(2x) - 10(1) + 0 = 20x^3 - 36x^2 + 12x - 10

Derivatives of Trigonometric Functions

  • Fundamental Rules for Sine and Cosine:   ddx(sin⁡(x))=cos⁡(x)\frac{d}{dx}(\sin(x)) = \cos(x)   ddx(cos⁡(x))=−sin⁡(x)\frac{d}{dx}(\cos(x)) = -\sin(x)

  • Cyclic Nature of Derivatives of Sine and Cosine:

    • Sequential differentiation of trigonometric functions follows a periodic 4-step loop:

    • First derivative of sin⁡(x)\sin(x): ddx(sin⁡(x))=cos⁡(x)\frac{d}{dx}(\sin(x)) = \cos(x)

    • Second derivative of sin⁡(x)\sin(x): d2dx2(sin⁡(x))=ddx(cos⁡(x))=−sin⁡(x)\frac{d^2}{dx^2}(\sin(x)) = \frac{d}{dx}(\cos(x)) = -\sin(x)

    • Third derivative of sin⁡(x)\sin(x): d3dx3(sin⁡(x))=ddx(−sin⁡(x))=−cos⁡(x)\frac{d^3}{dx^3}(\sin(x)) = \frac{d}{dx}(-\sin(x)) = -\cos(x)

    • Fourth derivative of sin⁡(x)\sin(x): d4dx4(sin⁡(x))=ddx(−cos⁡(x))=sin⁡(x)\frac{d^4}{dx^4}(\sin(x)) = \frac{d}{dx}(-\cos(x)) = \sin(x)   

      Derivative cycle for trigonometric functions sin(x) and cos(x)
  • Comparison Example:

    • For f(x)=sin⁡(x)f(x) = \sin(x):

    • First derivative: f′(x)=cos⁡(x)f'(x) = \cos(x)

    • Second derivative: f′′(x)=−sin⁡(x)f''(x) = -\sin(x)

Tangent Line Equations and Applications

  • Tangent Line Equation Formula:

    • The linear equation for a line tangent to a function f(x)f(x) at the point x=ax = a is given by:     y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a)

    • (Note: Memorize this essential formula).

  • Example 1: Tangent Line to Sine Function at the Origin:

    • Find the tangent line equation for f(x)=sin⁡(x)f(x) = \sin(x) at x=0x = 0:

    • Evaluate point a=0a = 0: f(0)=sin⁡(0)=0f(0) = \sin(0) = 0

    • Evaluate derivative f′(x)=cos⁡(x)f'(x) = \cos(x) at a=0a = 0: f′(0)=cos⁡(0)=1f'(0) = \cos(0) = 1

    • Substitute into formula:       y=0+1(x−0)  ⟹  y=xy = 0 + 1(x - 0) \implies y = x

  • Example 2: Tangent Line to Rational Polynomial Function:

    • Find the equation of the line tangent to f(x)=−4x+3x3−2xf(x) = -\frac{4}{x} + 3x^3 - 2x at x=−2x = -2:

    • Express terms in power notation: f(x)=−4x−1+3x3−2xf(x) = -4x^{-1} + 3x^3 - 2x

    • Compute function value f(−2)f(-2):       f(−2)=−4−2+3(−2)3−2(−2)=2+3(−8)+4=2−24+4=−18f(-2) = -\frac{4}{-2} + 3(-2)^3 - 2(-2) = 2 + 3(-8) + 4 = 2 - 24 + 4 = -18

    • Compute derivative f′(x)f'(x):       ddx(−4x−1)=−1⋅(−4)x−1−1=4x−2=4x2\frac{d}{dx}(-4x^{-1}) = -1 \cdot (-4)x^{-1-1} = 4x^{-2} = \frac{4}{x^2}       f′(x)=4x2+9x2−2f'(x) = \frac{4}{x^2} + 9x^2 - 2

    • Evaluate derivative at x=−2x = -2:       f′(−2)=4(−2)2+9(−2)2−2=44+9(4)−2=1+36−2=35f'(-2) = \frac{4}{(-2)^2} + 9(-2)^2 - 2 = \frac{4}{4} + 9(4) - 2 = 1 + 36 - 2 = 35

    • Formulate tangent line equation:       y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a)       y=−18+35(x−(−2))y = -18 + 35(x - (-2))       y=−18+35(x+2)y = -18 + 35(x + 2)       y=35x+52y = 35x + 52

Derivatives of Exponential and Logarithmic Functions

  • Numerical Approximation of Derivative at x=0x = 0:

    • Approximating f′(0)f'(0) using the difference quotient with a very small step size h=0.0001h = 0.0001:     f′(0)≈f(0+h)−f(0)h=f(0.0001)−f(0)0.0001f'(0) \approx \frac{f(0 + h) - f(0)}{h} = \frac{f(0.0001) - f(0)}{0.0001}

    • Case 1: f(x)=2xf(x) = 2^x     f′(0)≈20.0001−10.0001=0.693171…f'(0) \approx \frac{2^{0.0001} - 1}{0.0001} = 0.693171\dots     Note: ln⁡(2)≈0.693147…\ln(2) \approx 0.693147\dots

    • Case 2: f(x)=3xf(x) = 3^x     f′(0)≈30.0001−10.0001=1.098672…f'(0) \approx \frac{3^{0.0001} - 1}{0.0001} = 1.098672\dots     Note: ln⁡(3)≈1.098612…\ln(3) \approx 1.098612\dots

    • Case 3: f(x)=exf(x) = e^x     f′(0)=1f'(0) = 1     Note: ln⁡(e)=1\ln(e) = 1

  • Geometric Interpretation of Exponential Slopes at the yy-intercept:

    • For y=2xy = 2^x, slope at x=0x=0 is ≈ln⁡(2)≈0.69<1\approx \ln(2) \approx 0.69 < 1

    • For y=3xy = 3^x, slope at x=0x=0 is ≈ln⁡(3)≈1.09>1\approx \ln(3) \approx 1.09 > 1

    • For y=exy = e^x, slope at x=0x=0 is exactly 11   

      Comparison of slopes at x=0 for 2^x, e^x, and 3^x
    • Conclusion: Euler's constant e≈2.71828e \approx 2.71828 is the unique real base between 22 and 33 such that the exponential curve y=exy = e^x crosses the yy-axis with an exact tangent slope of 11.

  • General Formulas for Exponential and Logarithmic Functions:

    • Natural Exponential Function:     ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

    • Scaled Natural Exponential Function:     ddx(ekx)=kekx\frac{d}{dx}(e^{kx}) = k e^{kx}

    • General Base Exponential Function:     ddx(ax)=(ln⁡(a))ax\frac{d}{dx}(a^x) = (\ln(a)) a^x

    • Natural Logarithm Function:     ddx(ln⁡(x))=1x\frac{d}{dx}(\ln(x)) = \frac{1}{x}

    • General Base Logarithm Function:     Utilizing change of base formula log⁡b(x)=ln⁡(x)ln⁡(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}:     ddx(log⁡b(x))=1xln⁡(b)\frac{d}{dx}(\log_b(x)) = \frac{1}{x \ln(b)}

Practical and Applied Examples

  • Example 1: Combined Exponential, Logarithmic, and Polynomial Expression:

    • Compute f′(1)f'(1) rounded to 3 decimal places for f(x)=3e3x−2ln⁡(x−1)−4xf(x) = 3e^{3x} - 2\ln(x^{-1}) - 4x:

    • Simplify logarithmic expression using log property ln⁡(x−1)=−ln⁡(x)\ln(x^{-1}) = -\ln(x):       f(x)=3e3x−2(−ln⁡(x))−4x=3e3x+2ln⁡(x)−4xf(x) = 3e^{3x} - 2(-\ln(x)) - 4x = 3e^{3x} + 2\ln(x) - 4x

    • Compute derivative f′(x)f'(x):       f′(x)=3(3e3x)+2(1x)−4=9e3x+2x−4f'(x) = 3(3e^{3x}) + 2\left(\frac{1}{x}\right) - 4 = 9e^{3x} + \frac{2}{x} - 4

    • Evaluate at x=1x = 1:       f′(1)=9e3(1)+21−4=9e3+2−4=9e3−2f'(1) = 9e^{3(1)} + \frac{2}{1} - 4 = 9e^3 + 2 - 4 = 9e^3 - 2

    • Evaluate numerically:       9e3−2≈9(20.0855369)−2≈180.7698323−2=178.76983239e^3 - 2 \approx 9(20.0855369) - 2 \approx 180.7698323 - 2 = 178.7698323

    • Rounded to 3 decimal places:       f′(1)≈178.770f'(1) \approx 178.770

  • Example 2: Population Growth Application:

    • A population grows according to the model P(t)=100e0.25tP(t) = 100 e^{0.25 t}. Find the instantaneous rate of growth at t = 8$.\n - Compute derivative P'(t):\n      P'(t) = \frac{d}{dt}(100 e^{0.25 t}) = 100(0.25) e^{0.25 t} = 25 e^{0.25 t}\n - Evaluate at t = 8:\n      P'(8) = 25 e^{0.25(8)} = 25 e^2 \approx 25(7.389056) \approx 184.726395\n - Interpretation: At t = 8years,thepopulationisgrowingataninstantaneousrateofapproximatelyyears, the population is growing at an instantaneous rate of approximately185individualsperyear(orindividuals per year (or184.726\,\text{individuals/year}).\n\n- **Example 3: Relative Continuous Growth Rate:**\n - The relative growth rate (or relative continuous growth rate) of a population P(t)atanytimeat any timet is defined as:\n    \text{Relative Growth Rate} = \frac{P'(t)}{P(t)}\n - For exponential model P(t) = P_0 e^{k t}.\n    \frac{P'(t)}{P(t)} = \frac{P_0 k e^{k t}}{P_0 e^{k t}} = k\n - For general exponential base P(t) = P_0 a^t = P_0 e^{(\ln(a)) t}.\n    \frac{P'(t)}{P(t)} = \ln(a)\n\n- **Example 4: Tangent Line to Exponential Curve:**\n - Find the tangent line equation for y = f(x) = e^xatpointat point(\ln(2), 2):\n - Point a = \ln(2)\n - Function value f(a) = f(\ln(2)) = e^{\ln(2)} = 2\n - Derivative value f'(a) = f'(\ln(2)) = e^{\ln(2)} = 2\n - Tangent line formula:\n      y = f(a) + f'(a)(x - a)\n      y = 2 + 2(x - \ln(2))\n      y = 2x + 2 - 2\ln(2)\n\n- **Example 5: Tangent Line to Natural Logarithm Curve:**\n - Find the tangent line equation for y = f(x) = \ln(x)atatx = e:\n - Point a = e\n - Function value f(e) = \ln(e) = 1\n - Derivative value f'(x) = \frac{1}{x} \implies f'(e) = \frac{1}{e}\n - Tangent line formula:\n      y = 1 + \frac{1}{e}(x - e) = 1 + \frac{1}{e}x - 1 = \frac{1}{e}x\n\n# Master Summary Table of Derivative Formulas\n\n- **Constant Function:**\n  \frac{d}{dx}(k) = 0\n- **Linear Function:**\n  \frac{d}{dx}(b + mx) = m\n- **Constant Multiple Rule:**\n  \frac{d}{dx}[c \cdot f(x)] = c \cdot f'(x)\n- **Sum and Difference Rule:**\n  \frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)\n- **Power Rule:**\n  \frac{d}{dx}(x^p) = p x^{p-1}\n- **Sine Function:**\n  \frac{d}{dx}(\sin(x)) = \cos(x)\n- **Cosine Function:**\n  \frac{d}{dx}(\cos(x)) = -\sin(x)\n- **Natural Exponential Function:**\n  \frac{d}{dx}(e^x) = e^x\n- **Scaled Exponential Function:**\n  \frac{d}{dx}(e^{kx}) = k e^{kx}\n- **General Exponential Function:**\n  \frac{d}{dx}(a^x) = (\ln(a)) a^x\n- **Natural Logarithm Function:**\n  \frac{d}{dx}(\ln(x)) = \frac{1}{x}\n- **General Base Logarithm Function:**\n  \frac{d}{dx}(\log_b(x)) = \frac{1}{x \ln(b)}$$