Series expansion (series)
Series expansion of an expression about a point.
With this function, the solver shows the steps whenever it finds them.
How to write it
series(f, x = a, order = n)
The expansion up to the given order.
- f
- The expression or function to work on. Takes an expression.
- x = a
- The variable and the point to expand about. Takes a variable set to a value.
- order = n
- The order of the expansion: a whole number. Takes a whole number.
series(f, x = a, order = n, side = left|right)
The expansion on one side of the point.
- f
- The expression or function to work on. Takes an expression.
- x = a
- The variable and the point to expand about. Takes a variable set to a value.
- order = n
- The order of the expansion: a whole number. Takes a whole number.
- side = left|right
- Which side of the point to expand on: left or right. Takes left or right.
Examples
series(exp(x), x = 0, order = 6)In the solver,
Open in the solverseries(exp(x), x = 0, order = 6)gives1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120 + x^6/720.series(1/(1 - x), x = 0, order = 4)In the solver,
Open in the solverseries(1/(1 - x), x = 0, order = 4)gives1 + x + x^2 + x^3 + x^4.series(sqrt(1 - cos(x)), x = 0, order = 4, side = right)In the solver,
Open in the solverseries(sqrt(1 - cos(x)), x = 0, order = 4, side = right)givessqrt(2)*x/2 - sqrt(2)*x^3/48.
Functions its examples use
Related functions
- series_coefficient
The coefficient of the term of a given order in the series of an expression.
- product
Product of an expression over one or more ranges.
- sum
Sum of an expression over one or more ranges.
- numeric_sum
Add up an expression over a range, as a decimal.
- sum_convergence
Test whether the sum of an expression over a variable converges.
- numeric_product
Multiply an expression over a range, as a decimal.