CalculatorForEver
MATH / GUIDE

How do I enter a quadratic with a missing x term or constant?

Calculator ForEver 3 min read

Enter zero for a missing term after writing the equation in the form ax² + bx + c = 0. Keep the signs of the remaining coefficients, and make sure a is nonzero.

Move all terms to one side first

The coefficient fields describe the complete equation equal to zero. If a term appears on the other side, subtract it from both sides before identifying a, b and c. A missing term then has coefficient zero rather than an omitted field.

Enter two different missing-term examples

For 3x² − 12 = 0, use a = 3, b = 0 and c = −12; the roots are ±2. For x² − 7x = 0, use a = 1, b = −7 and c = 0; factoring gives x(x − 7), so the roots are 0 and 7.

Do not erase a zero root

When c is zero, dividing the equation by x before solving can remove the valid solution x = 0. The quadratic formula retains it. When a is zero, the equation becomes linear or another special case and should not be forced into a formula whose denominator is 2a.

Normalize the written equation before filling fields

The calculator's coefficients belong to ax² + bx + c = 0. For 3x² = twelve, subtract twelve to obtain 3x² + 0x − 12 = 0, so the entries are three, zero and minus twelve. Entering positive twelve as c would solve 3x² + twelve = zero instead, giving a different root type. A missing x term supplies coefficient zero, while an x² written without a number has coefficient one. Those are different omissions in notation. Combine like terms after moving them across the equality so every coefficient describes the final standard form rather than its original side of the equation.

Retain zero roots when the constant is absent

For x² − 7x = 0, factor x(x − 7) = 0. The zero-product rule gives x = zero or x = seven. Dividing the equation by x before solving would require x to be nonzero and would discard the first valid root. The quadratic formula with a = one, b = minus seven and c = zero retains both. Substitute zero into the original expression to verify it: every remaining term contains x and vanishes. A zero constant is therefore a meaningful coefficient, not an instruction to skip a result. The same care applies to a shared variable factor in more complicated equations; removing it without checking its zero case changes the solution set.

Distinguish a zero leading coefficient from a quadratic

If a = zero and b is nonzero, the equation reduces to bx + c = zero and has linear solution −c/b. If both a and b are zero, the statement may be an identity when c is zero or an impossibility when c is nonzero. Neither case belongs in a formula with denominator 2a. Calculator ForEver's Quadratic Calculator requires a nonzero leading coefficient, so use an appropriate linear calculation rather than substituting a tiny value to bypass that requirement. If a coefficient was lost during copying, return to the original equation. A small invented coefficient can produce very large roots that look mathematically precise but solve a different problem.

Questions about this calculation

Does a missing x² term mean a is one?

No. A missing x² term means its coefficient is zero, so the equation is not quadratic.

Try these values in the calculator

Solve ax² + bx + c = 0, including complex roots.

Use the quadratic formula calculator

References

More quadratic formula questions

Related tools