Difference between revisions of "CFactor Command"
From GeoGebra Manual
Line 9: | Line 9: | ||
:{{example|1=<div><code><nowiki>CFactor[a^2 + x^2, x]</nowiki></code> yields ''(x + a ί) (x - a ί)'', the factorization of ''a<sup>2</sup> + x<sup>2</sup>'' with respect to ''x''.</div>}} | :{{example|1=<div><code><nowiki>CFactor[a^2 + x^2, x]</nowiki></code> yields ''(x + a ί) (x - a ί)'', the factorization of ''a<sup>2</sup> + x<sup>2</sup>'' with respect to ''x''.</div>}} | ||
{{note| 1=<div> | {{note| 1=<div> | ||
− | + | This command factors expressions over the [[w:Gaussian_rational|Complex Rational Numbers]]. To factor over rational numbers, see the [[Factor Command]]. | |
</div>}} | </div>}} |
Revision as of 17:10, 3 December 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
This command works in CAS View only.
- CFactor[ <Expression> ]
- Factorizes a given expression, allowing for complex factors.
- Example:
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.
- Example:
CFactor[a^2 + x^2, a]
yields (a + x ί) (a - x ί), the factorization of a2 + x2 with respect to a.
- Example:
CFactor[a^2 + x^2, x]
yields (x + a ί) (x - a ί), the factorization of a2 + x2 with respect to x.
Note:
This command factors expressions over the Complex Rational Numbers. To factor over rational numbers, see the Factor Command.