Difference between revisions of "PartialFractions Command"
From GeoGebra Manual
Line 8: | Line 8: | ||
:Yields the [[w:Partial fraction|partial fraction]] of the given function, if possible. | :Yields the [[w:Partial fraction|partial fraction]] of the given function, if possible. | ||
{{example|1=<div><code><nowiki>PartialFractions[x^2 / (x^2 - 2x + 1)]</nowiki></code> yields ''1 + <math>\frac{2}{x - 1}</math> + <math>\frac{1}{x^2 - 2x + 1}</math>.</div>}} | {{example|1=<div><code><nowiki>PartialFractions[x^2 / (x^2 - 2x + 1)]</nowiki></code> yields ''1 + <math>\frac{2}{x - 1}</math> + <math>\frac{1}{x^2 - 2x + 1}</math>.</div>}} | ||
+ | ;PartialFractions[ <Function>, <Variable> ] | ||
+ | :Yields the [[w:Partial fraction|partial fraction]] of the given function in the specified variable, if possible. | ||
+ | {{example|1=<div><code><nowiki>PartialFractions[a^2 / (a^2 - 2a + 1), a]</nowiki></code> yields ''1 + <math>\frac{2}{a - 1}</math> + <math>\frac{1}{a^2 - 2a + 1}</math>.</div>}} |
Revision as of 11:04, 23 August 2011
- PartialFractions[ <Function> ]
- Yields the partial fraction of the given function, if possible. The graph of the function is plotted in Graphics View.
Example:
PartialFractions[x^2 / (x^2 - 2x + 1)]
yields 1 + \frac{2}{x - 1} + \frac{1}{x^2 - 2x + 1}.CAS Syntax
- PartialFractions[ <Function> ]
- Yields the partial fraction of the given function, if possible.
Example:
PartialFractions[x^2 / (x^2 - 2x + 1)]
yields 1 + \frac{2}{x - 1} + \frac{1}{x^2 - 2x + 1}.- PartialFractions[ <Function>, <Variable> ]
- Yields the partial fraction of the given function in the specified variable, if possible.
Example:
PartialFractions[a^2 / (a^2 - 2a + 1), a]
yields 1 + \frac{2}{a - 1} + \frac{1}{a^2 - 2a + 1}.