The Journal of Online Mathematics and Its Applications, Volume 7 (2007)
Creating Mathlets with Open Source Tools, Markus Hohenwarter and Judith Preinder

Creating the Dynamic Figure

We will now show you how to create the worksheet Shape of a Slope Function step by step. First, you need to construct the dynamic figure including the quadratic polynomial f, point P and the tangent line t as well as a special point M whose y-coordinate equals the slope of the tangent line t. To do this, you can use the interactive applet below that represents the user interface of GeoGebra but includes a customized tool bar to simplify the construction. It enables you to do the construction and export it as a web page. Since this setting should only provide an environment to gain first experiences with the use of GeoGebra while reading this article, we recommend to install GeoGebra and to have a look at the GeoGebra Quickstart document for additional information.

General Hints for the Use of GeoGebra

Step-by-step Instructions

  1. Create the parameters a = -0.5, b = 2, and c = 4 using the input field or the tool: slider "Slider" tool.
  2. Define function f(x) = a x^2 + b x + c using the input field.
  3. Activate the tool Tool: New point "New point". Move the mouse over the graph of function f and click on it when it is highlighted to get a point on the graph. Rename this point to P. Tip: Check if point P really lies on the graph of function f by selecting the tool Tool: Move"Move" and dragging point P along the graph.
Sorry, the GeoGebra Applet could not be started. Please make sure that Java 1.4.2 (or later) is installed and activated. (click here to install Java now)
  1. Select the tool Tool: Tangents "Tangents" and successively click on point P and the graph of function f. Rename the tangent to t.
  2. Use the command m = Slope[t] in order to get the slope triangle of the tangent line.
  3. Create point M by typing M = (x(P), m) into the input line. Tip: x(P) gives you the x-coordinate of point P.
  4. Export your dynamic figure as a dynamic worksheet by selecting "File" - "Export" - "Dynamic Worksheet as Web page (html)..." in the menu bar.