Description
Average left and right using half terms for expectedMidpoint and return observedMidpoint minus that average as gap.
Linear interpolation blends endpoint values by a normalized coordinate. Its value weights, inverse slope, and sensitivities to moving nodes answer different questions and use different units.
Average left and right using half terms for expectedMidpoint and return observedMidpoint minus that average as gap.
When to use this tool
Use Linear Interpolant Midpoint Symmetry Gap when you need one explicitly defined linear interpolation term.
How to use the tool and how it works
- Enter left, right, observedMidpoint. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read expectedMidpoint, gap. Use the output convention below.
Average left and right using half terms for expectedMidpoint and return observedMidpoint minus that average as gap.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| left | Left | Required. Finite number. |
| right | Right | Required. Finite number. |
| observedMidpoint | Observed Midpoint | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| expectedMidpoint | Expected Midpoint | Required. Finite number. |
| gap | Signed difference under the stated subtraction order. | Required. Finite number. |
{
"input": {
"left": 2,
"right": 8,
"observedMidpoint": 6
},
"output": {
"expectedMidpoint": 5,
"gap": 1
}
} Limitations and assumptions
- This compares one supplied midpoint without validating a coordinate interval, linearity, or measurement tolerance.
- 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
Validate endpoints and units and use a complete evaluator when clamping, extrapolation, or uncertainty propagation is required.
References
Similar or alternative tools
- Log Linear Midpoint Geometric Value
Return sqrt(first) × sqrt(second) for strictly positive endpoints.
- Quadratic Midpoint Error From Curvature
Return curvature × span² / 8 for interpolantMinusFunction with positive span.