##### Related Content

# Radius of Convergence Calculator

## Radius of Convergence Lesson

#### Lesson Contents

### What is Radius of Convergence?

**The radius of convergence of a power series is the size of the disk where the series has absolute convergence.** It can be either a positive number or infinity.

A power series is an infinite series of the form:

Where *c _{n}* is a coefficient that varies with

*n*and the series is a function of

*x*with its terms varying with the

*n*term of the series.

^{th}Now, let’s take a deeper dive into what convergence means in the context of a power series. When we add an infinite number of terms as we do with a power series, the sum of those terms will either be a finite number or infinite.

When the sum of those terms is finite, it is considered to converge absolutely. If the sum of those terms is infinite, it is considered to diverge. When we **solve the radius of convergence**, we are finding the** value of R** in

**|x – a| < R**such that

**the series converges**.

### Why do we Learn Radius of Convergence?

Compared to humans, computers are really good at certain types of calculations but have difficulties performing other types of calculations. For example, the seemingly simple *e*^{x} button commonly found on hand calculators is one that the calculator’s computer cannot easily and accurately solve directly.

**By learning how to find the radius of convergence, we can program an otherwise incapable computer to indirectly find the value of e^{x} via use of a power series.**

If we are evaluating *e*^{x} with a large exponent, a calculator’s computer has to multiply large, messy numbers by large, messy numbers many times over. Because of how computers store floating-point numbers and create round-off error, this process can take the computer very long and can give an inaccurate answer.

Luckily, the power series *f(x) = ^{xn}⁄_{n!}* represents the expression

*e*

^{x}when carried out to many terms. If we check the radius of convergence for this power series, we find that it is r = ∞ and that the interval of convergence is ∞ < x < ∞. This is great news because it means the power series will converge

*everywhere*and can be used for

*e*

^{x}with all possible input

*x*values.

By programming this routine into a computer, we enable it to quickly and accurately solve for the value of *e*^{x} with any value of x. This is just one example of a use for the radius of convergence, and there are many more applications that work behind the scenes inside computer software to help us every day!

### Calculating the Radius of Convergence of a Power Series

There are several tests we may use to solve for radius of convergence, including the ratio test and the root test. The ratio test is simple, works often, and is used by the calculator on this page so that is what we will learn about here.

**The ratio test uses a ratio of the power series and a modified n + 1 version of itself to solve for a radius of x which satisfies the convergence criteria.** The ratio test formula is given as:

Where *a _{n}* is the power series and

*a*is the power series with all terms

_{n + 1}*n*replaced with

*n + 1*.

First, we plug each version of the power series into its respective side of the fraction inside the formula. Then, we simplify the fraction when possible.

Next, we evaluate the limit as *n* approaches infinity. When we plug infinity in for each instance of *n*, we end up with an expression that may appear unsolvable. However, we may use the standard infinite limit reduction strategies such as eliminating insignificant, non-infinite terms.

Once the limit is evaluated and reduced to its simplest form, we set it in the inequality L < 1. We will now have an inequality resembling the form of ^{1}⁄_{c}×|x – a| < 1.

**The radius of convergence is equal to the constant c because moving it over to the right side such that |x – a| < c provides a radius of x values that satisfy the convergence criteria.**

## How the Calculator Works

The calculator on this page is written in three common web frontend languages: HTML, CSS, and JavaScript (JS). It also utilizes a JS-native computer algebra system (CAS) which performs some algebraic steps during the computation process. Because the calculator is powered by JS code, it runs entirely inside your browser’s built-in JS engine and provides instant solutions and steps (no page reload needed).

When you click the “calculate” button, the solving routine is called and progresses through several symbolic operations. These operations mirror the ratio test’s steps. The routine also saves the state of the limit/expression throughout the process. These “states” are used to build the solution steps which mirror that of a ratio test.

Once a final answer is calculated, it is printed in the solution box. The solution steps are printed below the answer when a user with access is logged in. If the calculator runs into an error during computation, an error message will be displayed instead of the answer and steps.