Calculators.Life Calculator
Math

Algebra 2 Equation & Quadratic Calculator

Input Parameters

Scenarios
Coefficient for x² or linear term x
Coefficient for linear term x or constant on LHS
Constant term or right-hand side value
Value of x when evaluating ax² + bx + c

Computed Results

Primary Solution / Result
x₁ = 3
Secondary Solutionx₂ = 2
Discriminant (Δ = b² - 4ac)1
Vertex (h, k)(2.5, -0.25)

The Algebra 2 Equation & Quadratic Calculator helps you solve standard quadratic and linear equations. It determines real and complex roots, calculates the discriminant, identifies the vertex of a parabola, and evaluates polynomials at specific points.

Practical Use Cases

This calculator handles several common algebraic tasks:

Formulas and Explanation

The calculator uses standard algebraic formulas depending on the selected problem type.

Quadratic Formula

To find the roots of a quadratic equation ax² + bx + c = 0, the calculator uses the quadratic formula:

x = (−b ± √(b² − 4ac)) ÷ 2a

The term under the square root, b² − 4ac, is the discriminant (Δ). It determines the nature of the roots:

Vertex of a Parabola

The vertex (h, k) of a parabola defined by y = ax² + bx + c is found using:

h = −b ÷ 2a
k = c − (b² ÷ 4a)

Linear Equations

For a linear equation ax + b = c, the solution is found by isolating x:

x = (c − b) ÷ a

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different types of equations.

Scenario 1: Standard Quadratic Equation

If you have the equation x² − 5x + 6 = 0, you set the problem type to quadratic, Coefficient a to 1, Coefficient b to -5, and Constant c to 6. The calculator determines the roots are x₁ = 3 and x₂ = 2. The discriminant is 1, and the vertex is (2.5, -0.25).

Scenario 2: Solving a Linear Equation

To solve 3x + 5 = 20, select the linear problem type. Enter Coefficient a as 3, Coefficient b as 5, and Constant c as 20. The calculator subtracts 5 from 20 and divides by 3, resulting in x = 5.

Scenario 3: Quadratic with Complex Roots

For the equation x² + 2x + 5 = 0, enter a = 1, b = 2, and c = 5. Because the discriminant is -16, the roots are complex: x₁ = -1 + 2i and x₂ = -1 - 2i. The vertex is (-1, 4).

Scenario 4: Evaluating a Function

To evaluate f(x) = 2x² − 4x + 1 at x = 5, select the evaluate mode. Enter a = 2, b = -4, c = 1, and set the Evaluation Point to 5. The calculator computes f(5) = 31.

How to Use the Calculator

  1. Select the Problem Type: Choose whether you are solving a quadratic equation, a linear equation, or evaluating a function.
  2. Enter the Coefficients: Input the values for Coefficient a, Coefficient b, and Constant c based on your equation.
  3. Set the Evaluation Point (if applicable): If you are evaluating a function, enter the specific x-value.
  4. Review the Results: The calculator will display the primary and secondary solutions, along with the discriminant and vertex for quadratic equations.

Inputs and Outputs

Field Type Description
Problem Type Input Select quadratic, linear, or evaluate mode.
Coefficient a Input The multiplier for the x² term (or x term in linear mode).
Coefficient b Input The multiplier for the x term (or constant on the left side).
Constant c (or RHS) Input The constant term or the value on the right side of the equation.
Evaluation Point (k) Input The specific x-value used when evaluating a function.
Primary Solution Output The first root, linear solution, or evaluated result.
Secondary Solution Output The second root for quadratic equations, if applicable.
Discriminant Output The value of b² - 4ac, which indicates the type of roots.
Vertex (h, k) Output The coordinates of the parabola's peak or valley.

Frequently Asked Questions

What does a negative discriminant mean?

A negative discriminant means the quadratic equation does not cross the x-axis, resulting in two complex (imaginary) roots rather than real numbers.

Can this calculator solve equations where 'a' is zero?

Yes. If you are in quadratic mode and enter 0 for Coefficient a, the calculator automatically treats it as a linear equation (bx + c = 0) and solves for x.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.