Expand the function given by the graph into a Fourier series. Fourier series expansion in cosines

Fourier series expansion of even and odd functions expansion of a function given on an interval into a series in sines or cosines Fourier series for a function with an arbitrary period Complex representation of the Fourier series Fourier series in general orthogonal systems of functions Fourier series in an orthogonal system Minimal property of Fourier coefficients Bessel’s inequality Equality Parseval Closed systems Completeness and closedness of systems


Fourier series expansion of even and odd functions A function f(x), defined on the interval \-1, where I > 0, is called even if the graph of the even function is symmetrical about the ordinate axis. A function f(x), defined on the segment J), where I > 0, is called odd if the graph of the odd function is symmetrical with respect to the origin. Example. a) The function is even on the interval |-jt, jt), since for all x e b) The function is odd, since Fourier series expansion of even and odd functions is expansion of a function given on an interval into a series in sines or cosines Fourier series for a function with an arbitrary period Complex representation of the Fourier series Fourier series for general orthogonal systems of functions Fourier series for an orthogonal system Minimal property of Fourier coefficients Bessel’s inequality Parseval’s equality Closed systems Completeness and closedness of systems c) Function f(x)=x2-x, where does not belong neither to even nor to odd functions, since Let the function f(x), satisfying the conditions of Theorem 1, be even on the interval x|. Then for everyone i.e. /(x) cos nx is an even function, and f(x) sinnx is an odd one. Therefore, the Fourier coefficients of an even function f(x) will be equal. Therefore, the Fourier series of an even function has the form f(x) sin х - an even function. Therefore, we will have Thus, the Fourier series of an odd function has the form Example 1. Expand the function 4 into a Fourier series on the interval -x ^ x ^ n Since this function is even and satisfies the conditions of Theorem 1, then its Fourier series has the form Find the Fourier coefficients. We have Applying integration by parts twice, we obtain that So, the Fourier series of this function looks like this: or, in expanded form, This equality is valid for any x €, since at the points x = ±ir the sum of the series coincides with the values ​​of the function f(x ) = x2, since the graphs of the function f(x) = x and the sum of the resulting series are given in Fig. Comment. This Fourier series allows us to find the sum of one of the convergent numerical series, namely, for x = 0 we obtain that Example 2. Expand the function /(x) = x into a Fourier series on the interval. The function /(x) satisfies the conditions of Theorem 1, therefore it can be expanded into a Fourier series, which, due to the oddness of this function, will have the form Integrating by parts, we find the Fourier coefficients. Therefore, the Fourier series of this function has the form This equality holds for all x B at points x - ±t the sum of the Fourier series does not coincide with the values ​​of the function /(x) = x, since it is equal to. Outside the interval [-*, i-] the sum of the series is a periodic continuation of the function /(x) = x; its graph is shown in Fig. 6. § 6. Expansion of a function given on an interval into a series in sines or cosines Let a bounded piecewise monotonic function / be given on the interval. The values ​​of this function on the interval 0| can be further defined in various ways. For example, you can define a function / on the segment tc] so that /. In this case they say that) “is extended to the segment 0] in an even manner”; its Fourier series will contain only cosines. If the function /(x) is defined on the interval [-l-, mc] so that /(, then the result is an odd function, and then they say that / is “extended to the interval [-*, 0] in an odd way”; in this In this case, the Fourier series will contain only sines. Thus, each bounded piecewise monotonic function /(x) defined on the interval can be expanded into a Fourier series in both sines and cosines. Example 1. The function can be expanded into a Fourier series: a) by cosines; b) by sines. M This function, with its even and odd continuations into the segment |-x,0) will be bounded and piecewise monotonic. a) Let's extend /(z) into the segment 0) a) Extend j\x) into the segment (-тр,0| in an even manner (Fig. 7), then its Fourier series i will have the form П=1 where the Fourier coefficients are equal, respectively for Therefore, b) Let us extend /(z) into the segment [-x,0] in an odd way (Fig. 8). Then its Fourier series §7. Fourier series for a function with an arbitrary period Let the function fix) be periodic with a period of 21.1 ^ 0. To expand it into a Fourier series on the interval where I > 0, we make a change of variable by setting x = jt. Then the function F(t) = / ^tj will be a periodic function of the argument t with period and it can be expanded on the segment into a Fourier series. Returning to the variable x, i.e., setting, we obtain All theorems valid for Fourier series of periodic functions with period 2π , remain valid for periodic functions with an arbitrary period 21. In particular, a sufficient criterion for the decomposability of a function in a Fourier series also remains valid. Example 1. Expand into a Fourier series a periodic function with a period of 21, given on the interval [-/,/] by the formula (Fig. 9). Since this function is even, its Fourier series has the form Substituting the found values ​​of the Fourier coefficients into the Fourier series, we obtain Let us note one important property of periodic functions. Theorem 5. If a function has period T and is integrable, then for any number a the equality m holds. that is, the integral of a segment whose length is equal to the period T has the same value regardless of the position of this segment on the number axis. In fact, We make a change of variable in the second integral, assuming. This gives and therefore, Geometrically, this property means that in the case of the area shaded in Fig. 10 areas are equal to each other. In particular, for a function f(x) with a period we obtain at Expansion into a Fourier series of even and odd functions, expansion of a function given on an interval into a series in sines or cosines Fourier series for a function with an arbitrary period Complex notation of the Fourier series Fourier series in general orthogonal systems functions Fourier series in an orthogonal system Minimal property of Fourier coefficients Bessel’s inequality Parseval’s equality Closed systems Completeness and closedness of systems Example 2. The function x is periodic with a period Due to the oddness of this function, without calculating integrals, we can state that for any The proven property, in particular, shows that the Fourier coefficients of a periodic function f(x) with a period of 21 can be calculated using the formulas where a is an arbitrary real number (note that the functions cos - and sin have a period of 2/). Example 3. Expand into a Fourier series a function given on an interval with a period of 2x (Fig. 11). 4 Let's find the Fourier coefficients of this function. Putting in the formulas we find that for Therefore, the Fourier series will look like this: At the point x = jt (discontinuity point of the first kind) we have §8. Complex recording of the Fourier series This section uses some elements of complex analysis (see Chapter XXX, where all actions performed here with complex expressions are strictly justified). Let the function f(x) satisfy sufficient conditions for expansion into a Fourier series. Then on the segment x] it can be represented by a series of the form Using Euler’s formulas Substituting these expressions in series (1) instead of cos πx and sin φx we will have Let us introduce the following notation Then series (2) will take the form Thus, the Fourier series (1) is represented in complex form (3). Let's find expressions for the coefficients through integrals. We have Similarly, we find The final formulas for с„, с_п and с can be written as follows: . . The coefficients с„ are called the complex Fourier coefficients of the function. For a periodic function with a period), the complex form of the Fourier series will take the form where the coefficients Cn are calculated using the formulas. The convergence of series (3) and (4) is understood as follows: series (3) and (4) are called convergent for a given values ​​if there are limits Example. Expand the period function into a complex Fourier series. This function satisfies sufficient conditions for expansion into a Fourier series. Let us find the complex Fourier coefficients of this function. We have for odd for even n, or, in short. Substituting the values), we finally obtain Note that this series can also be written as follows: Fourier series for general orthogonal systems of functions 9.1. Orthogonal systems of functions Let us denote by the set of all (real) functions defined and integrable on the interval [a, 6] with a square, i.e., those for which an integral exists. In particular, all functions f(x) continuous on the interval [a , 6], belong to 6], and the values ​​of their Lebesgue integrals coincide with the values ​​of the Riemann integrals. Definition. A system of functions, where, is called orthogonal on the interval [a, b\, if Condition (1) assumes, in particular, that none of the functions is identically zero. The integral is understood in the Lebesgue sense. and we call the quantity the norm of the function. If in an orthogonal system for any n we have, then the system of functions is called orthonormal. If the system (y>„(x)) is orthogonal, then the system Example 1. The trigonometric system is orthogonal on a segment. The system of functions is an orthonormal system of functions on, Example 2. The cosine system and the sine system are orthonormal. Let us introduce the notation that they are orthogonal on the interval (0, f|, but not orthonormal (for I Ф- 2). Since their norms are COS Example 3. Polynomials defined by equality are called Legendre polynomials (polynomials). For n = 0 we have It can be proven that the functions form an orthonormal system of functions on the interval. Let us show, for example, the orthogonality of the Legendre polynomials. Let m > n. In this case, integrating n times by parts, we find since for the function t/m = (z2 - I)m all derivatives up to of order m - I inclusive vanish at the ends of the segment [-1,1). Definition. A system of functions (pn(x)) is called orthogonal on the interval (a, b) by an overhang p(x) if: 1) for all n = 1,2,... there are integrals. Here it is assumed that the weight function p(x) is defined and positive everywhere on the interval (a, b) with the possible exception of a finite number of points where p(x) can vanish. Having performed differentiation in formula (3), we find. It can be shown that the Chebyshev-Hermite polynomials are orthogonal on the interval Example 4. The system of Bessel functions (jL(pix)^ is orthogonal on the interval zeros of the Bessel function Example 5. Consider the Chebyshev-Hermite polynomials, which can be defined using the equality. Fourier series on the orthogonal system Let there be an orthogonal system of functions in the interval (a, 6) and let the series (cj = const) converge on this interval to the function f(x): Multiplying both sides of the last equality by - fixed) and integrating over x from a to 6, in Due to the orthogonality of the system, we obtain that this operation has, generally speaking, a purely formal character. However, in some cases, for example, when the series (4) converges uniformly, all functions are continuous and the interval (a, 6) is finite, this operation is legal. But for us now it is the formal interpretation that is important. So, let a function be given. Let us form the numbers c* according to formula (5) and write. The series on the right side is called the Fourier series of the function f(x) with respect to the system (^n(i)). The numbers Cn are called the Fourier coefficients of the function f(x) with respect to this system. The sign ~ in formula (6) only means that the numbers Cn are related to the function f(x) by formula (5) (it is not assumed that the series on the right converges at all, much less converges to the function f(x)). Therefore, the question naturally arises: what are the properties of this series? In what sense does it “represent” the function f(x)? 9.3. Convergence on average Definition. A sequence converges to the element ] on average if the norm is in the space Theorem 6. If a sequence ) converges uniformly, then it converges on average. M Let the sequence ()) converge uniformly on the interval [a, b] to the function /(x). This means that for everyone, for all sufficiently large n, we have Therefore, from which our statement follows. The converse is not true: the sequence () may converge on average to /(x), but not be uniformly convergent. Example. Consider the sequence nx. It is easy to see that But this convergence is not uniform: there exists e, for example, such that, no matter how large n is, on the interval cosines Fourier series for a function with an arbitrary period Complex representation of the Fourier series Fourier series for general orthogonal systems of functions Fourier series for an orthogonal system Minimal property of Fourier coefficients Bessel’s inequality Parseval’s equality Closed systems Completeness and closedness of systems and let We denote by c* the Fourier coefficients of the function /(x ) by an orthonormal system b Consider a linear combination where n ^ 1 is a fixed integer, and find the values ​​of the constants at which the integral takes a minimum value. Let us write it in more detail. Integrating term by term, due to the orthonormality of the system, we obtain. The first two terms on the right side of equality (7) are independent, and the third term is non-negative. Therefore, the integral (*) takes a minimum value at ak = sk. The integral is called the mean square approximation of the function /(x) by a linear combination of Tn(x). Thus, the root mean square approximation of the function /\ takes a minimum value when. when Tn(x) is the 71st partial sum of the Fourier series of the function /(x) over the system (. Setting ak = sk, from (7) we obtain Equality (9) is called the Bessel identity. Since its left side is non-negative, then from it Bessel's inequality follows. Since I am here arbitrarily, Bessel's inequality can be represented in a strengthened form, i.e., for any function / the series of squared Fourier coefficients of this function in an orthonormal system ) converges. Since the system is orthonormal on the interval [-x, m], then inequality (10) translated into the usual notation of the trigonometric Fourier series gives the relation do that is valid for any function /(x) with an integrable square. If f2(x) is integrable, then, due to the necessary condition for the convergence of the series on the left side of inequality (11), we obtain that. Parseval's equality For some systems (^„(x)), the inequality sign in formula (10) can be replaced (for all functions f(x) 6 ×) by an equal sign. The resulting equality is called the Parseval-Steklov equality (completeness condition). Bessel's identity (9) allows us to write condition (12) in an equivalent form. Thus, the fulfillment of the completeness condition means that the partial sums Sn(x) of the Fourier series of the function /(x) converge to the function /(x) on average, i.e. according to the norm of space 6]. Definition. An orthonormal system ( is called complete in b2[аy b] if every function can be approximated with any accuracy on average by a linear combination of the form with a sufficiently large number of terms, i.e. if for any function /(x) ∈ b2[a, b\ and for any e > 0 there is a natural number nq and numbers a\, a2y..., such that No From the above reasoning follows Theorem 7. If by orthonormalization the system ) is complete in space, the Fourier series of any function / in this system converges to f( x) on average, i.e. according to the norm. It can be shown that the trigonometric system is complete in space. This implies the statement. Theorem 8. If a function /o its trigonometric Fourier series converges to it in average. 9.5. Closed systems. Completeness and closedness of systems Definition. An orthonormal system of functions \ is called closed if in the space Li\a, b) there is no nonzero function orthogonal to all functions. In the space L2\a, b\, the concepts of completeness and closedness of orthonormal systems coincide. Exercises 1. Expand the function 2 into a Fourier series in the interval (-i-, x) 2. Expand the function into a Fourier series in the interval (-tr, tr) 3. Expand the function 4 into a Fourier series in the interval (-tr, tr) into the Fourier series in the interval (-jt, tr) function 5. Expand the function f(x) = x + x into a Fourier series in the interval (-tr, tr). 6. Expand the function n into a Fourier series in the interval (-jt, tr) 7. Expand the function /(x) = sin2 x into a Fourier series in the interval (-tr, x). 8. Expand the function f(x) = y into a Fourier series in the interval (-tr, jt) 9. Expand the function f(x) = | sin x|. 10. Expand the function f(x) = § into a Fourier series in the interval (-π-, π). 11. Expand the function f(x) = sin § into a Fourier series in the interval (-tr, tr). 12. Expand the function f(x) = n -2x, given in the interval (0, x), into a Fourier series, extending it into the interval (-x, 0): a) in an even way; b) in an odd way. 13. Expand the function /(x) = x2, given in the interval (0, x), into a Fourier series in sines. 14. Expand the function /(x) = 3, given in the interval (-2,2), into a Fourier series. 15. Expand into a Fourier series the function f(x) = |x|, given in the interval (-1,1). 16. Expand the function f(x) = 2x, specified in the interval (0,1), into a Fourier series in sines.

