Calculator
Chart Builder

Function Derivative & Integral Chart Calculator

Plots a function with its derivative and integral.

Tutorial / How it works →

Info

This tool teaches and calculates 3 things at once: 1) Function Graph - Samples f(x) over the selected range and plots the graph. - If axes include 0, the graph shows all 4 quadrants (I–IV). 2) Derivative (slope at x0) - The derivative is the slope of the tangent line drawn on the graph. - Approximate derivative (central difference): f'(x0) ≈ ( f(x0+h) - f(x0-h) ) / (2h) - h is chosen automatically (small value). 3) Integral / Area (shaded a–b region) - ∫ f(x) dx is the "signed area" of the curve with respect to the x-axis. - If f(x) is above the x-axis, the contribution is +; if below, it is –. - Numerical integral (trapezoid rule): Area ≈ Σ (f(x_i) + f(x_{i+1})) / 2 × Δx Accepted expression examples: - x^2 + 2x - 1 - sin(x), cos(x), tan(x) - abs(x), sqrt(x) - log(x) (natural log), exp(x) - pi, e Tip: - If there are undefined points (e.g., log(x) for x≤0), the graph automatically leaves those regions blank.

Use advanced settings for more accurate results.