Difference between revisions of "PartialFractions Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{command +{{command|cas=true))
Line 2: Line 2:
 
{{command|cas=true|function}}
 
{{command|cas=true|function}}
 
;PartialFractions[ <Function> ]
 
;PartialFractions[ <Function> ]
:Yields the [[w:Partial fraction|partial fraction]] of the given function, if possible. The graph of the function is plotted in [[Graphics View]].  
+
:Yields, if possible, the [[w:Partial fraction|partial fraction]] of the given function for the main function variable. The graph of the function is plotted in [[Graphics View]].  
 
{{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>}}
 
==CAS Syntax==
 
==CAS Syntax==
 
;PartialFractions[ <Function> ]
 
;PartialFractions[ <Function> ]
:Yields the [[w:Partial fraction|partial fraction]] of the given function, if possible.
+
:Yields, if possible, the partial fraction of the given function for the main function variable.
 
{{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> ]
 
;PartialFractions[ <Function>, <Variable> ]
:Yields the [[w:Partial fraction|partial fraction]] of the given function in the specified variable, if possible.
+
:Yields, if possible, the partial fraction of the given function for the given function variable.
 
{{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>}}
 
{{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 14:56, 21 October 2011



PartialFractions[ <Function> ]
Yields, if possible, the partial fraction of the given function for the main function variable. 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, if possible, the partial fraction of the given function for the main function variable.
Example:
PartialFractions[x^2 / (x^2 - 2x + 1)] yields 1 + \frac{2}{x - 1} + \frac{1}{x^2 - 2x + 1}.
PartialFractions[ <Function>, <Variable> ]
Yields, if possible, the partial fraction of the given function for the given function variable.
Example:
PartialFractions[a^2 / (a^2 - 2a + 1), a] yields 1 + \frac{2}{a - 1} + \frac{1}{a^2 - 2a + 1}.
© 2021 International GeoGebra Institute