The Fourier series of an even periodic function f(x) with period 2p contains only terms with cosines (i.e., does not contain terms with sines) and may include a constant term. Hence,

where are the coefficients of the Fourier series,

Fourier series expansion in sines

The Fourier series of an odd periodic function f (x) with period 2p contains only terms with sines (that is, it does not contain terms with cosines).

Hence,

where are the coefficients of the Fourier series,

Fourier series at half cycle

If a function is defined for a range, say from 0 to p, and not just from 0 to 2p, it can be expanded into a series only in sines or only in cosines. The resulting Fourier series is called near Fourier on half-cycle

If you want to get the decomposition Fourier on half cycle By cosines functions f (x) in the range from 0 to p, then it is necessary to construct an even periodic function. In Fig. Below is the function f (x) = x, built on the interval from x = 0 to x = p. Since the even function is symmetrical about the f (x) axis, we draw line AB, as shown in Fig. below. If we assume that outside the considered interval the resulting triangular shape is periodic with a period of 2p, then the final graph looks like this: in Fig. below. Since we need to obtain the Fourier expansion in cosines, as before, we calculate the Fourier coefficients a o and a n


If you need to get decomposition Fourier on half cycle By sinuses functions f (x) in the range from 0 to p, then it is necessary to construct an odd periodic function. In Fig. Below is the function f (x) =x, built on the interval from x=0 to x=p. Since the odd function is symmetrical about the origin, we construct the line CD, as shown in Fig.

