Start an algebraic study

What do you want to study?

If you start from… Open…
An equation or an inequality, for example x^2-5*x+6=0 Graphs. Write the expression as a function, plot it and look for the candidates with roots.
Two formulas to compare Graphs. Declare two functions and use intersections. Intersections of two lines
Functions already published as Datasets, to add or transform Algebra. Choose Operand A and, when needed, Operand B. Input and requirements

Here we solve the first equation and check where the expression is positive or negative in [0,5].

1. Open Mathematics in a new Session

In the GX-TXT main window create a Session with New Session and give it a name. With the Session active open the Viewers tab. Look for Mathematics and click the button with that name. Mathematics Explorer opens. Choose Graphs at the top right and wait for the initial plot.

In the main window, Viewers with the Mathematics button.
In the main window, Viewers with the Mathematics button.

The window places the declarations on the left and the plot on the right. In Functions and branches the upper table shows Sine and the table just below shows its Main branch. The bottom bar shows whether the preview is ready or a calculation is running.

Whole window at start-up, with Graphs, the Functions and Branch tables and the default curve.
Whole window at start-up, with Graphs, the Functions and Branch tables and the default curve.

2. Write the formula and set the domain

  1. In the window map, 7 marks the tabs, 8 the functions table, 9 the branches table and 20 the status. In the lower table double-click the Main row. You can also right-click Main and choose Edit selected….
  2. In the Branch declaration dialog replace the formula in Expression (1) with x^2-5*x+6. The name Sine is the name of the old trace and stays visible until you change it.
  3. Leave Output unit (empty inherits) (2) empty to inherit 1 from the function. To check the unit of the function, double-click the upper Sine row and read Output unit. You can change Name to Parabola. In this exercise the ordinate and X are both expressed in unit 1.
  4. Leave Lower bound (empty = global) (3) and Upper bound (empty = global) (4) empty. Keep both ends included and Sampling → uniform. Samples (0 inherits) at 0 uses the global number of samples. Confirm with Apply (5).
  5. At the bottom left set Global X minimum = 0, Global X maximum = 5 and Default sample count = 401. Scroll the panel if needed. In Units leave Common X unit = 1.
The Main row opened in Branch declaration with the formula already typed in Expression.
The Main row opened in Branch declaration with the formula already typed in Expression.

3. Plot and solve the equation

Open Operations → Plot / Refresh. Wait for the message reporting an admitted trace. The plot must cross the horizontal axis twice, near 2 and 3. In the middle, at X=2.5, the analytical reference is −0.25.

Preview of the parabola from 0 to 5, with the part below the axis between the two zeros.
Preview of the parabola from 0 to 5, with the part below the axis between the two zeros.

Solve it on paper first. Recognise x^2-5*x+6 = (x-2)*(x-3). The product is zero when at least one factor is zero, so the exact solutions are 2 and 3. Before 2 both factors are negative, between 2 and 3 they have opposite signs and after 3 they are both positive. In the study interval the expression is positive in [0,2) and in (3,5], negative in (2,3) and zero at 2 and at 3.

In Graphs, scroll the left panel down to Analyze selected function / branch and select roots (callout 1). Open Operations → Analyze. In Selected mathematical study write 0 in Study X minimum (empty = selected domain) and 5 in Study X maximum (empty = selected domain), then press Apply. Wait for the report. From the Study tab, the same outcome can be found again in Last completed study.

The roots selector at the bottom of the Graphs panel.
The roots selector at the bottom of the Graphs panel.
Interval [0,5] before starting Analyze.
Interval [0,5] before starting Analyze.

Read Study interval, the x = … rows and residual. The candidates must be close to 2 and 3, with a small residual. That residual is the numerical value of f at the reported X, in unit 1. The report confirms where to look for the solutions. The calculation on paper establishes the exact zeros, the sign and the intervals.

Report of the numerical candidates in the assigned interval.
Report of the numerical candidates in the assigned interval.

4. Keep your work

If the report is in a window, close it with Close. Use File → Save model and wait for Saved Session document. To find formula, domains, units and view again use File → Open…, select the document and press Open. If the plot opens in a waiting state, use Plot / Refresh again. Saving and first access

Confirmation that the model has been saved in the Session.
Confirmation that the model has been saved in the Session.

When to move to the Algebra tab

If you are working on definitions already published, open Algebra and locate Operand A, Operand B, Operation and Apply. The inputs must be canonical mathematical.function Datasets in the Session. Their appearance in the selector confirms that the ID is in the catalogue. Wait for the provider and revision check. Choose the operation when Operation offers it and use Apply only when the button becomes enabled. A successful calculation adds an entry to View formula and to the history. Publish result… is a later step.

In the P012 tests with Functions already published, the IDs appeared in both selectors but loading the operands failed. The test profile was missing jsonschema. Making that dependency available in the isolated profile only, the next check stopped on the Host profile. Apply remained disabled. These bugs will be fixed in P013. In this condition use Graphs to study formulas entered in the model. Operands and palette · Canonical publishing

Position of Operand A, Operand B, Operation and Apply before admission.
Position of Operand A, Operand B, Operation and Apply before admission.

Continue with roots and intersections, with a polynomial that touches the axis without crossing it or with lines that meet, are parallel or coincide.