Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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

  • ex near x=0=1+x+x22+x36+x424+x5120+x6720\displaystyle e^{x} \text{ near } x = 0 = 1+x+\frac{x^{2}}{2}+\frac{x^{3}}{6}+\frac{x^{4}}{24}+\frac{x^{5}}{120}+\frac{x^{6}}{720}
    series(exp(x), x = 0, order = 6)

    In the solver, series(exp(x), x = 0, order = 6) gives 1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120 + x^6/720.

    Open in the solver
  • 11−x near x=0=1+x+x2+x3+x4\displaystyle \frac{1}{1-x} \text{ near } x = 0 = 1+x+x^{2}+x^{3}+x^{4}
    series(1/(1 - x), x = 0, order = 4)

    In the solver, series(1/(1 - x), x = 0, order = 4) gives 1 + x + x^2 + x^3 + x^4.

    Open in the solver
  • series⁡(1−cos⁡(x),x=0,order⁡=4,side⁡=right⁡)=2x2−2x348\displaystyle \operatorname{series}(\sqrt{1-\cos(x)}, x = 0, \operatorname{order} = 4, \operatorname{side} = \operatorname{right}) = \frac{\sqrt{2} x}{2}-\frac{\sqrt{2} x^{3}}{48}
    series(sqrt(1 - cos(x)), x = 0, order = 4, side = right)

    In the solver, series(sqrt(1 - cos(x)), x = 0, order = 4, side = right) gives sqrt(2)*x/2 - sqrt(2)*x^3/48.

    Open in the solver

Functions its examples use

  • exp

    Exponential function; exp(x) is the power e^x.

  • sqrt

    Square root; sqrt(x) is the power x^(1/2).

  • cos

    Cosine of an angle in radians.

  • 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.