home · Measurements · Arrange in a Fourier series at the indicated interval. Fourier series. Expansion of a function into a Fourier series. Expansion of a function into a series of sines and cosines

Arrange in a Fourier series at the indicated interval. Fourier series. Expansion of a function into a Fourier series. Expansion of a function into a series of sines and cosines

Many processes occurring in nature and technology tend to repeat themselves at certain intervals. Such processes are called periodic and are mathematically described by periodic functions. Such functions include sin(x) , cos(x) , sin(wx), cos(wx) . The sum of two periodic functions, for example, a function of the form , generally speaking, is no longer periodic. But it can be proven that if the relation w 1 / w 2 is a rational number, then this sum is a periodic function.

The simplest periodic processes - harmonic oscillations - are described by periodic functions sin(wx) And cos(wx). More complex periodic processes are described by functions composed of either a finite or an infinite number of terms of the form sin(wx) And cos(wx).

3.2. Trigonometric series. Fourier coefficients

Let's consider a functional series of the form:

This series is called trigonometric; numbers A 0 , b 0 , a 1 , b 1 ,A 2 , b 2 …, a n , b n ,… are called coefficients trigonometric series. Series (1) is often written as follows:

. (2)

Since the members of the trigonometric series (2) have a common period
, then the sum of the series, if it converges, is also a periodic function with period
.

Let's assume that the function f(x) is the sum of this series:

. (3)

In this case they say that the function f(x) is expanded into a trigonometric series. Assuming that this series converges uniformly on the interval
, you can determine its coefficients using the formulas:

,
,
. (4)

The coefficients of the series determined by these formulas are called Fourier coefficients.

Trigonometric series (2), the coefficients of which are determined by Fourier formulas (4), are called near Fourier, corresponding to the function f(x).

Thus, if a periodic function f(x) is the sum of a convergent trigonometric series, then this series is its Fourier series.

3.3. Convergence of Fourier series

Formulas (4) show that the Fourier coefficients can be calculated for any integrable on the interval

-periodic function, i.e. For such a function you can always construct a Fourier series. But will this series converge to the function f(x) and under what conditions?

Recall that the function f(x), defined on the segment [ a; b] , is called piecewise smooth if it and its derivative have no more than a finite number of discontinuity points of the first kind.

The following theorem gives sufficient conditions for the decomposability of a function in a Fourier series.

Dirichlet's theorem. Let
-periodic function f(x) is piecewise smooth on
. Then its Fourier series converges to f(x) at each of its points of continuity and to the value 0,5(f(x+0)+ f(x-0)) at the breaking point.

Example 1.

Expand the function into a Fourier series f(x)= x, specified on the interval
.

Solution. This function satisfies the Dirichlet conditions and, therefore, can be expanded in a Fourier series. Using formulas (4) and the method of integration by parts
, we find the Fourier coefficients:

Thus, the Fourier series for the function f(x) has a look.

Fourier series are a representation of an arbitrary function with a specific period in the form of a series. In general, this solution is called the decomposition of an element along an orthogonal basis. Expansion of functions into Fourier series is a fairly powerful tool for solving various problems due to the properties of this transformation during integration, differentiation, as well as shifting expressions by argument and convolution.

A person who is not familiar with higher mathematics, as well as with the works of the French scientist Fourier, most likely will not understand what these “series” are and what they are needed for. Meanwhile, this transformation has become quite integrated into our lives. It is used not only by mathematicians, but also by physicists, chemists, doctors, astronomers, seismologists, oceanographers and many others. Let us also take a closer look at the works of the great French scientist who made a discovery that was ahead of its time.

Man and the Fourier Transform

Fourier series are one of the methods (along with analysis and others). This process occurs every time a person hears a sound. Our ear automatically transforms elementary particles in an elastic medium into rows (along the spectrum) of successive volume levels for tones of different heights. Next, the brain turns this data into sounds that are familiar to us. All this happens without our desire or consciousness, on its own, but in order to understand these processes, it will take several years to study higher mathematics.

More about Fourier transform

The Fourier transform can be carried out using analytical, numerical and other methods. Fourier series refer to the numerical method of decomposing any oscillatory processes - from ocean tides and light waves to cycles of solar (and other astronomical objects) activity. Using these mathematical techniques, you can analyze functions, representing any oscillatory processes as a series of sinusoidal components that move from minimum to maximum and back. The Fourier transform is a function that describes the phase and amplitude of sinusoids corresponding to a specific frequency. This process can be used to solve very complex equations that describe dynamic processes arising under the influence of thermal, light or electrical energy. Also, Fourier series make it possible to isolate constant components in complex oscillatory signals, making it possible to correctly interpret the experimental observations obtained in medicine, chemistry and astronomy.

Historical reference

