Definition - Derivative

The derivative of a function is the equation that gives the value of the slope of a tangent line for any point along that function. In this unit we will explore the many methods for calculating a derivative and the many interpretations of what a derivative means.

The derivative of a function f(x), is f’(x), which is equal to

f'(x) =

f(x + h) - f(x)

h

This definition is the basic principle of how calculus works, we will go on to expand on it and write it in simpler more elegant forms.

NOTE: Below are different notations you may see to represent the derivative of a function, in this case, The derivative of a function f(x) can be written as,

f’(x)

D(f) or D(f(x))

In these examples we will calculate the derivative using the fundamental formula.

Below we have the graphed function y = f(x) = 3.

a) Estimate the slope at x = -1, 0, 1

b) Use the fundamental formula:

f'(x) =

f(x + h) - f(x)

h

to determine the derivative of the function y = f(x) = 3.

a) Looking at our graph, we can see we have a straight horizontal line, which you may have realised given the function f(x) = 3. When a function equals a constant we will always have a straight horizontal line with the slope always equal to 0, no matter what x-value we have.

So we can say that the slope at point x = -1, x = 0 and x = 1 will all be 0. We can also try subbing in those x-values into the function, f(-1) = 3, f(0) = 3, f(1) = 3. We are always given the same value for y (from the function).

b) Now we try using the fundamental formula to calculate the derivative that would give us the the formula for the slope at each point *x*.

f'(x) =

f(x + h) - f(x)

h

Lets start by writing what f(x + h) and f(x) are equal to,

We know that f(x) = 3,

For f(x + h), we would normally sub in (x + h) into our *x* slot in the function, but here there is no *x* slot, so,

f(x + h) = 3

Now subbing these values into

f'(x) =

f(x + h) - f(x)

h

We get,

f'(x) =

3 - 3

h

f'(x) =

0

h

= 0,

Therefore, the derivative of the function f(x) is

f’(x) = 0

If f(x) = k, for any number *k*, then f’(x) = 0

a) Use the fundamental formula:

f'(x) =

f(x + h) - f(x)

h

to calculate the derivative of y = f(x) = 4x^{2}.

b) Use the derivative found in a) to calculate the slope of the tangent at the point (1, 4)

a) Calculating the derivative of y = f(x) = 4x^{2} using the formula, we first write what f(x + h) and f(x) are:

f(x + h) = 4(x + h)^{2} =

4(x^{2} + 2xh + h^{2}) =

4x^{2} + 8xh + 4h^{2}

f(x) = 4x^{2}

Sub these values into,

f'(x) =

f(x + h) - f(x)

h

f'(x) =

4x^{2} + 8xh + 4h^{2} - 4x^{2}

h

f'(x) =

8xh + 4h^{2}

h

*h* cancelling out on the bottom and eliminating some of the *h* terms on the top,

f'(x) = (8x + 4h)

Now we have f’(x) equals the limit of *h* approaching zero, so

f’(x) = ( 8x + 4(0) )

f’(x) = 8x,

So this gives us the derivative of the function f(x) = 4x^{2}, this formula of f’(x) = 8x will tell us the slope of the tangent to any point, *x* in the function f(x).

b) Now we need to find the slope of the point (1, 4) in the function f(x), we do this by subbing in the x-value from (1, 4) into f’(x),

f’(x) = 8x

f’(1) = 8(1)

f’(1) = 8

So, the slope of the tangent at the point (1, 4) is 8.

A function is differentiable at a point, x, if the function has a derivative at *x*.

The Tangent line Formula:

If a function is differentiable at *a*, the tangent line equation to the function at a point (a, f(a)) is

y = f(a) + f’(a)(x - a)

Definition - Derivative of Sine and Cosine

D(sin(x)) = cos(x)

D(cos(x)) = -sin(x)

There are many ways of representing a derivative, and many terms that are commonly used in the world which are the same as a derivative. Below is a list of some of them.

Velocity - If the position of an object at time *x* is f(x) , then the velocity of the object at time *x* is f’(x). If the units for *x *are hours and f(x) is distance measured in miles, then the units for f '(x) = df dx are miles hour , miles per hour, this is **velocity**.

Acceleration - If the velocity of an object at time, *x* is f(x), then the **acceleration** of that object is represented by f’(x). If the velocity is in miles per hour, then the acceleration is in miles per hour per hour or miles / hour^{2}.

Magnification - For a function f(x), the **magnification** of that function is f’(x).

Marginal Cost - If the total cost of *x* is f(x) then the **marginal cost** is f’(x) at production level of *x*.

Marginal Profit - If the total profit from producing and selling a product *x* is f(x) then f’(x) is the **marginal profit**.

In Differentiation we will more often than not be dealing with variables that have exponents. The Power Rule is a very useful formula and method for differentiating these exponents.

Definition - Power Rule

The Power Rule - If *n* is a positive integer and *x* is any variable,

then the derivative of x^{n}, (D(x^{n})) is n(x^{(n-1)})

D(x^{n}) = n(x^{(n-1)})

So to derive a variable with an exponent, the power rule is to multiply the original variable by the value of the exponent, and then subtract the exponent of the variable by one. We will practice this method below, but one way to always think of it is “multiply down and subtract 1 from the power”.