Differentiation Calculator

calculatorsonline.co.uk

Differentiation Calculator

Find the derivative of any function instantly — with full step-by-step working. Supports power, product, quotient and chain rules, plus trig, exponential and logarithmic functions.

Step-by-Step Working
All Standard Rules
ƒ Trig & Exponentials
x Evaluate at a Point

Differentiation Calculator

Enter a function in terms of x to differentiate

Function Input

Use ^ for powers, * for multiply, sqrt(x), sin(x), ln(x), e^x

Quick examples:

Options

First derivative is dy/dx; second is d²y/dx²; third is d³y/dx³

Optional: enter a value of x to calculate a numerical result for f′(x)

Derivative Result

Step-by-step differentiation working

Enter a function above and click Differentiate to see the derivative with full step-by-step working and rule identification.

Differentiation Rules

The core rules used to differentiate any function. This calculator identifies and applies the appropriate rule for each term.

xⁿ
Power Rule
d/dx [xⁿ] = n·xⁿ⁻¹
d/dx [x⁴] = 4x³
d/dx [x½] = ½x⁻½
uv
Product Rule
d/dx [uv] = u′v + uv′
d/dx [x²·sin x] = 2x·sin x + x²·cos x
u/v
Quotient Rule
d/dx [u/v] = (u′v − uv′) / v²
d/dx [sin x / x] = (x·cos x − sin x) / x²
Chain Rule
d/dx [f(g(x))] = f′(g(x))·g′(x)
d/dx [sin(x²)] = cos(x²)·2x
Exponential
d/dx [eˣ] = eˣ
d/dx [e^f(x)] = f′(x)·e^f(x)
d/dx [e^(3x)] = 3e^(3x)
ln
Logarithm
d/dx [ln x] = 1/x
d/dx [ln f(x)] = f′(x)/f(x)
d/dx [ln(x²+1)] = 2x/(x²+1)
sin
Trigonometric
d/dx [sin x] = cos x
d/dx [cos x] = −sin x
d/dx [tan x] = sec²x
d/dx [cos(2x)] = −2sin(2x)
k
Constant & Sum
d/dx [c] = 0
d/dx [c·f(x)] = c·f′(x)
d/dx [f±g] = f′±g′
d/dx [5x³ + 2x] = 15x² + 2

Differentiation FAQ

Everything you need to know about finding derivatives and applying differentiation rules.

Differentiation is the process of finding the derivative of a function. The derivative measures how fast a function's output changes as its input changes. If f(x) is a function, its derivative f′(x) (also written dy/dx) gives the slope of the tangent line to the curve at any point x. Differentiation is fundamental to calculus and is used in physics, engineering, economics, and any field involving rates of change.

The power rule states: if f(x) = xⁿ, then f′(x) = n·xⁿ⁻¹. For example, the derivative of x³ is 3x², and the derivative of x⁵ is 5x⁴. The rule applies to any real exponent, including fractions and negatives — for example, the derivative of √x = x^(½) is ½x^(-½), and the derivative of 1/x = x⁻¹ is −x⁻².

The chain rule differentiates composite (nested) functions. If y = f(g(x)), then dy/dx = f′(g(x)) × g′(x). In plain words: differentiate the outer function leaving the inner unchanged, then multiply by the derivative of the inner function. For example, to differentiate sin(x²): outer = sin, inner = x². Derivative = cos(x²) × 2x = 2x·cos(x²).

The product rule applies when differentiating two functions multiplied together. If y = u(x)·v(x), then dy/dx = u′v + uv′. Differentiate the first and multiply by the second, then add the first multiplied by the derivative of the second. For example, to differentiate x²·sin(x): dy/dx = 2x·sin(x) + x²·cos(x).

The quotient rule differentiates a ratio of two functions. If y = u(x)/v(x), then dy/dx = (u′v − uv′) / v². A helpful mnemonic is "lo d-hi minus hi d-lo, over lo squared". For example, to differentiate sin(x)/x²: dy/dx = (cos(x)·x² − sin(x)·2x) / x⁴, which simplifies to (x·cos(x) − 2sin(x)) / x³.

