Saltar para o conteúdo
CalcHub

Calculadora da fórmula quadrática

Resolva qualquer equação do segundo grau ax² + bx + c = 0 com raízes reais ou complexas, e obtenha o discriminante, o vértice, o eixo de simetria e a forma fatorada.

Calculadora da fórmula quadráticaAo vivo

Como usar esta calculadora

  1. 1Write your equation in the standard form ax² + bx + c = 0, moving every term to one side.
  2. 2Enter a, b, and c — including their signs. A missing x term means b = 0.
  3. 3Read the roots, and check the discriminant to understand why you got real or complex answers.

Como funciona

A fórmula quadrática

x = (−b ± √(b² − 4ac)) ÷ 2a
Discriminante: Δ = b² − 4ac
Vértice: x = −b ÷ 2a,  y = f(−b ÷ 2a)
Soma das raízes = −b ÷ a,  Produto das raízes = c ÷ a

A fórmula quadrática resolve qualquer equação da forma ax² + bx + c = 0. O discriminante, a parte sob a raiz (b² − 4ac), decide o tipo de solução: positivo dá duas raízes reais distintas, zero dá uma raiz dupla, e negativo dá duas raízes complexas conjugadas. O vértice e o eixo de simetria descrevem a parábola associada.

Exemplo resolvido

Para x² − 3x + 2 = 0: o discriminante é (−3)² − 4·1·2 = 1, positivo, então há duas raízes reais. A fórmula dá x = (3 ± 1) ÷ 2, ou seja x = 2 e x = 1, e a forma fatorada é (x − 1)(x − 2).

Calculadora da fórmula quadrática: o guia completo

What the discriminant tells you before you solve

The discriminant b² − 4ac is worth computing first, because it answers the shape of the problem in one number. Positive means the parabola crosses the x-axis twice and there are two distinct real solutions. Zero means it touches the axis at exactly one point — a repeated root, and the vertex sits on the axis. Negative means the parabola never reaches the axis, so there are no real solutions and the roots are a complex conjugate pair.

A discriminant that is a perfect square carries extra information: it means the quadratic factors cleanly over the rationals, so factoring by inspection will work and you did not need the formula at all.

Three ways to solve, and when each is fastest

Factoring is fastest when it works — if you can spot two numbers that multiply to ac and add to b, you are done in seconds. It only works when the roots are rational.

Completing the square is slower but it is where the quadratic formula comes from, and it is the method that converts a quadratic into vertex form a(x − h)² + k, which is what you want for graphing or optimisation.

The quadratic formula always works. It handles irrational roots, complex roots, and ugly decimal coefficients identically, which is why it is the method to reach for when the numbers are not friendly.

Reading the vertex and the parabola

The vertex is the turning point. Its x-coordinate is always −b ÷ 2a, sitting exactly halfway between the two roots because a parabola is symmetric about that line. Substituting that x back into the equation gives the y-coordinate.

The sign of a decides which way the curve opens: positive opens upward so the vertex is the minimum, negative opens downward so the vertex is the maximum. This is the whole basis of quadratic optimisation problems — maximum profit, maximum projectile height, minimum material cost all reduce to finding a vertex.

Vieta's formulas as a check

For any quadratic, the two roots must sum to −b ÷ a and multiply to c ÷ a. These are Vieta's formulas, and they give a free five-second check on any answer.

For x² − 5x + 6 = 0, the roots 3 and 2 sum to 5 (which is −(−5) ÷ 1) and multiply to 6 (which is 6 ÷ 1). If your roots fail either check, you have made an arithmetic slip. The check also works for complex roots, where the imaginary parts cancel in the sum and combine in the product.

Perguntas frequentes

O que o discriminante indica?

O sinal de b² − 4ac indica o tipo de raízes: positivo, duas raízes reais distintas; zero, uma raiz real dupla; negativo, duas raízes complexas conjugadas sem interseção com o eixo x. Seu valor também mede o quanto as raízes estão separadas.

O que acontece se a for zero?

Então a equação não é quadrática, mas linear (bx + c = 0), e tem apenas uma solução, x = −c ÷ b. A fórmula quadrática exige que a seja diferente de zero, caso contrário haveria divisão por zero.

Uma equação do segundo grau pode não ter solução real?

Sim. Quando o discriminante é negativo, a parábola não corta o eixo x e não há raízes reais; as duas soluções são números complexos conjugados. A calculadora as exibe na forma a ± bi.