Skip to content
LoveToCalc

Theorem — what does that mean?

Derivative of cx

A number times x has the derivative c. The graph is a straight line, and a straight line has the same slope everywhere.

In Swedish: Derivatan av cx

ddx(cx)=c

c
The constant factor
x
The variable

The rule

d/dx (cx) = c

c is a number that does not depend on x. It is the simplest case of the power rule (the exponent is 1, so xⁿ⁻¹ = x⁰ = 1) and of the constant factor rule.

Why

The line y = cx rises c units for every unit to the right, so the average rate of change between any two points is c. The difference quotient confirms it:

(c(x + h) − cx) / h = ch / h = c

and c stays c as h approaches 0.

Worked examples

Common mistakes

Common questions

Is this the same as the slope in y = kx + m? Yes. The k of the line is the c here, and the m drops out of the derivative, as every constant term does.

Last reviewed October 13, 2026 ·How pages are reviewed

Calculate it in practice

CalculusAll formulas