Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A definition of the derivative is that it is the slope of the tangent line. For example, $x^3$ has a quadratic derivative. How could the slope of the tangent line be non-linear?

share|cite|improve this question
Do not confuse the slope with the line itself. The slope is a number. The derivative tells you what's the slope of the tangent line at a given point. – rubik Feb 9 at 12:57
Each tangent line is linear in the sense that it is, well, a line. However, the slopes of the tangent lines vary as you move the tangential point. The slope at $(x=0,y=0)$ is zero, the slope at $(x=1,y=1)$ is three, and so on. Why would this dependence be linear? – Bananach Feb 9 at 12:58
The slope along a tangent isn't linear, it is constant ! The slope along the curve varies (in any way). – Yves Daoust Feb 9 at 16:05
Oh, the derivative is linear. Just not in the sense you mean...… – Robin Ekman Feb 10 at 1:50
Function $\ne$ value of the function in a point. – Martín-Blas Pérez Pinilla Feb 10 at 8:10
up vote 29 down vote accepted


OK, so I'll try to make this post more self contained.

To find an equation of the tangent line to any function $y = f(x)$ at the point $A(x_0, y_0)$, iff $f(x)$ is differentiable at that point, one needs to calculate its algebraic form as $$ y = y_0 + f'(x_0)(x - x_0) $$ so, as you can see, even though you calculate $f'(x)$ to find tangent line slope, it's evaluated at $x_0$, which makes it a number, but that number will change when you move from point to point.

Now, let's consider that example $$ y = x^3 \implies y' = 3x^2 \implies y = x_0^3 + 3x_0^2(x - x_0) = 3x_0^2 x - 2x_0^3 $$ Simple animation of the tangent line when point it was calculated at is moving provided below.

enter image description here

share|cite|improve this answer
It would be better to flesh out this answer with an explanation; referring to other answers makes this not self-contained (which is somewhat contrary to the SE system). Flesh out the connection with the derivative shown here and what qualities of the image illustrate the point. I think it's more or less obvious to people who already know the answer, but that's not the audience one should be writing for. – Milo Brandt Feb 9 at 19:07
Just a note pointing out the derivative here is $x^2$ is all that is needed. – Chan-Ho Suh Feb 9 at 23:40

The slope of a single tangent line is a constant: it's the $m$ in the equation $y=mx+b$ for that line. So if the derivative of $f(x)$ is $2x$ (for example) then you already have a different slope at each point of $y=f(x)$, and therefore an entirely different tangent line at each point.

share|cite|improve this answer

The derivative at a precise point $x$ is the slope of the tangent line at this point. But the derivative is a function so the slope is moving while $x$ is moving. Actually the derivative can be viewed as the variation of the slope of the tangent line.

For exemple, the slope of the tangent line of the function $x \to x^3$ increases faster than the slope of $x \to x^2$. In the first case quadratically and in the second linearly.

share|cite|improve this answer

Maybe you are searching for the differential not the derivative. The differential of a function in a point is a linear map of the displacement (by definition). Please note that linear map means that the transformation law is linear AND the domain and the codomain of the map is a linear space. Indeed the displacement can be taken to be as large as you want and the differential will always be defined and linear, even though the displaced point is not anymore in the domain of the function. That's why physicists call the increment of the indipendent variable "virtual displacement" when they deal with differentials (and also differential forms in general), because the displaced point can be impossible, that is not available in the domain of the function that you are differentiating, so it is "virtual".

share|cite|improve this answer

The derivative is a limit at a single point. When the limit exists for a given point this specific point is said to be differentiable.

A differential equation is an equation that generalises all of the differentiable points for a given function.

In your case the function $f(x) = x^{3}$ has all of its derivatives generalised by the equation $g(x) = 3x^{2}$. At a given point, say $x=2$, the derivative will be $3×(2)^{2} = 12$, so the gradient of a tangent line at $x=2$ will be $12$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.