[Math] what does the second derivative of a linear function mean

calculusderivativeslinear algebra

So if I have a function

f(x) = 7x-2

the first derivative is

7

which I'm inclined to think that the second derivative exists because

7 = 0x+7

and the second derivative is

0

makes sense, I guess, because the slope never ever changes.
But how am I supposed to put that into context with the rest of the info available? There is no concaving up or down in either direction (though I can imagine it being a really straight curve) and if all I knew was the first and second derivatives, I might just think I'm at an inflection point and that there's a horizon somewhere else. This might be a moot point since I'm likely always gonna have the original function at hand in the real world but I was wondering if anyone else had any thoughts on the derivatives of a straight line. Maybe the second derivative doesn't exist?

Best Answer

The information you get is when you only have $f''(x)=0$ then you now that $f$ is a linear function, because this is an "if and only if"-relation.

That is: If $f(x)$ is linear, then $f''(x)=0$. And: If $f''(x)=0$, then $f(x)$ is linear.

That reads: $f(x)$ is linear $\leftrightarrow$ $f''(x)=0$

Related Question