The Constant Factor Rule (Constant Multiple Rule)

A constant factor stays unchanged when you differentiate: $\big(c\cdot f(x)\big)' = c\cdot f'(x)$. Pull the constant out, differentiate the rest, multiply back.

📜 Formula

$$ \frac{d}{dx}\big(c\,f(x)\big) = c\,\frac{d}{dx}f(x) \qquad (c \text{ constant}) $$

It follows from the definition: $\frac{c f(x+h) - c f(x)}{h} = c\cdot\frac{f(x+h)-f(x)}{h} \to c\,f'(x)$. It is the special case of the product rule with $u = c$, $u' = 0$.

✏️ Examples

FunctionDerivative
$5x^3$$5\cdot 3x^2 = 15x^2$
$-4\sin x$$-4\cos x$
$\dfrac{x^4}{8}$$\dfrac{4x^3}{8} = \dfrac{x^3}{2}$
$\pi\,e^x$$\pi\,e^x$
$\dfrac{3}{x} = 3x^{-1}$$-\dfrac{3}{x^2}$
$2\sqrt{x}$$\dfrac{1}{\sqrt{x}}$
$a\,x^2$ (w.r.t. $x$)$2a\,x$

Constant factor vs. constant term: in $(3x^2)' = 6x$ the factor 3 stays; in $(x^2+3)' = 2x$ the term 3 vanishes (constant rule).

Only constants may be pulled out: in $x\cdot\sin x$ the factor $x$ is not constant – use the product rule.

🧮 Try it with the step-by-step calculator

Open any of these examples in the calculator to see every single differentiation step:

Or enter your own function on the derivative calculator.

🪜 Worked example, step by step

Differentiate $f(x) = -\frac34\,x^8$.

  1. Identify the constant factor: $c = -\frac34$, the rest is $x^8$.
  2. Differentiate the rest with the power rule: $(x^8)' = 8x^7$.
  3. Multiply back: $-\frac34\cdot 8x^7 = -6x^7$.

$f'(x) = -6x^7$

🔍 Constants hidden in fractions

Numbers in a denominator are constant factors too – rewrite the fraction first:

FunctionRewrittenDerivative
$\dfrac{x^2}{5}$$\frac15\,x^2$$\frac25\,x$
$\dfrac{1}{3x}$$\frac13\,x^{-1}$$-\dfrac{1}{3x^2}$
$\dfrac{7}{2x^3}$$\frac72\,x^{-3}$$-\dfrac{21}{2x^4}$
$\dfrac{\sin x}{4}$$\frac14\sin x$$\frac14\cos x$

This saves a lot of work: $\frac{1}{3x}$ looks like a job for the quotient rule, but the constant factor rule plus the power rule is faster and less error-prone.

⚖️ What counts as “constant” depends on the variable

With respect to $x$, the letter $k$ in $k\,x^3$ is a constant: $\frac{d}{dx}(k\,x^3) = 3k\,x^2$. With respect to $k$, it is the other way round: $\frac{d}{dk}(k\,x^3) = x^3$, because now $x^3$ is the constant factor. The calculator lets you pick the differentiation variable, so you can check both.

❓ Frequently asked questions

What is the constant multiple rule?

$(c\,f)' = c\,f'$ – a constant factor is carried along unchanged when you differentiate.

What is the derivative of 3x?

$(3x)' = 3\cdot(x)' = 3\cdot 1 = 3$.

What is the derivative of 5x²?

$(5x^2)' = 5\cdot 2x = 10x$.