Derivative Calculator
Compute the derivative of a function with respect to x. Supports polynomials, trig, exponential, and logarithmic functions.
Basic Rules:
- d/dx [x^n] = n * x^(n-1)
- d/dx [sin(x)] = cos(x)
- d/dx [cos(x)] = -sin(x)
- d/dx [tan(x)] = sec^2(x)
- d/dx [e^x] = e^x
- d/dx [ln(x)] = 1/x
Use these rules to differentiate common functions. Enter your function using standard notation, e.g., x^2, sin(x), e^x, ln(x).