Skip to content

Main content

Quadratic Root Sum Scale Residual Tool

Compare a supplied scaled quadratic root sum to Vieta’s coefficient ratio without solving for roots.

Loading tool…

Description

Return scaled expected quadratic root sum and residual.

Polynomial coefficients encode powers in a chosen order, with zeros, multiplicities and leading terms carrying different meanings. Local coefficient identities and necessary divisibility conditions can be checked without finding every root or proving a proposed factorization. Floating-point comparisons use the exact supplied values unless an explicit tolerance is provided.

Return scaled expected quadratic root sum and residual.

When to use this tool

Use Quadratic Root Sum Scale Residual when checking the stated coefficient, root-identity, index or divisibility term.

How to use the tool and how it works

  1. Enter leading, linear, suppliedRootSum, suppliedVariableScale. 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 expectedScaledSum, residual. Use the output convention below.

Return scaled expected quadratic root sum and residual. Require leading and suppliedVariableScale nonzero; expectedScaledSum = (-linear/leading)*scale, residual = suppliedRootSum-expected.1

Input fieldMeaning and unitsAccepted input
leadingLeadingRequired. Finite number.
linearLinearRequired. Finite number.
suppliedRootSumSupplied Root SumRequired. Finite number.
suppliedVariableScaleRoot-coordinate multiplier; expectedScaledSum=(-linear/leading)*suppliedVariableScale.Required. Finite number.
Output fieldInterpretationReturned shape
expectedScaledSumExpected Scaled SumRequired. Finite number.
residualSigned observed/calculated-minus-reference difference under the operation specified above.Required. Finite number.
json
{
  "input": {
    "leading": 2,
    "linear": -6,
    "suppliedRootSum": 7,
    "suppliedVariableScale": 2
  },
  "output": {
    "expectedScaledSum": 6,
    "residual": 1
  }
}

Limitations and assumptions

  • The scale multiplies root coordinates under this convention; no complete variable substitution, individual roots or coefficient validation is performed.
  • 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 a complete symbolic or numerically appropriate polynomial method for root finding, full factorization and robust treatment of near-degenerate coefficients.

References

  1. Calculation and input contract: algebra/quadratic-root-sum-scale-residual — tool.io

Similar or alternative tools