Expansion of functions into power series online. Expansion of functions into power series

Students of higher mathematics should know that the sum of a certain power series belonging to the interval of convergence of the series given to us turns out to be a continuous and unlimited number of times differentiated function. The question arises: is it possible to say that a given arbitrary function f(x) is the sum of a certain power series? That is, under what conditions can the function f(x) be represented by a power series? The importance of this question lies in the fact that it is possible to approximately replace the function f(x) with the sum of the first few terms of a power series, that is, a polynomial. This replacement of a function with a rather simple expression - a polynomial - is also convenient when solving certain problems, namely: when solving integrals, when calculating, etc.

It has been proven that for a certain function f(x), in which it is possible to calculate derivatives up to the (n+1)th order, including the last, in the neighborhood of (α - R; x 0 + R) some point x = α, it is true that formula:

This formula is named after the famous scientist Brooke Taylor. The series that is obtained from the previous one is called the Maclaurin series:

The rule that makes it possible to perform an expansion in a Maclaurin series:

  1. Determine derivatives of the first, second, third... orders.
  2. Calculate what the derivatives at x=0 are equal to.
  3. Write down the Maclaurin series for this function, and then determine the interval of its convergence.
  4. Determine the interval (-R;R), where the remainder of the Maclaurin formula

R n (x) -> 0 at n -> infinity. If one exists, the function f(x) in it must coincide with the sum of the Maclaurin series.

Let us now consider the Maclaurin series for individual functions.

1. So, the first one will be f(x) = e x. Of course, by its characteristics, such a function has derivatives of very different orders, and f (k) (x) = e x , where k equals all. Substitute x = 0. We get f (k) (0) = e 0 =1, k = 1,2... Based on the above, the series e x will look like this:

2. Maclaurin series for the function f(x) = sin x. Let us immediately clarify that the function for all unknowns will have derivatives, in addition, f "(x) = cos x = sin(x+n/2), f "" (x) = -sin x = sin(x +2*n/2)..., f (k) (x) = sin(x+k*n/2), where k is equal to any natural number. That is, after making simple calculations, we can come to the conclusion that. the series for f(x) = sin x will look like this:

3. Now let's try to consider the function f(x) = cos x. For all unknowns it has derivatives of arbitrary order, and |f (k) (x)| = |cos(x+k*n/2)|<=1, k=1,2... Снова-таки, произведя определенные расчеты, получим, что ряд для f(х) = cos х будет выглядеть так:

So, we have listed the most important functions that can be expanded in a Maclaurin series, but they are supplemented by Taylor series for some functions. Now we will list them. It is also worth noting that Taylor and Maclaurin series are an important part of practical work on solving series in higher mathematics. So, Taylor series.

1. The first will be the series for the function f(x) = ln(1+x). As in the previous examples, for the given f(x) = ln(1+x) we can add the series using the general form of the Maclaurin series. however, for this function the Maclaurin series can be obtained much more simply. Having integrated a certain geometric series, we obtain a series for f(x) = ln(1+x) of such a sample:

2. And the second, which will be final in our article, will be the series for f(x) = arctan x. For x belonging to the interval [-1;1] the expansion is valid:

That's all. This article examined the most used Taylor and Maclaurin series in higher mathematics, in particular in economics and technical universities.

If the function f(x) has on some interval containing the point A, derivatives of all orders, then the Taylor formula can be applied to it:

Where r n– the so-called remainder term or remainder of the series, it can be estimated using the Lagrange formula:

, where the number x is between X And A.

If for some value x r n®0 at n®¥, then in the limit the Taylor formula turns into a convergent formula for this value Taylor series:

So the function f(x) can be expanded into a Taylor series at the point in question X, If:

1) it has derivatives of all orders;

2) the constructed series converges at this point.

At A=0 we get a series called near Maclaurin:

Example 1 f(x)= 2x.

Solution. Let us find the values ​​of the function and its derivatives at X=0

f(x) = 2x, f( 0) = 2 0 =1;

f¢(x) = 2x ln2, f¢( 0) = 2 0 ln2= ln2;

f¢¢(x) = 2x ln 2 2, f¢¢( 0) = 2 0 ln 2 2= ln 2 2;

f(n)(x) = 2x ln n 2, f(n)( 0) = 2 0 ln n 2=ln n 2.

Substituting the obtained values ​​of the derivatives into the Taylor series formula, we obtain:

The radius of convergence of this series is equal to infinity, therefore this expansion is valid for -¥<x<+¥.

Example 2 X+4) for function f(x)= e x.

