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

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

Step-by-step solution

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

Start of the differentiation
$$\frac{d}{dx}{\left[3\,x^{4} - 5\,x^{2} + 2\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 = 3\,x^{4}$
  • $v = 5\,x^{2}$
  • $w = 2$

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

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

Changed part: $\frac{d}{dx}{\left[3\,x^{4}\right]} \;\Longrightarrow\; 3\,\frac{d}{dx}{\left[x^{4}\right]}$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[3\,x^{4}\right]}\,}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Constant Factor Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3\,\frac{d}{dx}{\left[x^{4}\right]}\,}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\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 = 4$

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

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

Changed part: $4 - 1 \;\Longrightarrow\; 3$
🧮 Current expression
$$3 \cdot 4\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,4 - 1\,}}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Evaluate numbers
$$3 \cdot 4\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3\,}}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\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: $3 \cdot 4\,x^{3} \;\Longrightarrow\; 12\,x^{3}$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,3 \cdot 4\,x^{3}\,}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Combine numeric factors
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,12\,x^{3}\,}}} - \frac{d}{dx}{\left[5\,x^{2}\right]} + \frac{d}{dx}{\left[2\right]}$$
Step 6 — Constant Factor Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c\,u)=c\,u'$$
With:
  • $c = 5$
  • $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[5\,x^{2}\right]} \;\Longrightarrow\; 5\,\frac{d}{dx}{\left[x^{2}\right]}$
🧮 Current expression
$$12\,x^{3} - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[5\,x^{2}\right]}\,}}} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Constant Factor Rule
$$12\,x^{3} - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,5\,\frac{d}{dx}{\left[x^{2}\right]}\,}}} + \frac{d}{dx}{\left[2\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^{3} - 5\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x^{2}\right]}\,}}} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Power Rule (special case)
$$12\,x^{3} - 5 \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2\,x^{2 - 1}\,}}} + \frac{d}{dx}{\left[2\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^{3} - 5 \cdot 2\,x^{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,2 - 1\,}}}} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Evaluate numbers
$$12\,x^{3} - 5 \cdot 2\,x^{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}} + \frac{d}{dx}{\left[2\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^{3} - 5 \cdot 2\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x^{1}\,}}} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Power with exponent one
$$12\,x^{3} - 5 \cdot 2\,\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x\,}}} + \frac{d}{dx}{\left[2\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: $5 \cdot 2\,x \;\Longrightarrow\; 10\,x$
🧮 Current expression
$$12\,x^{3} - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,5 \cdot 2\,x\,}}} + \frac{d}{dx}{\left[2\right]}$$
✨ After: Combine numeric factors
$$12\,x^{3} - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,10\,x\,}}} + \frac{d}{dx}{\left[2\right]}$$
Step 11 — Constant Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(c)=0$$
With:
  • $c = 2$

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[2\right]} \;\Longrightarrow\; 0$
🧮 Current expression
$$12\,x^{3} - 10\,x + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[2\right]}\,}}}$$
✨ After: Constant Rule
$$12\,x^{3} - 10\,x + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,0\,}}}$$
Step 12 — 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^{3} - 10\,x + 0\,}}}$$
✨ After: Remove a zero term
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,12\,x^{3} - 10\,x\,}}}$$
Final result
$$12\,x^{3} - 10\,x$$
Copy link to this solution
Cross-check with a computer algebra system

The derivative computed directly by the computer algebra system Maxima:

$$12\,x^{3} - 10\,x$$

Step-by-step result ↔ Maxima: identical ✓