Graphical Solution of a Quadratic Equation
Loading the math board and drawing, please wait…
This example demonstrates the graphical solution of a quadratic equation. Key mathematical concepts include quadratic equations, function graphs, and the concept of roots. Using GeoGebra commands such as If, Sequence, Polygon, etc., the example dynamically shows the graph of a quadratic equation, the process of finding roots, and the meaning of the discriminant. Suitable for middle school and above students and teachers.
GeoGebra Commands & Parameters
If(step ≟ 1, 1, If[step ≟ 2, 3, If[step ≟ 3, 4, If[step ≟ 4, 5, If[step ≟ 5, 6, If[step ≟ 6, 9, If[step ≟ 7, 9, If[step ≟ 8, 10]]]]]]]) → displayStepIf(b > 0, "-" + (abs(b)), "" + (abs(b))) → bmindisSequence(x_{start} + (x_{end} - x_{start}) * dsc / ncalc, dsc, 0, ncalc) → listxIf(c > 0, "-" + (abs(c)), "+" + (abs(c))) → cmindisSequence((x_{start} + (x_{end} - x_{start}) * dsc / ncalc, line(x_{start} + (x_{end} - x_{start}) * dsc / ncalc)), dsc, 0, ncalc) → listlineSequence((x_{start} + (x_{end} - x_{start}) * dsc / ncalc, f_a(x_{start} + (x_{end} - x_{start}) * dsc / ncalc)), dsc, 0, ncalc) → listfaSequence((x_{start} + (x_{end} - x_{start}) * dsc / ncalc, f(x_{start} + (x_{end} - x_{start}) * dsc / ncalc)), dsc, 0, ncalc) → listfPolygon(Corner[1], (Corner[1] + 0.85 * Corner[2]) / 1.85, (Corner[4] + 0.85 * Corner[3]) / 1.85, Corner[4]) → yellowPoly, d, e, g, hTextfield(x_{start}) → inputxsTextfield(x_{end}) → inputxeIntersect(line, f_a) → A, BTextfield(n) → inputnTextfield(inputRoot) → inputRootToFindSegment(A, r_2) → a_1If(findSquareRoot, {Append[x, listx], Append["\fgcolor{CC0000}{y=" + f_a + "}", Zip["\fgcolor{CC0000}{" + (y(a)) + "}", a, listfa]]}, If[normalFormula, {Append["x", listx], Append["\fgcolor{CC0000}{y=" + f + "}", Zip["\fgcolor{CC0000}{" + (y(a)) + "}", a, listf]]}, {Append["x", listx], Append["\fgcolor{CC0000}{y=" + f_a + "}", Zip["\fgcolor{CC0000}{" + (y(a)) + "}", a, listfa]], Append["\fgcolor{CC0000}{y=" + bmindis + "x" + cmindis + "}", Zip["\fgcolor{CC0000}{" + (y(a)) + "}", a, listline]]}]) → listdisplayTableText(listdisplay, "vc|_") → tablePointSequence(x = a, a, -30, 30) → listxgridSequence(y = a, a, -30, 30) → listygridSequence(Sequence[(j + zerox, i + zeroy), i, -5, 10, 0.5], j, -5, 12, 0.5) → pointGridElement(pointGrid, l_i, l_j) → grid_{point}Sequence(Element[listPanelText, panelType], i, 0, panelType) → listPanelTextDisplayPoint(pointGrid) → CPoint(pointGrid) → DFixedPolygon(C, D) → poly1, E, FPoint(pointGrid) → GPoint(pointGrid) → KPoint(pointGrid) → LFixedPolygon(K, L) → poly3, M, NPoint(pointGrid) → HFixedPolygon(G, H) → poly2, I, JPoint(pointGrid) → OFixedPolygon(N, O) → poly4, P, QCentroid(poly1) → cpoly1Centroid(poly2) → cpoly2Centroid(poly3) → cpoly3Centroid(poly4) → cpoly4Point(pointGrid) → RElement(pointGrid, 8, 15) → SFixedPolygon(R, S) → poly5, T, UElement(pointGrid, 10, 15) → VFixedPolygon(U, V) → poly6, W, ZElement(pointGrid, 12, 15) → A_1FixedPolygon(Z, A_1) → poly7, B_1, C_1Element(pointGrid, 18, 22) → D_1Point(pointGrid) → E_1FixedPolygon(D_1, E_1) → poly8, F_1, G_1Point(pointGrid) → H_1FixedPolygon(G_1, H_1) → poly9, I_1, J_1Element(pointGrid, 25, 13) → K_1FixedPolygon(F_1, K_1) → poly10, L_1, M_1Element(pointGrid, 1, 11) → N_1Element(pointGrid, 8, 4) → O_1FixedPolygon(N_1, O_1) → poly11, P_1, Q_1Point(pointGrid) → R_1FixedPolygon(Q_1, R_1) → poly12, S_1, T_1Element(pointGrid, 8, 2) → U_1FixedPolygon(P_1, U_1) → poly13, V_1, W_1Point(pointGrid) → Z_1FixedPolygon(O_1, Z_1) → poly14, A_2, B_2Point(pointGrid) → C_2Point(pointGrid) → D_2FixedPolygon(C_2, D_2) → poly15, E_2, F_2Point(pointGrid) → G_2Point(pointGrid) → K_2Element(pointGrid, 32, 6) → L_2FixedPolygon(K_2, L_2) → poly17, M_2, N_2Element(pointGrid, 27, 2) → H_2FixedPolygon(G_2, H_2) → poly16, I_2, J_2Centroid(poly5) → cpoly5Centroid(poly6) → cpoly6Centroid(poly7) → cpoly7Centroid(poly8) → cpoly8Centroid(poly9) → cpoly9Centroid(poly10) → cpoly10Centroid(poly11) → cpoly11Centroid(poly12) → cpoly12Centroid(poly13) → cpoly13Centroid(poly14) → cpoly14Centroid(poly15) → cpoly15Centroid(poly16) → cpoly16Centroid(poly17) → cpoly17Take(listCompletion, 1, displayStep) → listCompletionDisplayTableText({listCompletionDisplay}, "vl") → completionTableIf(c > 0, "+" + (abs(c)), "-" + (abs(c))) → cdisIf(b > 0, "+" + (abs(b)), "-" + (abs(b))) → bdisSegment(B, r_1) → b_1If(discriminant ≟ 0, Text[Element[listNature, 1]], If[discriminant > 0, Text[Element[listNature, 2]], If[discriminant < 0, Text[Element[listNature, 3]]]]) → latexNatureToggleTextIf(c > 0, "+" + (abs(c)), "-" + (abs(c))) → cdis_1If(b > 0, "+" + (abs(b)), "-" + (abs(b))) → bdis_1If(discriminant > 0, abs(discriminant) + " > 0", If[discriminant < 0, -abs(discriminant) + " < 0", "0"]) → discriminantdis