What Is A Derivative?
The first fact in any introduction to derivatives is this: a derivative is the rate at which a function's output changes as its input changes, measured at a single input value. Geometrically, it is the slope of the line that just touches the graph at that point. For a function , the derivative at the input is written and read "f prime of a".
The formal definition uses a limit, the value an expression approaches as one quantity gets closer and closer to a target:
is the function, and is the input you care about.
is a small step away from . It can be positive or negative, but it is never exactly inside the fraction.
is the change in output over that step.
The fraction is the slope of the line through two points on the graph. The limit asks where that slope settles as the step shrinks.
The derivative exists only when this limit exists and is a finite number. This page gives you the picture and the first tools. The full limit machinery has its own pages: the definition of the derivative unpacks the formula line by line, and the limit definition of derivative works through many first-principles problems. Once is found at every input, the result is a new function, the derivative of a function, usually written .
How Does A Derivative Measure Slope?
A derivative measures slope by turning a curve into a straight line at one point. For a straight line, slope is rise over run, and it is the same everywhere. A curve has no single slope, so the derivative zooms in until the curve near one point looks straight.
Draw a line through two points on the curve, and . That line is a secant line, and its slope is the fraction inside the limit.
Slide the second point toward the first and the secant line swings around until it settles on the tangent line, which touches the curve at and runs in the curve's direction there. The derivative is the slope of that tangent line. Writing the line's full equation is its own skill, covered in tangent line equations.
How Does Average Rate Of Change Become Instantaneous?
The average rate of change becomes instantaneous when you shrink the time interval toward zero and watch where the average settles. That settled value is the derivative. This answers a question people ask on Quora: if the purpose of the derivative is to find a rate of change, why not just use the rate of change you already know?
The rate you already know is the average rate of change: total change divided by the length of the interval. It answers "how fast on average?", not "how fast right now?". A stone dropped from rest falls about metres after seconds (air resistance ignored). Here is its average speed over shorter and shorter intervals starting at :
Interval | Change in time | Average speed |
|---|---|---|
to s | ||
to s | ||
to s | ||
to s |
The averages close in on . Algebra confirms it, with each step on its own line:
As , the term vanishes, so . That number is the stone's speed at the instant . No interval of zero length was ever used. The limit describes where the averages are heading, which is how a speedometer can honestly show a speed "right now".
Is A Derivative The Same As Slope?
A derivative is the same as slope only for straight lines. For a curve, the derivative gives the slope of the tangent line at each point, so it is a slope that changes from point to point. Versions of this question come up again and again on Quora ("Are derivatives and slopes the same thing?") and Physics Forums ("Is the derivative the same as the slope of a function?").
For a line: has slope everywhere, and its derivative is at every input. The two ideas agree.
For a curve: has no single slope. Its derivative is a formula that hands back a different tangent slope at each : at , at , at .
So "slope" is a number that belongs to a line, while the derivative is a function that belongs to a curve. The derivative gives each point of the curve its own slope.
What Notation Do Derivatives Use?
Derivatives have several notations because calculus was invented twice, by people who wrote it differently. The three you will meet most are shown below. This article uses the prime notation throughout.
Notation | How to read it | Who it comes from | Where you see it |
|---|---|---|---|
"f prime of x" | Prime notation, invented by Euler and popularised by Lagrange | Most textbooks, function work | |
"d y by d x" | Leibniz | Chain rule, related rates, differential equations | |
"the derivative with respect to x of f of x" | Leibniz operator form | Applying rules to a whole expression | |
"y dot" | Newton | Physics, derivatives with respect to time |
All four ask the same question: how fast is the output changing per unit of input? The form is not a real fraction. It stands for the limit of , though it behaves like a fraction often enough that the chain rule later feels natural. The notation for differentiation has a longer history than most students expect.
How Do You Find A Derivative?
You find a derivative in one of two ways: from the limit definition, or with shortcut rules that were themselves proved from that definition. A beginner should do the first a few times and then switch to the second. Actually, a better guide than "a few times" is to keep using the definition until cancelling the feels routine, and only then trust the shortcuts.
The definition route has four steps:
Write by replacing every with .
Subtract and simplify the numerator.
Divide by , cancelling the before going further.
Let in what is left.
Step 3 is where most of the work hides. Until the in the denominator cancels, you cannot let reach , because the fraction would become . Example 2 below shows what happens when that step is skipped.
What Are The First Derivative Rules?
The first derivative rules turn the limit calculation into a one-line answer for powers, constants and sums. Four rules handle every polynomial:
Rule | Statement | Example |
|---|---|---|
Constant rule | ||
Power rule | ||
Constant multiple rule | ||
Sum and difference rule |
Each rule has a short reason behind it:
Constant rule: a constant's graph is a horizontal line, and a horizontal line has slope . Nothing changes, so the rate of change is zero.
Power rule: for , the limit gives , which tends to . The same expansion for leaves . The power rule page proves the pattern for every exponent , including negatives and fractions.
Constant multiple rule: stretching a graph vertically by multiplies every slope by . The constant multiple rule page gives the one-line proof.
Sum rule: the change in is the change in plus the change in , and limits respect addition.
Beyond polynomials, a handful of standard results come up early. They are previewed here, not derived, because each has its own lesson:
Function | Derivative | Condition |
|---|---|---|
in radians | ||
in radians | ||
all | ||
The trig pair is worked out in differentiation of trigonometric functions. Notice the radian condition: the neat result holds only when angles are measured in radians.
What Are First And Second Order Derivatives?
A first order derivative measures how fast changes. A second order derivative measures how fast itself changes, so it is the rate of change of the rate of change. For , the first derivative is and the second is .
Motion gives both orders a physical meaning. If is position, is velocity and is acceleration.
For the falling stone, and , the familiar acceleration due to gravity in . The link between these three quantities is developed in velocity and acceleration. Third and higher derivatives exist too (physicists call the third derivative of position "jerk"), and they will matter again when you meet Taylor series.
When Does A Derivative Not Exist?
A derivative does not exist at a point where the secant slopes fail to settle on one finite number. Three shapes cause this, and a picture makes each one obvious:
A corner: at . Secant slopes from the left are and from the right are . Two different answers means no single tangent slope.
A vertical tangent: at . The secant slopes grow without bound, and a vertical line has no finite slope.
A break: at a jump or a hole in the graph, there is no single point for the tangent line to touch.
A function that has a derivative at a point is called differentiable there. Every differentiable function is continuous, but a continuous function can still have a corner. The full conditions are worked through in differentiability of a function.
Examples Of Derivatives
Example 1
Find the derivative of and its value at .
Apply the power rule with :
Substitute :
Final answer: , and the tangent slope at is .
Example 2
Use the limit definition to find for .
The tempting first move is to put straight into the difference quotient:
That expression has no value. It is not , and it is not "undefined, so no derivative". The definition says approaches , never that equals , so substituting first throws away the information the limit needs.
The correct route simplifies before taking the limit:
Now let :
The power rule agrees: , so .
Final answer: .
Example 3
Differentiate and find the slope at .
Differentiate term by term with the sum, constant multiple, power and constant rules:
Substitute :
Final answer: , and the slope at is , so the graph is falling steeply there.
Example 4
Find for , then evaluate .
Rewrite the fraction as a power before using the power rule:
Substitute :
Final answer: for , and .
The first instinct on is to differentiate the top and bottom separately, which gives and claims the curve is flat everywhere. Rewriting as first is the habit that removes that error.
Example 5
A stone falls metres in seconds. Find its speed at s and compare it with its average speed over the first 4 seconds.
Differentiate to get the velocity function:
Speed at the instant :
Average speed over to s:
Final answer: the stone is moving at at s, twice its average speed of over the first 4 seconds. The gap exists because the stone keeps speeding up.
Example 6
Find the point where the tangent line to is horizontal.
A horizontal tangent has slope , so set the derivative equal to :
Find the height of the curve there:
Final answer: the tangent is horizontal at , the lowest point of this parabola. This reverse use of the derivative, solving , is the start of optimisation.
Why Did Mathematicians Need Derivatives?
Derivatives were invented to solve two old problems that turned out to be the same problem: "find the tangent, find the speed." Before calculus, mathematicians could find tangents to circles and a few special curves, and they could compute average speeds. Neither method worked for a general curve or a changing speed.
The tangent problem. Gottfried Wilhelm Leibniz (1646 to 1716, Germany) published his differential calculus in 1684 in the journal Acta Eruditorum. The paper's title promised a new method for maxima, minima and tangents, and it contained the notation and rules for powers, products and quotients.
The motion problem. Isaac Newton (1643 to 1727, England) laid the foundations of his method of fluxions in 1665 to 1666, while his university was closed by plague. He treated quantities as flowing in time, so his derivative was a velocity. His main text on the method was written in 1671 but not printed until 1736.
The two problems collapse into one because the speed of a moving object is the slope of the tangent to its distance-time graph. That is the shape of every derivative in this article: a rate of change and a slope, read off the same limit.
Where Are Derivatives Used In Real Life?
Derivatives are used wherever someone needs a rate at a moment rather than an average. On Quora, "What is a derivative and how is it used?" is one of the most common ways the question gets asked. Here are the main answers:
Motion and safety: speed is the derivative of position, and acceleration is the derivative of speed. Braking distances, airbag triggers and rocket guidance all depend on rates at an instant.
Business: marginal cost, the extra cost of producing one more unit, is the derivative of the cost function. It tells a factory whether the next batch is worth making.
Best values: the lowest point of a parabola in Example 6 came from setting . The same move finds the cheapest can design, the fastest route and the strongest beam for a given amount of material.
Growth and medicine: the derivative of a population or a drug concentration gives the growth or clearance rate at a given hour.
Machine learning: training a model means nudging its settings downhill on an error surface, and "downhill" is read from derivatives (the method is called gradient descent).
Each of these is the "how fast right now?" question from the speedometer. The rate-of-change reading of the derivative is developed further in derivative as rate of change.
Where Do Students Trip Up On Derivatives?
Most early derivative errors come from treating the derivative as a value, an average or a mechanical formula, instead of as a slope at one point. Four mistakes account for most lost marks at this stage.
Mistake 1: Using An Average Rate When The Question Asks For An Instant
Where it slips in: "How fast is the stone falling at s?" A student divides total distance by total time.
Don't do this: is the average speed over 4 seconds, not the speed at .
The correct way: Differentiate first, then substitute: . The words "at", "when" and "instant" point to the derivative. "Over" and "between" point to an average.
Mistake 2: Applying The Power Rule To Something That Is Not A Power Of X
Where it slips in: , where the variable sits in the exponent.
Don't do this: . The power rule needs a fixed exponent on a variable base, and here the base is fixed.
The correct way: Exponential functions have their own rule: . Check the shape (variable base, or variable exponent?) before choosing a rule.
The rusher is the student most likely to make this one. They see an exponent, reach for and move on. The fix is a two-second habit: say out loud which part is the variable before writing anything.
Mistake 3: Differentiating A Product Factor By Factor
Where it slips in: Any product, such as or .
Don't do this: Write the derivative of as .
The correct way: Since , the true derivative is , not . Products need the product rule, and quotients need the quotient rule. Neither works factor by factor.
Mistake 4: Mixing Up The Function Value And The Slope
Where it slips in: "Find the slope of at ." A student answers .
Don't do this: is the height of the graph, not its steepness.
The correct way: . Height and slope are different questions about the same point.
The memorizer tends to fall here. They know the rules perfectly but have no picture of what means, so the height and the slope blur together. Students who sketch the tangent line once, even roughly, stop making this mistake almost immediately, because the drawing shows the slope is not the height. (It is also the distinction that is hardest to explain in words alone; the sketch does more than any rule.)
The real-world version of Mistake 1 is enforced on roads. A spot speed camera measures speed at one instant, close to a derivative.
An average speed camera times a car over a known distance and computes the average, so a driver who brakes for the camera and speeds between them is still caught. Scotland's A9 is a well-known example. The two readings answer different questions, just as and did for the stone.
Practice Problems On Introduction To Derivatives
Work each one before reading the answer. Every answer has been checked.
Differentiate and find . Answer to Question 1: , and .
Find for and evaluate it at . Answer to Question 2: , and .
Use the limit definition to find for . Answer to Question 3: the difference quotient simplifies to , so .
A ball's position is metres. Find its velocity at s and its average velocity over to s. Answer to Question 4: , and the average is .
Find every where the tangent to is horizontal, and the points on the curve there. Answer to Question 5: and , at the points and .
Find the slope of at . Answer to Question 6: , so .
Key Takeaways
An introduction to derivatives starts with one idea: the derivative is the slope of the tangent line and the instantaneous rate of change at a point.
The limit turns shrinking average rates into one exact rate.
The constant, power, constant multiple and sum rules differentiate any polynomial in one line.
A derivative fails to exist at corners, vertical tangents and breaks in the graph.
The most common mistakes are answering with an average or with the function value when the question asks for the slope at an instant.
Your Next Move
Work through Practice Problems 1 to 6. If Problem 3 trips you up, return to Example 2 and cancel the before letting it shrink. If Problem 4 does, reread "How Does Average Rate Of Change Become Instantaneous?".
Want a teacher to walk through the next set with you? Book a free demo class with a Bhanzu trainer.
Read More
Was this article helpful?
Your feedback helps us write better content
