Visualizing a System of Linear Equations

Task
Create a dynamic figure that visualizes the solution of a system of linear equations.
Construction Steps
[table] [tr] [td]1.[/td] [td][icon]/images/ggb/toolbar/mode_slider.png[/icon][/td] [td]Create slider [i]m_1[/i] with the default settings for sliders. [br][u]Hint[/u]: The input [code]m_1[/code] gives you [i]m[sub]1[/sub][/i].[/td][/tr] [tr] [td]2.[/td] [td][icon]/images/ggb/toolbar/mode_slider.png[/icon][/td] [td]Create slider [i]b_1[/i] with the default settings for sliders.[/td][/tr] [tr] [td]3.[/td] [td][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/120px-Menu_view_algebra.svg.png[/icon][/td] [td]Enter the linear equation [code]line_1: y = m_1 x + b_1[/code].[/td][/tr] [tr] [td]4.[/td] [td][icon]/images/ggb/toolbar/mode_slider.png[/icon][br][/td] [td]Create sliders [i]m_2[/i] and [i]b_2[/i] using the default settings for sliders.[/td][/tr] [tr] [td]5.[/td] [td][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/120px-Menu_view_algebra.svg.png[/icon][/td] [td]Enter the  linear equation [code]line_2: y = m_2 x + b_2[/code].[/td][/tr][/table]
Try it yourself...
Construction Steps (Continued)
[table] [tr] [td]6.[/td] [td][icon]/images/ggb/toolbar/mode_text.png[/icon][/td] [td]Create the dynamic [i]text1[/i]: [code]Line 1:[/code] and select [i]line_1[/i] from the list of objects on tab [img]https://wiki.geogebra.org/uploads/thumb/4/4e/Geogebra-logo-elipse.svg/16px-Geogebra-logo-elipse.svg.png[/img] of the [i]Advanced [/i]section.[/td][/tr] [tr] [td]7.[/td] [td][icon]/images/ggb/toolbar/mode_text.png[/icon][/td] [td]Create the dynamic [i]text2[/i]: [code]Line 2:[/code] and select [i]line_2[/i] from the list of objects on tab [img]https://wiki.geogebra.org/uploads/thumb/4/4e/Geogebra-logo-elipse.svg/16px-Geogebra-logo-elipse.svg.png[/img].[/td][/tr] [tr] [td]8.[/td] [td][icon]/images/ggb/toolbar/mode_intersect.png[/icon][/td] [td]Construct the intersection point [i]A[/i] of both lines [i]line[sub]1[/sub][/i] and [i]line[sub]2[/sub][/i] .[br][u]Hint[/u]: You could use command [code]Intersect[line_1, line_2][/code] instead.[/td][/tr] [tr] [td]9.[/td] [td][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/120px-Menu_view_algebra.svg.png[/icon][/td] [td]Define [code]xcoordinate = x(A)[/code].[br][u]Hint[/u]: [i]x(A)[/i] gives you the [i]x-coordinate[/i] of point [i]A[/i].[/td][/tr] [tr] [td]10.[/td] [td][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/120px-Menu_view_algebra.svg.png[/icon][/td] [td]Define [code]ycoordinate = y(A)[/code].[br][u]Hint[/u]: [i]y(A)[/i] gives you the [i]y-coordinate[/i] of point [i]A[/i].[/td][/tr] [tr] [td]11.[/td] [td][icon]/images/ggb/toolbar/mode_text.png[/icon][/td] [td]Create the dynamic [i]text3[/i]: [code]Solution: x =[/code] and select [i]xcoordinate[/i] from the list of objects on tab [img]https://wiki.geogebra.org/uploads/thumb/4/4e/Geogebra-logo-elipse.svg/16px-Geogebra-logo-elipse.svg.png[/img].[/td][/tr] [tr] [td]12.[/td] [td][icon]/images/ggb/toolbar/mode_text.png[/icon][/td] [td]Create the dynamic [i]text4:[/i] [code]y = [/code]and select [i]ycoordinate[/i] from the list of objects on tab [img]https://wiki.geogebra.org/uploads/thumb/4/4e/Geogebra-logo-elipse.svg/16px-Geogebra-logo-elipse.svg.png[/img].[/td][/tr] [tr] [td]13.[/td] [td][/td] [td]Fix the texts and sliders so they can’t be moved accidentally.[/td][/tr][/table]
Note
Such a dynamic figure can also be used to visualize... [br][list][*]the solution of a system of functions.[/*][*]an equation in one variable by entering each side of the equation as one of the two functions.[/*][/list]
Close

Information: Visualizing a System of Linear Equations