DGS Studio

Equation Solving

System + Expression

Solve several equations, then evaluate an expression.

The system is x + x + x = y and y + y = 18, and the question is x/y. From the second equation, y = 9. From the first, 3x = 9, so x = 3. Then x/y = 3/9 = 1/3.

The word 'find' tells DGS to solve the equations and then evaluate the expression. It does not plot the lines. A different expression, such as x + y, would use the same solution x = 3, y = 9 and return 12.

Equation

x+x+x=y, y+y=18, find x/y

How the equation is solved

Solve Equation keeps the algebra steps, not a curve. A linear equation isolates the variable. A polynomial can have several roots. A result is kept exact when it is an integer, a fraction, or a simple radical, and an approximation is added only when that helps.

Some inputs are identities or contradictions. 0·x = 0 is true for every x. 0·x = 5 is true for none. A system followed by 'find' solves the equations first and then evaluates the requested expression. The editor below sends the text you leave in the field.

Reading the input

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples