Differentiation Rules

This purely reference page lists some of the most important differentiation rules, including constant rule, power rule, sum rule, difference rule, product rule, quotient rule, and chain rule.

You can access this page from the Key Formulas menu item at the top of every page.

Constant Rule

The derivative of a constant function is 0.

𝑓(𝑥)=𝑐𝑓(𝑥)=0

Power Rule

The derivative of 𝑥𝑛 is 𝑛𝑥𝑛1.

𝑓(𝑥)=𝑥𝑛𝑓(𝑥)=𝑛𝑥𝑛1

To practice using the rules above, visit our free Derivatives of Constant, Linear, & Power Functions page.

Sum Rule

The derivative of the sum of two functions is the sum of the derivatives of the two functions.

𝑓(𝑥)=𝑔(𝑥)+(𝑥)𝑓(𝑥)=𝑔(𝑥)+(𝑥)

Difference Rule

The derivative of the difference of two functions is the difference of the derivatives of the two functions.

𝑓(𝑥)=𝑔(𝑥)(𝑥)𝑓(𝑥)=𝑔(𝑥)(𝑥)

Product Rule

The derivative of the product of two functions is [the first function times the derivative of the second function] plus [the second function times the derivative of the first function].

𝑓(𝑥) =𝑔(𝑥)(𝑥) 𝑓(𝑥)=𝑔(𝑥)(𝑥)+(𝑥)𝑔(𝑥)=[ (deriv of the 1st) × (the 2nd) ]+[ (the 1st) × (deriv of the 2nd)]

To practice using the Product Rule, visit our free Product Rule page.

Quotient Rule

The derivative of the quotient of two functions is [the derivative of the numerator times the denominator] minus [the numerator times the derivative of the denominator], all divided by [the square of the denominator].

𝑓(𝑥)=𝑔(𝑥)(𝑥)𝑓(𝑥)=(𝑥)𝑔(𝑥)𝑔(𝑥)(𝑥)(𝑥)2=[ (deriv of the numerator) × (the denominator) ][ (the numerator) × (deriv of the denominator)]all divided by [the denominator, squared]

Many students remember the Quotient Rule by thinking of the numerator as "hi," the demoninator as "lo," the derivative as "d," and then singing

"lo d-hi minus hi d-lo over lo-lo"

To practice using the Quotient Rule, visit our free Quotient Rule page.

Chain Rule

The derivative of the composition of two functions is [the derivative of the outer function times the derivative of the inner function].

𝑓(𝑥) =𝑔((𝑥))

𝑓(𝑥)=𝑔((𝑥))(𝑥)=[ [deriv of outer function, evaluated at inner function] × [deriv of inner function]]

Alternatively, if we write 𝑦 =𝑓(𝑢) and 𝑢 =𝑔(𝑥), then

𝑑𝑦𝑑𝑥=𝑑𝑦𝑑𝑢𝑑𝑢𝑑𝑥

Informally:

𝑑𝑓𝑑𝑥=[𝑑𝑓𝑑(stuff)]×𝑑𝑑𝑥(stuff)

For many examples and practice problems with the Chain Rule, visit our free Basic Practice with the Chain Rule and Chain Rule - Deeper Work pages.

One quick example of the Chain Rule

Consider 𝑓(𝑥) =(𝑥2 +1)7.

To find the derivative, think something like: "The function is a bunch of stuff to the 7th power. So the derivative is 7 times that same stuff to the 6th power, times the derivative of that stuff."

𝑓(𝑥)=(stuff)7;stuff=𝑥2+1Then𝑓(𝑥)=𝑑𝑓𝑑𝑥=7(stuff)6(𝑑𝑑𝑥(𝑥2+1))=7(𝑥2+1)6(2𝑥)

Note: You'd never actually write out "stuff = ....".
Instead just hold in your head what that "stuff" is, and proceed to write down the required derivatives. With a little practice, this becomes quite routine. Indeed, using our free practice problems you'll quickly come to recognize the answer to some Chain Rule multiple choice questions without even writing anything down!

Tip icon

Tip: You can differentiate any function, for free, using WolframAlpha's Online Derivative Calculator.