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
eˣ
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

  • Decking Board Calculator

    Decking Board Calculator | How Many Deck Boards Do I Need calculatorsonline.co.uk Decking Board Calculator Instantly work out how many decking boards, linear metres, and materials you need for your deck based on its size and your board dimensions. Accurate for timber and composite decking projects. 🇬🇧 UK Metric Standards 🪵 Timber & Composite ⚡…

  • UK Holiday Entitlement Calculator

    UK Holiday Entitlement Calculator | Statutory & Part-Time Leave calculatorsonline.co.uk UK Holiday Entitlement Calculator Instantly calculate your statutory holiday entitlement, part-time pro-rata days, and remaining leave. Track your accrual and plan your time off with confidence. 🇬🇧 UK Statutory Rules 📅 Part-Time Pro-Rata 📈 Accrual Tracking 📊 Reference Table UK Holiday Planner Calculate your statutory…

  • Roof Pitch Calculator

    Roof Pitch Calculator | Find Pitch, Angle & Rafter Length calculatorsonline.co.uk Roof Pitch Calculator Enter your roof’s rise and run to instantly work out the pitch ratio, angle in degrees, slope percentage, and rafter length. 📐 Pitch Ratio 📏 Rafter Length 📊 Angle & Slope % 🔒 100% Free & Private Free Estimation Tool Calculate…

  • P45 Explained UK

    Free P45 Explained UK | What is a P45 & What to Do With It calculatorsonline.co.uk P45 Explained UK Understand your UK P45 form, decode your tax code, and know exactly what to do with it when changing jobs, claiming benefits, or retiring. 📄 Tax Document Guide 💷 Tax Code Decoder 🇬🇧 UK HMRC Rules…

  • Emergency Tax Calculator

    Emergency Tax Calculator UK | Estimate Overpayment & Reclaim Guide calculatorsonline.co.uk Emergency Tax Calculator Check if you are overpaying tax. Estimate your potential refund based on BR, D0, D1, 0T, or 1257L W1/M1 emergency tax codes. 🧾 Payslip Analysis 💷 Overpayment Estimator 🏛️ HMRC Compliant Logic 📱 Mobile Friendly Payroll Tax Tool Calculate Your Tax…

  • Coffee Shop Monthly Spend Calculator

    Coffee Shop Monthly Spend Calculator | Daily Coffee Cost Estimator calculatorsonline.co.uk Coffee Shop Monthly Spend Calculator Instantly estimate your weekly, monthly, and yearly coffee shop expenses. Perfect for tracking your daily caffeine budget and finding ways to save. ☕ Daily Habits 💷 Budget Tracking 📅 Yearly Projections 📱 Mobile Friendly Personal Finance Tool Calculate Your…