SolveTools
ComplexSolve
a procedure to give better solutions to complex equations involving abs
Calling Sequence
Parameters
Description
Examples
Compatibility
ComplexSolve( eqns, ineqs, vars )
eqns
-
list or set of equations or expressions
ineqs
(optional) list or set of relations: inequalities or inequations
vars
(option) a list or set of variables
The ComplexSolve command converts a system of complex equations in complex variables into a larger system of equations over the real numbers and solves them with real-valued equation techniques and then rewrites those solutions in terms of the original complex variables.
In general solve solves complex equations over complex variables, but notably, it does not use the full complex definition for abs and related functions like conjugate. For equations involving those functions, ComplexSolve doubles the number of variables to the real and imaginary parts of each complex variable and doubles the number of equations by taking the real and imaginary parts of each equation, and then solves the resulting system over the real numbers. Generally this is slower than calling solve directly, but may produce better solutions when the equations involve abs and conjugate.
SolveTools:-ComplexSolveabsz2+zabsz+conjugatez=0
z=0,z=−12−I32,z=−12+I32
SolveTools:-ComplexSolveabsz2+zabsz+absz2z=0
SolveTools:-ComplexSolveabsz=1
z=−_t12+1+I_t1,0<−_t12+1,z=−I,z=I,z=−−_t22+1+I_t2,−−_t22+1<0
SolveTools:-ComplexSolveabsz=I
SolveTools:-ComplexSolvez8−absz7,z−conjugatezI
z=0,z=−22−I22,z=22+I22
SolveTools:-ComplexSolvez8−absz7
z=0,z=I,z=−I,z=1,z=−1,z=22−I22,z=−22+I22,z=−22−I22,z=22+I22
SolveTools:-ComplexSolvez4+conjugatez4
z=1+2_t3+I_t3,0<1+2_t3,z=0,z=1+2_t3+I_t3,1+2_t3<0,z=1−2_t4+I_t4,0<1−2_t4,z=1−2_t4+I_t4,1−2_t4<0,z=2−1_t5+I_t5,0<2−1_t5,z=2−1_t5+I_t5,2−1_t5<0,z=−1−2_t6+I_t6,0<−1−2_t6,z=−1−2_t6+I_t6,−1−2_t6<0
The SolveTools:-ComplexSolve command was introduced in Maple 2025.
For more information on Maple 2025 changes, see Updates in Maple 2025.
See Also
solve
Download Help Document