The founding father of this theory is the French mathematician Jean Baptiste Joseph Fourier. This transformation was subsequently named after him. Initially, the scientist used his method to study and explain the mechanisms of thermal conductivity - the spread of heat in solids. Fourier suggested that the initial irregular distribution can be decomposed into simple sinusoids, each of which will have its own temperature minimum and maximum, as well as its own phase. In this case, each such component will be measured from minimum to maximum and back. The mathematical function that describes the upper and lower peaks of the curve, as well as the phase of each of the harmonics, is called the Fourier transform of the temperature distribution expression. The author of the theory reduced the general distribution function, which is difficult to describe mathematically, to a very convenient series of cosine and sine, which together give the original distribution.

The principle of transformation and the views of contemporaries

The scientist's contemporaries - leading mathematicians of the early nineteenth century - did not accept this theory. The main objection was Fourier's assertion that a discontinuous function, describing a straight line or a discontinuous curve, can be represented as a sum of sinusoidal expressions that are continuous. As an example, consider the Heaviside step: its value is zero to the left of the discontinuity and one to the right. This function describes the dependence of the electric current on a temporary variable when the circuit is closed. Contemporaries of the theory at that time had never encountered a similar situation where a discontinuous expression would be described by a combination of continuous, ordinary functions such as exponential, sine, linear or quadratic.

What confused French mathematicians about Fourier's theory?

After all, if the mathematician was right in his statements, then by summing the infinite trigonometric Fourier series, one can obtain an accurate representation of the step expression even if it has many similar steps. At the beginning of the nineteenth century, such a statement seemed absurd. But despite all the doubts, many mathematicians expanded the scope of study of this phenomenon, taking it beyond the study of thermal conductivity. However, most scientists continued to be tormented by the question: “Can the sum of a sinusoidal series converge to the exact value of the discontinuous function?”

Convergence of Fourier series: an example

The question of convergence arises whenever it is necessary to sum infinite series of numbers. To understand this phenomenon, consider a classic example. Will you ever be able to reach the wall if each subsequent step is half the size of the previous one? Let's say you're two meters from your target, the first step takes you to the halfway mark, the next one takes you to the three-quarters mark, and after the fifth you'll have covered almost 97 percent of the way. However, no matter how many steps you take, you will not achieve your intended goal in a strict mathematical sense. Using numerical calculations, it can be proven that it is eventually possible to get as close as a given distance. This proof is equivalent to demonstrating that the sum of one-half, one-fourth, etc. will tend to unity.

The Question of Convergence: The Second Coming, or Lord Kelvin's Instrument

This issue was raised again at the end of the nineteenth century, when they tried to use Fourier series to predict the intensity of tides. At this time, Lord Kelvin invented an instrument, an analog computing device that allowed military and merchant marine sailors to monitor this natural phenomenon. This mechanism determined sets of phases and amplitudes from a table of tide heights and corresponding time points, carefully measured in a given harbor throughout the year. Each parameter was a sinusoidal component of the tide height expression and was one of the regular components. The measurements were fed into Lord Kelvin's calculating instrument, which synthesized a curve that predicted the height of the water as a function of time for the following year. Very soon similar curves were drawn up for all the harbors of the world.

What if the process is disrupted by a discontinuous function?

At that time it seemed obvious that a tidal wave predictor with a large number of counting elements could calculate a large number of phases and amplitudes and thus provide more accurate predictions. However, it turned out that this pattern is not observed in cases where the tidal expression that should be synthesized contained a sharp jump, that is, it was discontinuous. If data from a table of time moments is entered into the device, it calculates several Fourier coefficients. The original function is restored thanks to the sinusoidal components (in accordance with the found coefficients). The discrepancy between the original and reconstructed expression can be measured at any point. When carrying out repeated calculations and comparisons, it is clear that the value of the largest error does not decrease. However, they are localized in the region corresponding to the discontinuity point, and at any other point they tend to zero. In 1899, this result was theoretically confirmed by Joshua Willard Gibbs of Yale University.

Convergence of Fourier series and the development of mathematics in general

Fourier analysis is not applicable to expressions containing an infinite number of spikes over a certain interval. In general, Fourier series, if the original function is represented by the result of a real physical measurement, always converge. Questions about the convergence of this process for specific classes of functions led to the emergence of new branches in mathematics, for example, the theory of generalized functions. She is associated with such names as L. Schwartz, J. Mikusinski and J. Temple. Within the framework of this theory, a clear and precise theoretical basis was created for such expressions as the Dirac delta function (it describes a region of a single area concentrated in an infinitesimal neighborhood of a point) and the Heaviside “step”. Thanks to this work, Fourier series became applicable to solving equations and problems involving intuitive concepts: point charge, point mass, magnetic dipoles, and concentrated load on a beam.

Fourier method

Fourier series, in accordance with the principles of interference, begin with the decomposition of complex forms into simpler ones. For example, a change in heat flow is explained by its passage through various obstacles made of heat-insulating material of irregular shape or a change in the surface of the earth - an earthquake, a change in the orbit of a celestial body - the influence of planets. As a rule, such equations that describe simple classical systems can be easily solved for each individual wave. Fourier showed that simple solutions can also be summed to produce solutions to more complex problems. In mathematical terms, Fourier series are a technique for representing an expression as a sum of harmonics - cosine and sine. Therefore, this analysis is also known as “harmonic analysis”.

