Calculus & Numerical Methods

Area Between Curves

Area between f(x) and g(x) on [a, b].

Formula

Formula
ab f(x) − g(x) dx

Variables

SymbolDefinitionType & rangeUnitsRole
f, g two functions expression / text x input
a, b interval real number (ℝ) input

Try it yourself

Interactive calculator
math expression (e.g. x*x, sin(x))
math expression (e.g. x*x, sin(x))
Result

Worked examples

Example 1
Givenf(x) = x*x, g(x) = x, a = 0, b = 1, intervals n = 1000
Result0.1666665
Example 2
Givenf(x) = x, g(x) = 0, a = 0, b = 2, intervals n = 1000
Result2