二次函数与抛物线
探索 y = ax² + bx + c。拖动系数时,顶点、对称轴、根和判别式都会实时更新。
6 分钟难度 1/3交互演示区域不展示广告。
a, b, c1.0, -2.0, -3.0Vertex(1.00, -4.00)Discriminant16.00Roots3.00, -1.00
The cyan curve is y = ax² + bx + c. The amber point is the vertex, the dashed line is the axis of symmetry, and pink points are real roots. A negative discriminant means the parabola never touches the x-axis.
你看到的是什么
1
系数 a 决定抛物线开口向上还是向下,以及开口的宽窄。
2
顶点位于 x = −b / (2a),对称轴经过该点。
3
判别式 b² − 4ac 决定有两个实根、一个重根,还是没有实根。
为什么重要
二次函数用于抛体运动、面积、优化和抛物面反射器,也是学生深入分析的第一类非线性函数。
复杂度与细节
在 n 个点处绘制曲线为 O(n)。根和顶点的计算为 O(1)。
常见问题
判别式为负意味着什么?+
抛物线与 x 轴没有交点,方程没有实根,根是一对共轭复数。
为什么顶点在 −b/2a?+
配方后二次函数变为顶点式,平方项在 x = −b/(2a) 时取最小值。