A constant factor rides along untouched while the function is differentiated.
\[\left(cf\right)' = c\,f'\]
What it says
Scaling a function by a fixed number scales its rate of change by that same number. Stretch a graph vertically by \(3\) and every slope on it triples.
This is why coefficients can be pulled out of a derivative and dealt with at the end. Together with the sum rule it gives linearity: \(\left(af + bg\right)' = af' + bg'\), the property that makes differentiation well behaved on polynomials.
Division by a constant is the same rule in disguise, since \(\frac{f}{c}\) is \(\frac{1}{c}f\). Reaching for the quotient rule there is legal but wasteful.
When it applies
A number or a constant symbol multiplies a function of \(x\).
A function is divided by a constant.
A constant is buried inside a product, such as the \(\cos 9\) in \(6x\cos(9)\sin x\) — it is just a number.
Five worked examples
Every line is the step the calculator would show, in the order it applies them. Each graph
is live: hover it to read both curves and see the tangent whose slope is the derivative,
drag to pan, scroll to zoom.
A steepened cubic with the narrow parabola \(21x^{2}\) beneath it. f′ touches zero at the origin, where the cubic momentarily flattens, and is positive on both sides. Multiplying by 7 stretched both curves vertically by the same factor.
The coefficient is never differentiated; it simply multiplies the result.
Derivative Calculator would like your consent to use your data
Store and read cookies and similar identifiers on your device
Measure how the site is used, and — only if you allow it — personalise advertising
Learn more
How can I change my choice?
Open Privacy settings at the bottom of any page. Your answer can be changed or withdrawn at any time, and takes effect straight away.
What if I do not consent?
Everything still works. The calculator, the graph and every rule page run entirely in your browser, so refusing costs you nothing but the optional cookies.
Do I have to consent to everything?
No. Manage options lets you allow one category and refuse another, and nothing optional is switched on until you switch it on.
Necessary cookies keep the site working and are always on. Anything else — measurement and advertising — runs only with your permission, and no profile is built about you before you give it. Read the privacy policy
Data preferences
Choose what you allow
Each category is described below. Your choice is stored on this device and applies the moment you save it.
Strictly necessary
Keeps the site working: your light or dark theme, your recent expressions and the record of this consent choice. Nothing here identifies you, and it cannot be switched off.
Preferences
Remembers optional settings across visits, such as your language and the way you like results laid out.
Measurement
Counts visits and which rules people look up, so we know what to improve. Aggregated — never used to build a profile about you.
Advertising
Lets advertising partners use cookies to select and measure ads, including personalised ones. Refuse this and any ads shown stay non-personalised.