Solution. Finding the derivatives of the function e x and their values ​​at the point X=-4.

f(x)= e x, f(-4) = e -4 ;

f¢(x)= e x, f¢(-4) = e -4 ;

f¢¢(x)= e x, f¢¢(-4) = e -4 ;

f(n)(x)= e x, f(n)( -4) = e -4 .

Therefore, the required Taylor series of the function has the form:

This expansion is also valid for -¥<x<+¥.

Example 3 . Expand a function f(x)=ln x in a series in powers ( X- 1),

(i.e. in the Taylor series in the vicinity of the point X=1).

Solution. Find the derivatives of this function.

Substituting these values ​​into the formula, we obtain the desired Taylor series:

Using d'Alembert's test, you can verify that the series converges when

½ X- 1½<1. Действительно,

The series converges if ½ X- 1½<1, т.е. при 0<x<2. При X=2 we obtain an alternating series that satisfies the conditions of the Leibniz criterion. At X=0 function is not defined. Thus, the region of convergence of the Taylor series is the half-open interval (0;2].

Let us present the expansions obtained in this way into the Maclaurin series (i.e. in the vicinity of the point X=0) for some elementary functions:

(2) ,

(3) ,

( the last decomposition is called binomial series)

Example 4 . Expand the function into a power series

Solution. In expansion (1) we replace X on - X 2, we get:

Example 5 . Expand the function in a Maclaurin series

Solution. We have

Using formula (4), we can write:

substituting instead X into the formula -X, we get:

From here we find:

Opening the brackets, rearranging the terms of the series and bringing similar terms, we get

This series converges in the interval

(-1;1), since it is obtained from two series, each of which converges in this interval.

Comment .

Formulas (1)-(5) can also be used to expand the corresponding functions into a Taylor series, i.e. for expanding functions in positive integer powers ( Ha). To do this, it is necessary to perform such identical transformations on a given function in order to obtain one of the functions (1)-(5), in which instead X costs k( Ha) m , where k is a constant number, m is a positive integer. It is often convenient to make a change of variable t=Ha and expand the resulting function with respect to t in the Maclaurin series.

This method illustrates the theorem on the uniqueness of a power series expansion of a function. The essence of this theorem is that in the neighborhood of the same point two different power series cannot be obtained that would converge to the same function, no matter how its expansion is performed.

Example 6 . Expand the function in a Taylor series in a neighborhood of a point X=3.

Solution. This problem can be solved, as before, using the definition of the Taylor series, for which we need to find the derivatives of the function and their values ​​at X=3. However, it will be easier to use the existing expansion (5):

The resulting series converges at or –3<x- 3<3, 0<x< 6 и является искомым рядом Тейлора для данной функции.

Example 7 . Write the Taylor series in powers ( X-1) functions .

Solution.

The series converges at , or 2< x£5.

In the theory of functional series, the central place is occupied by the section devoted to the expansion of a function into a series.

Thus, the task is set: for a given function we need to find such a power series

which converged on a certain interval and its sum was equal to
, those.

= ..

This task is called the problem of expanding a function into a power series.

A necessary condition for the decomposability of a function in a power series is its differentiability an infinite number of times - this follows from the properties of convergent power series. This condition is satisfied, as a rule, for elementary functions in their domain of definition.

So let's assume that the function
has derivatives of any order. Is it possible to expand it into a power series? If so, how can we find this series? The second part of the problem is easier to solve, so let’s start with it.

Let us assume that the function
can be represented as the sum of a power series converging in the interval containing the point X 0 :

= .. (*)

Where A 0 ,A 1 ,A 2 ,...,A P ,... – unknown (yet) coefficients.

Let us put in equality (*) the value x = x 0 , then we get

.

Let us differentiate the power series (*) term by term

= ..

and believing here x = x 0 , we get

.

With the next differentiation we obtain the series

= ..

believing x = x 0 , we get
, where
.

After P-multiple differentiation we get

Assuming in the last equality x = x 0 , we get
, where

So, the coefficients are found

,
,
, …,
,….,

substituting which into the series (*), we get

The resulting series is called next to Taylor for function
.

Thus, we have established that if the function can be expanded into a power series in powers (x - x 0 ), then this expansion is unique and the resulting series is necessarily a Taylor series.

Note that the Taylor series can be obtained for any function that has derivatives of any order at the point x = x 0 . But this does not mean that an equal sign can be placed between the function and the resulting series, i.e. that the sum of the series is equal to the original function. Firstly, such an equality can only make sense in the region of convergence, and the Taylor series obtained for the function may diverge, and secondly, if the Taylor series converges, then its sum may not coincide with the original function.

