GeoGebra Tutorial: Graphs and Sliders Part 2

In my post Tutorial 4: Graphs and Sliders, we learned how to use the slider in investigating graphs of the form y = mx + b. In this tutorial, we are going to use sliders to investigate the graph of the fromy = a(x – h)2+ k, where a, h and k can be any real number.  We will first input the values of a, h and k in the input box before creating the sliders.

To do this, first we are going to assign temporary values for a, h and k in the input box, then create a slider for each of them. After creating a slider, we enter the equation y = a(x – h)2+ k in the input box to graph our function.  You may want to look at our expected output here.


    1. Open GeoGebra.
    2. Enter the following equations in the input box: a = 1, h = 1 and h = 1 in the Input box and press the ENTER key on your keyboard after typing each equation.  Observe that the equations appear in the Free Objects section of the Algebra window.

Figure 1 – Equations are entered in GeoGebra using the Input box.

    1. Right click each equation and click Show Object. Notice that the sliders appear in your drawing box.

Figure 2 – Sliders are made by right-clicking each equation and pressing the Show Object option in the context menu.

    1. Type the equation y = a*(x – h)^2 + k, the press the ENTER key. If you have typed the equation correctly, a graph should appear in your drawing pad.

Q1: Click the Move button and move the small circle on your slider. What do you observe?
Q2: What are the effects of the parameters a, h and k to the graph of the function y = a*(x – h)^2 + k?

GeoGebra Tutorial 5 – Discovering the Pythagorean Theorem

This is the fifth tutorial in the GeoGebra Intermediate Tutorial Series. If this is your first time to use GeoGebra, please read the GeoGebra Essentials Series.

In this tutorial, we compare areas of squares formed on the sides of a right triangle. To construct this figure, we first construct a right triangle, and form three squares, each of which contains one of the three sides as shown below. Then we observe the relationship among the areas of the squares.


Figure 1 – Squares formed containing the sides of a right triangle

In this tutorial, we learn how to use the Regular Polygon tool.   Most of the constructions that you will make here are review of the first four tutorials.


1.) Open GeoGebra and select Geometry from the Perspective panel.
segmentpng 2.) Select the Segment between Two Points tool and click two distinct places on the Graphics view to construct segment AB.
movepng 3.) If the labels of the points are not displayed, click the Move tool, right click each point and click Show label from the context menu.
perpendicularpng 4.) Next, we construct a line perpendicular to segment AB and passing through point B. To do this, choose the Perpendicular line tool, click on segment AB, then click on point B.
newpointpng 5.) Next, we create point C on the line. To do this, click the New point tool and click on the line. Be sure that the label of the third point is displayed.

figure 5-2

Figure 2 – Point C on the line passing through B

You have to be sure that C is on the line passing through B. Be sure that you cannot drag point C out of the line. Otherwise, delete the point and create a new point C.

6.) Hide everything except the three points by  right clicking tmem and unchecking the Show Object option.
7.) Next, we rename point B to point C and vice versa. To rename point B to C, right click point B, click Rename and then type the new name, in this case point C, in the Rename text box, then click the OK button. Now, rename B (or B1) to C.
regpolygonpng 8.) Next we  construct a square with side AC. Click the Regular polygon tool, then click on point C and click on point A.


9.) In the Points text box of the Regular polygon tool, type 4. If the position of the square is displayed the wrong way (right hand side of AC) just undo button and reverse the order of the clicks when creating the polygon.


Figure 3 – Square containing side AC


10. ) With the Polygon tool still active, click point B and click point C to create a square with side BC. Similarly, click point A, then click point B to create a square with side AB.  After step 10, your drawing should look like the one shown below.


Figure 4 – Squares containing sides of right triangle ABC

11.)  Hide the label of the sides of the side of the squares.
12.)  Rename the sides of the rectangle as shown below.


Figure 5 – Triangle ABC wth side lengths a, b and c.

13.)  Now, let us reveal the area of the three squares. Right click the interior of the square with side AC, then click Object Properties from the context menu to display the Preferences window.
14.)  In the Basic tab of the Preferences window, check the Show Label check box and choose Value from the drop-down list box. Do this to the other two squares as well.


Figure 6 – Properties of squares shown in the Preferences window.

movepng 15.)  Move the vertices of the triangle. What do you observe about the area of the squares?
16.)  You may have observed that the area of the biggest square is equal to the sum of the areas of the two smaller squares. To verify this, we can put a label in the GeoGebra window displaying the areas of the three squares.
17.)  Suppose the side of the two smaller squares are a and b, and the side of the biggest square is c, what equation can you make to express the relationship of the of the three squares?
18.)  What conjecture can you make based on your observation?


GeoGebra Tutorial 4 – Graphs and Sliders

This is the fourth tutorial in the GeoGebra Intermediate Tutorial Series. If this is your first time to use GeoGebra, please read the GeoGebra Essentials Series first.

In this tutorial, we  use GeoGebra to investigate the effects of parameters of the equations of functions to the appearance of their graphs.  First, we type equations y = mx and then use a slider investigate the effects of m.

Figure 1 - Sample Graphs created with GeoGebra

Figure 1 – Sample Graphs created with GeoGebra

Graphing Functions

  1. Open GeoGebra and be sure the the Algebra and Graphics view is selected for the Perspective menu.
  2. To graph y = 2x, type y = 2x in the input field. (The input field is the text box with the label Input located at the bottom of your GeoGebra window.) Press the ENTER key on your keyboard.
  3. Type the following equations: y = 3x, y = 4x , y = -8x, and press the ENTER key after each equation.
  4. Type more equations of the form y = mx where m is any real number.
  5. How does the value of maffect the appearance of the graph of the function y = mx?

Using Sliders

To avoid typing over and over again for varying values m, we use the slider tool.  A slider is a visual representation of a number. This time, we add the parameter b. This means that we will explore the graph of the function of y = mx + b, where m andb are real numbers.


1.) Open the GeoGebra and be sure that Algebra View is selected from the Perspective menu. You can also do this by selecting Algebra from the view menu.
sliderpng 2.) Select the Slider tool and click on the Graphics view to display the Slider dialog box.
3.) In the Slider dialog box, change the slider’s name to m, change the interval to -10 to 10 as shown below.geogebra-sliderLeave the other values as is and click the Apply button to finish.
movepng 4.) Adjust the position of your slider if necessary. Move the small black circle on your slider. What do you observe?
5.) To graph the function y = mx,  type y = mx in the Input box located at the bottom of the window. If the Input bar is not displayed, you can display it using the View menu.


6.) Now, Move the small circle on your slider. What do you observe?


7.) Now, create a new Slider and name it b. Set the interval to -10 and 10 and leave the other values as they are.
8.) To change the function to y = mx + b, double click the graph to display the Redefine window, and then type y = mx + b.


9.) Now, move your b slider. What do you observe?
10. ) How does the value of b affect the appearance of the graph of the function y = mx + b?
11.)  As an exercise, graph the function y = ax^2 + b. Explain the effects of the parameters a and b to the graph of the function.


  1. The ^ symbol is used for exponentiation. Hence, we write ax^2 + c as a*x^2 + c.
  2. Instead of using y in writing equations of functions, you can also use f(x) for the function f.

Last Update: November 12, 2014 for GeoGebra 5.0. 

1 8 9 10 11