Tutorials › AP Calculus › Inverse-Tangent Maclaurin Polynomials from Known Series

Power Series and Taylor Polynomials · Tutorial 868 of 999

Inverse-Tangent Maclaurin Polynomials from Known Series

Learn to construct inverse-tangent Maclaurin polynomials, test their series at and beyond the endpoints, and use the first omitted term to control approximations.

Advanced 11 min read

What You'll Learn

  • Construct the degree-n Maclaurin polynomial for arctan(x) from its known power series.
  • Explain why the series represents arctan(x) on its full interval of convergence, including the endpoints.
  • Test convergence at x = 1, x = -1, and outside the interval.
  • Use the first omitted term to determine the sign and bound the error.
  • Approximate inverse-tangent values and justify the reported precision.

From a Geometric Series to Inverse Tangent

The inverse tangent function has a Maclaurin series with alternating signs and only odd powers. That structure makes it possible to build its Maclaurin polynomials directly and, on a useful interval, estimate how far each polynomial is from the function.

The series is closely connected to the geometric series for \(1/(1+u)\). A finite geometric identity gives a way to justify the inverse-tangent expansion and its error, including at the endpoints. Those details matter: a power series’ endpoint behavior must be checked separately from its behavior inside its radius of convergence.

Key formula: For \(-1\le x\le 1\), the inverse-tangent series is \(\arctan(x)=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots\). The endpoint terms converge conditionally; for \(|x|>1\), the series diverges.

Constructing the Maclaurin Polynomials

A Maclaurin polynomial of degree \(n\) keeps the terms of degree at most \(n\) in a function’s Maclaurin series. For the inverse tangent, the nonzero powers are \(1,3,5,\ldots\); every even-power coefficient is zero. Thus, for an integer \(n\ge 1\),

$$ P_n(x)=\sum_{k=0}^{\left\lfloor (n-1)/2\right\rfloor} \frac{(-1)^k x^{2k+1}}{2k+1}. $$

The largest power in the polynomial is the largest odd integer not exceeding \(n\). Consequently, consecutive degrees sometimes give the same polynomial: \(P_2=P_1\), \(P_4=P_3\), and so on. For degree zero, \(P_0(x)=0\).

Worked Example: Find the Degree-Six Maclaurin Polynomial

The terms have powers \(1,3,5,7,\ldots\). To keep only powers at most \(6\), include the terms with powers \(1,3,5\), but not the term with power \(7\):

$$ P_6(x)=x-\frac{x^3}{3}+\frac{x^5}{5}. $$

