Difference between revisions of "IFactor Command"

From GeoGebra Manual
Jump to: navigation, search
Line 8: Line 8:
 
:Factors over the irrationals with respect to a given variable.  
 
:Factors over the irrationals with respect to a given variable.  
 
: {{Example|1=<div><code>IFactor[a^2 + a - 1, a]</code> returns <math> \left( a + \frac{-\sqrt{5} + 1}{2} \right) \;  \left( a + \frac{\sqrt{5} + 1}{2} \right)</math></div>}}
 
: {{Example|1=<div><code>IFactor[a^2 + a - 1, a]</code> returns <math> \left( a + \frac{-\sqrt{5} + 1}{2} \right) \;  \left( a + \frac{\sqrt{5} + 1}{2} \right)</math></div>}}
{{description}}
 

Revision as of 10:01, 29 August 2013


CAS Syntax

IFactor[ <Expression> ]
Factors over the irrationals.
Example:
IFactor[x^2 + x - 1] returns \left( x + \frac{-\sqrt{5} + 1}{2} \right) \; \left( x + \frac{\sqrt{5} + 1}{2} \right)
IFactor[ <Expression>, <Variable> ]
Factors over the irrationals with respect to a given variable.
Example:
IFactor[a^2 + a - 1, a] returns \left( a + \frac{-\sqrt{5} + 1}{2} \right) \; \left( a + \frac{\sqrt{5} + 1}{2} \right)
© 2024 International GeoGebra Institute