# How to Compute Derivatives

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Calculating Derivatives of Constant Functions

### You're on a roll. Keep up the good work!

Replay
Your next lesson will play in 10 seconds
• 0:04 Derivatives
• 1:08 Computing Derivatives
• 2:06 Example
• 3:36 Another Example
• 4:17 Formulas for Derivatives
• 5:43 Lesson Summary
Save Save

Want to watch this again later?

Timeline
Autoplay
Autoplay
Speed Speed

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor
Laura Pennington

Laura received her Master's degree in Pure Mathematics from Michigan State University. She has 15 years of experience teaching collegiate mathematics at various institutions.

Expert Contributor
Matthew Bergstresser

Matthew has a Master of Arts degree in Physics Education. He has taught high school chemistry and physics for 14 years.

This lesson briefly reviews what the derivative of a function is. Then we will look at the limit definition of a derivative, use it to compute derivatives, and see a few shortcuts that result from the limit definition of derivatives.

## Derivatives

Suppose you've just watched a car race on an out-and-back course. The drivers drove 2,800 feet out and 2,800 feet back. The winner of the race drove in such a way that her distance from the start can be modeled using the function:

f(x) = -7x2 + 280x

where x is the number of seconds since the start of the race.

As she was bragging about first place, someone asked her how fast she was going. She realized that she knew her speed was different at different points in the race, but she wasn't sure how to find how fast she was going at any given point. Hmmm... any ideas? Thankfully, there is a mathematical answer to this conundrum, and that answer lies in derivatives.

The derivative of a function is the rate at which the function value is changing, with respect to x, at a given value of x. Therefore, if we can find the derivative of the winner's distance function, then we can find how fast she was going at any given time in the race. Let's take a look at how to do this!

## Computing Derivatives

You may recall something called the difference quotient from an algebra or pre-calculus course. The difference quotient of a function f(x) is a formula that gives the slope of the line through any two points with x-coordinates x and x + h on the function:

(f(x + h) - f(x)) / h

This is the key to computing derivatives. Derivatives are computed by finding the limit of the difference quotient of a function as h approaches 0, like you can see below.

Basically, we can compute the derivative of f(x) using the limit definition of derivatives with the following steps:

1. Find f(x + h).
2. Plug f(x + h), f(x), and h into the limit definition of a derivative.
3. Simplify the difference quotient.
4. Take the limit, as h approaches 0, of the simplified difference quotient.

## Example

So consider our racing function f(x) = -7x2 + 280x. First, we find f(x + h):

f(x + h) = -7(x + h)2 + 280(x + h) = -7(x2 + 2xh + h2) + 280x + 280h = -7x2 - 14xh - 7h2 + 280x + 280h

Now, we plug into the limit definition, simplify, and find the limit, as you can see here.

All right. Now that you've done that, we see that the derivative of f(x) is:

f ' (x) = -14x + 280

We can use this formula to calculate the winner's speed at any time during the race. For instance, consider her speed after 10 seconds. We plug x = 10 into the derivative formula:

f ' (x) = -14(10) + 280 = 140

We get that the derivative of f at x = 10 is 140, so at 10 seconds into the race, she was driving at 140 mph! Wow, that's so fast!

## Another Example

Okay, one more example of using this limit definition to compute a derivative. Consider the function g(x) = 1 / x, where x â‰  0. To find the derivative using the limit definition of derivatives, we first find g(x + h):

g(x + h) = 1 / (x + h)

To unlock this lesson you must be a Study.com Member.

## Derivatives

Derivatives are basically the slope of tangent lines on a graph. Tangent lines are lines that touch one point of a curve only. Derivatives are used in many different academic fields, including physics, chemistry and even economics. There are many rules or taking derivatives of equations, but we will focus on the using limits to determine the derivative of an equation. Here are some practice problems taking deriviatives.

### Practice Problems

Take the derivatives of the following equations:

1. y = 3x - 4
2. y = x / 2 + 9
3. d = x2 - x

### Solutions

1. y = 3x - 4

f(x + h) = 3(x + h) - 4

The expression for the limit is (3(x + h) - 4 - (3x - 4)) / h as h goes to 0.

(3x + 3h - 4 - 3x + 4 ) / h

3h / h

y' = 3

2. y = x / 2 + 9

The expression for the limit is ((x + h) / s + 9 - (x / 3 + 9)) / h as h goes to 0.

((x + h) / 2 + 9 - x / 2 - 9) / h

((x + h) / 2 - x / 2) / h

h / 2 / h

y' = 1/2

3. d = x2 - x

The expression for the limit is ((x + h)2 - (x + h) - (x2 - x)) / h as h goes to 0.

(x2 + 2xh + h2 - x - h - x2 + x) / h

(2xh + h2-h) / h

2x + h - 1

Since h goes to 0, we end up with d' = 2x - 1.

### Register to view this lesson

Are you a student or a teacher?

#### See for yourself why 30 million people use Study.com

##### Become a Study.com member and start learning now.
Back
What teachers are saying about Study.com

### Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.