Tutorials › Calculus II › Taylor Series for Logarithms About Positive Centers

Taylor Series Construction · Tutorial 834 of 998

Taylor Series for Logarithms About Positive Centers

Learn to build the Taylor series for the natural logarithm around any positive center and determine exactly where the series converges.

Intermediate 10 min read

What You'll Learn

  • Derive the Taylor coefficients for the natural logarithm about a positive center
  • Rewrite the expansion using the displacement from its center
  • Determine the radius of convergence from the coefficients and the singularity at zero
  • Check convergence separately at both endpoints
  • Use the series to approximate logarithm values and bound the error

Introduction

A Taylor series for \(\ln x\) need not be centered at \(1\). Choosing any center \(a>0\) gives a local power series in the displacement \(x-a\). The center determines the coefficients and, importantly, how far the series can extend before it reaches the singularity at \(x=0\).

The construction has a simple form: write \(x=a+h\), factor out \(a\), and use the series for \(\ln(1+u)\). This gives both a useful expansion and a clear way to determine its convergence.

Key idea: For \(a>0\), the Taylor series of \(\ln x\) about \(a\) is a series in \((x-a)/a\). Its radius of convergence is \(a\), the distance from the center to the singularity at zero.

Constructing the Series

For \(x>0\) and \(a>0\), factor \(x\) as \(a\) times a dimensionless quantity:

$$ x=a+(x-a) =a\left(1+\frac{x-a}{a}\right). $$

Taking logarithms gives

$$ \ln x=\ln a+\ln\left(1+\frac{x-a}{a}\right). $$

The known logarithm series is

$$ \ln(1+u)=\sum_{n=1}^{\infty}(-1)^{n+1}\frac{u^n}{n}, \qquad |u|<1. $$

Substitute \(u=(x-a)/a\). The resulting Taylor series is

$$ \ln x = \ln a+\sum_{n=1}^{\infty} (-1)^{n+1}\frac{(x-a)^n}{n a^n}, \qquad |x-a|<a. $$
Formula: For every \(a>0\), the Taylor series of \(\ln x\) about \(a\) has constant term \(\ln a\) and \(n\)th-order term \((-1)^{n+1}(x-a)^n/(n a^n)\).

The coefficients can also be checked directly from derivatives. For each integer \(n\geq 1\),

$$ \frac{d^n}{dx^n}\ln x = (-1)^{n-1}\frac{(n-1)!}{x^n}. $$

Thus the Taylor coefficient of degree \(n\) at \(a\) is the \(n\)th derivative evaluated at \(a\), divided by \(n!\):

$$ \frac{f^{(n)}(a)}{n!} = \frac{(-1)^{n-1}(n-1)!}{a^n n!} = (-1)^{n-1}\frac{1}{n a^n}. $$

Since \((-1)^{n-1}=(-1)^{n+1}\), this agrees with the coefficient in the series above.

Why the Logarithm Series Works

The construction relies on the geometric series. For \(|t|<1\), the finite geometric-sum identity gives

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

Integrate from \(0\) to \(u\), where \(|u|<1\). The integral on the left is \(\ln(1+u)\). The finite sum integrates term by term, and the remaining integral is an error term:

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

Set \(r=|u|<1\). Along the interval of integration, \(|t|\leq r\), so \(|1+t|\geq 1-r\). Therefore the absolute value of the remainder is at most

$$ \left|\int_0^u\frac{(-1)^N t^N}{1+t}\,dt\right| \leq \frac{r^{N+1}}{(N+1)(1-r)}. $$

Because \(r<1\), this bound tends to zero as \(N\) increases. The finite sums therefore approach \(\ln(1+u)\), proving the series for \(|u|<1\). Substituting \(u=(x-a)/a\) produces the expansion about \(a\).

Radius and Interval of Convergence

In the power series in \(x-a\), the coefficient of degree \(n\) is \((-1)^{n+1}/(n a^n)\). The ratio of the absolute values of consecutive terms, for a fixed displacement \(h=x-a\), tends to \(|h|/a\). Thus the series converges when \(|h|<a\) and diverges when \(|h|>a\). Its radius of convergence is \(a\).

This radius has a geometric explanation. The center \(a\) is a distance \(a\) from \(x=0\), where \(\ln x\) is singular. The series can represent the logarithm within that distance, but its behavior at the two boundary points must be tested separately. The corresponding real interval, after checking the endpoints, is \((0,2a]\).

Convergence result: The series converges absolutely for \(0<x<2a\), converges conditionally at \(x=2a\), and diverges at \(x=0\). As a Taylor series for the real-valued function \(\ln x\), it represents \(\ln x\) on \((0,2a]\).

At the right endpoint \(x=2a\), the ratio \((x-a)/a\) equals \(1\), giving

$$ \ln a+\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n} = \ln a+\ln 2 = \ln(2a). $$

The alternating harmonic series converges, but not absolutely, since the sum of the absolute values is the divergent harmonic series. At the left endpoint \(x=0\), the ratio is \(-1\), so the terms become \(-1/n\). The series diverges, consistently with the fact that \(\ln 0\) is not defined and \(\ln x\) tends to negative infinity as \(x\) approaches zero from the right.

Worked Examples

Worked Example: Expand \(\ln x\) About \(a=3\)

Set \(a=3\) in the general formula. The constant term is \(\ln 3\), and the degree-\(n\) term is \((-1)^{n+1}(x-3)^n/(n3^n)\). Hence

$$ \ln x = \ln 3+\frac{x-3}{3} -\frac{(x-3)^2}{2\cdot 3^2} +\frac{(x-3)^3}{3\cdot 3^3} -\frac{(x-3)^4}{4\cdot 3^4} +\cdots. $$

