GeoGebra Tutorial 11 – Sliders and Graphs of Trigonometric Functions

This is the eleventh tutorial in the GeoGebra Intermediate Tutorial Series. If this is your first time to use GeoGebra, you may want to read the GeoGebra Essentials Series.

In this tutorial (now updated to GeoGebra 4.2), we use sliders to explore the effects of the parameters a, b, c and d of the graph f(x) = a sin(bxc) + d, g(x) = a cos(bxc) + d and h(x) = a tan(bxc) + d. We also learn about a new tool, the Checkbox to Show/Hide Objects tool. The output of this tutorial is shown in Figure 1.  If you want to explore first before following the tutorial, the GeoGebra applet can be viewed here.

Figure 1 – The graphs of the sine, cosine and tangent functions with similar values of a, b, c and d.

Although this tutorial is the eleventh of the GeoGebra Tutorial Series, it is a stand-alone tutorial. You may follow it step-by-step without having to learn the previous ten.

Instructions

1.) Open GeoGebra and click on the Algebra & Graphics at the Perspectives menu.
2.) First, we create assigned values to a, b, c and d. These numbers will be our slider later. To assign a number to a, type a = 1 in the Input bar, then press the ENTER key. Now, construct numbers b, c, and d by typing b = 1, c = 1, and d = 1 and press the ENTER key after each equation.
3.) To create sliders a, b, c and d, right click each one of them in the Algebra view and click Show object from the context menu.

GeoGebra Sliders

4.) Before graphing the functions, change the interval of the x-axis from 1 to π/2. To do this, right-click any blank space on the Graphics view and click on Graphics… from the context menu to display the Settings dialog box.

5.) In the Settings dialog box, select the Graphics section,  click the x-axis tab, check the Distance check box, select π/2 from the Distance drop-down list box, and then close the dialog box.

preferences

6.) Now, to graph the sine function, type f(x) = a*sin(b*x-c)+d in the Input bar, then press the ENTER key. In GeoGebra, the * symbol stands for multiplication.
7.) To graph the cosine and tangent function, type g(x) = a*cos(b*x-c)+d,then press the ENTER key and type h(x) = a*tan(b*x-c)+d then press the ENTER key.
8.) Move sliders a, b, c and d. What do you observe? How does a, b, c and d affect the graph of the sine function, the cosine function and the tangent function?
9.) Next, we create three check boxes that will show or hide the graphs of the three trigonometric functions. To create a check box that will show/hide the sine function, select the Check Box to Show/Hide Object tool, then click anywhere on the Graphics view to display the Check Box to Show/Hide Objects dialog box.
10.)  In the Check box dialog box, type Show/Hide Sine Function in the Caption box,  click the sine graph in the Graphics view, and then click the  Apply button to finish. Notice that the sine function appears on the list box.

Figure 5 – The Check Box to Show/Hide Objects dialog box.

11. )   Select the Move tool and click the check box several times. What do you observe?
12. )   Using steps 9-10, create two more check boxes for the cosine function and the tangent function.
13.)    Next, we show the grid. We can use the grid to approximate the x and y values of a particular point. To do this, click the View menu, then click Grid.
14.)   Lastly,  change the color of the graphs to distinguish them easily.

Slope Concept 2 – Slope of the Graph of a Linear Function

Note: This is the second part  of the the Slope Concept Series. The second and third articles are Part I – Understanding the Basic Concepts of Slope and Part III – Slopes of Vertical and Horizontal Lines.

***

In the Understanding the Basic Concepts of Slope post, we have discussed that slope is described as rise over run. In this post, we are going to show that the slope of a straight line is constant.

To get the slope of a straight line or a segment, we determine two points on the line, say A and B, draw a horizontal line through point A and a vertical segment through point B. We then determine the intersection of the two line segments and name it C as shown in Figure 1. Angle C is a right angle since BC is a vertical segment and AC is a horizontal segment.

Figure 1 - A line containing points A and B.

The slope of the line containing AB is \frac{BC}{AC}. If we determine two more points, say D and E on the line, and do the process mentioned above, we can come up with triangle DEF right angled at F as shown in Figure 2. In terms of DEF, the slope of the line containing points D and E is \frac{EF}{DF}. Since the line containing DE and AB is practically the same line, we have learned from high school mathematics that their slopes must be equal.  Hence, the following relationship holds: \frac{BC}{AC} = \frac{EF}{DF}.

Why is this so?

Figure 2 - Triangle ABC and DEF with their hypotenuse contained on the line.

To show that the slope of the line is constant, we must show that \frac{BC}{AC} =\frac{EF}{DF}.

Proof That the Slope of a Straight Line is Constant

From Figure 2, BC is parallel to EF, since they are both vertical segments.  Similarly, DF is parallel to AC, since they are both horizontal segments. By the Parallel Postulate, we can consider AB as a transversal of the two pairs of parallel segments.

We can see that angles DEF and ABC are congruent since they are corresponding angles. Angles C and F are also congruent since they are both right angles. Hence, by AA similarity, ABC is similar to DEF.  Since the ratio of the corresponding sides of a similar triangles are equal, it follows that \frac{BC}{AC} =\frac{EF}{DF}.

From the above proof, we have shown that the slope of a straight line, or the slope of the graph of a linear function,  is constant.

The Amazing Mathematics Illuminated

Mathematics Illuminated is an amazing multimedia resource created by Annenberg Media. It contains text articles, videos, and java applets that discusses mathematics ranging from the most ancient to the most modern. The title of 13 chapters are the following.

  1. The Primes
  2. Combinatorics Counts
  3. How Big is Infinity
  4. Topology’s Twists and Turns
  5. Other Dimensions
  6. The Beauty of Symmetry
  7. Making Sense of Randomness
  8. Geometries Beyond Euclid
  9. Game Theory
  10. Harmonious Math
  11. Connecting with Networks
  12. In Sync
  13. The Concepts of Chaos

It also contains textbooks, facilitator’s guides, participant’s guides, interactive applets and many other teaching tools that can be used in teaching and learning mathematics.

If you are a mathematics teacher or enthusiast, Mathematics Illuminated is really worth visiting.

1 2 3 4 5