Skip to content

Main content

Endpoint Trapezoid Correction Term

Compute the explicit endpoint trapezoid correction relative to a left rectangle on an oriented interval.

Loading tool…

Description

Calculate the trapezoid-minus-left-rectangle correction from supplied endpoints.

Local calculus terms distinguish derivative components, signed interval widths, endpoint values and correction terms. A trapezoid correction is not the whole integral, and agreement of supplied derivatives does not prove differentiability. Scalar operations preserve the chosen direction and approximation rather than assessing the function globally.

Calculate the trapezoid-minus-left-rectangle correction from supplied endpoints.

When to use this tool

Use Endpoint Trapezoid Correction Term when you already have intervalWidth, leftValue, rightValue and need to calculate the trapezoid-minus-left-rectangle correction from supplied endpoints.

How to use the tool and how it works

  1. Enter intervalWidth, leftValue, rightValue. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read correctionToLeftRectangle. Use the output convention below.

Return intervalWidth*((rightValue-leftValue)/2).1

Input fieldMeaning and unitsAccepted input
intervalWidthInterval WidthRequired. Finite number.
leftValueLeft ValueRequired. Finite number.
rightValueRight ValueRequired. Finite number.
Output fieldInterpretationReturned shape
correctionToLeftRectangleintervalWidth*(rightValue-leftValue)/2; correction only, not the full trapezoidal integral.Required. Finite number.
json
{
  "input": {
    "intervalWidth": 2,
    "leftValue": 3,
    "rightValue": 5
  },
  "output": {
    "correctionToLeftRectangle": 2
  }
}

Limitations and assumptions

  • Signed widths and values are accepted. This is a correction term, not the full trapezoid integral, derivative estimate, error bound or actual function evaluation.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use the full function, derivative or quadrature method for the mathematical problem. Check smoothness, interval orientation and approximation error separately; local supplied-value terms do not establish those conditions.

References

  1. Calculation and input contract: calculus/endpoint-trapezoid-correction-term — tool.io

Similar or alternative tools