3.2. Sufficient conditions for the decomposability of a function in a Taylor series

Let us formulate a statement with the help of which the task will be solved.

If the function
in some neighborhood of point x 0 has derivatives up to (n+ 1) of order inclusive, then in this neighborhood we haveformula Taylor

WhereR n (X)-the remainder term of the Taylor formula – has the form (Lagrange form)

Where dotξ lies between x and x 0 .

Note that there is a difference between the Taylor series and the Taylor formula: the Taylor formula is a finite sum, i.e. P - fixed number.

Recall that the sum of the series S(x) can be defined as the limit of a functional sequence of partial sums S P (x) at some interval X:

.

According to this, to expand a function into a Taylor series means to find a series such that for any XX

Let us write Taylor's formula in the form where

notice, that
defines the error we get, replace the function f(x) polynomial S n (x).

If
, That
,those. the function is expanded into a Taylor series. Vice versa, if
, That
.

Thus we proved criterion for the decomposability of a function in a Taylor series.

In order for the functionf(x) expands into a Taylor series, it is necessary and sufficient that on this interval
, WhereR n (x) is the remainder term of the Taylor series.

Using the formulated criterion, one can obtain sufficientconditions for the decomposability of a function in a Taylor series.

If insome neighborhood of point x 0 the absolute values ​​of all derivatives of the function are limited to the same number M0, i.e.

, To in this neighborhood the function expands into a Taylor series.

From the above it follows algorithmfunction expansion f(x) in the Taylor series in the vicinity of a point X 0 :

1. Finding derivatives of functions f(x):

f(x), f’(x), f”(x), f’”(x), f (n) (x),…

2. Calculate the value of the function and the values ​​of its derivatives at the point X 0

f(x 0 ), f’(x 0 ), f”(x 0 ), f’”(x 0 ), f (n) (x 0 ),…

3. We formally write the Taylor series and find the region of convergence of the resulting power series.

4. We check the fulfillment of sufficient conditions, i.e. we establish for which X from the convergence region, remainder term R n (x) tends to zero at
or
.

The expansion of functions into a Taylor series using this algorithm is called expansion of a function into a Taylor series by definition or direct decomposition.

Among functional series, the most important place is occupied by power series.

A power series is a series

whose terms are power functions arranged in increasing non-negative integer powers x, A c0 , c 1 , c 2 , c n - constant values. Numbers c1 , c 2 , c n - coefficients of the series terms, c0 - free member. The terms of the power series are defined on the entire number line.

Let's get acquainted with the concept areas of convergence of the power series. This is a set of variable values x, for which the series converges. Power series have a fairly simple convergence region. For real variable values x the convergence region consists either of one point, or is a certain interval (convergence interval), or coincides with the entire axis Ox .

When substituting the values ​​into the power series x= 0 will result in a number series

c0 +0+0+...+0+... ,

which converges.

Therefore, when x= 0 any power series converges and, therefore, its area of ​​convergence cannot be the empty set. The structure of the region of convergence of all power series is the same. It can be established using the following theorem.

