Introduction to Differentiating Polynomials
Welcome to one of the most powerful tools in your mathematical toolkit! Differentiation is the process of finding the rate of change of a function. In simpler terms, it allows us to find the exact steepness (the gradient) of a curve at any point. While you might have found the gradient of straight lines before using \(\text{rise over run}\), differentiation lets us do this for curves like parabolas and cubics.
In this chapter, we focus on polynomials—functions made of terms like \(x^2\), \(5x\), and constants. Don't worry if this seems abstract; once you learn the "Power Rule," you will be able to differentiate most polynomials in your head!
The Gradient Function
When we differentiate a function \(y = f(x)\), we create a new function called the derivative. This new function tells us the gradient of the original curve at any value of \(x\).
Notation: There are two main ways to write the derivative that you must recognize:
1. Leibniz’s notation: If the equation is \(y = ...\), the derivative is written as \(\frac{dy}{dx}\) (read as "dee-y by dee-x").
2. Function notation: If the function is \(f(x) = ...\), the derivative is written as \(f'(x)\) (read as "f prime of x").
The Power Rule: The Golden Rule of Calculus
The core of differentiating polynomials is the Power Rule. This rule works for any term where \(x\) is raised to a power.
If \(f(x) = ax^n\), then the derivative is:
\(f'(x) = n \cdot ax^{n-1}\)
In plain English: To find the derivative, "bring the power down" to multiply the front, and then "subtract one" from the original power.
Step-by-Step Example:
Differentiate \(f(x) = 5x^3\):
1. Identify the power: \(n = 3\).
2. Multiply the front coefficient (\(5\)) by the power (\(3\)): \(5 \cdot 3 = 15\).
3. Reduce the power by \(1\): \(3 - 1 = 2\).
4. The result: \(f'(x) = 15x^2\).
Special Cases and Constants
There are two "shortcut" scenarios that are very helpful to memorize:
1. The Derivative of a Constant:
If \(f(x) = c\) (where \(c\) is just a number, like \(5\) or \(-10\)), then \(f'(x) = 0\).
Why? Think of the graph \(y = 5\). It is a horizontal line. The gradient of a horizontal line is always zero!
2. The Derivative of \(x\):
If \(f(x) = ax\), then \(f'(x) = a\).
Example: If \(y = 7x\), then \(\frac{dy}{dx} = 7\). The \(x\) essentially disappears because its power becomes \(0\), and any number to the power of \(0\) is \(1\).
Differentiating Sums and Multiples
If a polynomial has multiple terms added or subtracted together, you simply differentiate each term one by one. This is known as the linearity of the derivative.
Example: Differentiate \(f(x) = 2x^4 - 6x^2 + 7x - 9\)
- The derivative of \(2x^4\) is \(8x^3\).
- The derivative of \(-6x^2\) is \(-12x\).
- The derivative of \(7x\) is \(7\).
- The derivative of \(-9\) is \(0\).
Final Answer: \(f'(x) = 8x^3 - 12x + 7\)
Working with Rational and Negative Exponents
The Power Rule isn't just for positive integers! It works for rational exponents (fractions) and negative exponents too. You will often need to rewrite your expression using the laws of exponents before you differentiate.
Dealing with Roots:
If you see a square root, rewrite it as a fraction: \(\sqrt{x} = x^{1/2}\).
Example: Differentiate \(f(x) = \sqrt{x}\)
1. Rewrite: \(f(x) = x^{1/2}\).
2. Apply rule: \(f'(x) = \frac{1}{2}x^{(1/2 - 1)} = \frac{1}{2}x^{-1/2}\).
3. (Optional) Rewrite back: \(f'(x) = \frac{1}{2\sqrt{x}}\).
Dealing with Fractions (Negative Powers):
If \(x\) is in the denominator, rewrite it with a negative exponent: \(\frac{1}{x^n} = x^{-n}\).
Example: Differentiate \(y = \frac{4}{x^3}\)
1. Rewrite: \(y = 4x^{-3}\).
2. Apply rule: \(\frac{dy}{dx} = (-3) \cdot 4x^{-3-1} = -12x^{-4}\).
3. (Optional) Rewrite back: \(\frac{dy}{dx} = -\frac{12}{x^4}\).
Common Pitfalls to Avoid
Mistake 1: Forgetting to subtract 1 from negative numbers.
If you have \(x^{-2}\), the new power is \(-2 - 1 = -3\). Many students accidentally write \(-1\). Think of a thermometer: if it is \(-2\) degrees and it drops \(1\) degree, it is now \(-3\).
Mistake 2: Differentiating the coefficient but leaving the power.
Remember, you must do both: multiply the front AND subtract from the top.
Mistake 3: Forgetting that constants disappear.
A common error is keeping the constant in the derivative. Remember: \(f(x) = 10 \implies f'(x) = 0\).
Quick Review: Key Takeaways
The Rule: For any term \(ax^n\), the derivative is \(anx^{n-1}\).
Notation: Use \(f'(x)\) or \(\frac{dy}{dx}\).
Preparation: Always rewrite roots as \(x^{p/q}\) and denominators as \(x^{-n}\) before starting.
Constants: The gradient of a constant number is always \(0\).
Sum Rule: Just differentiate term by term.
Did you know? The discovery of calculus in the 17th century by Isaac Newton and Gottfried Wilhelm Leibniz allowed scientists to calculate planetary orbits and understand the motion of fluids for the first time. You are learning the language of the universe!
Next Steps: Now that you can differentiate polynomials, you can use these derivatives to find the equations of Tangents and Normals or find Maximum and Minimum points on a curve.