Advanced maths

Volterra integral equation calculator with a variable upper limit

Approximate a linear Volterra integral equation of the second kind with a variable upper integration limit.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Approximate a linear Volterra integral equation of the second kind with a variable upper integration limit. Enter a forcing expression, a two-variable kernel, a coupling coefficient and an interval. Composite trapezoidal discretization produces a lower-triangular recurrence, and a second run with twice as many steps provides a refinement comparison. The displayed difference is a numerical diagnostic rather than a rigorous error bound.

THE FORMULAy(x)=g(x)+λ∫_a^x K(x,t)y(t)dt.

A worked example

For g=1, K=1, λ=1 and lower endpoint zero, differentiation gives y′=y with y(0)=1, hence y=e^x. The trapezoidal Volterra scheme yields y_j=[(1+h/2)/(1−h/2)]^j for this example; the displayed refined-grid result uses twice the entered step count.

Good to know

Scalar smooth supported expressions, λ within ±20, 20–400 coarse steps. Composite trapezoid implicit diagonal solve and double-grid comparison. No weakly singular kernels, rigorous error bound or fixed-domain Fredholm substitution.

The triangular structure of the equation

At a position x, the integral uses earlier positions s from the fixed lower endpoint up to x. That causal structure distinguishes a Volterra equation from a Fredholm equation with a fixed full integration interval.

The unknown appears both outside and inside the integral. This page solves the linear second-kind form, not a nonlinear equation where the kernel depends nonlinearly on the unknown or a first-kind equation lacking the leading unknown term.

Volterra accumulation only uses the past intervalaxIntegrate a through xg=K=λ=1Exact example: eˣ
For g=1, K=1, λ=1 and lower endpoint zero, differentiation gives y′=y with y(0)=1, hence y=e^x. The trapezoidal Volterra scheme yields y_j=[(1+h/2)/(1−h/2)]^j for this example; the displayed refined-grid result uses twice the entered step count. Static schematic; numerical labels define the example.

The upper integration limit moves with x, producing a causal triangular solve rather than fixed-domain Fredholm reduction. The Fractional integral and Caputo derivative calculator for a polynomial offers a complementary calculation under its own stated assumptions.

Expressions and variable conventions

The forcing uses x. The kernel uses x for the current evaluation point and y for the integration variable. Enter the actual kernel rather than an antiderivative.

Expressions are parsed by a bounded mathematical parser; arbitrary code and external data access are not supported. Both expressions must remain finite at all sampled points, including the endpoints. A singular kernel needs specialized quadrature and should not be disguised by assigning a convenient endpoint value.

Worked example and mathematical rule

For g=1, K=1, λ=1 and lower endpoint zero, differentiation gives y′=y with y(0)=1, hence y=e^x. The trapezoidal Volterra scheme yields y_j=[(1+h/2)/(1−h/2)]^j for this example; the displayed refined-grid result uses twice the entered step count.

y(x)=g(x)+λ∫_a^x K(x,t)y(t)dt.

Trapezoidal weights and the diagonal

Earlier grid values enter through the composite trapezoidal sum. The current endpoint contributes a half-weight term involving the unknown current value, so that term is moved to the left and divided out.

This is an implicit scalar step rather than simply inserting the previous value. If the resulting denominator is nearly zero, the discretization is unresolved and rejected. A smaller step can change this denominator, but it does not automatically make an ill-conditioned continuous equation well posed.

What mesh refinement can tell you

The solver repeats the calculation with twice the number of panels and compares values at shared nodes. A small discrepancy supports numerical stability for that refinement, but both grids can share a bias or miss a narrow feature.

The difference is not multiplied by an assumed convergence-order constant to claim certified accuracy. Inspect the shape of the solution and repeat with a genuinely finer mesh when the kernel varies rapidly or the result changes materially.

Endpoint and limiting checks

At the lower endpoint, the integral is zero, so the solution equals the forcing there. With coupling coefficient zero, every value should reproduce the forcing.

A constant kernel and constant forcing yield a simple exponential benchmark in suitable units. These identities test the equation convention and quadrature weights. Reversing the interval is not a way to request backward evolution in this interface; the lower and upper limits must follow the supported orientation.

Interpreting an approximate solution

The returned grid is a discretized function, not a symbolic closed form. Interpolating between nodes adds another approximation, and extrapolation beyond the interval is not supplied.

Large coupling or long intervals can amplify small input and quadrature errors. Report the kernel, forcing, grid size and refinement difference together. A visually smooth curve can still be inaccurate if the sampling is too coarse, so do not replace convergence checks with appearance alone.

A few questions, answered

How does this differ from a Fredholm equation?

The upper integration limit is the current x, so each point depends only on earlier positions.

Which symbol is the integration variable?

y in the kernel; x is the current evaluation position.

Is the refinement difference an error bound?

No. It compares two grids and is a diagnostic only.

Are singular kernels supported?

No. This trapezoidal implementation requires finite sampled kernel values.

Find your calculator

Start typing to explore the library.