Difference between revisions of "PartialFractions Command"
From GeoGebra Manual
m (changed CAS syntax description) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}} | ||
− | ;PartialFractions | + | ;PartialFractions( <Function> ) |
: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 the [[File:Menu view graphics.svg|link=|16px]] [[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 the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]]. | ||
:{{example|1=<div><code><nowiki>PartialFractions[x^2 / (x^2 - 2x + 1)]</nowiki></code> yields ''1 + <math>\frac{1}{(x - 1)²}</math> + <math>\frac{2}{x-1}</math>''.</div>}} | :{{example|1=<div><code><nowiki>PartialFractions[x^2 / (x^2 - 2x + 1)]</nowiki></code> yields ''1 + <math>\frac{1}{(x - 1)²}</math> + <math>\frac{2}{x-1}</math>''.</div>}} | ||
Line 7: | Line 7: | ||
In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] you can also use the following syntax: | In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] you can also use the following syntax: | ||
<br> | <br> | ||
− | ;PartialFractions | + | ;PartialFractions( <Function>, <Variable> ) |
:Yields, if possible, the partial fraction of the given function for the given function variable. | :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{1}{(a - 1)²}</math> + <math>\frac{2}{(a-1)}</math>''.</div>}} | :{{example|1=<div><code><nowiki>PartialFractions[a^2 / (a^2 - 2a + 1), a]</nowiki></code> yields ''1 + <math>\frac{1}{(a - 1)²}</math> + <math>\frac{2}{(a-1)}</math>''.</div>}} | ||
}} | }} |
Revision as of 17:16, 7 October 2017
- 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 the Graphics View.
- Example:
PartialFractions[x^2 / (x^2 - 2x + 1)]
yields 1 + \frac{1}{(x - 1)²} + \frac{2}{x-1}.
Hint: In the CAS View you can also use the following syntax:
- 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{1}{(a - 1)²} + \frac{2}{(a-1)}.