If we assume that outside the considered interval the resulting sawtooth signal is periodic with a period of 2p, then the final graph has the form shown in Fig. Since we need to obtain the Fourier expansion of the half-cycle in terms of sines, as before, we calculate the Fourier coefficient. b

Ministry of General and Vocational Education

Sochi State University of Tourism

and resort business

Pedagogical Institute

Faculty of Mathematics

Department of General Mathematics

GRADUATE WORK

Fourier series and their applications

In mathematical physics.

Completed by: 5th year student

full-time study signature

Specialty 010100

"Mathematics"

Kasperova N.S.

Student ID No. 95471

Scientific supervisor: associate professor, candidate.

technical signature sciences

Pozin P.A.

Sochi, 2000


1. Introduction.

2. The concept of a Fourier series.

2.1. Determination of Fourier series coefficients.

2.2. Integrals of periodic functions.

3. Signs of convergence of Fourier series.

3.1. Examples of expansion of functions in Fourier series.

4. A note on the Fourier series expansion of a periodic function

5. Fourier series for even and odd functions.

6. Fourier series for functions with period 2 l .

7. Fourier series expansion of a non-periodic function.

Introduction.

Jean Baptiste Joseph Fourier - French mathematician, member of the Paris Academy of Sciences (1817).

Fourier's first works related to algebra. Already in lectures of 1796, he presented a theorem on the number of real roots of an algebraic equation lying between given boundaries (published in 1820), named after him; a complete solution to the number of real roots of an algebraic equation was obtained in 1829 by J.S.F. By assault. In 1818, Fourier investigated the question of the conditions for the applicability of the method of numerical solution of equations developed by Newton, not knowing about similar results obtained in 1768 by the French mathematician J.R. Murailem. The result of Fourier's work on numerical methods for solving equations is “Analysis of Definite Equations,” published posthumously in 1831.

