Power series: Difference between revisions

From Wikibase
Jump to navigation Jump to search
quote-guard deployed (SimpleMathJax internal-parse patch): revert the y^{\prime\prime} workaround to natural TeX primes $y''$ — '' inside math now survives wikitext emphasis parsing. AI-assisted (RonzzWikiCowriter).
Tag: Manual revert
No edit summary
Line 5: Line 5:
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 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 geometric 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:
The simplest power series to study is the one in which every coefficient is 1 and the centre is 0:
Line 11: Line 11:
$$1 + x + x^2 + x^3 + \cdots$$
$$1 + x + x^2 + x^3 + \cdots$$


As seen, each term multiplies the previous one by $x$. This is known as the '''geometric series'''.
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$:
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$:
Line 17: Line 17:
Multiply both sides of this equation by $(1 - x)$ and eliminate the brackets:
Multiply both sides of this equation by $(1 - x)$ and eliminate the brackets:


$$(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)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}$$


Redivide both sides by $(1 - x)$; we have therefore
Redivide both sides by $(1 - x)$; we have therefore


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


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.
When $N \to \infty$, we have


* '''Case $-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}=\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$$
$$\sum_{n=0}^{\infty}x^{n}=\frac{1}{1-x}\qquad\text{whenever }-1<x<1$$
Line 31: Line 34:
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$
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$


* '''Case $x = 1$: the series diverges.''' Every term equals 1, so $S_N = N + 1$ grows without bound; the sum $1 + 1 + 1 + \cdots$ has no finite value. The formula above cannot be used here, because it divides both sides by $1 - x = 0$.
* '''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 by oscillation.''' The partial sums run 1, 0, 1, 0, 1, … and never settle on a single number, so $1 - 1 + 1 - 1 + \cdots$ 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.
* '''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.''' 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_N = 2^{N+1} - 1$.
=== Real-world application of geometric series ===


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.
If someone promises to pay you €100 each year until the end of your life on earth, how much that promise is worth?


'''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)^2$, and so on. A fund that pays £10 every year, forever, with the first payment in one year, is therefore worth today
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. 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, forever, is therefore worth today


$$10/1.05 + 10/(1.05)^2 + 10/(1.05)^3 + \cdots = 10r\,(1 + r + r^2 + \cdots),$$
$$\sum_{0}^{n \to \infty}\frac{100}{1.05^n}= 2100 $$


where $r = 1/1.05 = 0.952\,381\ldots$, 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 \times 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.
It is still a handsome sum, if you can live on forever.


== Radius of convergence ==
== Radius of convergence of a power series ==


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 \geq 0$, called the '''radius of convergence''', such that:
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 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 diverges for every $x$ with $|x - c| > R$.


The set $|x - c| < R$ is an interval of length $2R$ 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).
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.


Where does the radius come from? Compare the size of each term with the one before it. Consecutive terms of $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, 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
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}$$
$$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 $\infty$, 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 = \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.
* '''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.
Line 68: Line 74:
== The exponential and sine series ==
== The exponential and sine series ==


How does one find the power series of a known function such as $e^x$ or $\sin x$? Suppose $f$ can be written as a power series centred at $c$, with coefficients $a_n$. 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)^n$ 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$.
 
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.


{{#content:Q1688}}
Taking the nth derivative of $f(x)$, we have


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^{(k)}(x)=\sum_{n=k}^{\infty}\frac{a_{n}(x-c)^{n-k}}{\frac{n!}{(n-k)!}}$$
 
Evaluating at $x=c$, we have
 
$$a_{k}=\frac{f^{(k)}(c)}{k!}$$
 
Generalise to all possible $n$
 
{{#content:Q1688}} (2)


=== The exponential series ===
=== The exponential series ===


The exponential function $e^x$ has the defining property that its derivative equals itself, and $e^0 = 1$. Consequently all its derivatives at 0 equal 1: $f^{(n)}(0) = 1$ for every $n$. The coefficient formula above then gives $a_n = 1/n!$, so
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


{{#content:Q1684}}
$$f^{(n)}(0) = 1$$


The factorial $n! = 1\cdot 2\cdot 3\cdot\cdots\cdot 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 = \infty$:
for every $n$. From (2) we have $a_n = 1/n!$, so


$$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$$
{{#content:Q1684}}


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$
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 converges for every $x$.  


'''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^{0.05}$. The series computes this number with arithmetic alone; taking $x = 0.05$:
Applying the ratio test confirms $R = \infty$:


