【一元二次方程 Quadratic Equation:根之和、根之積、配方法、判別式】Quadratic Equations: Roots, Discriminant, Sum and Product of Roots, Completing the Square
SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20
一元二次方程 Quadratic Equation 係數學 DSE 必修課題,通常會透過計算或圖像方式去求證方程嘅解、座標、兩根之和與積等。SketchMath 為大家介紹所有公式定理及應用,並附上相關題目示範!A quadratic equation is ax² + bx + c = 0. Solve it by common factor, grouping, identities, the cross method or the quadratic formula x = [−b ± √(b² − 4ac)] / 2a. The discriminant b² − 4ac tells you how many real roots there are, and the roots satisfy α + β = −b/a and αβ = c/a.
A quadratic equation is written ax² + bx + c = 0, where a, b, c are constants and x is the unknown. To get its solutions you can use:
Taking common factor
Grouping terms
Identities
Cross method
Quadratic formula
If a question asks for the answer in surd form, keying the constants into the calculator gives a long decimal that you cannot use. The calculator is really running the quadratic formula: for ax² + bx + c = 0, x = [−b ± √(b² − 4ac)] / 2a. The ± means one root with a plus and one with a minus. Work out b² − 4ac first and take its square root, then add or subtract it from −b, and divide by 2a.
In the quadratic formula, b² − 4ac decides how many answers there are:
b² − 4ac > 0: two unequal real roots
b² − 4ac = 0: one real root, called a repeated root
b² − 4ac < 0: no real roots (a negative number has no square root)
So b² − 4ac is called the discriminant. You can also read the roots from the graph.
拖動 y = x² − 4x + c 中的 c:判別式 Δ = 16 − 4c 決定曲線與 x 軸相交兩點、相切一點,還是沒有交點。 Drag c in y = x² − 4x + c: Δ = 16 − 4c decides whether the curve cuts the x-axis twice, touches it once, or misses it.
解二次方程的另一種方法是通過繪製二次函數的圖像來觀察方程的解。繪畫二次方程圖像時,我哋需要先透過方程嘅常數去搵出「開口方向」、「頂點 Vertex」、「對稱軸 Axis of symmetry」、「x 軸截點 x-intercept(root 根)」及「y 軸截點 y-intercept」。設方程 ax² + bx + c = 0,其中 a、b、c 是為常數實數。
開口方向:拋物線的開口分為向上或向下,向上的話會有最低點,向下會有最高點。判別開口方向:方程常數 a 前面的符號,如 + 則開口向上,如 − 則開口向下。
頂點 Vertex:拋物線的最低點或最高點。頂點 x 座標:−b/2a 或將兩個根相加除二;頂點 y 座標:把 −b/2a 代入方程的未知數 x 裡計算。
對稱軸:於頂點上下延伸而成且垂直於 x 軸的線,是拋物線的鏡像反射線,亦即是頂點的 x 座標。表達方式:x = 頂點的 x 座標(例:x = 2)。
x 軸截點(root 根):亦即是方程的解,基於拋物線是否接觸到 x 軸,可以有 2 個解、1 個解或是無解。
y 軸截點:所有拋物線必定會穿過 y 軸一次,可以是正數、負數或等於 0。y 軸截點 = 方程的常數 c(需要連前方的符號)。
Another way to solve a quadratic equation is to draw the graph of the quadratic function and read the solutions off it. To draw it, first find the direction of opening, the vertex, the axis of symmetry, the x-intercepts (the roots) and the y-intercept, for ax² + bx + c = 0 with constant a, b, c.
Direction of opening: a positive a opens upwards (there is a lowest point), a negative a opens downwards (there is a highest point).
Vertex: the x-coordinate is −b/2a, or the average of the two roots; put it back into the equation to get the y-coordinate.
Axis of symmetry: the vertical line through the vertex, x = the x-coordinate of the vertex (e.g. x = 2).
x-intercepts (roots): the solutions of the equation; the parabola may touch the x-axis twice, once, or not at all.
y-intercept: every parabola crosses the y-axis once, at the constant term c (with its sign).
拖動 b:頂點在 x = −b/2,對稱軸通過頂點,y 截距永遠是 c = −3。 Drag b: the vertex is at x = −b/2, the axis of symmetry passes through it, and the y-intercept stays at c = −3.
Suppose a graph opens upwards (a is positive), has its vertex at x = 1.5 (the average of 1 and 2), the axis of symmetry x = 1.5, x-intercepts 1 and 2 (two real roots) and y-intercept 2. Then the equation is:
To find the maximum or minimum of a quadratic, use completing the square. The idea behind it also explains the list of results above. The general form is ax² + bx + c, and the completed-square form is y = a(x − h)² + k. To change from one to the other, turn the expression into the shape of (a + b)² or (a − b)², from the identities (a + b)² ≡ a² + 2ab + b² and (a − b)² ≡ a² − 2ab + b².
For y = a(x − h)² + k: a positive a opens upwards, so there is a minimum; a negative a opens downwards, so there is a maximum. The maximum or minimum point is (h, k).
y = 4x² + 16x + 5 = 4(x + 2)² − 11:無論 x 是多少,y 都不會低於頂點的 −11。 y = 4x² + 16x + 5 = 4(x + 2)² − 11: whichever x you choose, y never goes below the vertex value −11.
五種:抽公因式、拼項法、恆等式、十字相乘法及二次公式;亦可用圖像得出根。
Five: common factor, grouping, identities, the cross method and the quadratic formula; the graph can also show the roots.
實根的數目:Δ > 0 有兩個,Δ = 0 有一個重根,Δ < 0 沒有實根。
The number of real roots: two if Δ > 0, one repeated if Δ = 0, none if Δ < 0.
用配方法:y = a(x − h)² + k 的最大值或最小值出現在 (h, k)。
Complete the square: y = a(x − h)² + k has its maximum or minimum at (h, k).