Fourier's main area of ​​study was mathematical physics. In 1807 and 1811, he presented his first discoveries on the theory of heat propagation in solids to the Paris Academy of Sciences, and in 1822 he published the famous work “Analytical Theory of Heat,” which played a major role in the subsequent history of mathematics. This is the mathematical theory of thermal conductivity. Due to the generality of the method, this book became the source of all modern methods of mathematical physics. In this work, Fourier derived the differential equation of thermal conductivity and developed the ideas outlined earlier by D. Bernoulli; he developed a method for separating variables (Fourier's method) to solve the heat equation under certain given boundary conditions, which he applied to a number of special cases ( cube, cylinder, etc.). This method is based on the representation of functions by trigonometric Fourier series.

Fourier series have now become a well-developed tool in the theory of partial differential equations for solving boundary value problems.

1. The concept of a Fourier series.(p. 94, Uvarenkov)

Fourier series play an important role in mathematical physics, elasticity theory, electrical engineering, and especially their special case - trigonometric Fourier series.

A trigonometric series is a series of the form

or, symbolically:

(1)

where ω, a 0, a 1, …, a n, …, b 0, b 1, …, b n, … are constant numbers (ω>0).

Historically, certain problems in physics have led to the study of such series, for example, the problem of string vibrations (18th century), the problem of regularities in the phenomena of heat conduction, etc. In applications, consideration of trigonometric series , is primarily associated with the task of representing a given movement, described by the equation y = ƒ(χ), in

in the form of a sum of the simplest harmonic oscillations, often taken in an infinitely large number, i.e., as the sum of a series of the form (1).

Thus, we come to the following problem: to find out whether for a given function ƒ(x) on a given interval there exists a series (1) that would converge on this interval to this function. If this is possible, then they say that on this interval the function ƒ(x) is expanded into a trigonometric series.

Series (1) converges at some point x 0, due to the periodicity of the functions

(n=1,2,..), it will turn out to be convergent at all points of the form (m is any integer), and thus its sum S(x) will be (in the region of convergence of the series) a periodic function: if S n ( x) is the nth partial sum of this series, then we have

and therefore

, i.e. S(x 0 +T)=S(x 0). Therefore, speaking about the expansion of some function ƒ(x) into a series of the form (1), we will assume ƒ(x) to be a periodic function.

2. Determination of series coefficients using Fourier formulas.

Let a periodic function ƒ(x) with period 2π be such that it is represented by a trigonometric series converging to a given function in the interval (-π, π), i.e., is the sum of this series:

. (2)

Let us assume that the integral of the function on the left side of this equality is equal to the sum of the integrals of the terms of this series. This will be true if we assume that the number series composed of the coefficients of a given trigonometric series is absolutely convergent, i.e., the positive number series converges

(3)

Series (1) is majorizable and can be integrated term by term in the interval (-π, π). Let's integrate both sides of equality (2):

.

Let us separately evaluate each integral appearing on the right-hand side:

, , .

Thus,

, where . (4)

Estimation of Fourier coefficients.(Bugrov)

Theorem 1. Let the function ƒ(x) of period 2π have a continuous derivative ƒ ( s) (x) order s, satisfying the inequality on the entire real axis:

│ ƒ (s) (x)│≤ M s ; (5)

then the Fourier coefficients of the function ƒ satisfy the inequality

(6)

Proof. Integrating by parts and taking into account that

ƒ(-π) = ƒ(π), we have


Integrating the right-hand side of (7) sequentially, taking into account that the derivatives ƒ ΄, …, ƒ (s-1) are continuous and take the same values ​​at points t = -π and t = π, as well as estimate (5), we obtain the first estimate ( 6).

The second estimate (6) is obtained in a similar way.

Theorem 2. For the Fourier coefficients ƒ(x) the following inequality holds:

(8)

Proof. We have

Fourier series of periodic functions with period 2π.

The Fourier series allows us to study periodic functions by decomposing them into components. Alternating currents and voltages, displacements, speed and acceleration of crank mechanisms and acoustic waves are typical practical examples of the use of periodic functions in engineering calculations.

