Differentiation Rules Examples: 48 Problems with Answers

Worked examples of Differentiation Rules to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Use the product rule to differentiate f(x)=x3⋅sin⁡x.
Show solution

Answer

f′(x)=3x2sin⁡x+x3cos⁡x

First step

1.
Identify the two factors: u=x3 and v=sin⁡x.

Full solution

  1. 2.
    Find their derivatives: u′=3x2 and v′=cos⁡x.
  2. 3.
    Apply the product rule (uv)′=u′v+uv′.
  3. 4.
    Result: f′(x)=3x2sin⁡x+x3cos⁡x.
The product rule states (fg)′=f′g+fg′. Each factor is differentiated once while the other is kept intact, and the two results are added. Never multiply the individual derivatives together.

Example 2

medium
Use the quotient rule to differentiate f(x)=x2+1x−3.

Example 3

easy
Differentiate f(x)=5sin⁡x−2cos⁡x.

Example 4

medium
Find f′(x) when f(x)=x2ln⁡x.

Example 5

hard
Differentiate f(x)=sin⁡xx2 using the quotient rule.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
Differentiate f(x)=x2cos⁡x using the product rule.

Example 2

hard
Differentiate f(x)=exx2+1 using the quotient rule.

Example 3

easy
Differentiate f(x)=x5 using the power rule.

Example 4

easy
Differentiate f(x)=3x2+2x−7.

Example 5

easy
Differentiate f(x)=6x using the constant multiple rule.

Example 6

easy
Differentiate f(x)=sin⁡x.

Example 7

easy
Differentiate f(x)=cos⁡x.

Example 8

easy
Differentiate f(x)=ex+x2.

Example 9

easy
Differentiate f(x)=1x.

Example 10

easy
Differentiate f(x)=ln⁡x.

Example 11

medium
Differentiate f(x)=x2sin⁡x using the product rule.

Example 12

medium
Differentiate f(x)=x2x+1 using the quotient rule.

Example 13

medium
Differentiate f(x)=(3x+1)5 (power rule plus chain rule).

Example 14

medium
Differentiate f(x)=xex using the product rule.

Example 15

medium
Differentiate f(x)=tan⁡x (express using sec⁡).

Example 16

medium
Differentiate f(x)=(x2+1)(x−3) two ways and confirm.

Example 17

medium
Differentiate f(x)=exx using the quotient rule.

Example 18

challenge
Differentiate f(x)=x2exsin⁡x (extended product rule).

Example 19

challenge
Differentiate f(x)=sin⁡x1+cos⁡x and simplify.

Example 20

challenge
Find the second derivative of f(x)=x4−3x2.

Example 21

medium
Differentiate f(x)=(2x+1)(x2−3) using the product rule.

Example 22

medium
Differentiate f(x)=3x−12x+5 using the quotient rule.

Example 23

easy
Differentiate f(x)=7.

Example 24

easy
Differentiate f(x)=x10.

Example 25

easy
Differentiate f(x)=x.

Example 26

easy
Differentiate f(x)=x3−4x+9.

Example 27

easy
Differentiate f(x)=1x3.

Example 28

medium
Differentiate f(x)=(x2+3)(2x−1) using the product rule.

Example 29

medium
Differentiate f(x)=ln⁡xx.

Example 30

medium
Differentiate f(x)=(4x−5)7 using the chain rule.

Example 31

medium
Differentiate f(x)=sin⁡(3x2).

Example 32

medium
Differentiate f(x)=e5x.

Example 33

medium
Differentiate f(x)=ln⁡(x2+1).

Example 34

medium
Differentiate f(x)=xx2+4.

Example 35

hard
Differentiate f(x)=sin⁡2x.

Example 36

hard
Differentiate f(x)=ex2⋅cos⁡x.

Example 37

hard
Differentiate f(x)=tan⁡(x3).

Example 38

hard
Find f′(x) for f(x)=x2+9.

Example 39

hard
Differentiate f(x)=xx for x>0.

Example 40

hard
Find the slope of y=e2x at x=1.

Example 41

hard
Find f′′(x) for f(x)=sin⁡(2x).

Example 42

challenge
Differentiate f(x)=ln⁡(sec⁡x+tan⁡x).

Example 43

challenge
Use implicit differentiation to find dydx when x2+y2=25.

What to focus on

Core idea: Differentiation rules are standard formulas (power, product, quotient) that compute derivatives of common function forms directly.

Common stuck point: The procedure for differentiation rules is the easy part; the trap is thinking the derivative of a product is the product of the derivatives. Asking "Can I name the expression's shape (power, product, or quotient) and apply the matching formula instead of the limit definition?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Can I name the expression's shape (power, product, or quotient) and apply the matching formula instead of the limit definition?

Concept recap

A set of standard formulas for finding derivatives of common function types without using the limit definition each time.

The rules work like a kitchen conversion chart: once you know a cup of flour weighs about 120 grams, you stop weighing cups. Each rule is a result worked out once from the limit definition and reused forever. Like any chart, it only helps if you read the right row: a product is not a power, and a fraction is not a product.

Read the full lesson on Differentiation Rules

Common mistakes to watch for

Differentiation Rules is covered with related ideas in the guide Derivatives Explained: Rules, Interpretation, and Applications.

Background knowledge

These ideas may be useful before you work through the harder examples.

derivative