Difference between revisions of "IFactor Command"
From GeoGebra Manual
(Removed the beta note.) |
Noel Lambert (talk | contribs) |
||
Line 3: | Line 3: | ||
;IFactor[ <Polynomial> ] | ;IFactor[ <Polynomial> ] | ||
:Factors over the irrationals. | :Factors over the irrationals. | ||
− | :{{Example|1=<div><code>IFactor[x^2 + x - 1]</code> gives <math> \left( x + \frac{-\sqrt{5} + 1}{2} \right) | + | :{{Example|1=<div><code>IFactor[x^2 + x - 1]</code> gives <math> \left( x + \frac{-\sqrt{5} + 1}{2} \right) \left( x + \frac{\sqrt{5} + 1}{2} \right)</math></div>}} |
==CAS Syntax== | ==CAS Syntax== | ||
;IFactor[ <Expression> ] | ;IFactor[ <Expression> ] | ||
: Factors over the irrationals. | : Factors over the irrationals. | ||
− | :{{Example|1=<div><code>IFactor[x^2 + x - 1]</code> returns <math> \left( x + \frac{-\sqrt{5} + 1}{2} \right) | + | :{{Example|1=<div><code>IFactor[x^2 + x - 1]</code> returns <math> \left( x + \frac{-\sqrt{5} + 1}{2} \right) \left( x + \frac{\sqrt{5} + 1}{2} \right)</math></div>}} |
;IFactor[ <Expression>, <Variable> ] | ;IFactor[ <Expression>, <Variable> ] | ||
: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) | + | :{{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>}} |
{{Note|1=See also [[CIFactor Command|CIFactor]] command.}} | {{Note|1=See also [[CIFactor Command|CIFactor]] command.}} |
Revision as of 12:39, 2 November 2014
- IFactor[ <Polynomial> ]
- Factors over the irrationals.
- Example:
IFactor[x^2 + x - 1]
gives \left( x + \frac{-\sqrt{5} + 1}{2} \right) \left( x + \frac{\sqrt{5} + 1}{2} \right)
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)
Note: See also CIFactor command.