← Back to learning objective

Derivative of a constant function via the limit definition

Let f(x)=7f(x) = 7. Using the limit definition of the derivative,

f′(x)=lim⁡h→0f(x+h)−f(x)h,f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h},

find f′(x)f'(x). Show the expression for f(x+h)f(x+h), simplify the difference quotient, and evaluate the limit.

Hint

Since f(x)=7f(x) = 7 for every input, f(x+h)f(x+h) is also 77. Substitute both into the difference quotient and simplify before taking the limit.

Step-by-step solution

Since f(x)=7f(x) = 7 for all xx, it follows that f(x+h)=7f(x+h) = 7 as well, because the function outputs 77 regardless of its input. Substituting into the difference quotient gives f(x+h)−f(x)h=7−7h=0h\dfrac{f(x+h)-f(x)}{h} = \dfrac{7-7}{h} = \dfrac{0}{h}.

For any h≠0h \neq 0, 0h=0\dfrac{0}{h} = 0, so the difference quotient is identically 00 before taking the limit. Therefore f′(x)=lim⁡h→00=0f'(x) = \lim_{h\to 0} 0 = 0, confirming that the derivative of a constant function is always 00.

Numerator of the difference quotient for a constant function

Hint
Step-by-step solution

The numerator is always zero. Since f(x) equals seven for every input, f(x plus h) also equals seven, so subtracting gives seven minus seven, which is zero. This zero numerator, divided by h, makes the whole difference quotient zero before any limit is taken.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap