Derivative Rules and Rates of Change

Introduction to Derivatives
  • The derivative of a function (f(x)f'(x)) represents the slope of the tangent line to the function's graph at a specific point.

Fundamental Derivative Rules
The Constant Rule
  • If a function f(x)f(x) is a constant, meaning f(x)=cf(x) = c, its graph is a horizontal line.

  • The slope of a horizontal line is always zero.

  • Therefore, the derivative of any constant is zero.

    • Formula: If f(x)=cf(x) = c, then f(x)=0f'(x) = 0.

    • Examples:

      • If y=7y = 7, then y=0y' = 0.

      • If f(x)=0f(x) = 0, then f(x)=0f'(x) = 0.

      • If s(t)=3s(t) = -3, then s(t)=0s'(t) = 0.

      • If y=k<br>pi2y = k<br>pi^2 (where kk is a constant), then y=0y' = 0.

    • Trick Question Alert: If f(x)=π3f(x) = \pi^3, the derivative f(x)=0f'(x) = 0, because π3\pi^3 is a numerical constant, not a variable raised to a power.

Linear Functions
  • If a function is a linear equation f(x)=mx+bf(x) = mx + b, its graph is a straight line.

  • The derivative represents the slope, so for a linear function, the derivative is simply the slope of the line.

    • Formula: If f(x)=mx+bf(x) = mx + b, then f(x)=mf'(x) = m.

    • Example: For f(x)=xf(x) = x (where m=1,b=0m=1, b=0), f(x)=1f'(x) = 1.

The Power Rule
  • The power rule applies when a variable is raised to a power.

  • Formula: If f(x)=xnf(x) = x^n (where nn is a rational number), then f(x)=nxn1f'(x) = nx^{n-1}.

  • Proof (briefly mentioned): Uses the binomial theorem and the limit definition of the derivative.

  • Conditions for Differentiability at x=0x=0:

    • If nn is a positive integer, the function is differentiable at x=0x=0.

    • If nn is a negative integer (e.g., x1=1/xx^{-1} = 1/x), then the function and its derivative are undefined at x=0x=0.

    • If nn is a fractional exponent (e.g., x1/3=x3x^{1/3} = \sqrt[3]{x}), the derivative might be undefined at x=0x=0 even if the original function is defined. This often indicates a vertical tangent line at that point, meaning the slope is infinite and the derivative does not exist.

  • Examples:

    • If f(x)=x3f(x) = x^3, then f(x)=3x2f'(x) = 3x^2.

    • If f(x)=x1/3f(x) = x^{1/3} (cube root of xx), then f(x)=13x2/3=13x2/3=13x23f'(x) = \frac{1}{3}x^{-2/3} = \frac{1}{3x^{2/3}} = \frac{1}{3\sqrt[3]{x^2}}. (Note: function is defined at x=0x=0, but derivative is not; this implies a vertical tangent at x=0x=0).

    • If y=1x2=x2y = \frac{1}{x^2} = x^{-2}, then y=2x3=2x3y' = -2x^{-3} = -\frac{2}{x^3}. (Undefined at x=0x=0).

Derivatives of Trigonometric Functions
  • Derivative of sine: If f(x)=sinxf(x) = \sin x, then f(x)=cosxf'(x) = \cos x.

  • Derivative of cosine: If f(x)=cosxf(x) = \cos x, then f(x)=sinxf'(x) = -\sin x.

    • (Proof is similar to other basic derivative proofs but takes a few minutes, not covered in detail here).

The Constant Multiple Rule
  • If a function is multiplied by a constant, the derivative of the product is the constant multiplied by the derivative of the function.

  • Formula: If g(x)=cf(x)g(x) = c \cdot f(x), then g(x)=cf(x)g'(x) = c \cdot f'(x).

    • Alternatively: If y=cxny = c x^n, then dydx=c(nxn1)\frac{dy}{dx} = c(nx^{n-1}).

  • Examples:

    • If y=5x3y = 5x^3, then y=5(3x2)=15x2y' = 5(3x^2) = 15x^2.

    • If y=2x1y = 2x^{-1}, then y=2(1x2)=2x2=2x2y' = 2(-1x^{-2}) = -2x^{-2} = -\frac{2}{x^2}.

    • If y=4t25=45t2y = \frac{4t^2}{5} = \frac{4}{5}t^2, then y=45(2t)=85ty' = \frac{4}{5}(2t) = \frac{8}{5}t.

    • If y=2x=2x1/2y = 2\sqrt{x} = 2x^{1/2}, then y=2(12x1/2)=x1/2=1xy' = 2\left(\frac{1}{2}x^{-1/2}\right) = x^{-1/2} = \frac{1}{\sqrt{x}}.

The Sum and Difference Rules
  • The derivative of a sum or difference of functions is the sum or difference of their individual derivatives.

  • Sum Rule: If h(x)=f(x)+g(x)h(x) = f(x) + g(x), then h(x)=f(x)+g(x)h'(x) = f'(x) + g'(x).

  • Difference Rule: If h(x)=f(x)g(x)h(x) = f(x) - g(x), then h(x)=f(x)g(x)h'(x) = f'(x) - g'(x).

  • These rules are straightforward and apply naturally.

  • Example: If h(x)=x4+x3h(x) = x^4 + x^3, then h(x)=4x3+3x2h'(x) = 4x^3 + 3x^2.

Product Rule (Crucial Distinction)
  • The derivative of a product is NOT the product of the derivatives.

    • Demonstration: If h(x)=x3x4=x7h(x) = x^3 \cdot x^4 = x^7, then h(x)=7x6h'(x) = 7x^6.

    • However, if you incorrectly take f(x)=(x3)=3x2f'(x) = (x^3)' = 3x^2 and g(x)=(x4)=4x3g'(x) = (x^4)' = 4x^3, then f(x)g(x)=(3x2)(4x3)=12x5f'(x) \cdot g'(x) = (3x^2)(4x^3) = 12x^5, which is not 7x67x^6.

  • Derivation of the Product Rule (using adding zero):

    • To find the derivative of h(x)=f(x)g(x)h(x) = f(x)g(x), we use the limit definition:
      h(x)=limΔx0f(x+Δx)g(x+Δx)f(x)g(x)Δxh'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x)g(x + \Delta x) - f(x)g(x)}{\Delta x}

    • Add and subtract f(x+Δx)g(x)f(x+\Delta x)g(x) (a form of zero) in the numerator:
      h(x)=limΔx0f(x+Δx)g(x+Δx)f(x+Δx)g(x)+f(x+Δx)g(x)f(x)g(x)Δxh'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x)g(x + \Delta x) - f(x + \Delta x)g(x) + f(x + \Delta x)g(x) - f(x)g(x)}{\Delta x}

    • Factor f(x+Δx)f(x + \Delta x) from the first two terms and g(x)g(x) from the last two:
      h(x)=limΔx0[f(x+Δx)g(x+Δx)g(x)Δx+g(x)f(x+Δx)f(x)Δx]h'(x) = \lim_{\Delta x \to 0} \left[ f(x + \Delta x) \frac{g(x + \Delta x) - g(x)}{\Delta x} + g(x) \frac{f(x + \Delta x) - f(x)}{\Delta x} \right]

    • As Δx0\Delta x \to 0:

      • f(x+Δx)f(x)f(x + \Delta x) \to f(x)

      • g(x+Δx)g(x)Δxg(x)\frac{g(x + \Delta x) - g(x)}{\Delta x} \to g'(x)

      • f(x+Δx)f(x)Δxf(x)\frac{f(x + \Delta x) - f(x)}{\Delta x} \to f'(x)

  • Product Rule Formula: If h(x)=f(x)g(x)h(x) = f(x)g(x), then h(x)=f(x)g(x)+g(x)f(x)h'(x) = f(x)g'(x) + g(x)f'(x).

    • Mnemonic: "First times derivative of the second, plus second times derivative of the first."

  • Example application (implied, not fully worked out): To find the derivative of xsinxx \sin x, use f(x)=xf(x)=x and g(x)=sinxg(x)=\sin x.

Quotient Rule
  • The quotient rule applies to functions that are ratios of two other functions.

  • Formula: If h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)}, then h(x)=g(x)f(x)f(x)g(x)[g(x)]2h'(x) = \frac{g(x)f'(x) - f(x)g'(x)}{[g(x)]^2}.

    • Mnemonic (common for "low d high minus high d low over low squared"): "Low dee High minus High dee Low over Low Low (or Low Squared)."