There is no \(x^6\) term. The actual degree of this polynomial is \(5\), although it is the Maclaurin polynomial through degree \(6\). As a quick coefficient check, differentiating gives \(P_6'(x)=1-x^2+x^4\), matching the first three terms of the geometric expansion of \(1/(1+x^2)\). The constant term is also correct because \(P_6(0)=0=\arctan(0)\).

Why the Series Represents \(\arctan(x)\)

For \(|t|<1\), the geometric series with ratio \(-t^2\) gives \(1/(1+t^2)=1-t^2+t^4-t^6+\cdots\). To justify both the resulting inverse-tangent series and its endpoints, start with the finite identity below. It holds for every real \(t\), since \(1+t^2\ne0\):

$$ \frac{1}{1+t^2} = \sum_{k=0}^{N}(-1)^k t^{2k} + \frac{(-1)^{N+1}t^{2N+2}}{1+t^2}. $$

The derivative of \(\arctan(t)\) is \(1/(1+t^2)\), and \(\arctan(0)=0\). Integrate the finite identity from \(0\) to \(x\). Integrating the finite sum requires only the power rule, and yields

$$ \arctan(x) = \sum_{k=0}^{N}\frac{(-1)^k x^{2k+1}}{2k+1} + (-1)^{N+1}\int_0^x\frac{t^{2N+2}}{1+t^2}\,dt. $$

This is an exact finite formula: the integral is the remainder after the first \(N+1\) terms. When \(|x|\le1\), its absolute value satisfies

$$ \left|\int_0^x\frac{t^{2N+2}}{1+t^2}\,dt\right| \le \int_0^{|x|}t^{2N+2}\,dt = \frac{|x|^{2N+3}}{2N+3}. $$

Here the inequality uses \(1+t^2\ge1\), and the last equality follows by integrating the power. Since \(|x|^{2N+3}/(2N+3)\) tends to zero as \(N\) increases for every \(|x|\le1\), the remainder tends to zero. Therefore the finite sums converge to \(\arctan(x)\) throughout the closed interval, endpoints included.

Theorem: For \(|x|\le1\), the sum of the inverse-tangent series is \(\arctan(x)\). After the terms through \(k=N\), the error has magnitude at most \(\frac{|x|^{2N+3}}{2N+3}\). For \(x\ne0\), its sign is the sign of the first omitted term, \(\frac{(-1)^{N+1}x^{2N+3}}{2N+3}\). At \(x=0\), the function, partial sums, and error are all zero, so the error has no sign.

Convergence at the Endpoints

At \(x=1\), the series becomes \(1-\frac13+\frac15-\frac17+\cdots\). Its term magnitudes \(1/(2k+1)\) decrease to zero, so the alternating series test guarantees convergence. The finite-integral argument above also shows that its sum is \(\arctan(1)=\pi/4\).

At \(x=-1\), each odd power changes sign, so the series is \(-1+\frac13-\frac15+\frac17-\cdots\). Its terms also alternate, with magnitudes decreasing to zero. Its sum is \(\arctan(-1)=-\pi/4\). In both cases the series is not absolutely convergent: the absolute-value series \(\sum_{k=0}^{\infty}1/(2k+1)\) diverges, since \(1/(2k+1)\ge1/(2k+2)\) and the harmonic series diverges. Thus the endpoint convergence is conditional.

Worked Example: Test the Series at the Endpoints and Outside

At \(x=1\), substituting gives

$$ 1-\frac13+\frac15-\frac17+\cdots. $$

The term magnitudes decrease to zero, so this alternating series converges; the finite-integral identity identifies its sum as \(\pi/4\). At \(x=-1\), substitution gives

$$ -1+\frac13-\frac15+\frac17-\cdots, $$

which also converges by the alternating series test, with sum \(-\pi/4\). For any fixed \(|x|>1\), the magnitude of the \(k\)th term is \(|x|^{2k+1}/(2k+1)\). The ratio of successive magnitudes is

$$ |x|^2\frac{2k+1}{2k+3}. $$

As \(k\) increases, this ratio approaches \(|x|^2>1\), so the term magnitudes do not tend to zero. The series therefore diverges outside \([-1,1]\). The full interval of convergence is \([-1,1]\), with conditional convergence at both endpoints.

Using the First Omitted Term

For \(0<|x|\le1\), the magnitudes of consecutive terms decrease. In fact, the ratio of the \((k+1)\)st term magnitude to the \(k\)th is

$$ \frac{|x|^{2k+3}/(2k+3)}{|x|^{2k+1}/(2k+1)} = |x|^2\frac{2k+1}{2k+3} \le \frac{2k+1}{2k+3} <1. $$

The ratio calculation is stated only for \(0<|x|\le1\), where its denominator is nonzero. At \(x=0\), the series and every partial sum are zero, so the error is zero. The alternating-series remainder rule now applies for \(0<|x|\le1\): the error is no larger in magnitude than the first omitted term and has the same sign as that term. The finite-integral estimate gives the same magnitude bound.

Worked Example: Approximate \(\arctan(1/2)\) with \(P_9\)

The degree-nine polynomial includes the powers \(1,3,5,7,9\):

$$ P_9(x)=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\frac{x^9}{9}. $$

Substitute \(x=1/2\), computing each term:

$$ P_9\!\left(\frac12\right) = \frac12-\frac{1}{24}+\frac{1}{160}-\frac{1}{896}+\frac{1}{4608} \approx 0.463684276. $$

The first omitted term is negative, \(-\frac{(1/2)^{11}}{11}=-\frac{1}{22528}\). Therefore the actual value is less than this polynomial value, and the error has magnitude at most

$$ \frac{1}{22528}\approx 0.000044389. $$

Thus \(\arctan(1/2)\) lies between approximately \(0.463639887\) and \(0.463684276\). Every number in that interval rounds to \(0.464\) to three decimal places, so the justified approximation is \(\arctan(1/2)\approx0.464\) to three decimal places.

A Useful Endpoint Approximation

At \(x=1\), a polynomial gives a familiar approximation to \(\pi/4\). For example, \(P_7(1)\) keeps the four terms through degree seven:

$$ P_7(1)=1-\frac13+\frac15-\frac17 =\frac{105-35+21-15}{105} =\frac{76}{105} \approx0.723810. $$

The first omitted term is \(1/9\), which is positive. Hence \(\pi/4\) is greater than \(76/105\), and the difference is at most \(1/9\). This bound is valid but not especially tight; including more terms improves the approximation and decreases the first-omitted-term bound.

Common Pitfall: Forgetting the Conditions

A ratio test calculation for term magnitudes can be mishandled at \(x=0\). For example, directly substituting zero into the ratio \[ \frac{|x|^{2k+3}/(2k+3)}{|x|^{2k+1}/(2k+1)} \] produces \(0/0\), which is undefined. It is incorrect to claim that the ratio formula applies at every \(x\) with \(|x|\le1\). The correction is to use the ratio only when \(0<|x|\le1\), as above, and handle \(x=0\) separately: every series term is zero, every partial sum is zero, and the error is zero. Similarly, the sign-of-the-first-omitted-term statement applies when \(x\ne0\); zero error has no positive or negative sign.

Another common error is to substitute \(x=1\) into a formula valid only for \(|x|<1\) and assume convergence follows automatically. Endpoint behavior must be checked. Here the alternating series test proves convergence at each endpoint, while the finite-integral argument confirms that the endpoint sums equal the corresponding inverse-tangent values.

Why These Polynomials Are Useful

The inverse-tangent Maclaurin polynomials connect a familiar function to a geometric-series pattern, while the remainder estimate turns a polynomial approximation into a controlled numerical estimate. The interval restriction is essential: these polynomials can approximate \(\arctan(x)\) through this series for \(|x|\le1\), but the series does not converge when \(|x|>1\). For inputs in the interval, the sign and size of the first omitted term provide a practical check on an approximation’s accuracy.

Check Your Understanding

Use the series and its convergence and remainder properties to answer these questions.

  1. Write the Maclaurin polynomial for \(\arctan(x)\) through degree \(8\). What is its actual degree?
  2. Does the inverse-tangent power series converge at \(x=-1\)? Is the convergence absolute or conditional?
  3. Why does the series diverge when \(x=2\)?
  4. For an approximation at \(x=1/2\) using terms through \(x^5\), identify the first omitted term and its sign.
  5. What separate conclusion applies at \(x=0\) to the series error and to the sign-of-the-first-omitted-term rule?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon