Parabola with two roots
- Input
- x^2 - 4x + 3
- Expected output
- x = 1, x = 3; V = (2, -1); f(0) = 3
Roots 1 and 3; vertex (2, -1); y = 3 at x = 0. Δ = 4, opens upward.
graph of a quadratic function
Type the function in the tool, for example x^2 - 4x + 3, and the parabola is drawn with its opening direction, vertex, roots and the point where it crosses the y axis. To see what each coefficient does, type a*x^2 + b*x + c and move the sliders for a, b and c.
Roots 1 and 3; vertex (2, -1); y = 3 at x = 0. Δ = 4, opens upward.
Roots -1 and 3; vertex (1, 4). a = -1, so the vertex is the highest point.
No real roots; vertex (0, 1). Δ = -4, the parabola stays above the x axis.
Root 3; vertex (3, 0). Δ = 0, the parabola only touches the x axis.
Roots (1 ± √5)/2, about -0.618 and 1.618; vertex (0.5, -1.25). Δ = 5, which is not a perfect square.
Intersections (0.5, 1.25) and (4, 3). Solves x² - 4.5x + 2 = 0.
Type the function, for example x^2 - 4x + 3. The parabola opens upward if a is positive and downward if it is negative. The vertex is at x = -b/2a: here x = 2 and y = -1. The roots come from (-b ± √Δ)/2a with Δ = b² - 4ac = 4, so x = 1 and x = 3, and the parabola crosses the y axis at c = 3. The tool marks all of these points and shows their exact form.
Look at the sign of the coefficient a, the number multiplying x². If a is positive (x² - 4x + 3, a = 1) the parabola opens upward and has a minimum point. If a is negative (-x² + 2x + 3, a = -1) it opens downward and has a maximum point. The tool states the opening direction and says whether the vertex is a minimum or a maximum.
Compute xv = -b/(2a) and then plug it into the function. In f(x) = 2x² - 4x - 6, xv = 4/4 = 1 and yv = 2 - 4 - 6 = -8, so the vertex is (1, -8). The tool does this automatically and also shows the axis of symmetry, x = 1 in this case.
It means the parabola does not cross the x axis: there is no real root. In x² + 1 we have Δ = 0 - 4 = -4 and the graph stays entirely above the axis, with the vertex at (0, 1). The roots exist in the complex plane (±i) but do not show up on the real graph.
Quadratic function, f(x) = ax² + bx + c with a not equal to 0. The graph is a parabola, symmetric about the vertical line through the vertex. Here a = 1, b = -4 and c = 3; the parabola opens upward.
Exact result (algebra)
Linear function, f(x) = ax + b. The graph is a line: a is the slope (increasing if a is positive) and b is where the line crosses the y axis. Here a = 0.5 (increasing) and b = 1.
Exact result (algebra)
| x | f₁(x) | f₂(x) |
|---|---|---|
| -5 | 48 | -1.5 |
| -4 | 35 | -1 |
| -3 | 24 | -0.5 |
| -2 | 15 | 0 |
| -1 | 8 | 0.5 |
| 0 | 3 | 1 |
| 1 | 0 | 1.5 |
| 2 | -1 | 2 |
| 3 | 0 | 2.5 |
| 4 | 3 | 3 |
| 5 | 8 | 3.5 |