The Fourier series expansion is based on the assumption that all functions of practical significance in the interval -π ≤x≤ π can be expressed in the form of convergent trigonometric series (a series is considered convergent if the sequence of partial sums composed of its terms converges):

Standard (=ordinary) notation through the sum of sinx and cosx

f(x)=a o + a 1 cosx+a 2 cos2x+a 3 cos3x+...+b 1 sinx+b 2 sin2x+b 3 sin3x+...,

where a o, a 1,a 2,...,b 1,b 2,.. are real constants, i.e.

Where, for the range from -π to π, the coefficients of the Fourier series are calculated using the formulas:

The coefficients a o , a n and b n are called Fourier coefficients, and if they can be found, then series (1) is called next to Fourier, corresponding to the function f(x). For series (1), the term (a 1 cosx+b 1 sinx) is called the first or fundamental harmonic,

Another way to write a series is to use the relation acosx+bsinx=csin(x+α)

f(x)=a o +c 1 sin(x+α 1)+c 2 sin(2x+α 2)+...+c n sin(nx+α n)

Where a o is a constant, c 1 =(a 1 2 +b 1 2) 1/2, c n =(a n 2 +b n 2) 1/2 are the amplitudes of the various components, and is equal to a n =arctg a n /b n.

For series (1), the term (a 1 cosx+b 1 sinx) or c 1 sin(x+α 1) is called the first or fundamental harmonic,(a 2 cos2x+b 2 sin2x) or c 2 sin(2x+α 2) is called second harmonic and so on.

To accurately represent a complex signal typically requires an infinite number of terms. However, in many practical problems it is sufficient to consider only the first few terms.

Fourier series of non-periodic functions with period 2π.

Expansion of non-periodic functions.

If the function f(x) is non-periodic, it means that it cannot be expanded into a Fourier series for all values ​​of x. However, it is possible to define a Fourier series representing a function over any range of width 2π.

Given a non-periodic function, a new function can be constructed by selecting values ​​of f(x) within a certain range and repeating them outside that range at 2π intervals. Since the new function is periodic with period 2π, it can be expanded into a Fourier series for all values ​​of x. For example, the function f(x)=x is not periodic. However, if it is necessary to expand it into a Fourier series in the interval from o to 2π, then outside this interval a periodic function with a period of 2π is constructed (as shown in the figure below).

For non-periodic functions such as f(x)=x, the sum of the Fourier series is equal to the value of f(x) at all points in a given range, but it is not equal to f(x) for points outside the range. To find the Fourier series of a non-periodic function in the 2π range, the same formula of Fourier coefficients is used.

Even and odd functions.

They say the function y=f(x) even, if f(-x)=f(x) for all values ​​of x. Graphs of even functions are always symmetrical about the y-axis (that is, they are mirror images). Two examples of even functions: y=x2 and y=cosx.

They say that the function y=f(x) odd, if f(-x)=-f(x) for all values ​​of x. Graphs of odd functions are always symmetrical about the origin.

Many functions are neither even nor odd.

Fourier series expansion in cosines.

The Fourier series of an even periodic function f(x) with period 2π contains only cosine terms (i.e., no sine terms) and may include a constant term. Hence,

where are the coefficients of the Fourier series,

The Fourier series of an odd periodic function f(x) with period 2π contains only terms with sines (that is, it does not contain terms with cosines).

Hence,

where are the coefficients of the Fourier series,

Fourier series at half cycle.

If a function is defined for a range, say from 0 to π, and not just from 0 to 2π, it can be expanded in a series only in sines or only in cosines. The resulting Fourier series is called near Fourier at half cycle.

If you want to get the decomposition Half-cycle Fourier by cosines functions f(x) in the range from 0 to π, then it is necessary to construct an even periodic function. In Fig. Below is the function f(x)=x, built on the interval from x=0 to x=π. Since the even function is symmetrical about the f(x) axis, we draw line AB, as shown in Fig. below. If we assume that outside the considered interval the resulting triangular shape is periodic with a period of 2π, then the final graph looks like this: in Fig. below. Since we need to obtain the Fourier expansion in cosines, as before, we calculate the Fourier coefficients a o and a n

If you need to get Fourier half-cycle sine expansion functions f(x) in the range from 0 to π, then it is necessary to construct an odd periodic function. In Fig. Below is the function f(x)=x, built on the interval from x=0 to x=π. Since the odd function is symmetrical about the origin, we construct the line CD, as shown in Fig. If we assume that outside the considered interval the resulting sawtooth signal is periodic with a period of 2π, then the final graph has the form shown in Fig. Since we need to obtain the Fourier expansion of the half-cycle in terms of sines, as before, we calculate the Fourier coefficient. b

Fourier series for an arbitrary interval.

Expansion of a periodic function with period L.

The periodic function f(x) repeats as x increases by L, i.e. f(x+L)=f(x). The transition from the previously considered functions with a period of 2π to functions with a period of L is quite simple, since it can be done using a change of variable.

To find the Fourier series of the function f(x) in the range -L/2≤x≤L/2, we introduce a new variable u so that the function f(x) has a period of 2π relative to u. If u=2πx/L, then x=-L/2 for u=-π and x=L/2 for u=π. Also let f(x)=f(Lu/2π)=F(u). The Fourier series F(u) has the form

(The limits of integration can be replaced by any interval of length L, for example, from 0 to L)

Fourier series on a half-cycle for functions specified in the interval L≠2π.

