DGS Studio

Simplify Expressions

Simplify Expressions

Simplify algebra while preserving original denominator restrictions.

The first expression is (8x(x − 7) − 3(x − 7)) / (2x − 14). The common factor (x − 7) cancels, leaving (8x − 3)/2, but only when x ≠ 7. At x = 7 the original denominator is zero.

The other forms on this page are the difference of squares (x² − 9)/(x − 3) = x + 3 for x ≠ 3, and the like terms 3x + 2x − 7 = 5x − 7. Simplifying never drops a restriction that was in the original denominator.

Equation

(8*x*(x-7) - 3*(x-7))/(2*x-14)

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

Other versions of this example

These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.

Cancel a common factor

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

(8*x*(x-7) - 3*(x-7))/(2*x-14)

Difference of squares

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

(x^2-9)/(x-3)

Combine like terms

This line is part of the example input and is sent to DGS unchanged.

3*x + 2*x - 7

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