Derivative of $4\,x^{3} - 2\,x^{2} + 7\,x - 5$

Differentiated with respect to x. Edit the function · Differentiation rules

Step-by-step solution

Input function
$$4\,x^{3} - 2\,x^{2} + 7\,x - 5$$

Start of the differentiation
$$\frac{d}{dx}{\left[4\,x^{3} - 2\,x^{2} + 7\,x - 5\right]}$$

Yellow: the expression being replaced. Green: its replacement.

Step 1 — Sum/Difference Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(u \pm v \pm \dots) = \frac{d}{dx}(u) \pm \frac{d}{dx}(v) \pm \dots$$
With:
  • $u = 4\,x^{3}$
  • $v = 2\,x^{2}$
  • $w = 7\,x$
  • $r = 5$

Why: Differentiate every term separately and keep the plus and minus signs between them. Even a constant term first receives its own derivative symbol.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[4\,x^{3} - 2\,x^{2} + 7\,x - 5\right]}\,}}}$$
✨ After: Sum/Difference Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[4\,x^{3}\right]} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}\,}}}$$
Step 2 — Constant Factor Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c\,u)=c\,u'$$
With:
  • $c = 4$
  • $u = x^{3}$

Why: Keep the constant multiplier outside the derivative. Next, differentiate only the part depending on x.

Changed part: $\frac{d}{dx}{\left[4\,x^{3}\right]} \;\Longrightarrow\; 4\,\frac{d}{dx}{\left[x^{3}\right]}$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[4\,x^{3}\right]}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Constant Factor Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,4\,\frac{d}{dx}{\left[x^{3}\right]}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 3 — Power Rule (special case) Differentiation rule
📖 Rule
$$\frac{d}{dx}\left(u^{c}\right)=c\,u^{c-1}$$
With:
  • $u = x$
  • $c = 3$

Why: Bring the current exponent down as a multiplier and subtract one from the exponent. Evaluate that small calculation in a separate step.

Changed part: $\frac{d}{dx}{\left[x^{3}\right]} \;\Longrightarrow\; 3\,x^{3 - 1}$
🧮 Current expression
$$4\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{3}\right]}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Power Rule (special case)
$$4 \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3\,x^{3 - 1}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 4 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $3 - 1 \;\Longrightarrow\; 2$
🧮 Current expression
$$4 \cdot 3\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3 - 1\,}}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Evaluate numbers
$$4 \cdot 3\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,}}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 5 — Combine numeric factors Simplification
📖 Rule
$$a\cdot u\cdot b=(a\cdot b)\cdot u$$

Why: Multiply the numeric factors together and write the result first. The other factors stay unchanged. If the product is 1, the factor disappears entirely.

Changed part: $4 \cdot 3\,x^{2} \;\Longrightarrow\; 12\,x^{2}$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,4 \cdot 3\,x^{2}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Combine numeric factors
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,12\,x^{2}\,}}} - \frac{d}{dx}{\left[2\,x^{2}\right]} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 6 — Constant Factor Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c\,u)=c\,u'$$
With:
  • $c = 2$
  • $u = x^{2}$

Why: Keep the constant multiplier outside the derivative. Next, differentiate only the part depending on x.

Changed part: $\frac{d}{dx}{\left[2\,x^{2}\right]} \;\Longrightarrow\; 2\,\frac{d}{dx}{\left[x^{2}\right]}$
🧮 Current expression
$$12\,x^{2} - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[2\,x^{2}\right]}\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Constant Factor Rule
$$12\,x^{2} - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,\frac{d}{dx}{\left[x^{2}\right]}\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 7 — Power Rule (special case) Differentiation rule
📖 Rule
$$\frac{d}{dx}\left(u^{c}\right)=c\,u^{c-1}$$
With:
  • $u = x$
  • $c = 2$

Why: Bring the current exponent down as a multiplier and subtract one from the exponent. Evaluate that small calculation in a separate step.

Changed part: $\frac{d}{dx}{\left[x^{2}\right]} \;\Longrightarrow\; 2\,x^{2 - 1}$
🧮 Current expression
$$12\,x^{2} - 2\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{2}\right]}\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Power Rule (special case)
$$12\,x^{2} - 2 \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2 - 1}\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 8 — Evaluate numbers Simplification
📖 Rule

Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.