For the substitution u=πх/L, the interval from x=0 to x=L corresponds to the interval from u=0 to u=π. Consequently, the function can be expanded into a series only in cosines or only in sines, i.e. V Fourier series at half cycle.

The cosine expansion in the range from 0 to L has the form

Which are already pretty boring. And I feel that the moment has come when it is time to extract new canned goods from the strategic reserves of theory. Is it possible to expand the function into a series in some other way? For example, express a straight line segment in terms of sines and cosines? It seems incredible, but such seemingly distant functions can be
"reunification". In addition to the familiar degrees in theory and practice, there are other approaches to expanding a function into a series.

In this lesson we will get acquainted with the trigonometric Fourier series, touch on the issue of its convergence and sum, and, of course, we will analyze numerous examples of the expansion of functions in Fourier series. I sincerely wanted to call the article “Fourier Series for Dummies,” but this would be disingenuous, since solving the problems would require knowledge of other branches of mathematical analysis and some practical experience. Therefore, the preamble will resemble astronaut training =)

Firstly, you should approach the study of page materials in excellent form. Sleepy, rested and sober. Without strong emotions about a broken hamster's paw and obsessive thoughts about the hardships of life for aquarium fish. The Fourier series is not difficult to understand, but practical tasks simply require increased concentration of attention - ideally, you should completely detach yourself from external stimuli. The situation is aggravated by the fact that there is no easy way to check the solution and answer. Thus, if your health is below average, then it is better to do something simpler. Is it true.

Secondly, before flying into space, it is necessary to study the instrument panel of the spacecraft. Let's start with the values ​​of the functions that should be clicked on the machine:

For any natural value:

1) . Indeed, the sinusoid “stitches” the x-axis through each “pi”:
. In the case of negative values ​​of the argument, the result, of course, will be the same: .

2) . But not everyone knew this. The cosine "pi" is the equivalent of a "blinker":

A negative argument does not change the matter: .

Perhaps that's enough.

And thirdly, dear cosmonaut corps, you must be able to... integrate.
In particular, confidently subsume the function under the differential sign, integrate piecemeal and be at peace with Newton-Leibniz formula. Let's begin the important pre-flight exercises. I categorically do not recommend skipping it, so as not to squish in weightlessness later:

Example 1

Calculate definite integrals

where takes natural values.

Solution: integration is carried out over the variable “x” and at this stage the discrete variable “en” is considered a constant. In all integrals put the function under the differential sign:

A short version of the solution that would be good to target looks like this:

Let's get used to it:

The four remaining points are on your own. Try to approach the task conscientiously and write the integrals in a short way. Sample solutions at the end of the lesson.

After performing the exercises QUALITY, we put on spacesuits
and getting ready to start!

Expansion of a function into a Fourier series on the interval

Let's consider some function that determined at least for a period of time (and possibly for a longer period). If this function is integrable on the interval, then it can be expanded into trigonometric Fourier series:
, where are the so-called Fourier coefficients.

In this case the number is called period of decomposition, and the number is half-life of decomposition.

It is obvious that in the general case the Fourier series consists of sines and cosines:

Indeed, let’s write it down in detail:

The zero term of the series is usually written in the form .

Fourier coefficients are calculated using the following formulas:

I understand perfectly well that those starting to study the topic are still unclear about the new terms: decomposition period, half-cycle, Fourier coefficients etc. Don’t panic, this is not comparable to the excitement before going into outer space. Let’s understand everything in the following example, before executing which it is logical to ask pressing practical questions:

What do you need to do in the following tasks?

Expand the function into a Fourier series. Additionally, it is often necessary to depict a graph of a function, a graph of the sum of a series, a partial sum, and in the case of sophisticated professorial fantasies, do something else.

How to expand a function into a Fourier series?

Essentially, you need to find Fourier coefficients, that is, compose and calculate three definite integral.

Please rewrite the general form of the Fourier series and the three working formulas in your notebook. I am very glad that some site visitors are realizing their childhood dream of becoming an astronaut right before my eyes =)

Example 2

Expand the function into a Fourier series on the interval. Construct a graph, a graph of the sum of the series and the partial sum.

Solution: The first part of the task is to expand the function into a Fourier series.

The beginning is standard, be sure to write down that:

In this problem, the expansion period is half-period.

Let us expand the function into a Fourier series on the interval:

Using the appropriate formulas, we find Fourier coefficients. Now we need to compose and calculate three definite integral. For convenience, I will number the points:

1) The first integral is the simplest, however, it also requires eyeballs:

2) Use the second formula:

This integral is well known and he takes it piece by piece:

Used when found method of subsuming a function under the differential sign.

In the task under consideration, it is more convenient to immediately use formula for integration by parts in a definite integral :

A couple of technical notes. Firstly, after applying the formula the entire expression must be enclosed in large brackets, since there is a constant before the original integral. Let's not lose her! The parentheses can be expanded at any further step; I did this as a last resort. In the first "piece" We show extreme care in the substitution; as you can see, the constant is not used, and the limits of integration are substituted into the product. This action is highlighted in square brackets. Well, you are familiar with the integral of the second “piece” of the formula from the training task;-)

And most importantly - maximum concentration!

3) We are looking for the third Fourier coefficient:

A relative of the previous integral is obtained, which is also integrates piecemeal:

This instance is a little more complicated, I’ll comment on the further steps step by step:

(1) The expression is completely enclosed in large brackets. I didn’t want to seem boring, they lose the constant too often.

(2) In this case, I immediately opened these large parentheses. Special attention We devote ourselves to the first “piece”: the constant smokes on the sidelines and does not participate in the substitution of the limits of integration ( and ) into the product . Due to the clutter of the recording, it is again advisable to highlight this action with square brackets. With the second "piece" everything is simpler: here the fraction appeared after opening large parentheses, and the constant - as a result of integrating the familiar integral;-)

