Skip to content

Main content

Algebra: Quadratic Vieta Coefficient Pair Tool

Return Vieta sum/product of the two complex roots counted with multiplicity for one explicit nondegenerate quadratic; no root solver.

Loading tool…

Description

Return quadratic Vieta sum and product.

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 quadratic Vieta sum and product.

When to use this tool

Use Algebra: Quadratic Vieta Coefficient Pair when checking the stated coefficient, root-identity, index or divisibility term.

How to use the tool and how it works

  1. Enter a, b, c. 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 result. Expand result to inspect the returned fields.

Return quadratic Vieta sum and product. Require a != 0; rootSum = -b/a, rootProduct = c/a.1

Input fieldMeaning and unitsAccepted input
aARequired. Finite number.
bBRequired. Finite number.
cCRequired. Finite number.
Output fieldInterpretationReturned shape
resultObject containing the returned operation-specific members listed below.Required. Object.
result.rootSumRoot SumCalculated result member: number.
result.rootProductRoot ProductCalculated result member: number.
json
{
  "input": {
    "a": 2,
    "b": -6,
    "c": 4
  },
  "output": {
    "result": {
      "rootSum": 3,
      "rootProduct": 2
    }
  }
}

Limitations and assumptions

  • The identities include complex roots and multiplicity; no discriminant, individual root values or real-root guarantee is supplied.
  • Outputs are nested inside result. 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-vieta-coefficient-pair — tool.io

Similar or alternative tools