Derivative Calculator
This Derivative Calculator differentiates a function step by step. It first identifies which derivative rule fits your input - constant, variable, constant multiple, power, sum, difference, product, quotient, chain, trigonometric, logarithmic, or exponential - and then works through that rule's own method, the same way the dedicated rule calculators on this site do.
Step-by-step method
- Set up the function.
- Identify the main rule that applies.
- Work through the steps of that rule.
- Simplify and write the final derivative.
Formula:
Example 1: solved with the difference rule.
Step 1 - Set up the terms in the difference.
In this problem: We are given a difference. The separated terms are \(3 x^{2}\), \(5 x\), \(4\).
Step 2 - Write the difference rule formula.
In this problem: The difference rule says the derivative of a difference is the difference of the derivatives.
Step 3 - Split the derivative across the subtraction signs.
In this problem: Apply the derivative to each separated term, keeping each sign.
Step 4a - Differentiate the separated term \(3 x^{2}\).
In this problem: The separated term is \(3 x^{2}\). Use the power rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- If a constant coefficient is present, apply the constant multiple rule first.
- Write the power rule formula.
- Substitute the exponent into the power rule.
- Solve and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(3 x^{2}\). This is a constant multiple of a power of \(x\). The coefficient is \(3\), the power part is \(x^{2}\), and the exponent is \(n = 2\).
Step 2
Step 2 - Apply the constant multiple rule first.
In this problem: Before using the power rule, apply the constant multiple rule because \(3\) is a constant coefficient.
Problem
Approach
Step-by-step method
- Set up the coefficient and the variable part.
- Write the constant multiple rule formula.
- Apply the constant multiple rule.
Step 1
Step 1 - Set up the coefficient and the variable part.
In this problem: We are given \(3 x^{2}\). The constant coefficient is \(3\), and the variable part is \(x^{2}\).
Step 2
Step 2 - Write the constant multiple rule formula.
In this problem: The constant multiple rule says a constant coefficient stays outside the derivative.
Step 3
Step 3 - Apply the constant multiple rule.
In this problem: Move the constant coefficient \(3\) outside the derivative and leave \(x^{2}\) inside the derivative.
Final Answer
Step 3
Step 3 - Write the power rule formula.
In this problem: Now use the power rule on the remaining power of \(x\).
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here, \(n = 2\). Substitute this exponent into the power rule, then keep the coefficient \(3\) outside.
Step 5
Step 5 - Solve and simplify.
In this problem: Apply the power rule to \(x^{2}\), multiply by the constant \(3\), and keep the solving line in power form. This gives \(6{x}^{1}\).
Final Answer
Step 4b - Differentiate the separated term \(5 x\).
In this problem: The separated term is \(5 x\). Use the power rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- If a constant coefficient is present, apply the constant multiple rule first.
- Write the power rule formula.
- Substitute the exponent into the power rule.
- Solve and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(5\) times \(x\). Rewrite the variable part as \(x^{1}\), so the power rule can be used with exponent \(n = 1\).
Step 2
Step 2 - Apply the constant multiple rule first.
In this problem: Before using the power rule, apply the constant multiple rule because \(5\) is a constant coefficient.
Problem
Approach
Step-by-step method
- Set up the coefficient and the variable part.
- Write the constant multiple rule formula.
- Apply the constant multiple rule.
Step 1
Step 1 - Set up the coefficient and the variable part.
In this problem: We are given \(5 x^{1}\). The constant coefficient is \(5\), and the variable part is \(x^{1}\).
Step 2
Step 2 - Write the constant multiple rule formula.
In this problem: The constant multiple rule says a constant coefficient stays outside the derivative.
Step 3
Step 3 - Apply the constant multiple rule.
In this problem: Move the constant coefficient \(5\) outside the derivative and leave \(x^{1}\) inside the derivative.
Final Answer
Step 3
Step 3 - Write the power rule formula.
In this problem: Now use the power rule on the remaining power of \(x\).
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Use the rewritten power form from Step 1. Here, \(n = 1\). Substitute this exponent into the power rule, then keep the coefficient \(5\) outside.
Step 5
Step 5 - Solve and simplify.
In this problem: Apply the power rule to \(x\), multiply by the constant \(5\), and keep the solving line in power form. This gives \(5\).
Final Answer
Step 4c - Differentiate the separated term \(4\).
In this problem: The separated term is \(4\). Use the constant rule to get its derivative.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(4\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(4\) is constant, its derivative is \(0\).
Final Answer
Step 5 - Combine and simplify.
In this problem: Combine the derivative from each separated term, keeping the signs, then simplify.
Final answer:
Example 2: solved with the product rule.
Step 1 - Set up the two factors f(x) and g(x).
In this problem: The first factor is \(x^{2}\) and the second factor is \(\sin{\left(x \right)}\).
Step 2 - Write the product rule formula.
In this problem: The derivative of a product is the derivative of the first times the second, plus the first times the derivative of the second.
Step 3 - Differentiate the first factor.
In this problem: Differentiate \(x^{2}\) to get \(2 x\).
Step 4 - Differentiate the second factor.
In this problem: Differentiate \(\sin{\left(x \right)}\) to get \(\cos{\left(x \right)}\).
Step 5 - Substitute into the product rule formula.
In this problem: Substitute the factors and their derivatives into the formula.
Step 6 - Simplify the result.
In this problem: Expand the products and combine like terms.
Final answer:
Login and upgrade to Plus to unlock the full step solution.