Why do we need derivatives? In maths, we often want to understand how something is changing. For example, we might want to know how quickly a car is speeding up, how the temperature changes during the day, or how the population of a town is growing. It is not always enough to know the value of something, we also want to know how fast it is changing.

This idea of a rate of change is the motivation for derivatives. You may already know how to calculate an average rate of change, for example by looking at how much the distance travelled changes over a certain amount of time. A derivative takes this idea further: it tells us how something is changing at a particular moment. In this way, the derivative gives us information about the behaviour of a function (speed, temperature, etc.), such as whether it is increasing or decreasing and how quickly it is doing so.

Derivatives are useful in many different situations. They can help us understand motion, find maximum and minimum values, and study how different quantities are related. You do not need to think of derivatives as just a collection of rules to memorise. The important idea is that a derivative describes change. Learning about derivatives gives us a new way of looking at functions and helps us answer questions such as: How quickly is this changing? When is it increasing most rapidly? When does it reach its highest or lowest value?

The First Derivative

Imagine a car travelling along a road. Its position changes as time passes. If we take two points, and connect them with a line, the slope of that line is the average speed between those two points. The derivative of its position, at any point, tells us its speed at a particular moment. In the same way, the derivative of a function tells us how quickly its value is changing. The first derivative therefore gives us useful information about the shape and behaviour of a graph.

Rendered by QuickLaTeX.com

The graph of d(t) is not a straight line. That is, at certain moments the car is driving faster than at others (covering more distance in the same time). Thus, the speed of the car changes as a function of the time. The derivative allows us to study the speed using the function d(t).

In order to create the dashed red line that gives us the average speed we need two points. The derivative allows us to understand the instantaneous speed at any one point.

Rendered by QuickLaTeX.com

This special line, that was created using only one point and has a very specific slope is called a tangent line. We will learn more about these in our next lesson but we can already say it is tightly related to the derivative.

For now, we just need to understand what the derivative does, and how to find it. Let f(x) be a function, its first derivative is denoted f'(x) or \frac{df}{dx}. We use the notation with the apostrophe more commonly, but \frac{d}{dx} can also be seen.

Rules of Differentiation

In 3 periods maths, and particularly in S6, we are only concerned with finding derivatives of polynomials. Therefore, we only have a handful of rules to understand. There are four rules that concern us about derivatives, these are:

