Why a Differential Equation Can Verify a Series
A proposed Taylor series is not established as a formula for a function merely because its coefficients resemble familiar derivatives. Two separate facts are needed: the series must converge where it is used, and its sum must actually be the function in question. Differential equations offer a systematic way to verify both the proposed coefficients and the identity of the sum.
The exponential, sine, and cosine functions are characterized by simple differential equations together with values at zero. We will construct power series that satisfy those equations and initial values. A uniqueness argument then shows that the sums of the series are the corresponding functions.
The Candidate Series and Their Convergence
Consider the following three power series, defined for real \(x\):
Here \(n!\) denotes the factorial, with \(0!=1\). Before differentiating, we check that these series converge for every real \(x\). For \(E\), the ratio of the absolute values of consecutive terms, when \(x\ne 0\), is
For the sine and cosine series, the corresponding ratios of consecutive absolute values are, respectively,
Each ratio tends to zero as \(n\) tends to infinity. The ratio test therefore gives absolute convergence for every real \(x\); all three power series have infinite radius of convergence. A power series can be differentiated term by term at every point strictly inside its radius of convergence, and the differentiated series has the same radius. Thus these series may be differentiated term by term for every real \(x\).
Worked Example: Deriving the Exponential Coefficients
Worked Example: Deriving the Exponential Coefficients
Suppose a power series \(Y(x)=\sum_{n=0}^{\infty}a_nx^n\) is to satisfy \(Y'=Y\) and \(Y(0)=1\). Differentiating term by term gives
The initial value gives \(a_0=1\). Matching the coefficient of \(x^n\) in \(Y'=Y\) gives \((n+1)a_{n+1}=a_n\), so \(a_{n+1}=a_n/(n+1)\). The first coefficients are
Continuing the recurrence gives \(a_n=1/n!\). Hence the candidate series is \(E(x)=\sum_{n=0}^{\infty}x^n/n!\). Its initial value is \(E(0)=1\). Differentiating and reindexing verifies the equation:
For the final equality, the index change is \(k=n-1\). Thus the series satisfies both required conditions. The uniqueness argument below will identify its sum with \(e^x\).
Worked Example: Deriving the Sine and Cosine Coefficients
Worked Example: Deriving the Sine and Cosine Coefficients
Seek two power series \(U(x)=\sum_{n=0}^{\infty}a_nx^n\) and \(V(x)=\sum_{n=0}^{\infty}b_nx^n\) satisfying \(U'=V\), \(V'=-U\), \(U(0)=0\), and \(V(0)=1\). The initial values set \(a_0=0\) and \(b_0=1\). Differentiating and matching coefficients gives
Applying these recurrences step by step yields
Continuing gives nonzero coefficients \(a_{2n+1}=(-1)^n/(2n+1)!\) and \(b_{2n}=(-1)^n/(2n)!\); the other coefficients vanish. These are exactly the coefficients in \(S\) and \(C\). Directly differentiating their convergent series checks the equations:
Also \(S(0)=0\) and \(C(0)=1\), since their constant terms are \(0\) and \(1\), respectively. The coupled series therefore satisfy the required equations and initial values.
Why the Differential Equations Identify the Functions
Having verified the equations, we still need to show that their solutions are unique. For the exponential, the standard function \(e^x\) satisfies \((e^x)'=e^x\) and \(e^0=1\). Suppose \(Y\) is any differentiable function satisfying \(Y'=Y\) and \(Y(0)=1\). The product rule gives
A differentiable function whose derivative is zero on an interval is constant there. Since \(e^0Y(0)=1\), this constant is \(1\), so \(e^{-x}Y(x)=1\) and \(Y(x)=e^x\). In particular, the series sum \(E\) equals \(e^x\).
For sine and cosine, use the standard derivative relations \((\sin x)'=\cos x\) and \((\cos x)'=-\sin x\), with \(\sin 0=0\) and \(\cos 0=1\). Suppose \(U'=V\), \(V'=-U\), \(U(0)=0\), and \(V(0)=1\). Define the differences \(p=U-\sin\) and \(q=V-\cos\). Then \(p'=q\), \(q'=-p\), and \(p(0)=q(0)=0\). Consequently,
The sum \(p^2+q^2\) is constant and has value zero at \(x=0\). Since squares are nonnegative, \(p(x)^2+q(x)^2=0\) implies \(p(x)=q(x)=0\). Thus \(U=\sin\) and \(V=\cos\). Applying this to the series sums \(S\) and \(C\) proves their identities with sine and cosine.
Worked Example: Proving a Trigonometric Identity from the Series
Worked Example: Proving a Trigonometric Identity from the Series
Since \(S=\sin\) and \(C=\cos\), consider \(F(x)=S(x)^2+C(x)^2\). Using the verified differential equations \(S'=C\) and \(C'=-S\), the product rule gives
Therefore \(F\) is constant. Its value at zero is
Hence \(S(x)^2+C(x)^2=1\) for every real \(x\), and the established identities \(S=\sin\), \(C=\cos\) give \(\sin^2x+\cos^2x=1\). This check uses the differential equations and initial values; it does not require multiplying two infinite series.
A Common Indexing Pitfall
When differentiating the exponential series, a common error is to forget the factor produced by the power rule. The incorrect calculation
omits the factor \(n\). For example, the coefficient of \(x\) in the incorrect derivative is \(1/2\), whereas differentiating the \(x^2/2!\) term correctly gives \(x\), with coefficient \(1\). The correct calculation includes \(n\) and then reindexes:
There is also a broader logical pitfall: matching a few coefficients, or observing that a function has specified derivatives at zero, is not by itself a proof that a series equals that function. Here convergence licenses differentiation, and uniqueness of the differential equations supplies the equality.
Why This Method Matters
Power-series coefficients can be difficult to guess by repeatedly calculating derivatives. Differential equations turn the problem into coefficient recurrences, and initial values fix the starting coefficients. This is especially effective when the function has a simple derivative relation, as \(e^x\), \(\sin x\), and \(\cos x\) do.
The method also clarifies the roles of the different steps. A recurrence proposes and determines the coefficients. Convergence ensures the series defines a function and permits termwise differentiation. The differential equation and initial values then identify that function. Leaving out any of these steps weakens the argument: a formal coefficient pattern alone does not establish a represented function.
Check Your Understanding
Use the differential equations, coefficient recurrences, and convergence facts developed above to answer these questions.
- What recurrence for \(a_n\) follows from \(Y'=Y\) when \(Y(x)=\sum_{n=0}^{\infty}a_nx^n\)?
- Why is termwise differentiation valid for each of the three candidate series at every real \(x\)?
- How do the initial values determine the first coefficients in the coupled sine-and-cosine recurrences?
- Why does the identity \(\frac{d}{dx}(e^{-x}Y(x))=0\), together with \(Y(0)=1\), imply \(Y=e^x\)?
- How do the differential equations and initial values prove \(S(x)^2+C(x)^2=1\)?