If \(f(x) = x\), then increasing \(x\) by \(h\) increases the value by exactly \(h\). The difference quotient is \(\frac{(x + h) - x}{h} = \frac{h}{h} = 1\) for every \(h \neq 0\), so the derivative is \(1\).
This is the base case of the whole process. Every other rule reduces a complicated expression to the derivatives of simpler pieces; the recursion has to stop somewhere, and it stops here and at the constant rule.
It is also the \(n = 1\) case of the power rule: \(\frac{d}{dx}x^{1} = 1 \cdot x^{0} = 1\).
When it applies
The expression is the differentiation variable standing on its own.
At the bottom of a chain, product or quotient computation, once everything else has been peeled away.
Any other symbol is not the variable: with respect to \(x\), the derivative of \(y\) is \(0\).
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.
1
Example 1
\[\frac{d}{dx}\left[x\right]\]
The expression is the variable itself.
\[\frac{d}{dx}\left[x\right] = 1\]
Answer
\[1\]
f is the 45° line and f′ is the constant 1. Read the pair vertically — the height of f′ at any point is the steepness of f directly above it, and that steepness never changes. Hover anywhere and f′ reads exactly 1.
The line \(y = x\) rises one unit for every unit across — slope \(1\).
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.