Calculus How To

Derivatives / Differential Calculus: Definitions, Rules


polynomial extreme values

The derivative is another name for the slope of a tangent line at a point. Here, the derivatives at points A and B are zero.

Contents:

The Basics

  1. What is a Derivative?
  2. The Formula (Simple Example)
  3. TI-89 Examples
  4. Differentiation Notation

Rules for Derivatives

  1. Constant Factor Rule
  2. The Product Rule
  3. Chain Rule
  4. Functions with exponents (the power rule).
  5. The Quotient Rule
  6. Reciprocal Rule: Definition, Examples
  7. The Sum Rule

Specific Functions

  1. How to Find the Derivative of Simple Functions:
  2. Inverse Function derivatives.
  3. Derivative of a Trigonometric Function.

More Definitions & Examples

  1. Continuous Derivative
  2. Critical Numbers
  3. Directional Derivatives
  4. Epiderivatives
  5. Explicit Differentiation
  6. Exterior Derivative
  7. Faà di Bruno’s Formula: Definition, Example Steps
  8. Fourth Derivatives
  9. Fractional Calculus
  10. Fifth Derivative (Crackle)
  11. First Derivative Test
  12. General Leibniz Rule
  13. Higher Order Derivatives
  14. Implicit Differentiation
  15. Linearity of Differentiation
  16. Logarithmic Derivative
  17. Mixed Derivative (Partial, Iterated)
  18. Nth derivative
  19. Numerical Differentiation
  20. One Sided Derivative
  21. Partial Derivative
  22. Polar Derivative
  23. Second Derivative Test
  24. Third Derivatives
  25. Total Differential / Derivative: Formula, Example
  26. When is a function not differentiable?

What is a Derivative?

Simply put, it’s the instantaneous rate of change. It tells you how quickly the relationship between your input (x) and output (y) is changing at any exact point in time.

The formula gives a more precise (i.e. more mathematical) definition.

The Formula

derivative definition

There are short cuts, but when you first start learning calculus you’ll be using the formula.

It’s not uncommon to get to the end of a semester and find that you still really don’t know exactly what one is! That’s because the definition isn’t immediately intuitive; you really get to grasp what one is after you’ve practiced—and practiced. It’s like knowing what an embouchure is in clarinet playing; you can be told that it’s a tongue placement, but it takes many weeks (sometimes months) of practice before you really get a good grasp of the perfect enbouchere and why it’s important.

Why is The Derivative Important?

Very basically, they are important because they allow you to extract information you didn’t know was there. For example, if you know where an object is (i.e. you have a position function), you can use the derivative to find velocity, acceleration, or jerk (rate of change of acceleration). How? The derivative of…

  • …position is velocity.
  • …velocity is acceleration.
  • …acceleration is jerk.

You can keep on taking derivatives (e.g. fourth, fifth), extracting more and more information from that simple position function. And it doesn’t just work with position; Calculus can work with any function.


Example problem #1: Find the derivative of f(x) = √(4x + 1)

Step 1: Insert the function into the formula. The function is √(4x + 1), so:
f'(x) = lim Δx → 0 √( 4( x + Δx ) + 1 – √(4x + 1) ) / Δx.
If this looks confusing, all we’ve done is changed “x” in the formula to x + Δx in the first part of the formula.