(3) We carry out transformations in square brackets, and in the right integral we substitute the limits of integration.

(4) We remove the “flashing light” from the square brackets: , and then open the inner brackets: .

(5) We cancel 1 and –1 in brackets and make final simplifications.

Finally, all three Fourier coefficients are found:

Let's substitute them into the formula :

At the same time, do not forget to divide in half. At the last step, the constant (“minus two”), which does not depend on “en,” is taken outside the sum.

Thus, we have obtained the expansion of the function into a Fourier series on the interval:

Let us study the issue of convergence of the Fourier series. I will explain the theory, in particular Dirichlet's theorem, literally "on the fingers", so if you need strict formulations, please refer to the textbook on mathematical analysis (for example, the 2nd volume of Bohan; or the 3rd volume of Fichtenholtz, but it is more difficult).

The second part of the problem requires drawing a graph, a graph of the sum of a series, and a graph of a partial sum.

The graph of the function is the usual straight line on a plane, which is drawn with a black dotted line:

Let's figure out the sum of the series. As you know, function series converge to functions. In our case, the constructed Fourier series for any value of "x" will converge to the function, which is shown in red. This function tolerates ruptures of the 1st kind at points, but is also defined at them (red dots in the drawing)

Thus: . It is easy to see that it is noticeably different from the original function, which is why in the entry A tilde is used rather than an equals sign.

Let's study an algorithm that is convenient for constructing the sum of a series.

On the central interval, the Fourier series converges to the function itself (the central red segment coincides with the black dotted line of the linear function).

Now let's talk a little about the nature of the trigonometric expansion under consideration. Fourier series includes only periodic functions (constant, sines and cosines), so the sum of the series is also a periodic function.

What does this mean in our specific example? And this means that the sum of the series necessarily periodic and the red segment of the interval must be repeated endlessly on the left and right.

I think the meaning of the phrase “period of decomposition” has now finally become clear. To put it simply, every time the situation repeats itself again and again.

In practice, it is usually sufficient to depict three periods of decomposition, as is done in the drawing. Well, and also “stumps” of neighboring periods - so that it is clear that the graph continues.

Of particular interest are discontinuity points of the 1st kind. At such points, the Fourier series converges to isolated values, which are located exactly in the middle of the “jump” of the discontinuity (red dots in the drawing). How to find out the ordinate of these points? First, let's find the ordinate of the “upper floor”: to do this, we calculate the value of the function at the rightmost point of the central period of the expansion: . To calculate the ordinate of the “lower floor,” the easiest way is to take the leftmost value of the same period: . The ordinate of the average value is the arithmetic mean of the sum of “top and bottom”: . A pleasant fact is that when constructing a drawing, you will immediately see whether the middle is calculated correctly or incorrectly.

Let’s construct a partial sum of the series and at the same time repeat the meaning of the term “convergence.” The motive is also known from the lesson about sum of a number series. Let us describe our wealth in detail:

To compose a partial sum, you need to write zero + two more terms of the series. That is,

In the drawing, the graph of the function is shown in green, and, as you can see, it “wraps” the full sum quite tightly. If we consider a partial sum of five terms of the series, then the graph of this function will approximate the red lines even more accurately; if there are one hundred terms, then the “green serpent” will actually completely merge with the red segments, etc. Thus, the Fourier series converges to its sum.

It is interesting to note that any partial amount is continuous function, however, the total sum of the series is still discontinuous.

In practice, it is not so rare to construct a partial sum graph. How to do it? In our case, it is necessary to consider the function on the segment, calculate its values ​​at the ends of the segment and at intermediate points (the more points you consider, the more accurate the graph will be). Then you should mark these points on the drawing and carefully draw a graph on the period, and then “replicate” it into adjacent intervals. How else? After all, approximation is also a periodic function... ...in some ways its graph reminds me of a smooth heart rhythm on the display of a medical device.

Carrying out the construction, of course, is not very convenient, since you have to be extremely careful, maintaining an accuracy of no less than half a millimeter. However, I will please readers who are not comfortable with drawing - in a “real” problem it is not always necessary to carry out a drawing; in about 50% of cases it is necessary to expand the function into a Fourier series and that’s it.

After completing the drawing, we complete the task:

Answer:

In many tasks the function suffers rupture of the 1st kind right during the decomposition period:

Example 3

Expand the function given on the interval into a Fourier series. Draw a graph of the function and the total sum of the series.

The proposed function is specified in a piecewise manner (and, note, only on the segment) and endures rupture of the 1st kind at point . Is it possible to calculate Fourier coefficients? No problem. Both the left and right sides of the function are integrable on their intervals, therefore the integrals in each of the three formulas should be represented as the sum of two integrals. Let's see, for example, how this is done for a zero coefficient:

The second integral turned out to be equal to zero, which reduced the work, but this does not always happen.

The other two Fourier coefficients are described similarly.

How to show the sum of a series? On the left interval we draw a straight line segment, and on the interval - a straight line segment (we highlight the section of the axis in bold and bold). That is, on the expansion interval, the sum of the series coincides with the function everywhere except for three “bad” points. At the discontinuity point of the function, the Fourier series will converge to an isolated value, which is located exactly in the middle of the “jump” of the discontinuity. It is not difficult to see it orally: left-sided limit: , right-sided limit: and, obviously, the ordinate of the midpoint is 0.5.