Changed part: $2 - 1 \;\Longrightarrow\; 1$
🧮 Current expression
$$12\,x^{2} - 2 \cdot 2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 - 1\,}}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Evaluate numbers
$$12\,x^{2} - 2 \cdot 2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 9 — Power with exponent one Simplification
📖 Rule
$$a^1=a$$

Why: An expression to the first power is the expression itself.

Changed part: $x^{1} \;\Longrightarrow\; x$
🧮 Current expression
$$12\,x^{2} - 2 \cdot 2\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x^{1}\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Power with exponent one
$$12\,x^{2} - 2 \cdot 2\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 10 — Combine numeric factors Simplification
📖 Rule
$$a\cdot u\cdot b=(a\cdot b)\cdot u$$

Why: Multiply the numeric factors together and write the result first. The other factors stay unchanged. If the product is 1, the factor disappears entirely.

Changed part: $2 \cdot 2\,x \;\Longrightarrow\; 4\,x$
🧮 Current expression
$$12\,x^{2} - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 \cdot 2\,x\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Combine numeric factors
$$12\,x^{2} - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,4\,x\,}}} + \frac{d}{dx}{\left[7\,x\right]} - \frac{d}{dx}{\left[5\right]}$$
Step 11 — Constant Factor Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c\,u)=c\,u'$$
With:
  • $c = 7$
  • $u = x$

Why: Keep the constant multiplier outside the derivative. Next, differentiate only the part depending on x.

Changed part: $\frac{d}{dx}{\left[7\,x\right]} \;\Longrightarrow\; 7\,\frac{d}{dx}{\left[x\right]}$
🧮 Current expression
$$12\,x^{2} - 4\,x + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[7\,x\right]}\,}}} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Constant Factor Rule
$$12\,x^{2} - 4\,x + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,7\,\frac{d}{dx}{\left[x\right]}\,}}} - \frac{d}{dx}{\left[5\right]}$$
Step 12 — Derivative of a Variable Differentiation rule
📖 Rule
$$\frac{d}{dx}(x)=1$$

Why: When x increases by one, the value of this term also increases by one. Its derivative is therefore one.

Changed part: $\frac{d}{dx}{\left[x\right]} \;\Longrightarrow\; 1$
🧮 Current expression
$$12\,x^{2} - 4\,x + 7\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,}}} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Derivative of a Variable
$$12\,x^{2} - 4\,x + 7 \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}} - \frac{d}{dx}{\left[5\right]}$$
Step 13 — Remove a factor of one Simplification
📖 Rule
$$1\cdot a=a,\quad \frac{a}{1}=a$$

Why: Multiplication or division by one leaves the value unchanged.

Changed part: $7 \cdot 1 \;\Longrightarrow\; 7$
🧮 Current expression
$$12\,x^{2} - 4\,x + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,7 \cdot 1\,}}} - \frac{d}{dx}{\left[5\right]}$$
✨ After: Remove a factor of one
$$12\,x^{2} - 4\,x + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,7\,}}} - \frac{d}{dx}{\left[5\right]}$$
Step 14 — Constant Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c)=0$$
With:
  • $c = 5$

Why: This term does not depend on x. Its value stays unchanged when x changes, so its derivative is zero. Other letters are treated as constant parameters.

Changed part: $\frac{d}{dx}{\left[5\right]} \;\Longrightarrow\; 0$
🧮 Current expression
$$12\,x^{2} - 4\,x + 7 - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[5\right]}\,}}}$$
✨ After: Constant Rule
$$12\,x^{2} - 4\,x + 7 - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,0\,}}}$$
Step 15 — Remove a zero term Simplification
📖 Rule
$$a+0=a,\quad a-0=a$$

Why: Adding or subtracting zero leaves the value unchanged. Remove that zero term.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,12\,x^{2} - 4\,x + 7 - 0\,}}}$$
✨ After: Remove a zero term
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,12\,x^{2} - 4\,x + 7\,}}}$$
Final result
$$12\,x^{2} - 4\,x + 7$$
Copy link to this solution
Cross-check with a computer algebra system

The derivative computed directly by the computer algebra system Maxima:

$$12\,x^{2} - 4\,x + 7$$

Step-by-step result ↔ Maxima: identical ✓