Mr Jarven

    Mathematics

    How to Calculate Derivatives (Beginner's Guide)

    March 14, 2026·9 min read

    What Is a Derivative?

    A derivative measures how fast something is changing at any given point. It tells you the rate of change of a function.

    Think of it this way: if you're driving a car and your position changes over time, the derivative of your position is your speed. If your speed changes, the derivative of your speed is your acceleration.

    Mathematically, the derivative of a function f(x) at a point gives you the slope of the tangent line to the curve at that point.

    Why Do Derivatives Matter?

    Derivatives are used everywhere:

    • Physics: Velocity is the derivative of position; acceleration is the derivative of velocity
    • Economics: Marginal cost is the derivative of total cost
    • Engineering: Rates of change in temperature, pressure, electrical current
    • Medicine: Rate of drug absorption in the body
    • Optimization: Finding maximum profit, minimum cost, or best dimensions

    Basic Notation

    There are several ways to write derivatives:

    • f'(x) — read as "f prime of x" (Lagrange notation)
    • dy/dx — read as "the derivative of y with respect to x" (Leibniz notation)
    • d/dx [f(x)] — means "take the derivative of f(x)"

    All three mean the same thing: the rate of change of the function.

    The Power Rule

    The power rule is the most fundamental derivative rule:

    If f(x) = x^n, then f'(x) = n times x^(n-1)

    In words: bring the exponent down as a coefficient, then reduce the exponent by 1.

    Examples:

    | f(x) | f'(x) | Explanation | |---|---|---| | x squared | 2x | Bring down 2, reduce power: 2x | | x cubed | 3x squared | Bring down 3, reduce power | | x to the 5th | 5x to the 4th | Bring down 5, reduce power | | x | 1 | Bring down 1, reduce power: x to the 0 = 1 |

    With coefficients: If f(x) = c times x^n, then f'(x) = c times n times x^(n-1)

    Example: f(x) = 3x^4, so f'(x) = 3 times 4 times x^3 = 12x^3

    The Constant Rule

    The derivative of a constant is zero.

    If f(x) = c (where c is any constant number), then f'(x) = 0.

    This makes sense: a constant doesn't change, so its rate of change is zero.

    Examples:

    • f(x) = 5, then f'(x) = 0
    • f(x) = -100, then f'(x) = 0

    The Sum and Difference Rule

    The derivative of a sum (or difference) is the sum (or difference) of the derivatives.

    You can take the derivative of each term separately.

    Example: f(x) = 3x^2 + 5x - 7

    Take the derivative of each term:

    • d/dx(3x^2) = 6x
    • d/dx(5x) = 5
    • d/dx(-7) = 0

    f'(x) = 6x + 5

    Another example: f(x) = x^4 - 2x^3 + x - 9

    • d/dx(x^4) = 4x^3
    • d/dx(-2x^3) = -6x^2
    • d/dx(x) = 1
    • d/dx(-9) = 0

    f'(x) = 4x^3 - 6x^2 + 1

    The Product Rule

    When two functions are multiplied together, you can't just take the derivative of each separately. You need the product rule:

    If f(x) = g(x) times h(x), then f'(x) = g'(x) times h(x) + g(x) times h'(x)

    Memory trick: "First times derivative of second, plus second times derivative of first."

    Example: f(x) = x^2 times (3x + 1)

    Let g(x) = x^2 and h(x) = 3x + 1

    • g'(x) = 2x
    • h'(x) = 3

    f'(x) = 2x times (3x + 1) + x^2 times 3 = 6x^2 + 2x + 3x^2 = 9x^2 + 2x

    The Chain Rule

    The chain rule is used for composite functions — functions inside other functions.

    If f(x) = g(h(x)), then f'(x) = g'(h(x)) times h'(x)

    In words: take the derivative of the outer function (keeping the inner function as is), then multiply by the derivative of the inner function.

    Example: f(x) = (2x + 3)^4

    • Outer function: ( )^4 gives derivative 4( )^3
    • Inner function: 2x + 3 gives derivative 2

    f'(x) = 4(2x + 3)^3 times 2 = 8(2x + 3)^3

    Another example: f(x) = (x^2 - 1)^3

    • Outer: ( )^3 gives 3( )^2
    • Inner: x^2 - 1 gives 2x

    f'(x) = 3(x^2 - 1)^2 times 2x = 6x(x^2 - 1)^2

    Common Mistakes

    1. Forgetting the chain rule: When functions are nested, you MUST use the chain rule
    2. Not applying the product rule: You can't just differentiate each factor separately when functions are multiplied
    3. Losing negative signs: Be careful tracking negative signs through calculations
    4. Forgetting constants: The derivative of a standalone constant is 0, but don't forget coefficients on variable terms
    5. Power rule errors: Remember to reduce the exponent by 1, not just bring it down

    Summary

    Derivatives measure the rate of change of a function. The key rules are: the power rule (bring down the exponent, reduce by 1), the constant rule (derivative of a constant is 0), the sum rule (differentiate each term separately), the product rule (for multiplied functions), and the chain rule (for nested functions). Mastering these rules lets you differentiate almost any function you'll encounter in a calculus course.

    Get a step-by-step explanation.

    Mr Jarven explains mathematics and any topic at your level — with practice questions and instant feedback.

    Ask Mr Jarven

    Related articles