Rates of Change and Motion
Average vs. Instantaneous Rate of Change
  • Average Rate of Change: The slope of the secant line between two points on a curve. Calculated as ΔyΔx=f(x<em>2)f(x</em>1)x<em>2x</em>1\frac{\Delta y}{\Delta x} = \frac{f(x<em>2) - f(x</em>1)}{x<em>2 - x</em>1}.

    • Example: Average velocity of a car traveling 100100 miles in 22 hours is 5050 mph, regardless of speed fluctuations.

  • Instantaneous Rate of Change: The slope of the tangent line at a single point on a curve. This is given by the derivative.

    • Calculus allows us to find instantaneous rates, unlike precalculus which focuses on average rates.

  • Applications of rates of change: population growth, production rates, water flow rates, velocity, and acceleration.

Motion Along a Straight Line
  • Used to describe the movement of a particle or object along a horizontal or vertical line.

  • Position Function: s(t)s(t) gives the object's position at time tt.

    • Delta ss (Δs\Delta s) is the change in position over a time interval delta tt (Δt\Delta t).

    • Average velocity over a short time interval: Average Velocity=ΔsΔt=s(t+Δt)s(t)Δt\text{Average Velocity} = \frac{\Delta s}{\Delta t} = \frac{s(t + \Delta t) - s(t)}{\Delta t}.

  • Velocity Function: v(t)v(t) is the instantaneous rate of change of position, or the derivative of the position function.

    • Formula: v(t)=s(t)=limΔt0s(t+Δt)s(t)Δtv(t) = s'(t) = \lim_{\Delta t \to 0} \frac{s(t + \Delta t) - s(t)}{\Delta t}.

    • Velocity can be positive (moving right/up), negative (moving left/down), or zero (at rest).

  • Speed: The absolute value of velocity.

    • Formula: Speed=v(t)=s(t)\text{Speed} = |v(t)| = |s'(t)|.

    • Speed is always non-negative.

  • Acceleration Function: a(t)a(t) is the rate of change of velocity, or the derivative of the velocity function (and the second derivative of the position function).

    • Formula: a(t)=v(t)=s(t)a(t) = v'(t) = s''(t).

