Defining the Derivative of a Function and Using Derivative Notation
Why this matters
Imagine you're at Six Flags Over Texas, waiting to ride the Titan rollercoaster. As you crest that first massive 255-foot hill, you're moving slowly. Then, you plunge. Your speed changes every single millisecond on the way down. An engineer could tell you your average speed over the whole drop, but what if you want to know your exact speed at the very bottom, at that one specific instant you feel the most force? How would you measure that?
That single-moment speed is the core idea of the derivative. It's the speedometer for any function, telling us not the average rate of change over an interval, but the instantaneous rate of change at a precise point. In this lesson, we'll build the tool for this from the ground up: the limit definition of the derivative. We'll also learn how to use it to find the equation of a tangent line, which is the geometric picture of this instantaneous rate.
Concept overview
flowchart TD
A[Start with f(x) and a point x=a] --> B{Goal: Find slope of tangent line at x=a};
B --> C[Write the Difference Quotient<br>(f(x+h) - f(x)) / h];
C --> D[Place it in the Limit Definition<br>lim h->0 ...];
D --> E[Step 1: Algebraically simplify the numerator];
E --> F[Step 2: Factor out h from the numerator];
F --> G[Step 3: Cancel h from numerator and denominator];
G --> H[Step 4: Evaluate the limit by plugging in h=0<br>This gives the derivative function, f'(x)];
H --> I[Step 5: Substitute x=a into f'(x) to find the slope, m];
I --> J[Result: m = f'(a) is the slope of the tangent line];
Core explanation
Hello! I'm Saavi, and I'm so glad you're here. We're about to tackle one of the foundational ideas in all of calculus. It might seem abstract at first, but I promise it's built on a concept you already know very well.
From Algebra to Calculus: The Slope Problem
You know how to find the slope of a straight line. You pick two points, (x1, y1) and (x2, y2), and use the formula:
slope = (y2 - y1) / (x2 - x1)
This tells you the rate of change for the entire line, because it's constant. But what about a curve, like the path of a thrown baseball or the graph of f(x) = x^2? The "steepness" is always changing. How can we talk about the slope at a single point?
We can't use the slope formula with one point. But we can start by approximating it. Let's pick a point on our curve, (x, f(x)). Now, let's pick a second point that's super close to the first one. We'll say it's just a tiny horizontal distance, h, away. So the coordinates of our second point are (x + h, f(x + h)).
The line connecting these two points is called a secant line. Its slope is a pretty good estimate of the curve's slope at our original point, especially if h is small.
Using the slope formula, the slope of our secant line is:
m_secant = (f(x + h) - f(x)) / ((x + h) - x)
The denominator simplifies nicely:
m_secant = (f(x + h) - f(x)) / h
This expression is incredibly important. It's called the difference quotient. It represents the average rate of change between x and x + h.
The Magic of Limits
Now, how do we go from a good approximation (the secant line's slope) to the exact answer (the tangent line's slope)?
Imagine those two points on the curve getting closer and closer together. The secant line pivots, getting closer and closer to the true tangent line at our point x. The way we make the points get closer is by making the distance between them, h, shrink to zero.
And what's the tool we use in calculus to see what happens as a value approaches zero? The limit!
By taking the limit of the difference quotient as h approaches 0, we find the exact slope of the tangent line at the point x. This is the derivative.
The Limit Definition of the Derivative
The derivative of a function f, denoted f'(x), is:
f'(x) = lim(h→0) [ (f(x + h) - f(x)) / h ]
This formula is the heart of this lesson. It gives us a new function, f'(x), that tells us the slope of the original function f(x) at any value of x.
Think of it like this: f(x) might tell you your position at any time x. The derivative, f'(x), tells you your speed at any time x.
Notation, Notation, Notation
In math, we often have several ways to write the same thing. You'll see the derivative written in a few common ways. If we start with y = f(x), these all mean the same thing:
f'(x): Called "f prime of x". This is Newton's notation. It's clean and emphasizes the "function" nature of the derivative.dy/dx: Called "dee-y, dee-x". This is Leibniz's notation. It looks like a fraction because it comes from the slope formulaΔy/Δx, butdsignifies an infinitesimally small change.y': Called "y prime". This is just a shorthand forf'(x).
Don't let the different notations throw you. They are all asking for the same thing: find the derivative.
The Tangent Line Connection
So, what do we do with this? The most direct application is finding the equation of a tangent line.
Remember, the derivative f'(x) gives you a formula for the slope of the tangent line at any x. If you want the slope at a specific point, say x = a, you just calculate f'(a).
Once you have that slope, m = f'(a), and you know the point on the curve, (a, f(a)), you can write the equation of the tangent line using the point-slope form you learned in Algebra 1:
y - y1 = m(x - x1)
y - f(a) = f'(a) * (x - a)
The derivative can be understood in four ways (and the AP exam expects you to be flexible):
- GraphicallyIt's the slope of the tangent line.
- NumericallyIt's the value you approach when you calculate the difference quotient for tiny values of
h(likeh=0.001). - AnalyticallyIt's the function
f'(x)you find by solving the limit definition. - VerballyIt's described as the "instantaneous rate of change."
For now, we'll focus on the analytical process, but keep these other ideas in mind. They are all connected.
Worked examples
Let's make this concrete. Seeing the algebra in action is the best way to understand the process.
Finding the Derivative of a Parabola
Problem: Find the derivative of f(x) = x² + 2 using the limit definition.
Solution:
Our goal is to solve f'(x) = lim(h→0) [ (f(x + h) - f(x)) / h ].
- 1Find the pieces
- We know
f(x) = x² + 2. - Now we need
f(x + h). This means we substitute(x + h)everywhere we seexin the original function.f(x + h) = (x + h)² + 2
- We know
- 2Substitute into the difference quotient
f'(x) = lim(h→0) [ ((x + h)² + 2) - (x² + 2) ] / hWhy this step? We're setting up the slope of the secant line before we take the limit. A common mistake is messing up the parentheses here, especially the second term. Always wrap
f(x)in parentheses to ensure you distribute the negative sign correctly. - 3Simplify the numerator
- First, expand
(x + h)²:(x + h)(x + h) = x² + 2xh + h². - Now substitute that back in and distribute the negative sign:
lim(h→0) [ (x² + 2xh + h² + 2) - x² - 2 ] / h - Combine like terms. Notice that
x²cancels with-x², and+2cancels with-2. This will almost always happen! If terms without anhdon't cancel, you've likely made an algebraic error.lim(h→0) [ 2xh + h² ] / h
- First, expand
- 4
Factor out
hand cancel:lim(h→0) [ h(2x + h) ] / hNow we can cancel thehin the numerator and denominator. This is the crucial step that resolves the0/0issue.lim(h→0) [ 2x + h ] - 5Evaluate the limitNow we can substitute
h = 0:f'(x) = 2x + 0 = 2x
Finding the Equation of a Tangent Line
Problem: Find the equation of the line tangent to the curve g(x) = 3/x at the point where x = 1.
Solution:
We need two things for a line's equation: a point and a slope.
- 1Find the pointThe x-coordinate is given:
x = 1. The y-coordinate isg(1) = 3/1 = 3. So, our point is(1, 3). - 2Find the slope using the derivativeWe need to find
g'(x)first, then evaluate it atx=1.g'(x) = lim(h→0) [ (g(x + h) - g(x)) / h ]g'(x) = lim(h→0) [ (3/(x+h)) - (3/x) ] / hWhy this step? This is the trickiest part. We have a complex fraction. The strategy is to combine the fractions in the numerator first.
- Find a common denominator for the numerator:
x(x+h).lim(h→0) [ (3x / (x(x+h))) - (3(x+h) / (x(x+h))) ] / h - Combine them:
lim(h→0) [ (3x - 3(x+h)) / (x(x+h)) ] / h - Simplify the numerator:
lim(h→0) [ (3x - 3x - 3h) / (x(x+h)) ] / hlim(h→0) [ -3h / (x(x+h)) ] / h - Now, dividing by
his the same as multiplying by1/h:lim(h→0) [ -3h / (x(x+h)) ] * (1/h) - Cancel the
h:lim(h→0) -3 / (x(x+h))
- Find a common denominator for the numerator:
- 3Evaluate the limitSubstitute
h = 0:g'(x) = -3 / (x(x+0)) = -3 / x² - 4Calculate the specific slopeWe need the slope at
x = 1.m = g'(1) = -3 / (1)² = -3. - 5Write the equation of the lineUsing point-slope form with point
(1, 3)and slopem = -3:y - 3 = -3(x - 1)You can leave it in this form, or simplify toy = -3x + 6.
Try it yourself
Ready to try a couple on your own? Remember to follow the steps carefully. The algebra is the workout here.
- 1ProblemUse the limit definition of the derivative to find
f'(x)for the functionf(x) = 2x² - 3x.- Hint: Remember to be very careful when you substitute and expand
f(x+h). Write out every term. The-3xpart will introduce a-3hterm that will be important.
- Hint: Remember to be very careful when you substitute and expand
- 2ProblemFind the equation of the line tangent to
f(x) = √xatx = 9.- Hint: You'll end up with
(√(9+h) - 3) / hinside your limit. To simplify this, you'll need to multiply the numerator and denominator by the conjugate of the numerator, which is√(9+h) + 3. This classic algebra trick will help you cancel theh.
- Hint: You'll end up with
Take your time, write out each step, and check your algebra. You can do this!
In simple terms, the derivative is about finding the exact, instantaneous rate of change—like a car's speedometer reading—for any function at a single moment.
f'(x) = lim(h→0) [ (f(x + h) - f(x)) / h ]
- CHA-2.B: Represent the derivative of a function as the limit of a difference quotient.
- CHA-2.C: Determine the equation of a line tangent to a curve at a given point.
- CHA-2.B.2
- The derivative of f is the function whose value at x is lim (f(x+h) - f(x))/h as h approaches 0, provided this limit exists.
- CHA-2.B.3
- For y = f(x), notations for the derivative include dy/dx, f'(x), and y'.
- CHA-2.B.4
- The derivative can be represented graphically, numerically, analytically, and verbally.
- CHA-2.C.1
- The derivative of a function at a point is the slope of the line tangent to a graph of the function at that point.
flowchart TD
A[Start with f(x) and a point x=a] --> B{Goal: Find slope of tangent line at x=a};
B --> C[Write the Difference Quotient<br>(f(x+h) - f(x)) / h];
C --> D[Place it in the Limit Definition<br>lim h->0 ...];
D --> E[Step 1: Algebraically simplify the numerator];
E --> F[Step 2: Factor out h from the numerator];
F --> G[Step 3: Cancel h from numerator and denominator];
G --> H[Step 4: Evaluate the limit by plugging in h=0<br>This gives the derivative function, f'(x)];
H --> I[Step 5: Substitute x=a into f'(x) to find the slope, m];
I --> J[Result: m = f'(a) is the slope of the tangent line];
Read what Saavi narrates
Hello! I'm Saavi, and I'm so glad you're here with Shrutam.
Today, we're talking about one of the biggest ideas in calculus: the derivative.
Imagine you're driving from Dallas to Austin. You can easily calculate your average speed for the whole trip. But what about your exact speed at the moment you pass that famous Buc-ee's in Temple? That single-moment speed... that's what a derivative tells us. It's the speedometer for any function, telling us its instantaneous rate of change.
So how do we build this? We start with the slope of a line between two points on a curve... we call that a secant line. Then, we use a limit to slide those two points closer and closer together until they merge into one. The slope of that line... the tangent line... is the derivative.
Let's try one. Say we want to find the derivative of the function f of x equals x-squared plus 2. We use what's called the limit definition. It looks a little intimidating, but it's just a process.
The formula is the limit as h approaches zero, of f of x plus h, minus f of x, all divided by h.
First, we plug in our function. f of x plus h becomes... parentheses x plus h squared, plus 2. And f of x is just x-squared plus 2.
So our limit is... the limit as h approaches zero of... open bracket, parentheses x plus h squared, plus 2, close parentheses, minus, parentheses x-squared plus 2, close parentheses, close bracket... all over h.
Now, the algebra. We expand x plus h squared to get x-squared plus 2xh plus h-squared.
Then we distribute the negative sign. This is where a lot of students make a mistake... they forget to distribute, and things don't cancel.
Our numerator becomes x-squared plus 2xh plus h-squared plus 2... minus x-squared... minus 2.
Look what happens! The x-squareds cancel. The twos cancel. We're left with just 2xh plus h-squared on top.
Now we can factor an h out of the top, leaving h times the quantity 2x plus h. That h on the outside cancels with the h in the denominator. This is the magic step.
We're left with the limit as h approaches zero of just... 2x plus h. Now we can finally plug in h equals zero. And we get... 2x.
So, the derivative of x-squared plus 2 is 2x. That's our "slope-finding" function.
It seems like a lot of steps, but it's a pattern. Set it up, simplify, cancel the h, and evaluate. You're building the foundation for everything that comes next. Keep practicing, and it will become second nature. You've got this.
This will always give you `(f(x) - f(x)) / 0`, which is `0/0`. This is an indeterminate form, not an answer. You must do the algebra first.
Simplify the expression algebraically until you can cancel the `h` in the denominator. Only then should you substitute `h=0`.
This shows a misunderstanding of function notation. `f(x+h)` means "replace every `x` in the function's rule with the entire expression `(x+h)`."
For `f(x) = x² - 5x`, `f(x+h)` is `(x+h)² - 5(x+h)`. Be methodical.
If `f(x)` has multiple terms (e.g., `x² + 2`), the subtraction applies to the *entire* function. `-(x² + 2)` becomes `-x² - 2`. Forgetting this will prevent terms from canceling correctly.
Always write `f(x)` inside parentheses in your initial setup: `... - (f(x))`.
The slope is just one part of the equation of a line. The question is not fully answered.
Once you have the slope `m = f'(a)`, use the point `(a, f(a))` and the point-slope formula `y - y1 = m(x - x1)` to write the full equation.
Mathematically, the expression without the limit is not equal to the expression with the limit. It's like dropping an equals sign in an equation. You must carry the limit notation until you actually substitute `h=0`.
Keep writing `lim(h→0)` at the start of each step of your simplification. It's good practice and communicates your process clearly.