Differentiate term by term, then add the results back together.
\[\left(f + g\right)' = f' + g'\]
What it says
Differentiation distributes over addition: the derivative of a sum is the sum of the derivatives. It follows straight from the limit definition, because the limit of a sum is the sum of the limits.
Subtraction is covered as well, since \(f - g\) is \(f + (-1)g\) and the constant multiple rule handles the \(-1\). The rule extends to any number of terms with any signs.
In practice this is the first rule to apply to any long expression: split it into terms, handle each one with whatever rule fits it, then reassemble. It is what lets a fifteen-term polynomial be differentiated without a single hard step.
When it applies
A \(+\) or \(-\) joins terms at the top level of the expression.
Any polynomial, and any sum of unrelated functions such as \(e^{x} + \ln x\).
Before any other rule — split first, then choose a rule per term.
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.
Power rule on the first, variable rule on the second.
\[= 2x + 1\]
Answer
\[2 x + 1\]
f is a parabola and f′ the straight line \(2x + 1\). The line crosses zero at \(x = -\tfrac{1}{2}\), directly under the lowest point of the parabola. It is negative to the left of that and positive to the right: f falls, then rises.
Two different rules, one for each term — that is the whole point of splitting first.
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.