Domain and Range 1: Basic Concepts

Domain and range are concepts that are essential in learning functions.  In most resources, these concepts are just defined technically, and although there are examples, many just lack intuitive explanations. In this post, we discuss domain and range in a simple and hopefully easy to understand manner.

Example 1: f(x) = 2x + 1

Domain

What is the domain of f(x) = 2x + 1 and what is its range? Well, the domain are just the possible values of x that will produce a “valid” value f(x). To check, we can ask the following questions.

  • Can we substitute positive values to x?
  • Can we substitute negative values to x?
  • Can we substitute 0 to x?

Obviously, the answer to these questions are all yes. In fact, we can assign any real number value to x and we can always get a corresponding value for f(x). » Read more

GeoGebra Tutorial: Graphing Functions Using GeoGebra

Basic Graphing

You can graph in by typing equations of functions in the Input box.

Figure 1 - The GeoGebra Window

Type the following equations of functions in the Input box and press the ENTER key after each equation.

  1. y = 2x + 3
  2. f(x) = -3x + 5
  3. 2x – 3y + 6 = 0
  4. g(x) = sin(x)
  5. y = x^3 – 1

Notes:

  • You can type linear equations in the following forms:  y = ax + b, f(x) = a(x) + b or ax + by + c = 0.
  • The * is used in multiplication and ^ is used in exponentiation. For example you want to graph, y = 2(x – 3)2, then you should enter y = 2*(x-3)^2.

Properties of Graph

You can change the  labels, colors, thickness and other properties of graphs (and other objects) in GeoGebra. In this tutorial we are going to change the color, label and thickness of the graph g(x) = sin(x).

To change the properties of the graph g(x) = sin(x), do the following:

1.)    Right click the graph of the sine function then click Object Properties from the context menu.

Figure 2 - The context menu that appears when you right-click a graph

2.)    In the Basic tab, be sure that the Show label check box is checked.

3.) Choose Name and Value from the Show label drop-down list box.

Figure 3 - The Basic tab of the Properties dialog box

4.)    To change the color, click the Color tab, then choose your color from the Color palette.

5.)    To change the thickness of the graph, click the Style tab, move the slider bar to 5.

Figure 4 - The Style tab of the Properties dialog box.

6.)    Click the Close button

Exercise: Change the properties of the other graphs. Explore the options in the Properties dialog box and see their effects to the graphs.

You may also want to view another tutorial on graphs and sliders.