Google Classroom
GeoGebraGeoGebra Classroom

Algebraic input in CAS

The CAS View allows you to use GeoGebra's CAS (Computer Algebra System) for symbolic computations. 

Equations and assignments

Equations are entered using an equal sign =, while the input := indicates an assignment.

Task

Put in the following Algebraic expressions to get in touch with the CAS Input Bar.

Instructions

1. =  Enter the equation 3x + 5 = 7 using the simple Equal sign into the CAS Input Bar and hit the Enter key. 
2. Toolbar ImageNote: If you want to show the corresponding line in the  Graphics View, click on the Visibility button next to the equation. 
3. :=Enter the function g(x) := 2 * x + 1 into the second row of the  CAS View and hit the Enter key.
Hints:
  • The function is automatically plotted in the Graphics View.
  • If you define g(x) := 2 * x + 1 in the CAS View, then you can use g(x) in all the other Views of GeoGebra

Try it yourself...

Using variables

In the CAS View, you can use variables that were not assigned any value.

Task

Solve an equation step by step.

Instructions

1.Toolbar ImageType 5x - 2 = 8 and select the Keep Input tool.
2.#In row 2, type the shortcut # to copy the previous output into the CAS Input Bar
3.Toolbar ImageType +2 next to # and select the Symbolic Evaluation tool.
4.# Copy again the previous output 5x = 10 into the next row.
5.Toolbar ImageType / 5 next to # and select the Symbolic Evaluation tool.
6.Toolbar ImageIn row 1, click on the disabled Visibility button to display the original equation in the Graphics View and check your solution.
Note:
  • # copies the previous output.
  • #3 copies the output of row 3.

Try it yourself...

Multiplications

Multiplication of variables needs to be marked explicitly using an asterisk * or with a space. Example: The input b * (c + d) gives you the output bc + bd. Note: If you enter bc without the asterisk or a space between the factors, you will create a new variable called bc.