Introduction
A derivative tells you how fast something is changing at any given point. It is one of the most important ideas in calculus. When you take the derivative of a function, you find its rate of change — like how speed tells you how fast your position changes over time. This Derivative Calculator lets you type in any function and get the derivative right away. It handles common rules like the power rule, product rule, quotient rule, and chain rule so you don't have to work them out by hand. Whether you are learning calculus for the first time or just need a quick answer to check your work, this tool makes finding derivatives simple and fast.
How to Use Our Derivative Calculator
Enter a math function and this calculator will find its derivative for you step by step.
Function f(x): Type the function you want to differentiate. Use "x" as your variable. For example, you can enter expressions like x^2, sin(x), 3x+5, or ln(x). You can also use parentheses to group terms, such as (x+1)^3.
Order of Derivative: Choose which derivative you want to find. Pick 1 for the first derivative, 2 for the second derivative, and so on. The first derivative tells you the slope or rate of change of your function. Higher-order derivatives give you the derivative of the derivative.
Point to Evaluate (optional): If you want to know the value of the derivative at a specific x-value, enter that number here. For instance, if you enter 3, the calculator will plug in x = 3 into the derivative and give you a numerical answer.
Once you have filled in your inputs, click the calculate button. The calculator will display the derivative expression, show the simplified result, and provide the evaluated value if you entered a specific point.
A derivative measures how a function changes as its input changes. In simple terms, it tells you the rate of change or the slope of a function at any given point. If you have a function that describes the position of a car over time, the derivative of that function gives you the car's speed. Derivatives are one of the two main ideas in calculus, and they show up everywhere in math, science, engineering, and economics.
How Derivatives Work
The derivative of a function f(x) is written as f'(x) or df/dx. It is found by looking at how much the output of the function changes when you make a tiny change to the input. For example, if f(x) = x², the derivative is f'(x) = 2x. This means that at x = 3, the slope of the curve is 6, and at x = 5, the slope is 10. The function gets steeper as x gets larger.
Key Derivative Rules
There are several important rules that make finding derivatives easier:
- Power Rule: The derivative of xn is n·xn−1. For example, the derivative of x³ is 3x².
- Constant Rule: The derivative of any constant number (like 5 or −3) is 0, because constants don't change.
- Sum/Difference Rule: The derivative of a sum or difference is just the sum or difference of the individual derivatives. So d/dx(x² + 3x) = 2x + 3.
- Product Rule: When two functions are multiplied together, the derivative is f'g + fg'. You differentiate one part at a time while keeping the other part the same.
- Quotient Rule: For a fraction f/g, the derivative is (f'g − fg') / g².
- Chain Rule: When a function is inside another function, like sin(x²), you multiply the outer derivative by the inner derivative. This is one of the most used rules in calculus.
Common Derivatives to Know
Some derivatives come up so often that they're worth memorizing. The derivative of sin(x) is cos(x). The derivative of cos(x) is −sin(x). The derivative of ex is ex (it's its own derivative, which makes it special). The derivative of ln(x) is 1/x. And the derivative of √x is 1/(2√x).
Higher-Order Derivatives
You can take the derivative of a derivative. The second derivative, written as f''(x), tells you how the rate of change itself is changing. Going back to the car example, if the first derivative is speed, the second derivative is acceleration. You can explore this concept further with our acceleration calculator. The third derivative and beyond also have uses in physics and engineering.
Why Derivatives Matter
Derivatives are used to find maximum and minimum values of functions, which is useful for optimization problems. Engineers use them to design structures, economists use them to model costs and profits, and scientists use them to describe how systems change over time. In physics, derivatives are essential for understanding concepts like force, momentum, and kinetic energy. Whenever you need to understand how something is changing at a specific moment, derivatives are the tool you reach for.
Evaluating Derivatives at a Point
Once you find the derivative formula, you can plug in a specific value to get the exact slope at that point. For example, if f(x) = x³ and f'(x) = 3x², then f'(2) = 3(4) = 12. This means the original curve has a slope of 12 when x equals 2. This is especially helpful for finding tangent lines and understanding the behavior of a function at a specific location on its graph. You can verify these kinds of numerical results using our percentage calculator or check how values change with our percent change calculator. For related calculations involving how quantities change between two points, try our rate of change calculator or midpoint calculator.