Power series: Difference between revisions

From Wikibase
Jump to navigation Jump to search
Rewrite for an undergraduate, non-math-specialist audience: build-up from the geometric series, case-by-case convergence, general case + worked numeric examples, full derivations; series solutions of ODEs kept as the advanced application. AI-assisted (RonzzWikiCowriter) (via update-page on MediaWiki MCP Server)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''A power series''' is an infinite sum built from the powers of a variable: a sum with infinitely many terms, each a constant times a power of ''x''. The general form, centred at a number ''c'', is
'''A power series''' is an infinite sum with the general form


{{#content:Q1667}}
{{#content:Q1667}}


The numbers ''a''₀, ''a''₁, ''a''₂, … are the '''coefficients''', and ''c'' is the '''centre''' of the series. When ''c'' = 0, the powers are simply ''x''<sup>''n''</sup> and the series reads ''a''₀ + ''a''₁''x'' + ''a''₂''x''² + ⋯.
The numbers $a_0$, $a_1$, $a_2$, … are constants, known as the '''coefficients''', and $c$, also a constant, is known as the '''centre''' of the series.


A power series is, in plain words, a polynomial with infinitely many terms. Its usefulness comes from the fact that its terms require only the four basic operations of arithmetic to evaluate: each term ''a''<sub>''n''</sub>''x''<sup>''n''</sup> is a multiplication followed by an addition. Stopping after finitely many terms leaves a polynomial that approximates the value of the whole sum, and keeping more terms improves the approximation (wherever the series converges). Numbers that have no formula built from basic operations alone, such as e<sup>0.05</sup> or sin 1, can therefore be computed to any desired accuracy by arithmetic only. This is the idea behind the scientific functions on calculators and in spreadsheets, and it is the reason power series pervade science.
== The simplest form: The geometric series ==


== The geometric series ==
The simplest power series to study is the one in which every coefficient is 1 and the centre is 0:
 
$$1 + x + x^2 + x^3 + \cdots$$
 
As seen, each term multiplies the previous one by $x$. This is known as a '''geometric series'''.
 
For a geometric series, we can calculate the partial sum of the first $N + 1$ terms, $S_N = 1 + x + x^2 + \cdots + x^N$:


The simplest power series to study is the one in which every coefficient is 1 and the centre is 0:
Multiply both sides of this equation by $(1 - x)$ and eliminate the brackets:
 
$$(1-x)S_{N}=(1-x)(1+x+x^{2}+\cdots+x^{N})=(1+x+x^{2}+\cdots+x^{N})-(x+x^{2}+\cdots+x^{N+1})=1-x^{N+1}$$


:1 + ''x'' + ''x''² + ''x''³ + ⋯
Dividing both sides again by $(1 - x)$, we therefore have


Each term multiplies the previous one by ''x''; this is called the '''geometric series'''. It is the right place to start, because its sum can be worked out exactly, and because it shows clearly when an infinite sum produces a number and when it does not.
$$S_{N}=\frac{1-x^{N+1}}{1-x}\qquad(x\neq 1)$$ (1)


Start with the finite version, the partial sum of the first ''N'' + 1 terms, ''S''<sub>''N''</sub> = 1 + ''x'' + ''x''² + ⋯ + ''x''<sup>''N''</sup>. Multiply both sides of this equation by (1 − ''x'') and multiply out the brackets:
When $N \to \infty$, we have


{{#content:Q1681}}
$$\sum_{n=0}^{\infty}x^{n}=\lim_{N \to \infty}S_N=\lim_{N \to \infty}\frac{1-x^{N+1}}{1-x}\qquad(x\neq 1) $$


Every middle term cancels: the two brackets share the terms ''x'', ''x''², …, ''x''<sup>''N''</sup>, which subtract to nothing and leave only 1 − ''x''<sup>''N''+1</sup>. Dividing both sides by (1 − ''x''), which is allowed for any ''x'' ≠ 1, gives the closed form of the partial sum:


{{#content:Q1682}}
* '''When $-1 < x < 1$: the series converges.''' As $N$ grows, the number $x^{N+1}$ shrinks towards 0, so the partial sums approach a definite number:


Nothing has been approximated so far: the last formula is exact for every ''N''. The infinite series is defined as the limit of these partial sums as the number of terms grows without bound. Whether such a limit exists depends on where ''x'' lies, and the four cases behave very differently.
$$\sum_{n=0}^{\infty}x^{n}=\frac{1}{1-x}\qquad\text{whenever }-1<x<1$$


* '''Case −1 < ''x'' < 1: the series converges.''' As ''N'' grows, the number ''x''<sup>''N''+1</sup> shrinks towards 0, so the partial sums approach a definite number:
With $x = 0.1$, for instance, the partial sums run 1; 1.1; 1.11; 1.111; …, settling on 1.111…, and indeed $1/(1 - 0.1) = 1/0.9 = 10/9 = 1.111\ldots$


{{#content:Q1683}}
* '''When $x = 1$: the series diverges.''' Notice (1) breaks down here, because $1 - x = 0$ and we cannot divide by 0. The sum is, however, easy to calculate: every term equals 1, so $\lim_{N \to \infty} S_N = \lim_{N \to \infty} (N + 1) = \infty$


With ''x'' = 0.1, for instance, the partial sums run 1; 1.1; 1.11; 1.111; …, settling on 1.111…, and indeed 1/(1 − 0.1) = 1/0.9 = 10/9 = 1.111…
* '''Case $x = -1$: the series diverges by oscillation.''' The partial sums run 1, 0, 1, 0, 1, … and never settle on a single number. The formula $1/(1 - x)$ would give $1/2$ at $x = -1$, but notice that is the average of 1 and 0. The formula (1) does not guarantee convergence.


* '''Case ''x'' = 1: the series diverges.''' Every term equals 1, so ''S''<sub>''N''</sub> = ''N'' + 1 grows without bound; the sum 1 + 1 + 1 + ⋯ has no finite value. The formula above cannot be used here, because it divides both sides by 1 − ''x'' = 0.
* '''Case $|x| > 1$: the series diverges, as expected.''' When $x > 1$, the infinite sum is the sum of an infinite number of increasingly large positive numbers, which goes to infinity. When $x < -1$, the infinite sum oscillates between positive and negative infinity, as it is dominated by the last term, which may be positive or negative.


* '''Case ''x'' = −1: the series diverges by oscillation.''' The partial sums run 1, 0, 1, 0, 1, … and never settle on a single number, so 1 − 1 + 1 − 1 + ⋯ does not converge. The formula 1/(1 − ''x'') would give 1/2 at ''x'' = −1, but that value is not the sum of the series; the formula simply does not apply there.
=== Real-world application of geometric series ===


* '''Case |''x''| > 1: the series diverges.''' The terms grow in size like powers of a number bigger than 1, so the partial sums grow without bound. At ''x'' = 2 they run 1, 3, 7, 15, …, that is ''S''<sub>''N''</sub> = 2<sup>''N''+1</sup> − 1.
If someone promises to pay you €100 each year until the end of your life on earth, with the first payment made today, how much is that promise worth?


The geometric series therefore yields a finite number precisely when ''x'' lies strictly between −1 and 1. The values of ''x'' for which a power series converges form its '''interval of convergence''', which will reappear, in general form, in the next section.
On first thought, this promise is worth quite a lot of money, especially if you count on living for decades more. However, you must take into account inflation, which in Europe averages out to about 5% per year. The €100 paid today is worth its full €100, a payment of €100 one year from now is worth only €$100/1.05$ in today's money, and a payment in two years is worth only €$(100)/(1.05)^2$ in today's money, and so on. A payment of €100 every year, with the first payment made today, forever, is therefore worth today


'''A real-world use: pricing a lifelong income.''' Suppose an investment grows money by 5% a year. A payment of £10 due one year from now is worth only £10/1.05 today, because £10/1.05 deposited now would grow back to £10 by then; a payment due in two years is worth £10/(1.05)², and so on. A fund that pays £10 every year, forever, with the first payment in one year, is therefore worth today
$$\sum_{0}^{n \to \infty}\frac{100}{1.05^n}= \frac{100}{1-\frac{1}{1.05}}= 2100 $$


:£10/1.05 + £10/(1.05)² + £10/(1.05)³ + ⋯ = 10''r''(1 + ''r'' + ''r''² + ⋯),
It is still a handsome sum, if you can live on forever.


where ''r'' = 1/1.05 = 0.952 381…, a number between −1 and 1. The geometric series applies, and since ''r''/(1 − ''r'') = (1/1.05)/(0.05/1.05) = 1/0.05 = 20, the value is 10 × 20 = '''£200'''. An infinite number of payments is worth a finite sum today, because payments far in the future are discounted to almost nothing; this is the geometric series in action.
== Radius of convergence of a power series ==


== Radius of convergence ==
In the previous section, we have seen that even the simplest power series, a geometric series, may or may not converge depending on the value of $x$. In general, for a power series centred at $c$, there is a number $R \geq 0$, called the '''radius of convergence''', such that:


The geometric series is one instance of a general fact. For a power series centred at ''c'', convergence depends on how far ''x'' lies from the centre. If the series converges for at least one value of ''x'' other than ''c'', there is a number ''R'' ≥ 0, called the '''radius of convergence''', such that:
* the series converges for every $x$ with $|x - c| < R$ (closer to the centre than $R$);
* the series diverges for every $x$ with $|x - c| > R$.


* the series converges for every ''x'' with |''x'' − ''c''| < ''R'' (closer to the centre than ''R'');
The set $|x - c| < R$, an interval of length $2R$ centred at $c$, is called the '''interval of convergence of the series'''.  
* the series diverges for every ''x'' with |''x'' − ''c''| > ''R''.


The set |''x'' − ''c''| < ''R'' is an interval of length 2''R'' centred at ''c''; it is the interval of convergence of the series. The boundary |''x'' − ''c''| = ''R'' is not covered by the statement above: each series must be tested separately at its boundary points, exactly as the geometric series was tested at ''x'' = 1 and ''x'' = −1 above (there it diverged at both ends, but other series may converge at one or both boundary points).
For the two boundary points where $|x - c| = R$, the convergence is uncertain and depends on specific characteristics of a given power series.


Where does the radius come from? Compare the size of each term with the one before it. Consecutive terms of ''a''<sub>''n''</sub>(''x'' − ''c'')<sup>''n''</sup> have magnitudes in the ratio |''a''<sub>''n''+1</sub>/''a''<sub>''n''</sub>| · |''x'' − ''c''|. If, in the long run, this ratio stays below 1, the series behaves like a convergent geometric series; if it stays above 1, terms grow and the series diverges. The change of behaviour occurs at the value of |''x'' − ''c''| for which the ratio equals 1, namely ''R'' = lim |''a''<sub>''n''</sub>/''a''<sub>''n''+1</sub>| when this limit exists:
In general, consecutive terms of a power series $a_{n+1} (x - c)^{n+1}$ and $a_n (x - c)^n$ have magnitudes in the ratio $|a_{n+1}/a_n| \cdot |x - c|$. If, in the long run, this ratio stays below 1, intuitively the series behaves like a convergent geometric series; if the ratio stays above 1, terms grow larger and larger and the series diverges. Therefore we have


{{#content:Q1668}}
$$R=\lim_{n\to\infty}\left|\frac{a_{n}}{a_{n+1}}\right|\quad\text{when the limit exists}$$


For the geometric series, every coefficient is 1, so the ratio is 1 and ''R'' = 1, matching the interval −1 < ''x'' < 1 found by direct calculation.
A quick sanity check with geometric series: For the geometric series, every coefficient is 1, so the ratio is 1 and $R = 1$, matching the interval $-1 < x < 1$ found by direct calculation in the section above.


The radius can be any number from 0 to ∞, and the three possibilities behave quite differently:
Two special cases exist:


* '''Finite radius, ''R'' = 1:''' the geometric series above, and the binomial series below, converge only within a bounded interval around the centre.
* '''Infinite radius, $R = \infty$:''' the series converges for every $x$. The exponential and sine series in the next section are the standard examples.
* '''Infinite radius, ''R'' = ∞:''' the series converges for every ''x''. The exponential and sine series in the next section are the standard examples.
* '''Zero radius, $R = 0$:''' the series converges only at the centre itself. For instance the series $1 + x + 2!\,x^2 + 3!\,x^3 + \cdots$ (whose coefficient of $x^n$ is $n!$) has $|a_n/a_{n+1}| = n!/(n + 1)! = 1/(n + 1) \to 0$, so $R = 0$; for any $x \neq 0$ the terms eventually grow without bound.
* '''Zero radius, ''R'' = 0:''' the series converges only at the centre itself. For instance the series 1 + ''x'' + 2!''x''² + 3!''x''³ + ⋯ (whose coefficient of ''x''<sup>''n''</sup> is ''n''!) has |''a''<sub>''n''</sub>/''a''<sub>''n''+1</sub>| = ''n''!/(''n'' + 1)! = 1/(''n'' + 1) → 0, so ''R'' = 0; for any ''x'' ≠ 0 the terms eventually grow without bound.


== The exponential and sine series ==
== The exponential and sine series ==


How does one find the power series of a known function such as e<sup>''x''</sup> or sin ''x''? Suppose ''f'' can be written as a power series centred at ''c'', with coefficients ''a''<sub>''n''</sub>. Differentiating the series term by term and evaluating at ''x'' = ''c'' singles out one coefficient at a time, because the ''n''-th derivative of (''x'' − ''c'')<sup>''n''</sup> is the constant ''n''!, and every other term still contains a factor (''x'' − ''c'') that vanishes at ''x'' = ''c''. Hence:
The power series can be used to approximate known functions that are difficult to calculate directly, such as $e^x$ or $\sin x$.


{{#content:Q1688}}
Imagine we would like to approximate some function $f(x)$ with a power series. We would therefore write


The coefficients of the series are therefore fixed by the values of ''f'' and its derivatives at the centre. The resulting series is called the Taylor series of ''f'' about ''c'' (about 0 it is also called the Maclaurin series). The two examples below apply this idea to the two most useful functions in science.
$$f(x)=\sum_{n=0}^{\infty}a_{n}(x-c)^{n}$$


=== The exponential series ===
where $c$ and $a_n$ are unknown.


The exponential function e<sup>''x''</sup> has the defining property that its derivative equals itself, and e<sup>0</sup> = 1. Consequently all its derivatives at 0 equal 1: ''f''<sup>(n)</sup>(0) = 1 for every ''n''. The coefficient formula above then gives ''a''<sub>''n''</sub> = 1/''n''!, so
Taking the $k$-th derivative of $f(x)$, we have


{{#content:Q1684}}
$$f^{(k)}(x)=\sum_{n=k}^{\infty}\frac{n!}{(n-k)!}\,a_{n}\,(x-c)^{n-k}$$


The factorial ''n''! = 1·2·3·⋯·''n'' in the denominator grows much faster than any power, so the terms shrink quickly and the series converges for every ''x''. Applying the ratio test confirms ''R'' = ∞:
Evaluating at $x=c$, we have


{{#content:Q1685}}
$$a_{k}=\frac{f^{(k)}(c)}{k!}$$


Setting ''x'' = 1 in the series gives the number e itself: e = 1 + 1 + 1/2 + 1/6 + 1/24 + ⋯ = 2.718 281 828…
Generalising to every $n$, we obtain


'''Numeric example: compound interest.''' Suppose £1000 sits in an account that pays 5% interest per year, compounded continuously (interest credited at every instant and immediately earning interest itself). After one year the balance is £1000 · e<sup>0.05</sup>. The series computes this number with arithmetic alone; taking ''x'' = 0.05:
{{#content:Q1688}} (2)


{| class="wikitable"
=== The exponential series ===
|+ Partial sums of e<sup>0.05</sup>, and the resulting balance
! Terms included !! Partial sum !! Balance of £1000
|-
| 1 || 1 || £1000.00
|-
| 1 + 0.05 || 1.05 || £1050.00
|-
| + 0.05²/2! || 1.05125 || £1051.25
|-
| + 0.05³/3! || 1.051 2708 || £1051.27
|-
| + 0.05⁴/4! || 1.051 2711 || £1051.27
|}


After the fourth term the balance has already settled to the nearest penny: the account holds about '''£1051.27''' after a year, an effective annual rate of 5.127%.
The exponential function $e^x$ has defining properties $\frac{d e^x}{dx}=e^x$ and $e^0 = 1$. Consequently, choosing $c=0$ we have


=== The sine series ===
$$f^{(n)}(0) = 1$$


The derivatives of sin ''x'' cycle through sin ''x'', cos ''x'', −sin ''x'', −cos ''x'', and back. Evaluated at 0 they cycle through 0, 1, 0, −1, so only the odd powers survive, with alternating signs and coefficient sizes 1, 1/3!, 1/5!, …. Hence:
for every $n$. From (2) we have $a_n = 1/n!$, so


{{#content:Q1686}}
{{#content:Q1684}}


The sine series also converges for every ''x'': each new term is the previous one multiplied by ''x''² and divided by two ever-larger factors, so the multiplier tends to 0 no matter how large ''x'' is:
Intuitively, the factorial $n! = 1\cdot 2\cdot 3\cdot\cdots\cdot n$ in the denominator grows much faster than any power function towards infinity, so the terms shrink and the series should converge for every $x$.


{{#content:Q1687}}
Applying the ratio test confirms $R = \infty$:


'''Numeric example: how high a tilted plank rises.''' The sine of an angle in a right triangle is the ratio of the opposite side to the hypotenuse. A straight plank 1 m long, tilted up at an angle of 1 radian (about 57.3°), therefore rises sin 1 metres above the ground. The series with ''x'' = 1 gives, adding terms one by one,
$$R=\lim_{n\to\infty}\left|\frac{a_{n}}{a_{n+1}}\right|=\lim_{n\to\infty}\frac{(n+1)!}{n!}=\lim_{n\to\infty}(n+1)=\infty$$


{| class="wikitable"
A quick sanity check: setting $x = 1$ in the series gives the number $e$ itself: $e = 1 + 1 + 1/2 + 1/6 + 1/24 + \cdots = 2.718\,281\,828\ldots$
|+ Partial sums of sin 1
! Terms included !! Partial sum
|-
| 1 || 1
|-
| 1 − 1/6 || 0.833 333
|-
| + 1/120 || 0.841 667
|-
| − 1/5040 || 0.841 468
|-
| + 1/362 880 || 0.841 471
|}


The sums settle on 0.841 471, which is sin 1 correct to six decimal places. A plank 10 m long at the same angle rises about 8.41 m; a seat on a Ferris wheel of radius 10 m, having turned through 1 radian from the level of the hub, sits about 8.41 m above that level.
=== The sine series ===


== The binomial series ==
Again choosing $c=0$:


One more family of power series is useful enough to know by name. For any fixed exponent ''p'',
{{#content:Q1686}}


{{#content:Q1689}}
Apply once again the ratio test:


Two cases behave differently and should not be confused:
$$\lim_{k \to \infty} \frac{\frac{x^{2k+1}}{(2k+1)!}}{\frac{x^{2k+3}}{(2k+3)!}}=\lim_{k \to \infty}\frac{(2k+2)(2k+3)}{x^{2}}= \infty$$


* '''''p'' a non-negative whole number (0, 1, 2, …):''' the series stops by itself, because the factor (''p'' − ''p'') appears after ''p'' + 1 terms. It is the ordinary binomial expansion of a polynomial, for example (1 + ''x'')² = 1 + 2''x'' + ''x''².
which means the series converges as expected, to $\sin x$.
* '''Any other exponent ''p'', a fraction, a negative number, an irrational number:''' the series never stops, and it is a genuine infinite series valid for −1 < ''x'' < 1 (radius ''R'' = 1). The geometric series of the second section is the case ''p'' = −1 with ''x'' replaced by −''x'', since 1/(1 + ''x'') = (1 + ''x'')<sup>−1</sup> = 1 − ''x'' + ''x''² − ''x''³ + ⋯.


'''Numeric example: a square root from arithmetic.''' Put ''p'' = 1/2, so that (1 + ''x'')<sup>1/2</sup> is just √(1 + ''x''):
== The binomial series ==


{{#content:Q1690}}
One more family of power series is useful enough to know by name. For any fixed exponent $p$,


Take ''x'' = 0.1. Then √1.1 = 1 + 0.05 − 0.00125 + 0.000 0625 − 0.000 0039 + ⋯ = 1.048 8086…, whereas √1.1 = 1.048 8088…; the first few terms already give six correct decimal places. A pendulum of length ''L'' swings with period 2π√(''L''/''g''), where ''g'' is the acceleration of gravity, so lengthening a pendulum by 10% multiplies its period by √1.1 ≈ 1.0488: each swing takes about 4.9% longer.
{{#content:Q1689}}


== Power series solutions of differential equations ==
== Power series solutions of differential equations ==


A deeper application of power series is to differential equations whose coefficients vary with ''x''. Such equations rarely have solutions built from a finite combination of familiar functions, but when the coefficient functions can be expanded in power series near a point, a solution can still be written down as a power series about that point. Substituting the series into the equation and equating the coefficients of like powers of ''x'' turns the differential equation into recurrence relations that fix the coefficients one after another; the constants left free by the recurrence are exactly the arbitrary constants of the equation, and the resulting series solves the equation exactly on its interval of convergence.<ref>{{#cite:Q1577}}</ref><ref>{{#cite:Q1576}}</ref> The place of series among the approaches to differential equations is discussed in the article [[Differential equation]].
A further application of power series is to solve differential equations whose coefficients vary with $x$. Such equations rarely have solutions built from a finite combination of familiar functions, but a solution can sometimes be written down as a power series. Substituting the series into the equation and equating the coefficients of like powers of $x$ turns the differential equation into recurrence relations that fix the coefficients one after another; the constants left free by the recurrence are exactly the arbitrary constants of the equation, and the resulting series solves the equation exactly on its interval of convergence.<ref>{{#cite:Q1577}}</ref><ref>{{#cite:Q1576}}</ref>


=== Case 1: expanding about an ordinary point, the Airy equation ===
=== Case 1: expanding about an ordinary point, the Airy equation ===
Line 159: Line 138:
The Airy equation
The Airy equation


:''y''″ − ''xy'' = 0
$$y^{\prime\prime} - xy = 0$$ (3)


is named after [[Person:George Biddell Airy|George Biddell Airy]], who met it in 1838 while studying the intensity of light near a caustic. Its solutions cannot be written as finite combinations of elementary functions, so it is the standard test case for series methods.
is named after [[Person:George Biddell Airy|George Biddell Airy]], who employed it in 1838 while studying the intensity of light near a caustic. Its solutions cannot be written as finite combinations of elementary functions, so it is the standard test case for series methods.


Near ''x'' = 0 the coefficients of the equation are as well behaved as possible (the point is an ordinary point), so seek a solution as a power series about 0: ''y'' = ''a''₀ + ''a''₁''x'' + ''a''₂''x''² + ⋯, where the ''a''<sub>''n''</sub> are unknown constants. Differentiate term by term: ''y''′ = ''a''₁ + 2''a''₂''x'' + 3''a''₃''x''² + ⋯ and ''y''″ = 2''a''₂ + 6''a''₃''x'' + 12''a''₄''x''² + ⋯, so each derivative of ''x''<sup>''n''</sup> lowers the power by one and multiplies the coefficient by ''n''. Re-indexing the sums so that both run over the same powers of ''x'' gives
Setting


{{#content:Q1669}}
$$y=C\sum_{n=0}^{\infty}a_{n}x^{n}$$


Substituting these two expressions into ''y''″ − ''xy'' = 0 and collecting terms, the equality must hold for every value of ''x''; that forces the coefficient of each power of ''x'' on the left to vanish. The constant term gives 2·1·''a''₂ = 0, so ''a''₂ = 0, and comparing the coefficient of ''x''<sup>''n''</sup> for ''n'' ≥ 1 gives the recurrence
where $a_n$ are unknown coefficients. We have therefore


{{#content:Q1649}}
$$\quad\Rightarrow\quad y^{\prime\prime}=C\sum_{n=0}^{\infty}(n+2)(n+1)\,a_{n+2}\,x^{n},\qquad xy=C\sum_{n=1}^{\infty}a_{n-1}\,x^{n}$$


Each new coefficient is fixed by the one three places earlier. Writing the recurrence out, starting at ''n'' = 1, 2, 3, …:
Substituting these two expressions back into (3) and collecting terms, noting that the equality must hold for every value of $x$, gives


:''a''₃ = ''a''₀/(3·2) = ''a''₀/6,  ''a''₆ = ''a''₃/(6·5) = ''a''₀/180,
$$\quad a_{2}=0,\qquad (n+2)(n+1)\,a_{n+2}=a_{n-1}\qquad(n\geq 1)$$
:''a''₄ = ''a''₁/(4·3) = ''a''₁/12,  ''a''₇ = ''a''₄/(7·6) = ''a''₁/504,
:''a''₅ = ''a''₂/(5·4) = 0,  ''a''₈ = ''a''₅/(8·7) = 0,


and so on. The coefficients split into three chains: those with indices divisible by 3 are fixed by ''a''₀, those one more than a multiple of 3 are fixed by ''a''₁, and those two more than a multiple of 3 are all zero (they start from ''a''₂ = 0). The two free constants ''a''₀ and ''a''₁, the arbitrary constants expected of a second-order equation, generate two independent solutions:
We can thereby express all the coefficients in terms of $a_0$ and $a_1$:


{{#content:Q1650}}
$$a_3 = a_0/(3\cdot 2) = a_0/6, \qquad a_6 = a_3/(6\cdot 5) = a_0/180,$$


Each series converges for every ''x'' (the denominators grow like factorials, so the ratio test gives ''R'' = ∞). Up to normalisation these two solutions are the Airy functions Ai and Bi:
$$a_4 = a_1/(4\cdot 3) = a_1/12, \qquad a_7 = a_4/(7\cdot 6) = a_1/504,$$


{{#content:Q1609}}
$$a_5 = a_2/(5\cdot 4) = 0, \qquad a_8 = a_5/(8\cdot 7) = 0,$$


The power series therefore solve the Airy equation exactly, in open form, on the whole real line. The Airy functions appear in optics, quantum mechanics and elsewhere whenever a solution changes from oscillatory to exponential behaviour.
The solution is therefore:


=== Case 2: expanding about a singular point, the Frobenius method ===
$$y=C (a_{0}\left(1+\frac{x^{3}}{6}+\frac{x^{6}}{180}+\cdots\right)+a_{1}\left(x+\frac{x^{4}}{12}+\frac{x^{7}}{504}+\cdots\right))$$


Write a linear second-order equation in the form ''y''″ + ''p''(''x'')''y''′ + ''q''(''x'')''y'' = 0. A point ''x''₀ is ordinary when both ''p'' and ''q'' can be expanded in power series about ''x''₀; the direct method of Case 1 applies there. If at least one of ''p'' or ''q'' cannot, typically because it divides by ''x'' − ''x''₀, the point is singular. The point is a regular singular point when (''x'' − ''x''₀)''p''(''x'') and (''x'' − ''x''₀)²''q''(''x'') do have power series expansions about ''x''₀.
The ratio test gives $R = \infty$, so each series converges for every $x$. Setting $C_1 = Ca_0$ and $C_2 = Ca_1$, and denoting the two bracketed series by $A(x)$ and $B(x)$, we arrive at the well-known form


At a singular point a plain power series cannot work: with ''p'' or ''q'' dividing by ''x'', the equation mixes powers whose lowest terms start at different heights, so they cannot be matched. The Frobenius method instead seeks a solution with a shifted leading power, ''y'' = ''x''<sup>''r''</sup>(''a''₀ + ''a''₁''x'' + ⋯). Substituting and setting the coefficient of the lowest power of ''x'' to zero produces an algebraic equation, the indicial equation, whose solutions fix the possible exponents ''r''. For the Bessel equation of order ν,
{{#content:Q1609}}
 
{{#content:Q1670}}
 
the indicial equation is ''r''² − ν² = 0, with roots ''r'' = ±ν. When ν is not a whole number the two roots give two independent series solutions, the Bessel functions of the first kind, J<sub>ν</sub> and J<sub>−ν</sub>. When the roots coincide or differ by a whole number, the second independent solution acquires a logarithmic term; for ν a whole number this second solution is the Bessel function of the second kind ''Y''<sub>ν</sub>. Bessel functions describe vibrations of a circular drumhead, heat flow in a cylinder and waves in optical fibres. The full theory is developed in standard textbooks on ordinary differential equations.<ref>{{#cite:Q1577}}</ref><ref>{{#cite:Q1576}}</ref>


== References ==
== References ==

Latest revision as of 13:35, 5 September 2026

A power series is an infinite sum with the general form

\sum_{n=0}^{\infty}a_{n}(x-c)^{n}=a_{0}+a_{1}(x-c)+a_{2}(x-c)^{2}+\cdots

The numbers $a_0$, $a_1$, $a_2$, … are constants, known as the coefficients, and $c$, also a constant, is known as the centre of the series.

The simplest form: The geometric series

The simplest power series to study is the one in which every coefficient is 1 and the centre is 0:

$$1 + x + x^2 + x^3 + \cdots$$

As seen, each term multiplies the previous one by $x$. This is known as a geometric series.

For a geometric series, we can calculate the partial sum of the first $N + 1$ terms, $S_N = 1 + x + x^2 + \cdots + x^N$:

Multiply both sides of this equation by $(1 - x)$ and eliminate the brackets:

$$(1-x)S_{N}=(1-x)(1+x+x^{2}+\cdots+x^{N})=(1+x+x^{2}+\cdots+x^{N})-(x+x^{2}+\cdots+x^{N+1})=1-x^{N+1}$$

Dividing both sides again by $(1 - x)$, we therefore have

$$S_{N}=\frac{1-x^{N+1}}{1-x}\qquad(x\neq 1)$$ (1)

When $N \to \infty$, we have

$$\sum_{n=0}^{\infty}x^{n}=\lim_{N \to \infty}S_N=\lim_{N \to \infty}\frac{1-x^{N+1}}{1-x}\qquad(x\neq 1) $$


  • When $-1 < x < 1$: the series converges. As $N$ grows, the number $x^{N+1}$ shrinks towards 0, so the partial sums approach a definite number:

$$\sum_{n=0}^{\infty}x^{n}=\frac{1}{1-x}\qquad\text{whenever }-1<x<1$$

With $x = 0.1$, for instance, the partial sums run 1; 1.1; 1.11; 1.111; …, settling on 1.111…, and indeed $1/(1 - 0.1) = 1/0.9 = 10/9 = 1.111\ldots$

  • When $x = 1$: the series diverges. Notice (1) breaks down here, because $1 - x = 0$ and we cannot divide by 0. The sum is, however, easy to calculate: every term equals 1, so $\lim_{N \to \infty} S_N = \lim_{N \to \infty} (N + 1) = \infty$
  • Case $x = -1$: the series diverges by oscillation. The partial sums run 1, 0, 1, 0, 1, … and never settle on a single number. The formula $1/(1 - x)$ would give $1/2$ at $x = -1$, but notice that is the average of 1 and 0. The formula (1) does not guarantee convergence.
  • Case $|x| > 1$: the series diverges, as expected. When $x > 1$, the infinite sum is the sum of an infinite number of increasingly large positive numbers, which goes to infinity. When $x < -1$, the infinite sum oscillates between positive and negative infinity, as it is dominated by the last term, which may be positive or negative.

Real-world application of geometric series

If someone promises to pay you €100 each year until the end of your life on earth, with the first payment made today, how much is that promise worth?

On first thought, this promise is worth quite a lot of money, especially if you count on living for decades more. However, you must take into account inflation, which in Europe averages out to about 5% per year. The €100 paid today is worth its full €100, a payment of €100 one year from now is worth only €$100/1.05$ in today's money, and a payment in two years is worth only €$(100)/(1.05)^2$ in today's money, and so on. A payment of €100 every year, with the first payment made today, forever, is therefore worth today

$$\sum_{0}^{n \to \infty}\frac{100}{1.05^n}= \frac{100}{1-\frac{1}{1.05}}= 2100 $$

It is still a handsome sum, if you can live on forever.

Radius of convergence of a power series

In the previous section, we have seen that even the simplest power series, a geometric series, may or may not converge depending on the value of $x$. In general, for a power series centred at $c$, there is a number $R \geq 0$, called the radius of convergence, such that:

  • the series converges for every $x$ with $|x - c| < R$ (closer to the centre than $R$);
  • the series diverges for every $x$ with $|x - c| > R$.

The set $|x - c| < R$, an interval of length $2R$ centred at $c$, is called the interval of convergence of the series.

For the two boundary points where $|x - c| = R$, the convergence is uncertain and depends on specific characteristics of a given power series.

In general, consecutive terms of a power series $a_{n+1} (x - c)^{n+1}$ and $a_n (x - c)^n$ have magnitudes in the ratio $|a_{n+1}/a_n| \cdot |x - c|$. If, in the long run, this ratio stays below 1, intuitively the series behaves like a convergent geometric series; if the ratio stays above 1, terms grow larger and larger and the series diverges. Therefore we have

$$R=\lim_{n\to\infty}\left|\frac{a_{n}}{a_{n+1}}\right|\quad\text{when the limit exists}$$

A quick sanity check with geometric series: For the geometric series, every coefficient is 1, so the ratio is 1 and $R = 1$, matching the interval $-1 < x < 1$ found by direct calculation in the section above.

Two special cases exist:

  • Infinite radius, $R = \infty$: the series converges for every $x$. The exponential and sine series in the next section are the standard examples.
  • Zero radius, $R = 0$: the series converges only at the centre itself. For instance the series $1 + x + 2!\,x^2 + 3!\,x^3 + \cdots$ (whose coefficient of $x^n$ is $n!$) has $|a_n/a_{n+1}| = n!/(n + 1)! = 1/(n + 1) \to 0$, so $R = 0$; for any $x \neq 0$ the terms eventually grow without bound.

The exponential and sine series

The power series can be used to approximate known functions that are difficult to calculate directly, such as $e^x$ or $\sin x$.

Imagine we would like to approximate some function $f(x)$ with a power series. We would therefore write

$$f(x)=\sum_{n=0}^{\infty}a_{n}(x-c)^{n}$$

where $c$ and $a_n$ are unknown.

Taking the $k$-th derivative of $f(x)$, we have

$$f^{(k)}(x)=\sum_{n=k}^{\infty}\frac{n!}{(n-k)!}\,a_{n}\,(x-c)^{n-k}$$

Evaluating at $x=c$, we have

$$a_{k}=\frac{f^{(k)}(c)}{k!}$$

Generalising to every $n$, we obtain

f(x)=\sum_{n=0}^{\infty}a_{n}(x-c)^{n}\qquad\Longrightarrow\qquad a_{n}=\frac{f^{(n)}(c)}{n!} (2)

The exponential series

The exponential function $e^x$ has defining properties $\frac{d e^x}{dx}=e^x$ and $e^0 = 1$. Consequently, choosing $c=0$ we have

$$f^{(n)}(0) = 1$$

for every $n$. From (2) we have $a_n = 1/n!$, so

e^{x}=\sum_{n=0}^{\infty}\frac{x^{n}}{n!}=1+x+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+\frac{x^{4}}{4!}+\cdots

Intuitively, the factorial $n! = 1\cdot 2\cdot 3\cdot\cdots\cdot n$ in the denominator grows much faster than any power function towards infinity, so the terms shrink and the series should converge for every $x$.

Applying the ratio test confirms $R = \infty$:

$$R=\lim_{n\to\infty}\left|\frac{a_{n}}{a_{n+1}}\right|=\lim_{n\to\infty}\frac{(n+1)!}{n!}=\lim_{n\to\infty}(n+1)=\infty$$

A quick sanity check: setting $x = 1$ in the series gives the number $e$ itself: $e = 1 + 1 + 1/2 + 1/6 + 1/24 + \cdots = 2.718\,281\,828\ldots$

The sine series

Again choosing $c=0$:

\sin x=x-\frac{x^{3}}{3!}+\frac{x^{5}}{5!}-\frac{x^{7}}{7!}+\frac{x^{9}}{9!}-\cdots

Apply once again the ratio test:

$$\lim_{k \to \infty} \frac{\frac{x^{2k+1}}{(2k+1)!}}{\frac{x^{2k+3}}{(2k+3)!}}=\lim_{k \to \infty}\frac{(2k+2)(2k+3)}{x^{2}}= \infty$$

which means the series converges as expected, to $\sin x$.

The binomial series

One more family of power series is useful enough to know by name. For any fixed exponent $p$,

(1+x)^{p}=1+px+\frac{p(p-1)}{2!}x^{2}+\frac{p(p-1)(p-2)}{3!}x^{3}+\cdots\qquad(-1<x<1)

Power series solutions of differential equations

A further application of power series is to solve differential equations whose coefficients vary with $x$. Such equations rarely have solutions built from a finite combination of familiar functions, but a solution can sometimes be written down as a power series. Substituting the series into the equation and equating the coefficients of like powers of $x$ turns the differential equation into recurrence relations that fix the coefficients one after another; the constants left free by the recurrence are exactly the arbitrary constants of the equation, and the resulting series solves the equation exactly on its interval of convergence.[1][2]

Case 1: expanding about an ordinary point, the Airy equation

The Airy equation

$$y^{\prime\prime} - xy = 0$$ (3)

is named after George Biddell Airy, who employed it in 1838 while studying the intensity of light near a caustic. Its solutions cannot be written as finite combinations of elementary functions, so it is the standard test case for series methods.

Setting

$$y=C\sum_{n=0}^{\infty}a_{n}x^{n}$$

where $a_n$ are unknown coefficients. We have therefore

$$\quad\Rightarrow\quad y^{\prime\prime}=C\sum_{n=0}^{\infty}(n+2)(n+1)\,a_{n+2}\,x^{n},\qquad xy=C\sum_{n=1}^{\infty}a_{n-1}\,x^{n}$$

Substituting these two expressions back into (3) and collecting terms, noting that the equality must hold for every value of $x$, gives

$$\quad a_{2}=0,\qquad (n+2)(n+1)\,a_{n+2}=a_{n-1}\qquad(n\geq 1)$$

We can thereby express all the coefficients in terms of $a_0$ and $a_1$:

$$a_3 = a_0/(3\cdot 2) = a_0/6, \qquad a_6 = a_3/(6\cdot 5) = a_0/180,$$

$$a_4 = a_1/(4\cdot 3) = a_1/12, \qquad a_7 = a_4/(7\cdot 6) = a_1/504,$$

$$a_5 = a_2/(5\cdot 4) = 0, \qquad a_8 = a_5/(8\cdot 7) = 0,$$

The solution is therefore:

$$y=C (a_{0}\left(1+\frac{x^{3}}{6}+\frac{x^{6}}{180}+\cdots\right)+a_{1}\left(x+\frac{x^{4}}{12}+\frac{x^{7}}{504}+\cdots\right))$$

The ratio test gives $R = \infty$, so each series converges for every $x$. Setting $C_1 = Ca_0$ and $C_2 = Ca_1$, and denoting the two bracketed series by $A(x)$ and $B(x)$, we arrive at the well-known form

y''-xy=0\qquad\Longrightarrow\qquad y=C_{1}\operatorname{Ai}(x)+C_{2}\operatorname{Bi}(x)

References

  1. ↑ Tenenbaum, M. (1985). Ordinary Differential Equations (Book). In Ordinary Differential Equations (Book). Dover Publications.
  2. ↑ Boyce, W. E. (2012). Elementary Differential Equations and Boundary Value Problems (Book). In Elementary Differential Equations and Boundary Value Problems (Book). John Wiley & Sons.

Further reading