The ratio used to determine convergence has limit \(|x-3|/3\). The radius is therefore \(3\). The open interval of convergence is \(0<x<6\); the endpoint \(x=6\) adds the alternating harmonic series and converges, while \(x=0\) gives the negative harmonic series and diverges. The full interval is \((0,6]\).

As a coefficient check, the first derivative is \(1/x\), so its value at \(3\) gives the linear coefficient \(1/3\). The second derivative is \(-1/x^2\), so its value at \(3\), divided by \(2!\), gives \(-1/18\), matching the displayed quadratic term.

Worked Example: Check Both Endpoints for \(a=\tfrac12\)

For \(a=\tfrac12\), the expansion is

$$ \ln x = \ln\left(\frac12\right) +\sum_{n=1}^{\infty}(-1)^{n+1} \frac{(x-\frac12)^n}{n(\frac12)^n}. $$

The radius is \(a=\tfrac12\), so the possible endpoints are \(x=0\) and \(x=1\). At \(x=1\), the ratio \((x-a)/a\) is \(1\). The series becomes

$$ \ln\left(\frac12\right)+ \left(1-\frac12+\frac13-\frac14+\cdots\right) = -\ln 2+\ln 2 = 0 = \ln 1. $$

It converges conditionally by the alternating-series test. At \(x=0\), the ratio is \(-1\). Each summand in the infinite part is \(-1/n\), so the series diverges. The series represents \(\ln x\) on \((0,1]\), not at \(x=0\).

As a check at the center, \(x=\tfrac12\) makes every positive-degree term zero, leaving \(\ln(\tfrac12)\), as required.

Worked Example: Approximate \(\ln(\tfrac32)\) About \(a=1\)

With center \(a=1\), the constant term is \(\ln 1=0\). At \(x=\tfrac32\), the ratio \((x-a)/a\) is \(\tfrac12\). The first four terms give

$$ \ln\left(\frac32\right) = \frac12-\frac{(1/2)^2}{2} +\frac{(1/2)^3}{3} -\frac{(1/2)^4}{4}+\cdots = \frac12-\frac18+\frac1{24}-\frac1{64}+\cdots. $$

Using a common denominator of \(192\), the fourth-degree partial sum is

$$ S_4=\frac{96-24+8-3}{192}=\frac{77}{192} \approx 0.40104. $$

The terms alternate and decrease in absolute value. The alternating-series error bound is therefore at most the first omitted term:

$$ \left|\ln\left(\frac32\right)-S_4\right| \leq \frac{(1/2)^5}{5} =\frac1{160} =0.00625. $$

Thus the partial sum estimates \(\ln(\tfrac32)\) to within \(0.00625\). As a consistency check on the full series, differentiating its terms for \(|x-1|<1\) gives \(1/(1+(x-1))=1/x\), the derivative of \(\ln x\); at \(x=1\), the series equals \(0=\ln 1\).

Termwise Differentiation as a Check

Inside its radius of convergence, a power series can be differentiated term by term. Applying that rule to the logarithm series gives

$$ \frac{d}{dx}\left[ \ln a+\sum_{n=1}^{\infty} (-1)^{n+1}\frac{(x-a)^n}{n a^n} \right] = \frac1a\sum_{n=1}^{\infty} (-1)^{n+1}\left(\frac{x-a}{a}\right)^{n-1}. $$

The right side is a geometric series. For \(|x-a|<a\), its ratio has absolute value less than \(1\), so

$$ \frac1a\sum_{n=1}^{\infty} (-1)^{n+1}\left(\frac{x-a}{a}\right)^{n-1} = \frac{1/a}{1+(x-a)/a} = \frac1x. $$

This is the derivative of \(\ln x\). The series also has the correct value at \(x=a\), since all nonconstant terms vanish there and the result is \(\ln a\). These checks support the claimed expansion throughout its open interval of convergence.

A Common Endpoint Mistake

A frequent error is to take the radius \(a\) and report the interval \((0,2a)\), stopping before checking either endpoint. The radius test is decisive only for points strictly inside or strictly outside the radius; it does not decide convergence on the boundary.

For example, with \(a=1\), the right endpoint \(x=2\) gives the alternating harmonic series \(\sum_{n=1}^{\infty}(-1)^{n+1}/n\), which converges. Declaring that endpoint excluded just because \(|x-1|=1\) is incorrect. The correction is to substitute each endpoint into the series: \(x=2\) converges, whereas \(x=0\) produces \(-\sum_{n=1}^{\infty}1/n\) and diverges. The correct interval is \((0,2]\).

Why the Center Matters

The center controls both the scale of the expansion and the interval on which it represents \(\ln x\). A larger positive center moves the singularity at zero farther away and increases the radius in absolute \(x\)-units. But the relative condition remains \(|x-a|<a\), so the interval extends from zero to twice the center, with convergence at the right endpoint.

This makes the expansion useful for local approximation as well as for understanding convergence. To use it at a target value \(x\), choose a center \(a\) for which \(|x-a|/a\) is comfortably below \(1\). Then the powers decrease, and the series may provide an effective approximation. Near the boundary, convergence can be much slower; at the left boundary, the logarithm’s singularity prevents convergence altogether.

Check Your Understanding

Use the general expansion and convergence conditions to answer the following questions.

  1. Write the Taylor series for \(\ln x\) about an arbitrary center \(a>0\), and state its radius of convergence.
  2. For the series centered at \(a=4\), what is the interval of convergence, including endpoint behavior?
  3. Why does the point \(x=0\) determine the radius of convergence for an expansion centered at \(a>0\)?
  4. At the endpoint \(x=2a\), what series results, and why does it converge only conditionally?
  5. Use the first three nonzero terms of the series centered at \(1\) to approximate \(\ln(\tfrac54)\).

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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