Equation Solving
Complex Roots
Solve equations with complex solutions.
x² + 4 = 0 has no real solution because x² would have to be −4. In the complex numbers, x = 2i or x = −2i. The companion equation x² + 1 = 0 has solutions ±i.
DGS reports the complex pair instead of saying the equation has no solution. A missing real root and a complex root are different statements.
Equation
x^2 + 4 = 0
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
x^2 + 4 = 0— This line is part of the example input and is sent to DGS unchanged.
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.
±2i
This line is part of the example input and is sent to DGS unchanged.
x^2 + 4 = 0
±i
This line is part of the example input and is sent to DGS unchanged.
x^2 + 1 = 0
Try a change
- Edit one number in the field, then use Solve Equation. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.