{| class="wikitable"
$$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$$
|+ Partial sums of $e^{0.05}$, 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%.
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 ===
=== The sine series ===


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:
Again choosing $c=0$:


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


The sine series also converges for every $x$: each new term is the previous one multiplied by $x^2$ and divided by two ever-larger factors, so the multiplier tends to 0 no matter how large $x$ is:
Apply once again the ratio test:


$$\frac{x^{2k+3}/(2k+3)!}{x^{2k+1}/(2k+1)!}=\frac{x^{2}}{(2k+2)(2k+3)}\to 0\qquad\text{as }k\to\infty$$
$$\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$$


'''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,
Which means again, the series converges as expected: to $sin(x)$.
 
{| class="wikitable"
|+ 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 binomial series ==
== The binomial series ==
Line 141: Line 131:


Two cases behave differently and should not be confused:
Two cases behave differently and should not be confused:
* '''$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)^2 = 1 + 2x + x^2$.
* '''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)^{-1} = 1 - x + x^2 - x^3 + \cdots$.
'''Numeric example: a square root from arithmetic.''' Put $p = 1/2$, so that $(1 + x)^{1/2}$ is just $\sqrt{1 + x}$:
$$(1+x)^{1/2}=1+\frac{x}{2}-\frac{x^{2}}{8}+\frac{x^{3}}{16}-\frac{5x^{4}}{128}+\frac{7x^{5}}{256}-\cdots$$
Take $x = 0.1$. Then $\sqrt{1.1} = 1 + 0.05 - 0.00125 + 0.000\,0625 - 0.000\,0039 + \cdots = 1.048\,8086\ldots$, whereas $\sqrt{1.1} = 1.048\,8088\ldots$; the first few terms already give six correct decimal places. A pendulum of length $L$ swings with period $2\pi\sqrt{L/g}$, where $g$ is the acceleration of gravity, so lengthening a pendulum by 10% multiplies its period by $\sqrt{1.1} \approx 1.0488$: each swing takes about 4.9% longer.


== 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 140:
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 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


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.
$$y=C\sum_{n=0}^{\infty}a_{n}x^{n}$$


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_0 + a_1 x + a_2 x^2 + \cdots$, where the $a_n$ are unknown constants. Differentiate term by term: $y' = a_1 + 2a_2 x + 3a_3 x^2 + \cdots$ and $y'' = 2a_2 + 6a_3 x + 12a_4 x^2 + \cdots$, so each derivative of $x^n$ 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
where $a_n$ are unknown coefficients. We have therefore


$$y=\sum_{n=0}^{\infty}a_{n}x^{n}\quad\Rightarrow\quad y''=\sum_{n=0}^{\infty}(n+2)(n+1)\,a_{n+2}\,x^{n},\qquad xy=\sum_{n=1}^{\infty}a_{n-1}\,x^{n}$$
$$\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 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\cdot 1\cdot a_2 = 0$, so $a_2 = 0$, and comparing the coefficient of $x^n$ for $n \geq 1$ gives the recurrence
Substituting these two expressions back into (3) and collecting terms, noting the equality must hold for every value of $x$


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


Each new coefficient is fixed by the one three places earlier. Writing the recurrence out, starting at $n = 1, 2, 3, \ldots$:
We can there by 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_3 = a_0/(3\cdot 2) = a_0/6, \qquad a_6 = a_3/(6\cdot 5) = a_0/180,$$
Line 179: Line 164:
$$a_5 = a_2/(5\cdot 4) = 0, \qquad a_8 = a_5/(8\cdot 7) = 0,$$
$$a_5 = a_2/(5\cdot 4) = 0, \qquad a_8 = a_5/(8\cdot 7) = 0,$$


and so on. The coefficients split into three chains: those with indices divisible by 3 are fixed by $a_0$, those one more than a multiple of 3 are fixed by $a_1$, and those two more than a multiple of 3 are all zero (they start from $a_2 = 0$). The two free constants $a_0$ and $a_1$, the arbitrary constants expected of a second-order equation, generate two independent solutions:
The solution is therefore:  


$$y=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)$$
$$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))$$


Each series converges for every $x$ (the denominators grow like factorials, so the ratio test gives $R = \infty$). Up to normalisation these two solutions are the Airy functions Ai and Bi:
The ratio test gives $R = \infty$. Therefore each series converges for every $x$. Setting $C_1=Ca_0$, C_2=Ca_1$, and $A_i=1+\frac{x^{3}}{6}+\frac{x^{6}}{180}+\cdot, B_i=x+\frac{x^{4}}{12}+\frac{x^{7}}{504}+\cdots$ we arrive at the well-known form


{{#content:Q1609}}
{{#content:Q1609}}
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.
=== Case 2: expanding about a singular point, the Frobenius method ===
Write a linear second-order equation in the form $y'' + p(x)y' + q(x)y = 0$. A point $x_0$ is ordinary when both $p$ and $q$ can be expanded in power series about $x_0$; the direct method of Case 1 applies there. If at least one of $p$ or $q$ cannot, typically because it divides by $x - x_0$, the point is singular. The point is a regular singular point when $(x - x_0)\,p(x)$ and $(x - x_0)^2 q(x)$ do have power series expansions about $x_0$.
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^r (a_0 + a_1 x + \cdots)$. 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 $\nu$,
{{#content:Q1670}}
the indicial equation is $r^2 - \nu^2 = 0$, with roots $r = \pm\nu$. When $\nu$ is not a whole number the two roots give two independent series solutions, the Bessel functions of the first kind, $J_\nu$ and $J_{-\nu}$. When the roots coincide or differ by a whole number, the second independent solution acquires a logarithmic term; for $\nu$ a whole number this second solution is the Bessel function of the second kind $Y_\nu$. 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 ==

Revision as of 13:11, 5 September 2026

Languages: English · français · Esperanto

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}$$

Redivide both sides by $(1 - x)$; we have therefore

$$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, how much that promise is 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. 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, forever, is therefore worth today

$$\sum_{0}^{n \to \infty}\frac{100}{1.05^n}= 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 nth derivative of $f(x)$, we have

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

Evaluating at $x=c$, we have

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

Generalise to all possible $n$

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 converges 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 again, 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)

Two cases behave differently and should not be confused:

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 the equality must hold for every value of $x$

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

We can there by 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$. Therefore each series converges for every $x$. Setting $C_1=Ca_0$, C_2=Ca_1$, and $A_i=1+\frac{x^{3}}{6}+\frac{x^{6}}{180}+\cdot, B_i=x+\frac{x^{4}}{12}+\frac{x^{7}}{504}+\cdots$ 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