Free-Fall Position Function (Standard Physics Formula)
  • For an object moving purely under gravity (vertical motion), the position function is given by: s(t)=12gt2+v<em>0t+s</em>0s(t) = \frac{1}{2}gt^2 + v<em>0t + s</em>0

    • Where:

      • gg is the acceleration due to gravity. (This will be negative in common physics applications as it pulls downwards).

      • Constants for gg:

        • Metric system: g=9.8 m/s2g = -9.8 \text{ m/s}^2

        • English units: g=32 ft/s2g = -32 \text{ ft/s}^2

      • v0v_0 (read as "v nought" or "v sub zero") is the initial velocity (velocity at time t=0t=0).

      • s0s_0 (read as "s nought" or "s sub zero") is the initial position or initial height (position at time t=0t=0).

  • Example: Diver Jumping from a Platform

    • Initial height (s0s_0): 3232 feet.

    • Initial upward velocity (v0v_0): 1616 feet per second.

    • Position function (using g=32 ft/s2g = -32 \text{ ft/s}^2):
      s(t)=12(32)t2+16t+32s(t) = \frac{1}{2}(-32)t^2 + 16t + 32
      s(t)=16t2+16t+32s(t) = -16t^2 + 16t + 32

    • Question 1: When does the diver hit the water?

      • Set s(t)=0s(t) = 0 (height above water is zero).

      • 16t2+16t+32=0-16t^2 + 16t + 32 = 0

      • Divide by 16-16: t2t2=0t^2 - t - 2 = 0

      • Factor: (t2)(t+1)=0(t-2)(t+1) = 0

      • Solutions: t=2t=2 or t=1t=-1.

      • Since time cannot be negative in this context, the diver hits the water at t=2t=2 seconds.

    • Question 2: What is the velocity at impact?

      • First, find the velocity function v(t)v(t) by taking the derivative of s(t)s(t):
        s(t)=v(t)=ddt(16t2+16t+32)s'(t) = v(t) = \frac{d}{dt}(-16t^2 + 16t + 32)
        v(t)=32t+16v(t) = -32t + 16 (constant term 3232 becomes 00; 16t16t becomes 1616; 16t2-16t^2 becomes 32t-32t).

      • Now, plug in the impact time t=2t=2 into v(t)v(t):
        v(2)=32(2)+16=64+16=48v(2) = -32(2) + 16 = -64 + 16 = -48

      • The velocity at impact is 48-48 feet per second. The negative sign indicates the diver is moving downwards.