Skip to main content

The sign of a quadratic polynomial

2026-10-22 Cùng Học Toán Comments: 0

Analyze all three discriminant cases, retain repeated-root zeros, and find strict or non-strict sign conditions on the entire real line.

High schoolAlgebra & Equations

Content updated: October 22, 2026

Determining the sign of a quadratic polynomial means finding where it is positive, negative, or equal to $0$. The leading coefficient and the number of real roots determine the result; a repeated root must be retained even though the sign does not change across it.

Learning goals: distinguish the three discriminant cases, analyze signs for positive or negative leading coefficients, and find conditions valid for every real number.

Prerequisites: real quadratic equations, factorization, and nonnegative squares.

On this page: Definition · Method · Examples · Practice · Further learning

1. Retaining the quadratic condition

Let $f(x)=ax^2+bx+c$, where $a\ne0$, and set $\Delta=b^2-4ac$. Work on all of $\mathbb R$. A root of the polynomial solves $f(x)=0$; saying that this equation has no solution does not mean that the function itself is undefined.

Completing the square gives

$$f(x)=a\left(x+\frac b{2a}\right)^2-\frac\Delta{4a}.$$

Multiplying by $a$ gives $af(x)=a^2(x+b/(2a))^2-\Delta/4$. This identity directly explains the no-root and repeated-root cases.

2. Three sign rules

If $\Delta<0$, then $af(x)>0$ for every $x$. Thus $f(x)$ always has the same sign as $a$ and is nowhere equal to $0$.

If $\Delta=0$, set $x_0=-b/(2a)$. Then $f(x)=a(x-x_0)^2$: we have $f(x_0)=0$, while $af(x)>0$ for every $x\ne x_0$. To use this as a repeated-root criterion, also require equality to $0$ at $x_0$; positivity away from one point alone does not exclude $\Delta<0$.

If $\Delta>0$, order the roots as $x_1<x_2$. Since $f(x)=a(x-x_1)(x-x_2)$, the sign of $f$ agrees with $a$ outside the root interval, is opposite to $a$ inside it, and equals $0$ at the roots. Specifically, $af(x)>0$ when $x<x_1$ or $x>x_2$, whereas $af(x)<0$ when $x_1<x<x_2$.

For $a\ne0$, the condition $f(x)>0$ for every real number is equivalent to $a>0,\Delta<0$. To require only $f(x)\ge0$ for every real number, use $a>0,\Delta\le0$ instead. The corresponding negative and nonpositive criteria use $a<0$. If $a$ depends on a parameter, separate the case $a=0$.

3. Worked examples

Example 1. Always positive

For $f(x)=x^2-2x+3$, we have $\Delta=-8<0$ and a positive leading coefficient, so $f(x)>0$ for every $x$. Alternatively, $f(x)=(x-1)^2+2>0$.

Example 2. A repeated root is a zero

For $f(x)=x^2-2x+1=(x-1)^2$, we have $f(1)=0$ and $f(x)>0$ when $x\ne1$. The function is nonnegative on the whole real line, but it is not positive at every point.

Example 3. Two distinct roots

For $f(x)=x^2-2x-3=(x+1)(x-3)$, the roots are $-1,3$. Since $a=1>0$, we have $f(x)<0$ on $(-1;3)$ and $f(x)>0$ on $(-\infty;-1)\cup(3;+\infty)$, with value $0$ at the two endpoints. Multiplying the polynomial by $-1$ interchanges the positive and negative signs.

Example 4. Positivity for every x

Find $m$ such that $x^2+2x+m>0$ for every real number. Here $a=1>0$ and $\Delta=4-4m$. The requirement is equivalent to $m>1$. Check using $x^2+2x+m=(x+1)^2+m-1$: at $x=-1$, the minimum value is $m-1$. Replacing the requested inequality by $\ge0$ gives $m\ge1$.

4. Practice

  1. Determine the sign of $f(x)=-2x^2+4x+6$ and solve $f(x)\ge0$.
  2. Find $m$ such that $x^2+2x+m\ge0$ for every $x\in\mathbb R$.
  3. Find $m$ such that $(m-1)x^2+2(m-1)x+m>0$ for every real $x$, including the case in which the quadratic coefficient equals $0$.
Hints and answers
  1. $f(x)=-2(x+1)(x-3)$. It is positive on $(-1;3)$, negative on the two exterior intervals, and equal to $0$ at $-1,3$. Hence the requested set is $[-1;3]$.
  2. The minimum occurs at $x=-1$ and equals $m-1$, so $m\ge1$.
  3. Rewrite the expression as $(m-1)(x+1)^2+1$. If $m\ge1$, it is always positive, including $m=1$ when it is the constant $1$. If $m<1$, it is negative for sufficiently large $|x+1|$. Therefore $m\ge1$.

5. Common mistakes

Do not omit roots where the value is $0$. Do not use “same sign outside” without checking the sign of $a$. Distinguish strict and non-strict inequalities. Do not impose $a>0,\Delta<0$ on an expression that has already degenerated to a positive constant.

6. Further learning

Quadratic equations (English lesson) · Viète’s formulas (English lesson) · Quadratic inequalities (English lesson) · Comparing quadratic roots with a number $\alpha$ (English lesson).

Leave a Reply

Your email address will not be published. Required fields are marked *