CFactor Command

CAS Syntax

CFactor( <Expression> )

Factorizes a given expression, allowing for complex factors.

CFactor(x^2 + 4) yields (x + 2 ί) (x - 2 ί), the factorization of x2 + 4.

CFactor( <Expression>, <Variable> )

Factorizes an expression with respect to a given variable, allowing for complex factors.

Examples:

  • CFactor(a^2 + x^2, a) yields (ί x + a) (- ί x + a), the factorization of a2 + x2 with respect to a.

  • CFactor(a^2 + x^2, x) yields (x + ί a) (x - ί a), the factorization of a2 + x2 with respect to x.

This command factors expressions over the Complex Rational Numbers. To factor over rational numbers, see the Factor Command.