Skip to content
Worked Examples · Example 11

Q.Find the derivative of the constant function f(x)=af(x) = a for a fixed real number aa.

Sikkim CbseNCERTSubjective· 2mImportance★★★★★est
31% · 54/175 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The derivative of a constant function f(x)=af(x) = a is zero everywhere because the function never changes — its slope is flat. The result is f′(x)=0f'(x) = 0 for all xx.

Why this makes sense

Before we compute anything mechanically, think about what a derivative means. The derivative f′(x)f'(x) tells you the instantaneous rate of change of ff at xx — how fast the output is changing as you nudge the input.

If f(x)=af(x) = a (a fixed number, no matter what xx is), then the output never changes. Walk along the graph: it's a horizontal line at height aa. A horizontal line has zero slope. So the derivative must be zero everywhere. That's the intuition.

Now let's confirm it rigorously using the definition.

Step-by-step derivation

1. Recall the definition of the derivative at a point xx

The derivative f′(x)f'(x) is defined as the limit of the difference quotient:

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

provided this limit exists. This quotient measures the average rate of change over an interval of length hh, and we shrink hh to zero to get the instantaneous rate.

2. Plug in the constant function

Since f(x)=af(x) = a for every input, we have f(x+h)=af(x+h) = a and f(x)=af(x) = a. Substituting:

f(x+h)−f(x)h=a−ah=0h=0\frac{f(x+h) - f(x)}{h} = \frac{a - a}{h} = \frac{0}{h} = 0

for any h≠0h \neq 0. The numerator is exactly zero because the function values are identical.

Watch out

A common mistake is to think 0h\frac{0}{h} is "indeterminate" — it's not. For any nonzero hh, 0/h=00/h = 0 exactly. The only issue would be if h=0h = 0, but the limit only cares about hh approaching zero, never equalling it.

3. Take the limit

Since the difference quotient is identically zero for every h≠0h \neq 0, the limit as h→0h \to 0 is simply:

lim⁡h→00=0\lim_{h \to 0} 0 = 0 …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.