Claim (Fundamental Rules for Derivatives): Let f(x) and g(x) be differentiable functions, and let c, k, and n be any real constants. The differentiation operator satisfies the following foundational rules:

  1. Derivative of a Constant: The rate of change of any fixed constant value is exactly zero:

        \[(c)' = 0\]

  2. Constant Multiple Rule: A constant coefficient factors completely out of the differentiation process:

        \[\big(k \cdot f(x)\big)' = k \cdot f'(x)\]

  3. The Power Rule: For any real number power n, the derivative scales by the exponent and drops the variable’s power by one:

        \[(x^n)' = n \cdot x^{n-1}\]

  4. Sum and Difference Rule: The derivative of a sum or difference equals the sum or difference of their individual derivatives:

        \[\big(f(x) \pm g(x)\big)' = f'(x) \pm g'(x)\]

The first and second rules should be easy to understand intuitively. If a function is constant, then the rate of change must be 0 because it does not change. Furthermore, if you look at the graph above, and we make the car at every instance twice as fast, then it makes sense that every conclusion at every point (or average of two points) is also doubled. Let us see these rules in action:

Example (Applying Differentiation Rules): Differentiate the following functions step by step, explicitly demonstrating each of the fundamental derivative rules:

  1. f(x) = 14 (Constant Rule)
  2. f(x) = x^5 (Power Rule)
  3. f(x) = 3x^4 (Constant Multiple Rule)
  4. f(x) = 2x^3 - 7x^2 + 5 (Sum and Difference Rule combined with all rules)

In essence, we will mostly be concerned with deriving (differentiating) polynomials, so let us see a few more examples of those.

Example (Finding the Derivative of Polynomial Functions): Find the derivative function for each of the following 4 different polynomial expressions by applying the basic rules of differentiation:

  1. f(x) = x^3 - 4x^2 + 7x - 9
  2. g(x) = 5x^4 + 2x^3 - x^2 + 11
  3. h(x) = \frac{1}{2}x^6 - 6x^5 + 8x
  4. k(x) = (x^2 - 3)(4x + 1) (Expand first into a single polynomial expression)

As you can see from all of these examples, the derivative of a function is also a function. As such, it will depend on the same variable and we can replace different values of x (or t depending on the example) to find different points belonging to the graph of the derivative. We will make more sense of why we would do this in the coming pages.

Instantaneous vs Average Rate of Change

Now we can go back to our original discussion and defined average vs instantaneous rate of change.

Definition (Rates of Change): The rate at which a variable changes relative to an independent variable can be evaluated either over an interval or at a single exact point.

1. Average Rate of Change:

The average rate of change of a function f(x) over an interval [a, b] is the ratio of the change in the output values to the change in the input values. Geometrically, it represents the slope of the line connecting the two coordinate endpoints (a, f(a)) and (b, f(b)) on the curve:

    \[\text{Average Rate of Change} = \frac{\Delta f}{\Delta x} = \frac{f(b) - f(a)}{b - a}\]

2. Instantaneous Rate of Change:

The instantaneous rate of change of a function f(x) at a point x = a is the average rate of change as the interval length goes to zero. Geometrically, it represents the slope of the tangent line to the curve at the point (a, f(a)), which is also f'(a). That is, replace x=a in f'(x):

    \[\text{Instantaneous Rate of Change} = f'(a)\]

The first definition corresponds to our first graph at the beginning of this page. The second definition corresponds to the second graph at the beginning of this page.

Example (Calculating Rates of Change): Consider the polynomial function modeling the position of an object defined by f(x) = x^2 + 3x + 2, where x represents time in seconds.

  1. Calculate the average rate of change of the function over the interval [1, 4].
  2. Calculate the instantaneous rate of change of the function at the exact moment x = 1.

Exercises

Find the derivative function (f'(x), g'(x), or h'(x)) for each of the following 7 simple functions by applying the constant rule, the power rule, or the constant multiple rule:

Part 1: Constant Function

  1. f(x) = 7

Part 2: Monomial Functions

  1. g(x) = x^7
  2. g(x) = x^{12}
  3. g(x) = x^{45}

Part 3: Constants Multiplied by Monomials

  1. h(x) = 4x^3
  2. h(x) = -6x^5
  3. h(x) = \frac{2}{3}x^6

Find the derivative function for each of the following 6 polynomial expressions by applying the constant, power, constant multiple, and sum/difference rules:

  1. f(x) = x^4 - 5x^3 + 2x^2 - 8x + 13
  2. g(x) = 3x^5 + 7x^4 - x^3 + 6x - 4
  3. h(x) = \frac{1}{3}x^6 - 4x^3 + 9x^2 - 1
  4. p(x) = 10x^8 - \frac{5}{2}x^4 + 3x
  5. q(x) = 2x(3x^2 - 4x + 5) (Hint: Expand the expression first)
  6. r(x) = (x^2 + 1)(2x - 3) (Hint: Expand the expression first)

The height of a model rocket in meters over time x in seconds is modeled by the polynomial function f(x) = -5x^2 + 40x + 2.

  1. Calculate the average rate of change (average velocity) of the rocket over the interval [1, 3] seconds.
  2. Calculate the instantaneous rate of change (instantaneous velocity) of the rocket at the exact moment x = 2 seconds.

The total cost f(x) in Euros to manufacture x hundred items at a factory is given by the function f(x) = 2x^3 - 9x^2 + 20x + 50.

  1. Calculate the average rate of change of the manufacturing costs over the production increase interval [2, 4] hundred units.
  2. Calculate the instantaneous rate of change (marginal cost) when exactly x = 3 hundred units are produced.

The graph of a function f(x) is plotted below. The dashed red line connecting the endpoints at x = 1 and x = 4 represents the average rate of change over the interval [1, 4].

Rendered by QuickLaTeX.com

Question: For which point (value of x) on the blue curve is the instantaneous rate of change equal to the average rate of change over the interval [1, 4]?

Hint: Remember that the instantaneous rate of change corresponds to the slope of a tangent line (a line touching the function only once). Use a straightedge or ruler: line it up with the dashed red secant line, and then carefully slide it across the grid while keeping it completely parallel until it intersects the blue curve only once. Identify the x-coordinate where this happens.

error: Content is protected!