Due to the periodicity of the sum, the picture must be “multiplied” into neighboring periods, in particular, the same thing must be depicted on the intervals and . At the same time, at points the Fourier series will converge to the median values.

In fact, there is nothing new here.

Try to cope with this task yourself. An approximate sample of the final design and a drawing at the end of the lesson.

Expansion of a function into a Fourier series over an arbitrary period

For an arbitrary expansion period, where “el” is any positive number, the formulas for the Fourier series and Fourier coefficients are distinguished by a slightly more complicated argument for sine and cosine:

If , then we get the interval formulas with which we started.

The algorithm and principles for solving the problem are completely preserved, but the technical complexity of the calculations increases:

Example 4

Expand the function into a Fourier series and plot the sum.

Solution: actually an analogue of Example No. 3 with rupture of the 1st kind at point . In this problem, the expansion period is half-period. The function is defined only on the half-interval, but this does not change the matter - it is important that both pieces of the function are integrable.

Let's expand the function into a Fourier series:

Since the function is discontinuous at the origin, each Fourier coefficient should obviously be written as the sum of two integrals:

1) I will write out the first integral in as much detail as possible:

2) We carefully look at the surface of the Moon:

Second integral take it piece by piece:

What should we pay close attention to after we open the continuation of the solution with an asterisk?

Firstly, we do not lose the first integral , where we immediately execute subscribing to the differential sign. Secondly, don’t forget the ill-fated constant before the big brackets and don't get confused by the signs when using formula . Large brackets are still more convenient to open immediately in the next step.

The rest is a matter of technique; difficulties can only be caused by insufficient experience in solving integrals.

Yes, it was not for nothing that the eminent colleagues of the French mathematician Fourier were indignant - how did he dare to arrange functions into trigonometric series?! =) By the way, everyone is probably interested in the practical meaning of the task in question. Fourier himself worked on a mathematical model of thermal conductivity, and subsequently the series named after him began to be used to study many periodic processes, which are visible and invisible in the surrounding world. Now, by the way, I caught myself thinking that it was not by chance that I compared the graph of the second example with the periodic rhythm of the heart. Those interested can familiarize themselves with the practical application Fourier transform in third party sources. ...Although it’s better not to - it will be remembered as First Love =)

3) Taking into account the repeatedly mentioned weak links, let’s look at the third coefficient:

Let's integrate by parts:

Let us substitute the found Fourier coefficients into the formula , not forgetting to divide the zero coefficient in half:

Let's plot the sum of the series. Let us briefly repeat the procedure: we construct a straight line on an interval, and a straight line on an interval. If the “x” value is zero, we put a point in the middle of the “jump” of the gap and “replicate” the graph for adjacent periods:


At the “junctions” of periods, the sum will also be equal to the midpoints of the “jump” of the gap.

Ready. Let me remind you that the function itself is by condition defined only on a half-interval and, obviously, coincides with the sum of the series on the intervals

Answer:

Sometimes a piecewise given function is continuous over the expansion period. The simplest example: . Solution (see Bohan volume 2) the same as in the two previous examples: despite continuity of function at point , each Fourier coefficient is expressed as the sum of two integrals.

On the decomposition interval discontinuity points of the 1st kind and/or there may be more “junction” points of the graph (two, three and generally any final quantity). If a function is integrable on each part, then it is also expandable in a Fourier series. But from practical experience I don’t remember such a cruel thing. However, there are more difficult tasks than those just considered, and at the end of the article there are links to Fourier series of increased complexity for everyone.

In the meantime, let’s relax, lean back in our chairs and contemplate the endless expanses of stars:

Example 5

Expand the function into a Fourier series on the interval and plot the sum of the series.

In this problem the function continuous on the expansion half-interval, which simplifies the solution. Everything is very similar to Example No. 2. There's no escape from the spaceship - you'll have to decide =) An approximate design sample at the end of the lesson, a schedule is attached.

Fourier series expansion of even and odd functions

With even and odd functions, the process of solving the problem is noticeably simplified. And that's why. Let's return to the expansion of a function in a Fourier series with a period of “two pi” and arbitrary period “two el” .

Let's assume that our function is even. The general term of the series, as you can see, contains even cosines and odd sines. And if we are expanding an EVEN function, then why do we need odd sines?! Let's reset the unnecessary coefficient: .

Thus, an even function can be expanded into a Fourier series only in cosines:

Because the integrals of even functions along an integration segment that is symmetrical with respect to zero can be doubled, then the remaining Fourier coefficients are simplified.

For the gap:

For an arbitrary interval:

Textbook examples that can be found in almost any textbook on mathematical analysis include expansions of even functions . In addition, they have been encountered several times in my personal practice:

Example 6

The function is given. Required:

1) expand the function into a Fourier series with period , where is an arbitrary positive number;

2) write down the expansion on the interval, construct a function and graph the total sum of the series.

Solution: in the first paragraph it is proposed to solve the problem in general form, and this is very convenient! If the need arises, just substitute your value.

1) In this problem, the expansion period is half-period. During further actions, in particular during integration, “el” is considered a constant

The function is even, which means it can be expanded into a Fourier series only in cosines: .

We look for Fourier coefficients using the formulas . Pay attention to their unconditional advantages. Firstly, the integration is carried out over the positive segment of the expansion, which means we safely get rid of the module , considering only the “X” of the two pieces. And, secondly, integration is noticeably simplified.

Two:

Let's integrate by parts:

Thus:
, while the constant , which does not depend on “en”, is taken outside the sum.

Answer:

2) Let’s write down the expansion on the interval; to do this, we substitute the required half-period value into the general formula:

Did you like the article? Share with your friends!