Quick Answer
The derivative of x^2 + 3x is 2x + 3. At x = 2, the derivative equals 7.
Use * for multiplication. Examples: x^2, sin(x), exp(x), log(x), sqrt(x)
Common Examples
| Input | Result |
|---|---|
| f(x) = x^2 | f'(x) = 2x |
| f(x) = x^3 + 2x | f'(x) = 3x^2 + 2 |
| f(x) = sin(x) | f'(x) = cos(x) |
| f(x) = e^x | f'(x) = e^x |
| f(x) = ln(x) | f'(x) = 1/x |
How It Works
Definition
The derivative of f(x) is defined as:
\[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\]This measures the instantaneous rate of change of the function at any point.
Common differentiation rules
| Function | Derivative |
|---|---|
| \(x^n\) | \(n x^{n-1}\) (power rule) |
| \(\sin(x)\) | \(\cos(x)\) |
| \(\cos(x)\) | \(-\sin(x)\) |
| \(e^x\) | \(e^x\) |
| \(\ln(x)\) | \(1/x\) |
| \(f(g(x))\) | \(f'(g(x)) \cdot g'(x)\) (chain rule) |
Sum rule: \((f + g)' = f' + g'\)
Product rule: \((fg)' = f'g + fg'\)
Quotient rule: \((f/g)' = (f'g - fg') / g^2\)
Worked example
For f(x) = x^3 + 2x: Apply the power rule to each term. The derivative of x^3 is 3x^2 (bring down the exponent, subtract 1). The derivative of 2x is 2. So f’(x) = 3x^2 + 2. At x = 1: f’(1) = 3(1)^2 + 2 = 5, meaning the slope of the function at x = 1 is 5.
CalculateY