What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Derivative Rules

A derivative measures instantaneous change. Rules such as product, quotient, and chain rules compress the limit definition while preserving function structure.

Set up the problem before choosing a step

Know function notation, exponent laws, slope, and how compositions such as $(3x+1)^4$ are built. Continue through AP Calculus AB preparation when you need the complete sequence.

A decision sequence for derivative rules

  1. Identify the outermost operation: sum, product, quotient, or composition.
  2. Apply the matching rule without simplifying away needed factors.
  3. Differentiate inner functions, combine like factors, and keep the result in a form useful for the question.

Follow the decisions through one complete case

For $(3x+1)^4$, the power rule differentiates the outer fourth power and the chain rule multiplies by the inner derivative $3$, giving $12(3x+1)^3$.

  1. Step 1 - Start with the function: $f(x)=3x^4-5x^2+7x-2$
  2. Step 2 - Power rule on the first term: $3x^4 \to 4\cdot3x^{3}=12x^3$
  3. Step 3 - Power rule on the second term: $-5x^2 \to 2\cdot(-5)x^{1}=-10x$
  4. Step 4 - Linear term and constant: $7x \to 7$ and $-2 \to 0$, because a constant never changes
  5. Step 5 - Put the pieces together: $f'(x)=12x^3-10x+7$
  6. Step 6 - Find the slope at $x=2$: $f'(2)=12(8)-10(2)+7=96-20+7=83$
  7. Step 7 - Sanity check with a tiny secant: $f(2)=40$ and $f(2.001)=40.083067$, so the average slope is $0.083067/0.001=83.067$, right next to $83$
  8. Step 8 - Chain rule on a nested example: $\frac{d}{dx}(x^2+1)^3=3(x^2+1)^2\cdot 2x=6x(x^2+1)^2$

Try the same method with the surface details changed

Differentiate $x^2\sin(3x)$ and label where the product rule ends and the chain rule begins.

Show the worked answer after attempting it

The outermost operation in $x^2\sin(3x)$ is a multiplication, so the product rule comes first. Let $f=x^2$ and $g=\sin(3x)$. Then $f'=2x$ by the power rule. Finding $g'$ is where the chain rule begins: the outside layer is sine, whose derivative is cosine, and the inside layer is $3x$, whose derivative is $3$, so $g'=3\cos(3x)$.

The product rule now assembles the answer: $f'g+fg'=2x\sin(3x)+x^2\cdot3\cos(3x)$, which is usually written $\frac{d}{dx}\left[x^2\sin(3x)\right]=2x\sin(3x)+3x^2\cos(3x)$. The product rule ends the moment you write $f'g+fg'$; the chain rule lives entirely inside the single factor $g'$. Quick check at $x=0$: the formula gives $0+0=0$, and $x^2\sin(3x)$ is flat at the origin because both $x^2$ and $\sin(3x)$ are zero there.

Verify the result and diagnose the first error

A result is useful only when it survives the original conditions and a second line of reasoning. Check the completed work before studying the error pattern below.

Check derivative rules by a second route

Compare the derivative with a numerical secant slope near a chosen point, or expand the original expression and differentiate term by term.

Reference and notation for derivative rules

The core derivative rules, each with a function and its finished derivative

The core derivative rules, each with a function and its finished derivative
RuleFunctionDerivativeWorked example
Power rulex^nn * x^(n-1)d/dx of x^5 = 5x^4
Constant multiplec * f(x)c * f'(x)d/dx of 7x^3 = 21x^2
Product rulef(x) * g(x)f'g + f g'd/dx of x^2 sin x = 2x sin x + x^2 cos x
Quotient rulef(x) / g(x)(f'g - f g') / g^2d/dx of x/(x+1) = 1/(x+1)^2
Chain rulef(g(x))f'(g(x)) * g'(x)d/dx of (3x+1)^4 = 12(3x+1)^3
Exponential and loge^x and ln xe^x and 1/xd/dx of e^(5x) = 5e^(5x); d/dx of ln(2x) = 1/x

Language you need to use precisely

Derivative
A derivative is the rate at which a function's output changes at one exact input, found as the limit of average slopes over shrinking intervals.
Tangent line
A tangent line is the straight line that touches a curve at a single point and has exactly the same slope as the curve there.
Product rule
The product rule says the derivative of two functions multiplied together is the first one's derivative times the second, plus the first times the second one's derivative.
Quotient rule
The quotient rule says the derivative of a top over a bottom is the bottom times the top's derivative minus the top times the bottom's derivative, all divided by the bottom squared.
Chain rule
The chain rule handles a function tucked inside another function: differentiate the outside layer as if the inside were a single letter, then multiply by the derivative of the inside.
Higher-order derivative
A higher-order derivative is what you get by differentiating again, so the second derivative $f''(x)$ measures how fast the rate of change is itself changing.

Use derivative rules beyond one example

Speed and acceleration

If a position function is $s(t)=3t^2$ metres after $t$ seconds, the derivative $s'(t)=6t$ gives the speed, so at $t=4$ seconds the object is moving $24$ metres per second.

Finding the best size

A company writes profit as a function of price, then sets the derivative to zero to find the price where profit stops rising and starts falling.

Medicine dosing

Drug concentration in blood rises then falls, and its derivative tells doctors how quickly the level is dropping so they know when the next dose is due.

Connected ideas worth studying next

  • Understanding limits: The derivative is defined as a limit of slopes, so limit skills are what make these rules legal shortcuts.
  • Integration techniques: Substitution is the chain rule run backwards, and integration by parts is the product rule run backwards.
  • Fundamental theorem of calculus: That theorem is what links these derivative rules to computing areas and totals.

Ask for help with the decision, not only the answer

Bring your complete derivative rules problem and the first step you cannot justify to the AI math solver. Ask it to explain that decision, then reproduce the method and check it against the original conditions.

Questions students ask about derivative rules

Is $(fg)'$ ever equal to $f'g'$?

Only by accident. Try $f=x$ and $g=x$: the real derivative of $x^2$ is $2x$, while $f'g'=1\cdot1=1$. Those agree only at $x=0.5$. The product rule $f'g+fg'$ has two terms because changing either factor changes the product.

Do I need the quotient rule, or can I always use the product rule?

You can always rewrite $f/g$ as $f\cdot g^{-1}$ and use the product rule with the chain rule, and you will get the same answer. The quotient rule is just that combination pre-simplified, so it saves algebra when the bottom is messy.

What does it mean when the derivative equals zero?

The curve is momentarily flat there. That point is a candidate for a peak, a valley, or a flat spot like the one $x^3$ has at $x=0$. Checking the sign of the derivative just before and just after the point tells you which of the three it is.

How deep can the chain rule go?

As deep as the nesting. For $\sin((3x+1)^4)$ you differentiate the sine, then the fourth power, then the $3x+1$, and multiply all three: $\cos((3x+1)^4)\cdot4(3x+1)^3\cdot3$. Each layer contributes one factor, so peel from the outside in and multiply as you go.

Get the next useful step for derivative rules.

Ask about the first decision you cannot yet justify.

Open the tutor