Derivative Calculator

Published on: March 23, 2025

This Derivative Calculator helps you find the derivative of a function and shows the working clearly step by step. It can be used to differentiate common algebraic expressions and understand how rules such as the power rule, sum rule, and other basic differentiation rules are applied. This makes it useful for checking answers, learning derivative methods, and practising calculus more confidently.

Step-by-step method

  1. Set up the function.
  2. Identify the main rule.
  3. Split the expression if needed.
  4. Work through each selected part using its own formula.
  5. Combine the worked parts.
  6. Simplify and write the final derivative.

Formula:

ddxc=0
ddxx=1
ddxxn=nxn − 1
ddxu ± v=u′ ± v′
ddxcu=cu′
ddxuv=u′v + uv′
ddxuv=u′v − uv′v2
dydx=dydu·dudx
ddxsinu=cosuu′
ddxcosu=sinuu′
ddxtanu=sec2uu′
ddxsecu=secutanuu′
ddxcscu=cscucotuu′
ddxcotu=csc2uu′
ddxlnu=u′u
ddxexpu=expuu′
ddxu=u′2u

Example 1:

fx=3x2+5x4

Step 1 – Set up the function.

In this problem: Write the function clearly before differentiating.

fx=3x2+5x4

Step 2 – Identify the main rule.

In this problem: The main structure uses the sum/difference rule.

ddxu ± v=u′ ± v′

Step 3 – Split the expression term by term.

In this problem: The sum/difference rule says each term gets differentiated separately.

fx=ddx3x2+ddx5xddx4

Step 4A – Select the next term from the sum.

In this problem: Work on this part by itself before combining it with the rest of the derivative.

ddx3x2

Step 4B – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxcu=cu′

Step 4C – Move the constant outside.

In this problem: The constant multiple rule keeps the coefficient in front of the derivative.

ddx3x2=3ddxx2

Step 4D – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxxn=nxn − 1

Step 4E – Apply the power rule.

In this problem: Multiply by the power and reduce the power by 1.

ddxx2=2x

Step 4F – Multiply the constant by the x-part derivative.

In this problem: Now put the coefficient back with the derivative you just found.

3·2x=6x

Step 4G – Select the next term from the sum.

In this problem: Work on this part by itself before combining it with the rest of the derivative.

ddx5x

Step 4H – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxcu=cu′

Step 4I – Move the constant outside.

In this problem: The constant multiple rule keeps the coefficient in front of the derivative.

ddx5x=5ddxx

Step 4J – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxx=1

Step 4K – Apply the variable rule.

In this problem: The derivative of x with respect to x is 1.

ddxx=1

Step 4L – Multiply the constant by the x-part derivative.

In this problem: Now put the coefficient back with the derivative you just found.

5·1=5

Step 4M – Select the next term from the sum.

In this problem: Work on this part by itself before combining it with the rest of the derivative.

ddx4

Step 4N – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxc=0

Step 4O – Apply the constant rule.

In this problem: A constant has derivative 0 because it does not change with x.

ddx4=0

Step 5 – Combine the worked term derivatives.

In this problem: Now put every solved term derivative back into one expression.

fx=6x+5

Step 6 – Simplify and write the final derivative.

In this problem: Remove zero terms and combine like terms.

fx=6x+5

Final answer:

fx=6x+5

Example 2:

fx=x32+sinx

Step 1 – Set up the function.

In this problem: Write the function clearly before differentiating.

fx=x32+sinx

Step 2 – Identify the main rule.

In this problem: The main structure uses the sum/difference rule.

ddxu ± v=u′ ± v′

Step 3 – Split the expression term by term.

In this problem: The sum/difference rule says each term gets differentiated separately.

fx=ddxx32+ddxsinx

Step 4A – Select the next term from the sum.

In this problem: Work on this part by itself before combining it with the rest of the derivative.

ddxx32

Step 4B – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxcu=cu′

Step 4C – Move the constant outside.

In this problem: The constant multiple rule keeps the coefficient in front of the derivative.

ddxx32=12ddxx3

Step 4D – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxxn=nxn − 1

Step 4E – Apply the power rule.

In this problem: Multiply by the power and reduce the power by 1.

ddxx3=3x2

Step 4F – Multiply the constant by the x-part derivative.

In this problem: Now put the coefficient back with the derivative you just found.

12·3x2=32x2

Step 4G – Select the next term from the sum.

In this problem: Work on this part by itself before combining it with the rest of the derivative.

ddxsinx

Step 4H – Show the formula for this part.

In this problem: Use only the formula needed for this selected part.

ddxsinu=cosuu′

Step 4I – Apply the function rule.

In this problem: Differentiate the outside function, then multiply by du/dx.

ddxsinx=cosx

Step 4J – Simplify this function derivative.

In this problem: Clean up this function result.

ddxsinx=cosx

Step 5 – Combine the worked term derivatives.

In this problem: Now put every solved term derivative back into one expression.

fx=32x2+cosx

Final answer:

fx=32x2+cosx