From Individual Terms to Cubic and Quartic Polynomials
A cubic polynomial can contain terms with powers \(3\), \(2\), \(1\), and \(0\). A quartic polynomial can also contain a term with power \(4\). To differentiate either kind, apply the familiar power rule to each term and combine the results.
The main challenge is keeping the coefficient and exponent changes straight, especially when coefficients are negative or some terms are absent. A negative coefficient stays negative when it is multiplied by the exponent. A constant term has derivative zero, and a term with coefficient zero contributes nothing.
The requirement that the leading coefficient is nonzero distinguishes a cubic from a polynomial of lower degree, and a quartic from a polynomial of lower degree. It is useful to write zero-coefficient terms while organizing a calculation, but they do not affect the resulting polynomial.
The Rules Used for Each Term
For a positive integer \(n\), the power rule gives \(\frac{d}{dx}x^n=nx^{n-1}\). The constant-multiple rule says that the derivative of \(c f(x)\) is \(c f'(x)\), where \(c\) is constant. The sum and difference rules say that the derivative of a finite sum or difference is the sum or difference of the derivatives. A constant function has derivative zero.
These rules apply directly to every term in a cubic or quartic polynomial. In particular, the derivative of \(cx^n\) is \(cnx^{n-1}\): multiply the coefficient by the exponent, then reduce the exponent by one. For a constant term \(c=cx^0\), the derivative is zero.
Why the Formula Works
The formula follows by applying the derivative rules to each term. This is a short derivation from the power rule, the constant-multiple rule, and the sum rule; it does not require a separate argument for each choice of coefficients.
Separate the terms \(a_4x^4\), \(a_3x^3\), \(a_2x^2\), \(a_1x\), and \(a_0\).
The power rule and constant-multiple rule give \((a_4x^4)'=4a_4x^3\), \((a_3x^3)'=3a_3x^2\), \((a_2x^2)'=2a_2x\), and \((a_1x)'=a_1\). The constant has derivative \(a_0'=0\).
By the sum rule, \(p'(x)=4a_4x^3+3a_3x^2+2a_2x+a_1+0\), which is the stated formula.
This also explains the cubic case: when \(a_4=0\), the first term of the derivative is zero, leaving \(3a_3x^2+2a_2x+a_1\). If the polynomial is genuinely cubic, \(a_3\ne 0\), so its derivative has a nonzero quadratic term.
Worked Example: A Cubic with Positive, Negative, and Zero Coefficients
Worked Example: A Cubic with Positive, Negative, and Zero Coefficients
Differentiate \(f(x)=4x^3-3x^2+0x-5\), then evaluate the derivative function at \(x=-1\).
Differentiate each term separately:
Add the derivatives:
Now substitute \(x=-1\) into the derivative function:
Check the derivative term by term: the cubic contributes a positive quadratic term with coefficient \(4\cdot3=12\); the negative quadratic contributes \(-3\cdot2=-6\) times \(x\); and the zero and constant terms contribute zero. Substituting \(-1\) into \(12x^2-6x\) gives \(18\), as calculated.
Worked Example: A Quartic with Negative Leading Coefficient
Worked Example: A Quartic with Negative Leading Coefficient
Differentiate \(g(x)=-2x^4+5x^3-7x^2-x+6\), then evaluate the derivative function at \(x=2\).
Apply the power rule to the quartic term:
For the cubic term:
For the quadratic and linear terms:
The constant has derivative zero, so the complete derivative is
Evaluate at \(x=2\), calculating each power and product:
Check the derivative by matching each original term to its result: \(-2x^4\) gives \(-8x^3\), \(5x^3\) gives \(15x^2\), \(-7x^2\) gives \(-14x\), \(-x\) gives \(-1\), and \(6\) gives zero. The substitution arithmetic also checks: \(-64+60=-4\), \(-4-28=-32\), and \(-32-1=-33\).
Worked Example: Missing Terms and a Zero Coefficient
Worked Example: Missing Terms and a Zero Coefficient
Differentiate \(h(x)=0x^4-\frac{1}{2}x^3+3x^2+0x-4\), then evaluate the derivative function at \(x=-2\).
Differentiate each nonzero power term and the constant:
Combining the results gives
Substitute \(x=-2\):
Check the term-by-term result: the quartic and linear coefficients are zero, so those terms contribute zero; the cubic contributes \(-\frac{3}{2}x^2\); the quadratic contributes \(6x\); and the constant contributes zero. The evaluation is consistent because \((-2)^2=4\), so the first contribution is \(-6\), and the second is \(-12\), giving \(-18\).
Signs, Zero Coefficients, and Degree
A negative coefficient is multiplied by the exponent without changing its sign by itself. For example, the coefficient \(-2\) in \(-2x^4\) becomes \((-2)\cdot4=-8\), so the derivative term is \(-8x^3\). The sign comes from the coefficient, while the exponent supplies a positive integer factor.
A zero coefficient makes its whole term zero before and after differentiation. Missing terms can be treated as terms with coefficient zero. A constant term also disappears because its derivative is zero, regardless of whether the constant is positive, negative, or zero.
When the leading coefficient is nonzero, differentiating a quartic produces a cubic leading term, and differentiating a cubic produces a quadratic leading term. Lower terms may also appear, but they cannot change that leading power: the leading coefficient is multiplied by a positive exponent and therefore remains nonzero.
Common Mistake: Keeping the Constant or Losing a Negative Sign
Suppose the polynomial is \(q(x)=-3x^3+2x^2-7\). A common incorrect calculation is
The first two terms are differentiated correctly, but the constant \(-7\) has been copied into the derivative. It should contribute zero, not \(-7\). The correction is
The negative sign in the first term must also be retained: \((-3)\cdot3=-9\). A reliable check is to match every original term with its derivative, including a zero contribution for every constant.
A Reliable Procedure
For a cubic or quartic, the calculation can be organized in a few deliberate steps:
- Write each term clearly, retaining its sign and coefficient.
- For each nonconstant power term \(cx^n\), calculate \(cn\) and reduce the exponent to \(n-1\).
- Replace each constant term by zero and omit terms with zero coefficients.
- Combine the remaining terms in descending powers of \(x\).
- If asked to evaluate the derivative function, substitute the input into the derivative—not into the original polynomial—and simplify the arithmetic.
This procedure keeps differentiation separate from evaluation. First find the whole derivative function; then use that function for any requested input. The result is a polynomial that records the derivative at every real input, rather than only a single derivative value.
Check Your Understanding
For each question, keep the coefficient signs and constant terms in view.
- Differentiate \(r(x)=6x^3-4x^2+9x-2\).
- Differentiate \(s(x)=-x^4+3x^3-5\).
- Differentiate \(t(x)=0x^4+2x^3-7x+1\), and explain which terms contribute zero.
- If \(u(x)=-3x^4+2x^2+8\), find \(u'(x)\), then evaluate \(u'(1)\).
- In differentiating a polynomial, why does a negative coefficient remain negative when multiplied by the exponent, and why does a constant term contribute zero?