The standard trig derivatives to memorise: d/dx(sin x) = cos x, d/dx(cos x) = −sin x, d/dx(tan x) = sec²x, d/dx(cosec x) = −cosec x·cot x, d/dx(sec x) = sec x·tan x, d/dx(cot x) = −cosec²x. These are commonly combined with the chain rule for composite functions such as sin(3x) or cos(x²).

The derivative of eˣ is eˣ — it is the only function that equals its own derivative. The derivative of ln(x) is 1/x (for x > 0). With the chain rule: d/dx[e^f(x)] = f′(x)·e^f(x) and d/dx[ln(f(x))] = f′(x)/f(x). These rules appear constantly in growth models, physics and statistics.

The first derivative f′(x) gives the rate of change (slope) of the original function. The second derivative f″(x) is the derivative of f′(x) — it measures the concavity (curvature). If f″(x) > 0, the curve is concave up; if f″(x) < 0, it is concave down. The second derivative test classifies stationary points: f″ > 0 means local minimum, f″ < 0 means local maximum.

Similar Posts

  • Angel Number Calculator

    Angel Number Calculator | Discover Spiritual Meanings & Numerology calculatorsonline.co.uk Angel Number Calculator Discover the spiritual meanings behind repeating numbers like 111, 222, 333, and 1234. Calculate the numerological root and unlock divine guidance from the universe. 🌟 Angel Numbers 🔢 Numerology Root ✨ Divine Meanings 🧘 Spiritual Growth Angel Number Decoder Uncover the message…

  • |

    Paracetamol For Dogs Calculator

    Paracetamol for Dogs Calculator | Safe Dosage Guide calculatorsonline.co.uk Paracetamol for Dogs Calculator Calculate safe paracetamol (acetaminophen) dosage for your dog based on weight. Get accurate dosing guidelines with important safety information and veterinary recommendations. 🐕 Weight-based dosing ⚠️ Safety guidelines ⚡ Instant results Dosage Calculator Calculate safe paracetamol dose for your dog Dog Information…

  • Cubic Metres to Tonnes Composted Bark

    Cubic Metres to Tonnes Composted Bark Converter UK | Landscaping Weight Calculator calculatorsonline.co.uk Cubic Metres to Tonnes Composted Bark Instantly and accurately calculate the weight of composted bark, bark mulch, and wood chips in tonnes based on volume (m³). Essential for landscaping and gardening. 🇬🇧 UK Standard Densities ⚖️ Accurate Weight ⏱️ Instant Result 📱…

  • CD Calculator 

    CD Calculator 2026 – Certificate of Deposit Interest & Maturity Value Calculator calculatorsonline.co.uk CD Calculator 2026 Work out exactly how much your Certificate of Deposit will be worth at maturity. Enter your deposit, APY, term and compounding frequency to see total interest earned and a full year-by-year growth breakdown. 💵 Maturity Value 📈 Compound Interest…

  • Epworth Sleepiness Scale Calculator

    Epworth Sleepiness Scale Calculator 2026 | ESS Sleep Test calculatorsonline.co.uk Epworth Sleepiness Scale Calculator 2026 Assess your daytime sleepiness using the validated Epworth Sleepiness Scale questionnaire. Answer 8 simple questions to get your ESS score and interpretation. 😴 Sleep Assessment 📊 ESS Score 0-24 🏥 Medical Screening ⚡ Instant Results Sleepiness Assessment Rate your likelihood…

  • |

    STEM Degree Earnings Premium Calculator

    STEM Degree Earnings Premium Calculator | Compare Lifetime Earnings calculatorsonline.co.uk STEM Degree Earnings Premium Calculator Compare STEM vs non-STEM starting salaries, career growth, and estimated lifetime earnings to see the true financial value of a STEM degree. 🎓 STEM vs Non-STEM 💰 Salary Premium 📈 Career Growth 🧮 Lifetime Earnings Degree Earnings Details Enter starting…