Fourier series - an ideal technique before the “computer age”

Before the creation of computer technology, the Fourier technique was the best weapon in the arsenal of scientists when working with the wave nature of our world. The Fourier series in complex form makes it possible to solve not only simple problems that are amenable to the direct application of Newton's laws of mechanics, but also fundamental equations. Most of the discoveries of Newtonian science in the nineteenth century were made possible only by Fourier's technique.

Fourier series today

With the development of computers, Fourier transforms have risen to a qualitatively new level. This technique is firmly established in almost all areas of science and technology. An example is digital audio and video. Its implementation became possible only thanks to a theory developed by a French mathematician at the beginning of the nineteenth century. Thus, the Fourier series in a complex form made it possible to make a breakthrough in the study of outer space. In addition, it influenced the study of the physics of semiconductor materials and plasma, microwave acoustics, oceanography, radar, and seismology.

Trigonometric Fourier series

In mathematics, a Fourier series is a way of representing arbitrary complex functions as a sum of simpler ones. In general cases, the number of such expressions can be infinite. Moreover, the more their number is taken into account in the calculation, the more accurate the final result is. Most often, trigonometric functions of cosine or sine are used as the simplest ones. In this case, Fourier series are called trigonometric, and the solution of such expressions is called harmonic expansion. This method plays an important role in mathematics. First of all, the trigonometric series provides a means for depicting and also studying functions; it is the main apparatus of the theory. In addition, it allows you to solve a number of problems in mathematical physics. Finally, this theory contributed to the development of a number of very important branches of mathematical science (the theory of integrals, the theory of periodic functions). In addition, it served as the starting point for the development of the following functions of a real variable, and also laid the foundation for harmonic analysis.

How to insert mathematical formulas on a website?

If you ever need to add one or two mathematical formulas to a web page, then the easiest way to do this is as described in the article: mathematical formulas are easily inserted onto the site in the form of pictures that are automatically generated by Wolfram Alpha. In addition to simplicity, this universal method will help improve the visibility of the site in search engines. It has been working for a long time (and, I think, will work forever), but is already morally outdated.

If you regularly use mathematical formulas on your site, then I recommend you use MathJax - a special JavaScript library that displays mathematical notation in web browsers using MathML, LaTeX or ASCIIMathML markup.

There are two ways to start using MathJax: (1) using a simple code, you can quickly connect a MathJax script to your website, which will be automatically loaded from a remote server at the right time (list of servers); (2) download the MathJax script from a remote server to your server and connect it to all pages of your site. The second method - more complex and time-consuming - will speed up the loading of your site's pages, and if the parent MathJax server becomes temporarily unavailable for some reason, this will not affect your own site in any way. Despite these advantages, I chose the first method as it is simpler, faster and does not require technical skills. Follow my example, and in just 5 minutes you will be able to use all the features of MathJax on your site.

You can connect the MathJax library script from a remote server using two code options taken from the main MathJax website or on the documentation page:

One of these code options needs to be copied and pasted into the code of your web page, preferably between tags and or immediately after the tag. According to the first option, MathJax loads faster and slows down the page less. But the second option automatically monitors and loads the latest versions of MathJax. If you insert the first code, it will need to be updated periodically. If you insert the second code, the pages will load more slowly, but you will not need to constantly monitor MathJax updates.

The easiest way to connect MathJax is in Blogger or WordPress: in the site control panel, add a widget designed to insert third-party JavaScript code, copy the first or second version of the download code presented above into it, and place the widget closer to the beginning of the template (by the way, this is not at all necessary , since the MathJax script is loaded asynchronously). That's all. Now learn the markup syntax of MathML, LaTeX, and ASCIIMathML, and you are ready to insert mathematical formulas into your site's web pages.

Any fractal is constructed according to a certain rule, which is consistently applied an unlimited number of times. Each such time is called an iteration.

The iterative algorithm for constructing a Menger sponge is quite simple: the original cube with side 1 is divided by planes parallel to its faces into 27 equal cubes. One central cube and 6 cubes adjacent to it along the faces are removed from it. The result is a set consisting of the remaining 20 smaller cubes. Doing the same with each of these cubes, we get a set consisting of 400 smaller cubes. Continuing this process endlessly, we get a Menger sponge.

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 the Fourier series 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) called the 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 a function y=f(x) is 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.

A function y=f(x) is said to be 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 the half-cycle Fourier series.

If you want to obtain a half-cycle Fourier expansion of the cosines of the function f(x) in the range from 0 to π, then you need 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 want to obtain a half-cycle Fourier expansion in terms of the sines of the function f(x) in the range from 0 to π, then you need 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. into a Fourier series at half cycle.

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

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 the Fourier series 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) called the 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 a function y=f(x) is 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.

A function y=f(x) is said to be 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 the half-cycle Fourier series.

If you want to obtain a half-cycle Fourier expansion of the cosines of the function f(x) in the range from 0 to π, then you need 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 want to obtain a half-cycle Fourier expansion in terms of the sines of the function f(x) in the range from 0 to π, then you need 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. into a Fourier series at half cycle.

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