Introduction to Derivatives and Basic Rules
From the Calca curriculum
Introduction to Derivatives and Basic Rules
TL;DR
Derivatives tell you how quickly something is changing at any given moment. They measure the slope of a curve. Learning basic derivative rules lets you quickly calculate these rates of change for many functions.
1. The Mental Model
Imagine you're walking on a hilly path. A derivative tells you how steep the path is right where you're standing – not the average steepness, but the exact steepness at that single point.
2. The Core Material
A derivative, at its heart, is about instantaneous rate of change. Think of it as finding the slope of a tangent line to a curve at a very specific point. Instead of calculating the average speed over an hour, a derivative helps you find your exact speed at 3:17 PM.
We often write the derivative of a function f(x) as f'(x) (read as "f prime of x") or dy/dx if y = f(x).
The Power Rule

Photo by Alari Tammsalu on Pexels
This is one of the most fundamental rules. It applies to functions where x is raised to a power.
If f(x) = x^n, then f'(x) = n * x^(n-1).
Here's how it works:
1. Bring the power n down to the front as a multiplier.
2. Reduce the original power by 1.
Examples:
* If f(x) = x^2, then f'(x) = 2x^(2-1) = 2x^1 = 2x.
* If f(x) = x^5, then f'(x) = 5x^(5-1) = 5x^4.
* If f(x) = x (which is x^1), then f'(x) = 1x^(1-1) = 1x^0 = 1 * 1 = 1.
* If f(x) = 7 (which can be thought of as 7x^0), then f'(x) = 0 * 7x^(-1) = 0. The derivative of any constant is 0.
The Constant Multiple Rule

Photo by Shubham Dhage on Pexels
If you have a constant c multiplying a function f(x), you can just carry the constant along and differentiate f(x).
If g(x) = c * f(x), then g'(x) = c * f'(x).
Examples:
* If f(x) = 3x^4, then f'(x) = 3 * (4x^3) = 12x^3.
* If f(x) = -5x, then f'(x) = -5 * (1) = -5.
The Sum and Difference Rule

Photo by Polina ⠀ on Pexels
If you have a function made up of several terms added or subtracted, you can differentiate each term separately.
If h(x) = f(x) + g(x), then h'(x) = f'(x) + g'(x).
If h(x) = f(x) - g(x), then h'(x) = f'(x) - g'(x).
Example:
* If f(x) = 4x^3 + 2x^2 - x + 10, then f'(x) = (3 * 4x^2) + (2 * 2x^1) - (1) + (0) = 12x^2 + 4x - 1.
Understanding the Flow of Differentiation

Photo by cottonbro studio on Pexels
graph TD
A["Start with a Function y = f(x)"] --> B{"Is it a Power Function (x^n)?"}
B -- Yes --> C["Apply Power Rule: n*x^(n-1)"]
B -- No --> D{"Is it a Constant c?"}
D -- Yes --> E["Derivative is 0"]
D -- No --> F{"Is it a Constant Multiple (c*f(x))?"}
F -- Yes --> G["Keep c, differentiate f(x)"]
F -- No --> H{"Is it a Sum/Difference (f(x) +/- g(x))?"}
H -- Yes --> I["Differentiate each term separately"]
H -- No --> J["(More Advanced Rules Apply Here)"]
C --> K["Combine with other rules if needed"]
E --> K
G --> K
I --> K
K --> L["Result: f'(x) (The Derivative)"]
3. Worked Example
Let's find the derivative of f(x) = 5x^3 - 7x^2 + 9x - 12.
-
Break it down by terms (Sum/Difference Rule):
- Term 1:
5x^3 - Term 2:
-7x^2 - Term 3:
9x - Term 4:
-12
- Term 1:
-
Differentiate each term:
- For
5x^3: Apply Constant Multiple Rule and Power Rule.5 * (3 * x^(3-1)) = 5 * 3x^2 = 15x^2.
- For
-7x^2: Apply Constant Multiple Rule and Power Rule.-7 * (2 * x^(2-1)) = -7 * 2x^1 = -14x.
- For
9x: Apply Constant Multiple Rule and Power Rule (rememberxisx^1).9 * (1 * x^(1-1)) = 9 * x^0 = 9 * 1 = 9.
- For
-12: This is a constant.- The derivative of a constant is
0.
- The derivative of a constant is
- For
-
Combine the results:
f'(x) = 15x^2 - 14x + 9 + 0
f'(x) = 15x^2 - 14x + 9
4. Key Takeaways
- A derivative tells you the instantaneous rate of change or the slope of a tangent line at a point.
- The Power Rule states that if
f(x) = x^n, thenf'(x) = nx^(n-1). - The derivative of any constant term is always zero.
- You can treat constants multiplying a function as a separate step:
d/dx[cf(x)] = c * d/dx[f(x)]. - When functions are added or subtracted, you can differentiate each part independently.
- These basic rules are the foundation for more complex differentiation techniques you'll learn later.
Common Mistakes to Avoid
- Forgetting to subtract 1 from the power when using the Power Rule.
- Thinking the derivative of
xis0orxinstead of1. - Forgetting that the derivative of a constant (like
5or-100) is0, not the constant itself. - Trying to apply these basic rules to products or quotients of functions (that's for later rules!).
5. Now Try It
Find the derivative of the function g(x) = 2x^4 + 6x - 8. Write down each step as you apply the rules.
Success looks like correctly applying the Power, Constant Multiple, and Sum/Difference rules to arrive at g'(x) = 8x^3 + 6.
Frequently asked about Introduction to Derivatives and Basic Rules
More from Calca
Get the full Calca curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Create Free Account