Difference between revisions of "CFactor Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
 
==CAS Syntax==
 
==CAS Syntax==
;CFactor[ <Expression> ]
+
;CFactor( <Expression> )
 
: Factorizes a given expression, allowing for complex factors.
 
: Factorizes a given expression, allowing for complex factors.
 
:{{example|1=<div><code><nowiki>CFactor[x^2 + 4]</nowiki></code> yields ''(x + 2 ί) (x - 2 ί)'', the factorization of ''x<sup>2</sup> + 4''.</div>}}
 
:{{example|1=<div><code><nowiki>CFactor[x^2 + 4]</nowiki></code> yields ''(x + 2 ί) (x - 2 ί)'', the factorization of ''x<sup>2</sup> + 4''.</div>}}
 
<br>
 
<br>
;CFactor[ <Expression>, <Variable> ]
+
;CFactor( <Expression>, <Variable> )
 
:Factorizes an expression with respect to a given variable, allowing for complex factors.
 
:Factorizes an expression with respect to a given variable, allowing for complex factors.
 
:{{examples|1=<br><code><nowiki>CFactor[a^2 + x^2, a]</nowiki></code> yields ''(ί x + a) (- ί x + a)'', the factorization of ''a<sup>2</sup> + x<sup>2</sup>'' with respect to ''a''.<br><br><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''.}}
 
:{{examples|1=<br><code><nowiki>CFactor[a^2 + x^2, a]</nowiki></code> yields ''(ί x + a) (- ί x + a)'', the factorization of ''a<sup>2</sup> + x<sup>2</sup>'' with respect to ''a''.<br><br><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''.}}
 
{{note|1=<br>This command factors expressions over the [[w:Gaussian_rational|Complex Rational Numbers]]. To factor over rational numbers, see the [[Factor Command]].}}
 
{{note|1=<br>This command factors expressions over the [[w:Gaussian_rational|Complex Rational Numbers]]. To factor over rational numbers, see the [[Factor Command]].}}

Revision as of 17:15, 7 October 2017


CAS Syntax

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.
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.
Note:
This command factors expressions over the Complex Rational Numbers. To factor over rational numbers, see the Factor Command.
© 2024 International GeoGebra Institute