Sequences, Infinite Series, and Taylor ModelsIntroduction and contextEngineering models often replace a physical process with a sequence of numerical approximations. A controller may update an estimate at discrete sampling instants; a numerical solver may generate successive iterates; and a nonlinear function such as sin θ, eˣ, or ln(1 + x) may be replaced by a polynomial that is easier to evaluate in real time. The mathematical language for these ideas is the theory of sequences, infinite series, and Taylor models. A sequence is an ordered list of numbers indexed by an integer. A series is the sum of the terms of a sequence. Convergence determines whether an approximation approaches a finite, meaningful value. Taylor and Maclaurin series provide systematic polynomial representations of differentiable functions, while remainder estimates quantify the error introduced by truncation. In mechatronics, these ideas support numerical algorithms, sensor calibration, motion planning, system identification, embedded computation, and local linearization of nonlinear models. Learning objectivesBy the end of this chapter, you should be able to: - distinguish sequences from series and determine sequence limits;
- apply the term, comparison, limit-comparison, ratio, root, integral, and alternating-series tests;
- distinguish absolute from conditional convergence;
- determine the radius and interval of convergence of a power series;
- construct Taylor and Maclaurin polynomials and series;
- estimate truncation error using Taylor's theorem;
- select a suitable polynomial approximation for an engineering calculation;
- recognize the limitations of local polynomial models.
1. Sequences and their limitsA sequence is a function whose domain is usually the positive integers. It is written a₁, a₂, a₃, …, aₙ, … where aₙ is the nth term. For example, an = 1/n gives the sequence 1, 1/2, 1/3, …. A sequence may be defined explicitly, recursively, or by an engineering algorithm. A sequence {an} converges to L if its terms become arbitrarily close to L as n increases. Formally, for every ε > 0, there exists an integer N such that |aₙ − L| < ε whenever n ≥ N. Here ε is a prescribed tolerance, and N may depend on ε. We write limn→∞ an = L. If no finite L exists, the sequence diverges. 1.1 Common methods for finding limitsFor rational functions of n, divide numerator and denominator by the highest power of n. For example, limn→∞ (3n² − 1)/(n² + 4n) = 3. A sequence of the form rn converges to 0 when |r| < 1, diverges when |r| > 1, and is constant or oscillatory in special cases. Thus (−1)n does not converge because it alternates between −1 and 1. The squeeze theorem is useful when a sequence is bounded between two sequences with the same limit. If bn ≤ an ≤ cn and both bn and cn tend to L, then an also tends to L. A sequence is increasing if an+1 ≥ an and decreasing if an+1 ≤ an. It is bounded above if there is a number M such that an ≤ M for all n, and bounded below if an ≥ m. The monotone convergence theorem states that every increasing sequence bounded above, or decreasing sequence bounded below, converges. Worked example 1: a recursive sequenceConsider a1 = 1 and an+1 = (an + 2)/2. The first terms are 1, 1.5, 1.75, and 1.875. The sequence is increasing and bounded above by 2: if an < 2, then an+1 < 2. Therefore it converges. Let its limit be L. Taking limits on both sides gives L = (L + 2)/2, so 2L = L + 2 and L = 2. This iteration is an example of a numerical process converging to a fixed point. 2. Infinite seriesGiven a sequence {an}, the associated infinite series is ∑n=1^∞ an = a₁ + a₂ + a₃ + …. Its meaning is defined through partial sums: SN = ∑n=1N an. The series converges to S if limN→∞ SN = S. Otherwise it diverges. The terms of a convergent series must satisfy the necessary condition limn→∞ an = 0. This condition is not sufficient: the harmonic series ∑n=1^∞ 1/n diverges even though its terms approach zero. 2.1 Geometric seriesFor a first term a and common ratio r, ∑n=0^∞ arn = a/(1 − r), |r| < 1. The condition |r| < 1 is essential. If |r| ≥ 1, the series does not converge. The finite partial sum, for r ≠ 1, is SN = a(1 − rN+1)/(1 − r). The remainder after N + 1 terms is RN = arN+1/(1 − r), provided |r| < 1. 2.2 p-seriesThe p-series is ∑n=1^∞ 1/np. It converges if and only if p > 1. It diverges for p ≤ 1. This result is a principal benchmark for comparison tests. 3. Convergence testsNo single test is best for every series. The form of the term should guide the choice. 3.1 Comparison testSuppose 0 ≤ aₙ ≤ bₙ for sufficiently large n. If ∑ bn converges, then ∑ an converges. If 0 ≤ bₙ ≤ aₙ and ∑ bn diverges, then ∑ an diverges. 3.2 Limit-comparison testFor positive terms, if limn→∞ aₙ/bₙ = c, where 0 < c < ∞, then ∑ an and ∑ bn either both converge or both diverge. Rational expressions in n are often compared with a p-series by retaining their highest powers. 3.3 Integral testIf f(x) is continuous, positive, and decreasing for x ≥ 1, and an = f(n), then ∑ an and ∫1^∞ f(x) dx have the same convergence behavior. If the series converges, the remainder after N terms satisfies ∫N+1^∞ f(x) dx ≤ RN ≤ ∫N^∞ f(x) dx. 3.4 Ratio testFor a series with nonzero terms, define L = limn→∞ |an+1/an|. If L < 1, the series converges absolutely. If L > 1, or if the limit is infinite, it diverges. If L = 1, the test is inconclusive. Factorials and powers commonly indicate the ratio test. 3.5 Root testDefine L = limn→∞ ⁿ√|an|. The same conclusions apply: L < 1 gives absolute convergence, L > 1 gives divergence, and L = 1 is inconclusive. The root test is especially effective when the nth term contains an nth power. 3.6 Alternating-series testA series of the form ∑n=1^∞ (−1)n−1bn converges if bₙ ≥ 0, bₙ is eventually decreasing, and limn→∞ bn = 0. Its remainder after N terms satisfies |RN| ≤ bN+1. This is convergence, but not necessarily absolute convergence. For example, the alternating harmonic series converges, whereas the harmonic series of absolute values diverges. 3.7 Absolute and conditional convergenceA series ∑ an converges absolutely if ∑ |an| converges. Absolute convergence implies ordinary convergence. A series that converges but whose absolute-value series diverges is conditionally convergent. Rearranging terms is safe for absolutely convergent series. For conditionally convergent series, rearrangement can change the sum or destroy convergence. This matters in numerical computation because careless reordering and rounding can produce different results. Worked example 2: selecting a testDetermine the behavior of ∑n=1^∞ (3n + 1)/(n³ + 2). Compare it with 1/n². The limit comparison is limn→∞ [(3n + 1)/(n³ + 2)]/(1/n²) = limn→∞ (3n³ + n)/(n³ + 2) = 3. Since the limit is positive and finite, the given series has the same behavior as ∑ 1/n², which converges. Therefore the given series converges. 4. Power seriesA power series centered at c has the form ∑n=0^∞ an(x − c)n. The coefficients aₙ are constants and x is the independent variable. There is a radius R, possibly 0 or ∞, such that the series converges absolutely when |x − c| < R, diverges when |x − c| > R, and must be tested separately at the endpoints x = c ± R. For a power series, the ratio test commonly gives R = limn→∞ |an/an+1|, when this limit exists. The interval of convergence is obtained only after checking both endpoints. Worked example 3: interval of convergenceFind the interval of convergence of ∑n=1^∞ (x − 2)n/n. Using the ratio test on absolute values, |an+1/an| = |x − 2|·n/(n + 1) → |x − 2|. Thus convergence occurs when |x − 2| < 1, giving 1 < x < 3. At x = 1, the series becomes ∑(−1)n/n, which converges by the alternating-series test. At x = 3, it becomes ∑1/n, which diverges. Therefore the interval is [1,3). Within its interval of convergence, a power series may be differentiated or integrated term by term. The resulting series has the same radius of convergence, although endpoint behavior may change. 5. Taylor and Maclaurin seriesIf a function f has derivatives of all required orders near x = c, its Taylor polynomial of degree n about c is Tn(x) = ∑k=0n [f(k)(c)/k!](x − c)k. Here f⁽ᵏ⁾(c) is the kth derivative evaluated at c, k! is the factorial of k, and (x − c) is the displacement from the expansion point. The corresponding Taylor series is ∑k=0^∞ [f(k)(c)/k!](x − c)k. The Maclaurin series is the special case c = 0: f(x) = ∑k=0^∞ [f(k)(0)/k!]xk, provided the series converges to f(x) on the stated domain. Important standard series include: | Function | Maclaurin series | Convergence condition |
|---|
| eˣ | ∑n=0^∞ xn/n! | all real x | | sin x | ∑n=0^∞ (−1)n x2n+1/(2n+1)! | all real x | | cos x | ∑n=0^∞ (−1)n x2n/(2n)! | all real x | | 1/(1−x) | ∑n=0^∞ xn | | | ln(1+x) | ∑n=1^∞ (−1)n−1xn/n | −1 < x ≤ 1, with endpoint interpretation |
Angles in trigonometric series must be measured in radians. If θ is supplied in degrees, convert using θrad = θdegπ/180. 5.1 Constructing a series from a known seriesKnown series can be differentiated, integrated, shifted, or multiplied by constants within their valid domains. For example, integrating the geometric series gives ∫₀ˣ 1/(1−t) dt = ∫₀ˣ ∑n=0^∞ tn dt, so −ln(1−x) = ∑n=1^∞ xn/n, |x| < 1. Substitution then produces series for related functions, but the resulting convergence domain must still be checked. 6. Error bounds and polynomial approximationA Taylor polynomial is finite and therefore computationally useful, but it introduces truncation error Rn(x) = f(x) − Tn(x). Taylor's theorem in Lagrange form states that if f has n + 1 continuous derivatives between c and x, then for some ξ between c and x, Rn(x) = [f(n+1)(ξ)/(n+1)!](x − c)n+1. If |f(n+1)(t)| ≤ M throughout the interval between c and x, then |Rn(x)| ≤ M|x − c|n+1/(n+1)!. This bound is guaranteed but may be conservative. It is valid only when the derivative bound M genuinely applies on the entire interval. For an alternating series whose term magnitudes decrease to zero, the first omitted term gives a sharper practical bound: |RN| ≤ |aN+1|. Worked example 4: approximating sin xApproximate sin(0.2) using the cubic Maclaurin polynomial and bound the error. Since x is in radians, T3(x) = x − x³/3!. At x = 0.2, T3(0.2) = 0.2 − 0.2³/6 = 0.1986667. The next term has magnitude 0.2⁵/5! = 0.00032/120 ≈ 2.667 × 10⁻⁶. Because the sine series is alternating with decreasing term magnitudes at x = 0.2, the absolute error is at most approximately 2.667 × 10⁻⁶. The approximation is therefore suitable when an error of a few parts per million is acceptable. Worked example 5: exponential approximation with a derivative boundApproximate e⁰·¹ by the degree-three Maclaurin polynomial: T3(x) = 1 + x + x²/2 + x³/6. Thus T3(0.1) = 1 + 0.1 + 0.005 + 0.0001667 = 1.1051667. For eˣ, every derivative is eˣ. On [0, 0.1], M = e⁰·¹ < 1.106. Therefore |R3(0.1)| ≤ 1.106(0.1)⁴/4! ≈ 4.61 × 10⁻⁶. The degree-three model has a guaranteed absolute error below approximately 0.00000461 on this point. 7. Taylor models in mechatronicsA Taylor model is not merely a symbolic expansion; it is an approximation used inside a larger engineering decision. Three questions should always be asked: - Around which operating point is the model constructed?
- Over what input range is the error acceptable?
- What numerical precision and computational cost are available?
For a multivariable function f(x, y), the first-order model about (x₀, y₀) is f(x,y) ≈ f(x₀,y₀) + fx(x₀,y₀)(x−x₀) + fy(x₀,y₀)(y−y₀). The partial derivatives represent local sensitivities. In vector notation, for a differentiable function f: ℝᵐ → ℝᵖ, f(x₀ + Δx) ≈ f(x₀) + Jf(x₀)Δx, where J_f is the p × m Jacobian matrix. This linearization is foundational in robot kinematics, state estimation, sensor calibration, and nonlinear control. A second-order scalar model includes curvature: f(x₀+h) ≈ f(x₀) + f′(x₀)h + f″(x₀)h²/2. The linear model is efficient but can be inaccurate far from the operating point. A polynomial of higher degree can reduce truncation error, but it may increase computation and can behave poorly outside the expansion interval. 8. Applied case: real-time actuator compensationBackgroundConsider an illustrative servo actuator whose angular sensor reports voltage V related to angle θ by the nonlinear calibration model V(θ) = 2.5 sin θ + 1.2, where θ is in radians and V is in volts. A microcontroller must evaluate the model repeatedly at small angles near θ = 0, but floating-point trigonometric evaluation is relatively expensive on the selected embedded processor. ProblemDetermine a polynomial model suitable for |θ| ≤ 0.2 rad with an absolute voltage error below 7 × 10⁻⁶ V due solely to truncating the sine series. Analysis and approachUse sin θ = θ − θ³/3! + θ⁵/5! − …. If the cubic approximation is used, the omitted sine term is bounded by θ⁵/5! because the series is alternating with decreasing terms on this interval. At the largest magnitude θ = 0.2, |R3| ≤ 0.2⁵/120 ≈ 2.667 × 10⁻⁶. Multiplication by 2.5 gives a voltage error bound |2.5R3| ≤ 6.667 × 10⁻⁶ V, which is below 7 × 10⁻⁶ V. Therefore the implemented model can be V(θ) ≈ 1.2 + 2.5(θ − θ³/6). OutcomeThe cubic model meets the stated truncation-error requirement over the specified operating range. In a real design, the engineer must also include sensor noise, coefficient quantization, round-off, temperature drift, and calibration uncertainty. The mathematical truncation bound alone does not guarantee total system accuracy. Learning points- The operating interval is as important as the polynomial degree.
- Units and angle conventions must be explicit.
- A guaranteed bound should be compared with the complete error budget.
- Validation with test data remains necessary after analytical approximation.
9. Numerical and practical limitationsCancellation and roundingSubtracting nearly equal numbers can cause loss of significant digits. Alternative series forms or range transformations may improve numerical stability. For example, evaluating a function through a mathematically equivalent but numerically stable expression can be more important than adding another Taylor term. Local validityA Taylor polynomial is centered at a point. Its accuracy generally decreases as |x − c| grows. For a wide operating range, use piecewise approximations, select a better center, or apply range reduction. Convergence is not the same as usefulnessA series may converge very slowly. The harmonic-like alternating series converges, but many terms may be required for high accuracy. Conversely, a rapidly convergent series may be computationally efficient. Engineering selection requires considering error, memory, execution time, and robustness. Floating-point implementationIn embedded systems, evaluate polynomials using Horner's method. For p(x) = a₀ + a₁x + a₂x² + … + aₙxⁿ, Horner's form is p(x) = a₀ + x(a₁ + x(a₂ + … + x aₙ)). It reduces the number of multiplications and often improves numerical behavior. Coefficients should be stored with adequate precision, and the approximation should be tested at interval endpoints and representative interior points. 10. Best-practice workflow- Identify the sequence, series, or function and its domain.
- Check the necessary term condition before applying a convergence test.
- Choose a test based on structure: comparison for algebraic decay, ratio for factorials, root for nth powers, and alternating test for sign changes.
- For power series, determine the radius first and test endpoints separately.
- State whether convergence is absolute or conditional.
- For Taylor models, specify the center, degree, input units, and valid interval.
- Derive or bound the remainder on the complete operating interval.
- Include numerical, measurement, and modeling errors in the engineering error budget.
- Validate the approximation independently, preferably with interval tests and higher-precision reference calculations.
Chapter SummarySequences describe ordered numerical processes, and their convergence concerns the limit of individual terms. Infinite series are defined through partial sums; a convergent series must have terms tending to zero, but that condition alone is insufficient. Geometric series and p-series provide fundamental benchmarks. Comparison, limit comparison, integral, ratio, root, and alternating-series tests offer complementary methods for determining convergence. A power series converges inside a radius, diverges outside it, and requires separate endpoint analysis. Taylor polynomials approximate a function using derivatives at an expansion point; Maclaurin polynomials are centered at zero. Taylor's theorem supplies a remainder expression and a practical error bound. Alternating-series estimates can be especially effective for trigonometric approximations. In mechatronics, Taylor models support local linearization, calibration, control, and embedded implementation. Their usefulness depends on operating range, computational resources, numerical stability, and the complete error budget. Convergence analysis and error estimation therefore connect mathematical theory directly to reliable engineering design. Key TermsSequence: An ordered list of numbers indexed by integers. Limit: The value approached by a sequence or function. Partial sum: The sum of the first finite number of terms of a series. Infinite series: The limiting process formed by successive partial sums. Convergence: Approach to a finite limit. Divergence: Failure to approach a finite limit. Geometric series: A series whose consecutive terms have a constant ratio. p-series: The series ∑1/np, convergent exactly when p > 1. Comparison test: A test that uses inequalities with a known positive series. Ratio test: A test based on the limit of consecutive-term magnitudes. Root test: A test based on nth roots of term magnitudes. Absolute convergence: Convergence of the series of absolute values. Conditional convergence: Convergence without absolute convergence. Power series: A series of powers of displacement from a center. Radius of convergence: The distance from the center within which a power series converges absolutely. Taylor polynomial: A finite derivative-based polynomial approximation. Maclaurin series: A Taylor series centered at zero. Remainder: The difference between a function and its finite approximation. Jacobian: The matrix of first partial derivatives of a vector-valued function. Horner's method: A nested procedure for efficient polynomial evaluation. Review QuestionsShort Answer Questions- Define convergence of a sequence using ε and N.
- State the necessary term condition for convergence of an infinite series.
- When does a p-series converge?
- What is the difference between absolute and conditional convergence?
- Why must the endpoints of a power-series interval be tested separately?
Long Answer Questions- Explain the ratio, root, comparison, and alternating-series tests, including the conditions under which each is inconclusive.
- Derive the Maclaurin series for ln(1+x) by integrating a suitable known series and state its convergence domain.
- Explain Taylor's theorem in Lagrange form and discuss how it produces an engineering error bound.
- Compare local linearization with a second-order Taylor model in a nonlinear mechatronics application.
- Discuss why convergence alone does not guarantee that a series is computationally efficient or numerically stable.
Analytical / Application Questions- Determine the convergence behavior of ∑n=1^∞ (n²+1)/(n⁴+3), identifying an appropriate comparison series.
- Find the degree-three Maclaurin approximation for ex at x = 0.2 and use Taylor's theorem to obtain a numerical error bound on [0, 0.2].
- A sensor model is y = ln(1+x) for |x| ≤ 0.1. Select a polynomial degree that guarantees an absolute truncation error below 10⁻⁵, and justify the choice with an error estimate.
Multiple Choice Questions with AnswersQuestion 1Which condition is necessary for the convergence of ∑an? A. limn→∞an=1 B. limn→∞an=0 C. Every term must be positive D. The terms must be increasing Correct Answer: B. limn→∞an=0 Question 2The series ∑n=1^∞1/np converges when: A. p < 0 B. p = 0 C. p > 1 D. 0 < p ≤ 1 Correct Answer: C. p > 1 Question 3For the ratio test, a limit L < 1 implies: A. Divergence B. Conditional convergence only C. Absolute convergence D. The test is inconclusive Correct Answer: C. Absolute convergence Question 4The interval of convergence of ∑n=1^∞(x−2)n/n is: A. (1,3) B. [1,3) C. (1,3] D. [1,3] Correct Answer: B. [1,3) Question 5The Maclaurin series is a Taylor series centered at: A. 1 B. −1 C. An arbitrary c D. 0 Correct Answer: D. 0 Question 6Using the cubic approximation sin x≈x−x3/6, the next omitted term in magnitude at x = 0.2 is approximately: A. 2.667 × 10⁻⁶ B. 3.333 × 10⁻⁴ C. 6.667 × 10⁻³ D. 2.000 × 10⁻¹ Correct Answer: A. 2.667 × 10⁻⁶ Question 7If a power series has radius of convergence R, what generally happens when |x−c|>R? A. It converges absolutely B. It diverges C. It becomes a finite polynomial D. It converges only conditionally Correct Answer: B. It diverges Question 8A conditionally convergent series is one that: A. Has all positive terms B. Diverges but has bounded terms C. Converges while its absolute-value series diverges D. Has a ratio-test limit equal to zero Correct Answer: C. Converges while its absolute-value series diverges Question 9In a first-order multivariable Taylor model, the Jacobian represents: A. Second derivatives only B. First partial derivatives arranged in a matrix C. The series remainder D. The radius of convergence Correct Answer: B. First partial derivatives arranged in a matrix Question 10For ex, a valid bound on the fourth-derivative magnitude over [0,0.1] is: A. 0 B. 1 C. At most e⁰·¹ D. At most e⁻⁰·¹ Correct Answer: C. At most e⁰·¹
|