Theorem 1 (Abel's theorem). If a power series converges at some value x = x 0 , different from zero, then it converges, and, moreover, absolutely, for all values |x| < |x 0 | . Please note: both the starting value “X is zero” and any value of “X” that is compared with the starting value are taken modulo - without taking into account the sign.

Consequence. If power series diverges at some value x = x 1 , then it diverges for all values |x| > |x 1 | .

As we have already found out earlier, any power series converges at the value x= 0. There are power series that converge only when x= 0 and diverge for other values X. Excluding this case from consideration, we assume that the power series converges at some value x = x 0 , different from zero. Then, according to Abel's theorem, it converges at all points of the interval ]-| x0 |, |x 0 |[ (an interval whose left and right boundaries are the x values ​​at which the power series converges, taken with a minus sign and a plus sign, respectively), symmetrical with respect to the origin.

If the power series diverges at a certain value x = x 1 , then, based on a corollary to Abel’s theorem, it diverges at all points outside the segment [-| x1 |, |x 1 |] . It follows that for any power series there is an interval symmetric with respect to the origin, called convergence interval , at each point of which the series converges, at the boundaries it can converge, or it can diverge, and not necessarily at the same time, and outside the segment the series diverges. Number R is called the radius of convergence of the power series.

In special cases convergence interval of power series can degenerate to a point (then the series converges only when x= 0 and it is considered that R= 0) or represent the entire number line (then the series converges at all points of the number line and it is assumed that ).

Thus, determining the region of convergence of a power series consists in determining its convergence radius R and studying the convergence of the series at the boundaries of the convergence interval (at ).

Theorem 2. If all the coefficients of a power series, starting from a certain one, are different from zero, then its radius of convergence is equal to the limit at the ratio of the absolute values ​​of the coefficients of the common following members of the series, i.e.

Example 1. Find the region of convergence of the power series

Solution. Here

Using formula (28), we find the radius of convergence of this series:

Let us study the convergence of the series at the ends of the convergence interval. Example 13 shows that this series converges at x= 1 and diverges at x= -1. Consequently, the region of convergence is the half-interval.

Example 2. Find the region of convergence of the power series

Solution. The coefficients of the series are positive, and

Let us find the limit of this ratio, i.e. radius of convergence of the power series:

Let us study the convergence of the series at the ends of the interval. Substitution of values x= -1/5 and x= 1/5 in this row gives:

The first of these series converges (see Example 5). But then, by virtue of the theorem in the “Absolute convergence” section, the second series also converges, and the region of its convergence is the segment

Example 3. Find the region of convergence of the power series

Solution. Here

Using formula (28) we find the radius of convergence of the series:

Let us study the convergence of the series for values ​​of . Substituting them in this series, we respectively obtain

Both series diverge because the necessary condition for convergence is not satisfied (their common terms do not tend to zero at ). So, at both ends of the convergence interval, this series diverges, and the region of its convergence is the interval.

Example 5. Find the region of convergence of the power series

Solution. We find the relation where , and :

According to formula (28), the radius of convergence of this series

,

that is, the series converges only when x= 0 and diverges for other values X.

Examples show that at the ends of the convergence interval the series behave differently. In example 1, at one end of the convergence interval the series converges, and at the other, it diverges; in example 2, it converges at both ends; in example 3, it diverges at both ends.

The formula for the radius of convergence of a power series is obtained under the assumption that all coefficients of the series terms, starting from a certain point, are different from zero. Therefore, the use of formula (28) is permissible only in these cases. If this condition is violated, then the radius of convergence of the power series should be sought using d'Alembert's sign, or, by replacing the variable, transforming the series to a form in which the specified condition is satisfied.

Example 6. Find the interval of convergence of the power series

Solution. This series does not contain terms with odd degrees X. Therefore, we transform the series, setting . Then we get the series

to find the radius of convergence of which we can apply formula (28). Since , a , then the radius of convergence of this series

From the equality we obtain , therefore, this series converges on the interval .

Sum of power series. Differentiation and integration of power series

Let for the power series

radius of convergence R> 0, i.e. this series converges on the interval .

Then each value X from the convergence interval corresponds to a certain sum of the series. Therefore, the sum of the power series is a function of X on the convergence interval. Denoting it by f(x), we can write the equality

understanding it in the sense that the sum of the series at each point X from the convergence interval is equal to the value of the function f(x) at this point. In the same sense, we will say that the power series (29) converges to the function f(x) on the convergence interval.

Outside the convergence interval, equality (30) makes no sense.

Example 7. Find the sum of the power series

Solution. This is a geometric series for which a= 1, a q= x. Therefore, its sum is a function . A series converges if , and is its convergence interval. Therefore equality

is valid only for values, although the function defined for all values X, except X= 1.

It can be proven that the sum of the power series f(x) is continuous and differentiable on any interval within the convergence interval, in particular at any point in the convergence interval of the series.

Let us present theorems on term-by-term differentiation and integration of power series.

Theorem 1. Power series (30) in the interval of its convergence can be differentiated term by term an unlimited number of times, and the resulting power series have the same radius of convergence as the original series, and their sums are respectively equal to .

Theorem 2. Power series (30) can be integrated term by term an unlimited number of times in the range from 0 to X, if , and the resulting power series have the same radius of convergence as the original series, and their sums are correspondingly equal

Expansion of functions into power series

Let the function be given f(x), which needs to be expanded into a power series, i.e. represent in the form (30):

The task is to determine the coefficients row (30). To do this, differentiating equality (30) term by term, we consistently find:

……………………………………………….. (31)

Assuming in equalities (30) and (31) X= 0, we find

Substituting the found expressions into equality (30), we obtain

(32)

Let us find the Maclaurin series expansion of some elementary functions.

Example 8. Expand the function in a Maclaurin series

Solution. The derivatives of this function coincide with the function itself:

Therefore, when X= 0 we have

Substituting these values ​​into formula (32), we obtain the desired expansion:

(33)

This series converges on the entire number line (its radius of convergence).

Expansion of a function into a Taylor, Maclaurin and Laurent series on a site for training practical skills. This series expansion of a function allows mathematicians to estimate the approximate value of the function at some point in its domain of definition. It is much easier to calculate such a function value compared to using the Bredis table, which is so irrelevant in the age of computer technology. To expand a function into a Taylor series means to calculate the coefficients of the linear functions of this series and write it in the correct form. Students confuse these two series, not understanding what is the general case and what is a special case of the second. Let us remind you once and for all that the Maclaurin series is a special case of the Taylor series, that is, this is the Taylor series, but at the point x = 0. All brief entries for the expansion of well-known functions, such as e^x, Sin(x), Cos(x) and others, these are Taylor series expansions, but at point 0 for the argument. For functions of a complex argument, the Laurent series is the most common problem in TFCT, since it represents a two-sided infinite series. It is the sum of two series. We suggest you look at an example of decomposition directly on the website; this is very easy to do by clicking on “Example” with any number, and then the “Solution” button. It is precisely this expansion of a function into a series that is associated with a majorizing series that limits the original function in a certain region along the ordinate axis if the variable belongs to the abscissa region. Vector analysis is compared to another interesting discipline in mathematics. Since each term needs to be examined, the process requires quite a lot of time. Any Taylor series can be associated with a Maclaurin series by replacing x0 with zero, but for a Maclaurin series it is sometimes not obvious to represent the Taylor series in reverse. As if this is not required to be done in its pure form, it is interesting for general self-development. Every Laurent series corresponds to a two-sided infinite power series in integer powers of z-a, in other words, a series of the same Taylor type, but slightly different in the calculation of the coefficients. We’ll talk about the region of convergence of the Laurent series a little later, after several theoretical calculations. As in the last century, a step-by-step expansion of a function into a series can hardly be achieved simply by bringing the terms to a common denominator, since the functions in the denominators are nonlinear. An approximate calculation of the functional value is required by the formulation of problems. Think about the fact that when the argument of a Taylor series is a linear variable, then the expansion occurs in several steps, but the picture is completely different when the argument of the function being expanded is a complex or nonlinear function, then the process of representing such a function in a power series is obvious, since, in this way Thus, it is easy to calculate, albeit an approximate value, at any point in the definition region, with a minimum error that has little effect on further calculations. This also applies to the Maclaurin series. when it is necessary to calculate the function at the zero point. However, the Laurent series itself is represented here by an expansion on the plane with imaginary units. Also, the correct solution of the problem during the overall process will not be without success. This approach is not known in mathematics, but it objectively exists. As a result, you can come to the conclusion of the so-called pointwise subsets, and in the expansion of a function in a series you need to use methods known for this process, such as the application of the theory of derivatives. Once again we are convinced that the teacher was right, who made his assumptions about the results of post-computational calculations. Let's note that the Taylor series, obtained according to all the canons of mathematics, exists and is defined on the entire numerical axis, however, dear users of the site service, do not forget the type of the original function, because it may turn out that initially it is necessary to establish the domain of definition of the function, that is, write and exclude from further consideration those points at which the function is not defined in the domain of real numbers. So to speak, this will show your efficiency in solving the problem. The construction of a Maclaurin series with a zero argument value will not be an exception to what has been said. The process of finding the domain of definition of a function has not been canceled, and you must approach this mathematical operation with all seriousness. In the case of a Laurent series containing the main part, the parameter “a” will be called an isolated singular point, and the Laurent series will be expanded in a ring - this is the intersection of the areas of convergence of its parts, hence the corresponding theorem will follow. But not everything is as complicated as it might seem at first glance to an inexperienced student. Having studied the Taylor series, you can easily understand the Laurent series - a generalized case for expanding the space of numbers. Any series expansion of a function can be performed only at a point in the domain of definition of the function. Properties of functions such as periodicity or infinite differentiability should be taken into account. We also suggest that you use the table of ready-made Taylor series expansions of elementary functions, since one function can be represented by up to dozens of different power series, as can be seen from using our online calculator. The online Maclaurin series is as easy as pie to determine, if you use the unique website service, you just need to enter the correct written function and you will receive the presented answer in a matter of seconds, it is guaranteed to be accurate and in a standard written form. You can copy the result directly into a clean copy for submission to the teacher. It would be correct to first determine the analyticity of the function in question in rings, and then unambiguously state that it is expandable in a Laurent series in all such rings. It is important not to lose sight of the terms of the Laurent series containing negative powers. Focus on this as much as possible. Make good use of Laurent's theorem on the expansion of a function in integer powers.