Step 2: Use algebra to work the formula. Here’s where you’ll benefit from strong algebra skills, because every formula is different.

  1. Multiply the top and the bottom by √( 4( x + Δx) + 1 + √(4x + 1):
    f'(x) = lim Δx → 0 √( 4( x + Δx) + 1 – √(4x + 1) ) * √( 4( x + Δx) + 1 + √(4x + 1) / Δx* √( 4( x + Δx) + 1 + √(4x + 1)
    which reduces to:
    = lim Δx → 0 4(x + Δx) + 1 – (4x + 1) / Δx(√ (4x + Δx) + 1) + √ 4x + 1
  2. Distribute the 4:
    = lim Δx → 0 (4x + 4Δx + 1 – 4x – 1) / (Δx(√ (4x + Δx) + 1) + √ (4x + 1)
  3. Delete terms. In this case you can delete 4x, Δx and 1.
    = lim Δx → 0 4 / ((√ (4x + Δx) + 1) + √ 4x + 1))

Step 3:Take the limit. The Δx will drop out (because it’s an insignificant increment). Again, strong algebra skills will help here:
= 4 / ((√ (4x + 1) + √ 4x + 1)
= 4 / 2 √(4x + 1)
= 2 / √(4x + 1)

That’s it!

Back to Top.

TI-89 Derivative Examples

Finding derivatives on the TI 89 or the TI 89 Titanium involves the same steps. That’s because the two calculators are essentially the same, except for a few bells and whistles on the Titanium, like extra memory. These upgrades don’t affect how you find derivatives.

  1. Derivative TI 89/Titanium Steps
  2. Evaluate a derivative at a specific value,
  3. Finding higher derivatives (2nd, 3rd…),

TI 89/Titanium Steps

Example problem: Find the derivative of f(x) = 3x.

Step 1: Press F3.

Step 2: Select “1: d( differentiate”. Use the down arrow key or type “1” to select it.

Step 3: Press ENTER.

Step 4: Type in a function, followed by a comma. For example, if your function is 3x then type “3x,”.
derivative 3x

Step 5: Type X.

Step 6: Type a closing parenthesis symbol.

Step 7: Press ENTER. The solution (3 in this example) is on the right of the screen.
solution to common derivatives

2. Evaluate a Derivative at a Specific Value

Step 1: Follow Steps 1 through 4 above.

  1. Press The F3 button
  2. Select “1: d( differentiate”
  3. Press ENTER
  4. Type your function name, followed by a comma.
  5. Type X

Step 2: Close the parentheses “)”, then type a vertical bar (called the “with” symbol). On the TI-89, you’ll find the “|” key on the left hand side. Don’t press enter yet.

Step 3: Type the value you’re trying to find. For example, type x=3 if you’re trying to find the value of a derivative at x = 3. Press ENTER.

3. Finding Higher Derivatives (2nd, 3rd…)

Example problem: Find the second derivative of f(x) = 3x2 on the TI 89.

Step 1: Follow Steps 1 through 4 in the first section above:

  1. Press The F3 button
  2. Select “1: d( differentiate”
  3. Press ENTER
  4. Type your function name (3x2), followed by a comma.
  5. Type X

Step 2: Type a comma, then the number of the derivative you’re trying to find. For this example, you want to find the second derivative, so type “2”. You should have the following syntax:

d(3x^2,x)|x=2

Step 3: Press ENTER.

That’s it! You’re done!

Fractional Calculus and the Half Derivative

Watch this 10 minute introduction, or read on below:

Fractional calculus is when you extend the definition of an nth order derivative (e.g. first derivative, second derivative,…) by allowing n to have a fractional value.

Back in 1695, Leibniz (founder of modern Calculus) received a letter from mathematician L’Hopital, asking about what would happen if the “n” in Dnx/Dxn was 1/2. Leibniz’s response: “It will lead to a paradox, from which one-day useful consequences will be drawn.”

There is no obvious graphical understanding of fractional calculus, and the basic rules we have derived for classical calculus do not all apply—or become very complicated. Simple ideas like the basis for the chain rule or product rule are no longer simple ideas when it comes to this new kind of calculus, and sometimes they just don’t work.

Simple Example of Fractional Calculus: the Derivative of a Power Function

Calculating the derivative of a power function is one of the simplest tasks in calculus, so it is perhaps a good place to begin exploring how a half derivative function might behave.

Let’s define our function of interest, f(x), as:
power function

Our knowledge of calculus tells us that the first derivative will be

first derivative

And we can repeat this a times to get the generalized result
derivative formula for fractional calculus
Now we know that the factorial is equivalent to the gamma function,

gamma function

We can substitute that in in the general formula above, which leaves us with
fractional calculus example

Now, to find the half derivative, we have to substitute k = 1 and a = ½.
fractional calculus half derivative

In the graph below, this half derivative is graphed in purple, alongside the original function (in blue) and the first derivative (in red).

Graph of first and half derivatives in fractional calculus

Directional Derivative

The directional derivative tells you the instantaneous rate of change of a function in a particular direction.

You can write this type of derivative as:

Directional Derivative

That notation specifies you are looking at the rate of change for the function f(x,y,z) at a specific point (x0, y0, z0). The symbol ∇ is called “nabla” or “del“.

This idea is actually a generalization of the idea of a partial derivative. For a partial derivative, you take the rate of change along one of the coordinate curves while holding all other coordinates constant. For a directional derivative, you must take into account all parts of your directional vector.

Directional Derivative of a Scalar Function

The directional derivative of a scalar function (i.e. a one dimensional function) is relatively easy to define. Along a vector v, it is given by:

Scalar Case of a Directional Derivative

This represents the rate of change of the function f in the direction of the vector v with respect to time, right at the point x.

Properties of the Directional Derivative

There’s one particularly good thing about the directional derivative; many of the properties of the ordinary derivatives hold for it as well.

For example, if our functions f and g are differentiable at a point p:

Epiderivatives

Epiderivatives are derivatives given by epigraphs (the set of points lying on or above a function’s graph) in set-valued optimization problems.

The method unifies the delta and nabla approaches to calculus of variations on time scales (Girejko, et al., 2010).

Epiderivative Definition

Epiderivatives generally fall into the categories of:

  • Contingent epiderivatives (introduced by Jahn & Rauh in 1997) or
  • Generalized contingent epiderivatives.

The set-valued contingent derivative of a set-valued function H at a c pertain point is the map with a graph equaling the Bouligand contingent cone of the graph of H at the chosen point (Bigi & Castellani, 2002). More formally, it can be described using notation:

A contingent epiderivative of F at (x, y) is defined as (Rodriguez-Marin et al., 1997):

“…A single-valued map DF (x, y): X → Y whose epigraph coincides with the contingent cone to the epigraph of F at (x, y) i.e. epi (DF (x, y) = T (epi(F), (x, y).”

The generalized contingent epiderivative of F at (x, y) is defined as the following set-valued map:
Dg F (x, y): X → 2Y if
Dg F (x, y) (x) = Min ({y ∈ Y: (x, y) ∈ T (epi(F), (x, y))}).

Higher Order Derivatives

Higher order derivatives are any derivative other than the first (Second, third, fourth, …). The derivative of a function is also a function, so you can keep on taking derivatives until your function becomes f(x) = 0 (at which point, it isn’t possible to take the derivative any more).

Taking the derivative over and over again might seem like a pedantic exercise, but higher order derivatives have many uses, especially in physics and engineering.

Example of Finding Higher Order Derivatives

polynomial extreme values

A derivative is the slope of a tangent line at a point. Here, the derivatives at points A and B are zero.

The first derivative of the function f(x) = x4 – 5x2 + 12x – 13 is:
f′(x) = 4x3 – 10x + 12 (found using the power rule).

But you can differentiate that function again. As you’re differentiating two times, it’s called the second derivative. Using the power rule again, you get: f′′(x) = 12x2 – 10

You can keep on taking the derivative of this particular function five times, when the fifth derivative equals zero. You can’t take a derivative of zero, so you’ll stop there.

Higher Derivatives of the Position Function

Higher order derivatives have many theoretical uses, but they also have a few practical ones. Exactly what kind of information you extract depends upon what kind of function you start with. For example, let’s say you start with a position function.

The first derivative of the position function gives you the velocity function, which gives you the velocity of the object.

The second derivative (of the position function) gives you the object’s acceleration.

The third derivative gives you the jerk— the rate of change of acceleration. It’s called a “jerk” because that’s how a quick change in acceleration feels. Imagine being on a descending elevator that slows down suddenly: that jerking sensation you feel is due to the change acceleration.

The fourth derivative of the position function gives the rate of change of the “jerk”. At this point, the higher order derivatives become more theoretical, but they do have some important uses, especially in safety of high velocity objects (like roller coasters!).

What is the Third Derivative?

The third derivative is the derivative of the second derivative. In other words, it’s the rate of change or slope of the curve of the second derivative.

Jerks and Lurches

The third derivative of the position function is called a jerk, which is the rate of change of acceleration. Let’s suppose that s(t) is an object’s position function:

It’s called a jerk (or, less commonly, jolt, lurch, or surge) because changes in acceleration tend to feel “jerky”, especially large ones. A smooth elevator ride feels exactly like that— smooth. But ride on the Tower of Terror, an accelerated drop tower in Disney World’s Hollywood Studios, your stomach will tell you why changes in acceleration are also called “lurches”.

Notation

For any function f(x), f′′′(x) can be defined by several different notations, all of which mean the same thing (from Stewart, 2009):
third derivative

Example

General steps:

  • Take the derivative of the function (using established derivative rules). This is called the first derivative.
  • Take the derivative of the new function (i.e. the first derivative). This new function is called the second derivative.
  • Take the derivative a third time.

Example : What is the third derivative of f (x) = xn?
Solution, using the power rule multiple times:

  1. f′(x) = nxn − 1
  2. f′′′(x) = n(xn − 1)′ = n(n − 1) xn − 2
  3. f′′′(x) = n(n − 1)(xn − 2)′ = n(n − 1)(n − 2) xn − 3

Fourth and Higher Derivatives

Fourth and higher derivatives are less common. In order to find the fourth derivative, take the derivative another time (i.e. take the derivative of the 3rd derivative). Essentially, you can keep on going on and on to infinity with taking derivatives—it is possible to find the hundredth or thousandth or millionth derivative. However, in reality (and with the types of equations you are likely to encounter), you’ll likely only be able to take derivatives up to the fifth derivative. After that, you’ll probably end up with a constant—and while second, third, and fourth derivatives can give you useful information about a function’s behavior, the hundredth derivative does not.

Sixth Derivative

The sixth derivative (also called pop or pounce) is the result of taking the derivative of a function (usually, the position function) six times. In other words, it’s the derivative of the fifth derivative.

Higher order derivatives, like this one, are rarely seen outside of physics. And when they do occur, they are not usually of much importance. In physics, you would usually find an approximation using a Taylor series, rather than go through the laborious process of finding sixth derivatives. For simple functions, like the one below, finding the sixth derivative is relatively easy. But most real world problems are going to involve functions of greater complexity, which means you’re going to want to approximate the answer with a Taylor series anyway.

Sixth Derivative: Example Problem

Example question: What is the sixth derivative of f(x) = x6 – 3x4 + 9 x – 11?

Solution: Use the power rule and constant rule to take the derivatives six times:

  1. f′(x) = 6x5 – 12x3 + 9 (First derivative)
  2. f′′(x) = 30x4 – 36x2 (Second derivative)
  3. f′′′(x) = 120x3 – 72x (Third derivative)
  4. f(4) = 360x2 – 72 (Fourth derivative)
  5. f(5) = 720x (Fifth derivative)
  6. f(6) = 720 (Sixth derivative)

Snap, Crackle, and Pop

The sixth derivative is called pop after the Snap, Crackle, and Pop of Rice Krispies. J. Codner et al came up with those names (see footnote 17 in Scott et al.) in response to a question asked on the USENET sci.physics newsgroup.

Related Articles

References

Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 11, 1972.
Anton, H. Calculus: A New Horizon, 6th ed. New York: Wiley, 1999
Beyer, W. H. “Derivatives.” CRC Standard Mathematical Tables, 28th ed. Boca Raton, FL: CRC Press, pp. 229-232, 1987.
Bigi, G. & Castellani, M. (2002). K-epiderivatives for set-valued functions and optimization. Mathematical Methods of Operations Research. 401-412.
Girejko, et al., The contingent epiderivative and the calculus of variations on time scales. in Optimization—A Journal of Mathematical Programming and Operations Research. 2010.
Griewank, A. Principles and Techniques of Algorithmic Differentiation. Philadelphia, PA: SIAM, 2000.
Jahn, J. Rauh, R. Contingent epiderivatives and set valued optimization
Math. Methods Oper. Res., 46 (1997), pp. 193-211
Khan, A. et al. (2015). Set-valued Optimization: An Introduction with Applications (Vector Optimization). Springer.
Kimeu, Joseph M., “Fractional Calculus: Definitions and Applications” (2009). Masters Theses & Specialist Projects. Paper 115. digitalcommons.wku.edu/theses/115 Retrieved from https://digitalcommons.wku.edu/cgi/viewcontent.cgi?article=1115&context=theses on April 12, 2018
Kisak, P. (Ed.) (2017). An Overview of Jerk Physics: ” The Meaning of The 3rd Derivative “.
ScienceDirect Fractional Derivatives & Calculus. Retrieved from https://www.sciencedirect.com/topics/physics-and-astronomy/fractional-calculus on April 8, 2019
Rodriguez-Marin, L. & Sama, M. About Contingent Epiderivatives. J. Math. Anal. Appl. 327 (2007). 745-762.
Scott, J. Some Simple Chaotic Jerk Functions in Am. J. Phys., Vol. 65, No. 6, June.
Stewart, J. (2009). Calculus: Concepts and Contexts. Cengage Learning.
Stewart, James. Calculus: Early Transcendentals. Partial Derivatives: Directional Derivs and the Gradient Vector. Retrieved from https://math.libretexts.org/Bookshelves/Calculus/Map%3A_Calculus_-_Early_Transcendentals_(Stewart)/14%3A_Partial_Derivatives/14.6%3A_Directional_Derivatives_and_the_Gradient_Vector on July 27, 2019.
TI89 Users Manual.
Troltzsch , F. Optimal Control and Differential Equations. Maik Nauka/Interperiodica Publishing, 1995.
Viljoen, C & Van der Merwe, L. (1999). Elementary Statistics: Calculations & Interest for Business & Economics. Pearson South Africa.

------------------------------------------------------------------------------

Need help with a homework or test question? With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!