Evaluate Indefinite Integral As An Infinite Series

So, I was helping my niece with her math homework the other day. She’s in that magical phase where calculus starts to feel like some kind of ancient spell. We were staring at this integral – you know, the one with the squiggly ‘S’ – and she looked at me with those big, confused eyes and asked, “But… how do we actually find the answer?” I swear, I could almost see her brain buffering.
And it got me thinking. For a lot of us, integration is presented as this magical act where you just know the right anti-derivative, or you pull out a pre-memorized formula. But what if you don’t have a formula? What if the function looks… well, weird? Like something you’d draw with your eyes closed?
That’s where this whole idea of evaluating indefinite integrals as an infinite series comes in. It’s like saying, “Okay, I can’t directly solve this one, but I can break it down into an infinite number of tiny, manageable pieces that I can handle.” Pretty neat, right?
The Infinite Series Trick: A Different Way of Thinking
Think about it like this. Imagine you have a really complicated Lego castle. You can’t just pick it up and move it easily. But if you meticulously take it apart, brick by brick, you can then rebuild it somewhere else. An infinite series is kind of like that. We’re taking a complicated function and expressing it as an infinite sum of simpler building blocks – specifically, power series.
Now, I know what you’re thinking: “Infinite? Seriously? How is that easier?” And I hear you. It sounds a bit like saying the best way to eat an elephant is one bite at a time. But in the world of calculus, these infinite sums, these power series, are surprisingly powerful tools.
What Even Is a Power Series?
Before we get too deep, let’s quickly recap. A power series looks something like this:
$$ \sum_{n=0}^{\infty} a_n (x-c)^n = a_0 + a_1(x-c) + a_2(x-c)^2 + a_3(x-c)^3 + \dots $$
Here, a_n are coefficients, and x is our variable. The c is the center of the series. When c=0, it’s called a Maclaurin series, which is a very common flavor. The magic here is that some pretty wild and complicated functions can be represented by these relatively simple infinite polynomials.
Think of it as a Taylor series approximation, but instead of stopping at a finite number of terms (like we do for approximations), we go on forever. And when we go on forever, sometimes, just sometimes, we get the exact function back.
The Integration Step: Where the Magic Happens
Now, here’s the really cool part for our indefinite integrals. If we have a function f(x) that we can express as a power series, say:
$$ f(x) = \sum_{n=0}^{\infty} a_n x^n = a_0 + a_1 x + a_2 x^2 + a_3 x^3 + \dots $$
Then, finding the indefinite integral of f(x) is… almost embarrassingly easy. We can integrate the series term by term. Remember those simple polynomial integration rules? Like, the integral of x^n is (x^(n+1))/(n+1)? Well, they work beautifully here.
So, the integral of f(x) becomes:

$$ \int f(x) dx = \int \left( \sum_{n=0}^{\infty} a_n x^n \right) dx $$
And we can swap the integral and the summation (under certain conditions, of course, but let’s not get bogged down in the technicalities for now – we’re blogging here!):
$$ \int f(x) dx = \sum_{n=0}^{\infty} \int a_n x^n dx $$
Applying the power rule for integration to each term:
$$ \int a_n x^n dx = a_n \frac{x^{n+1}}{n+1} $$
Putting it all together, we get:
$$ \int f(x) dx = \sum_{n=0}^{\infty} a_n \frac{x^{n+1}}{n+1} + C $$
And don’t forget the constant of integration, C! It’s the infinity of possibilities, the elusive but essential part of any indefinite integral. You can’t just leave it out, or your entire mathematical universe might collapse. (Okay, maybe not collapse, but you’d be wrong.)
So, When Would You Actually Use This?
This method shines when you encounter functions for which you don’t have a readily available integration formula. Think about functions like:
- The infamous
e^(-x^2): You might know this function from probability (the Gaussian or normal distribution), but it doesn’t have an elementary anti-derivative. No standard formula will just spit it out. - Trigonometric functions with awkward exponents or combinations: Sometimes, you can get stuck with things like
sin(x^3)orcos(sqrt(x)). - Functions defined by their series: In some advanced fields, functions are defined as power series because they are easier to work with that way.
Let’s take e^x as a classic example. We know its Maclaurin series is:

$$ e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \dots $$
Now, let’s integrate this term by term:
$$ \int e^x dx = \int \left( \sum_{n=0}^{\infty} \frac{x^n}{n!} \right) dx $$
$$ = \sum_{n=0}^{\infty} \int \frac{x^n}{n!} dx $$
$$ = \sum_{n=0}^{\infty} \frac{1}{n!} \frac{x^{n+1}}{n+1} + C $$
$$ = \frac{x^1}{1} + \frac{x^2}{2 \cdot 2!} + \frac{x^3}{3 \cdot 3!} + \frac{x^4}{4 \cdot 4!} + \dots + C $$
This looks a little different from the original series for e^x, doesn’t it? But notice something: (n+1) * n! = (n+1)!. So, the series actually becomes:
$$ \sum_{n=0}^{\infty} \frac{x^{n+1}}{(n+1)!} + C $$
If we re-index this (let k = n+1), it’s essentially the series for e^x starting from the x term, plus C. And what is the integral of e^x? It’s e^x + C! See? It works!
This is a confirmation, a beautiful self-check. But the real power comes when the original function doesn't have a simple known integral.

A Little Adventure with sin(x)/x
Let’s try a slightly more adventurous function: sin(x)/x. This one is also known for not having a simple elementary integral. But we do know the power series for sin(x):
$$ \sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots = \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n+1}}{(2n+1)!} $$
So, sin(x)/x would be:
$$ \frac{\sin(x)}{x} = \frac{1}{x} \left( x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots \right) $$
$$ = 1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \frac{x^6}{7!} + \dots $$
Or, more formally:
$$ \frac{\sin(x)}{x} = \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n}}{(2n+1)!} $$
Now, let’s integrate this beautiful infinite polynomial:
$$ \int \frac{\sin(x)}{x} dx = \int \left( \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n}}{(2n+1)!} \right) dx $$
$$ = \sum_{n=0}^{\infty} (-1)^n \frac{1}{(2n+1)!} \int x^{2n} dx $$

$$ = \sum_{n=0}^{\infty} (-1)^n \frac{1}{(2n+1)!} \frac{x^{2n+1}}{2n+1} + C $$
Let’s write out the first few terms of this result:
$$ = \left( (-1)^0 \frac{1}{1!} \frac{x^1}{1} \right) + \left( (-1)^1 \frac{1}{3!} \frac{x^3}{3} \right) + \left( (-1)^2 \frac{1}{5!} \frac{x^5}{5} \right) + \left( (-1)^3 \frac{1}{7!} \frac{x^7}{7} \right) + \dots + C $$
$$ = x - \frac{x^3}{18} + \frac{x^5}{600} - \frac{x^7}{35280} + \dots + C $$
And there you have it! An indefinite integral expressed as an infinite series. This series is often called the Sine Integral function (Si(x)), and it’s a perfectly valid, albeit infinite, way to represent the answer.
The Catch (Because There’s Always a Catch, Right?)
While this method is super powerful, it’s not a magic wand for every single integral. For it to work, you need to be able to represent your function as a power series (or at least a series you can integrate term by term). This usually means you need a known power series for your function, or you need to be able to derive one.
Also, remember that infinite series are often about convergence. You need to make sure the series you get actually converges for the values of x you’re interested in. This is where the radius of convergence comes into play, but again, we’re keeping it relatively light and breezy today.
But the core idea remains: if you can express your integrand as a sum of terms you know how to integrate (like powers of x), then you can integrate the whole thing by integrating each term in the sum.
Final Thoughts: Embracing the Infinite
So, the next time you’re staring at an integral and feel like you’re hitting a wall, remember the power of infinite series. It’s a way of breaking down the complex into the simple, of finding a solution in the endless unfolding of terms. It’s a reminder that sometimes, the most profound answers lie not in a single, neat formula, but in the beautiful, unending rhythm of an infinite sum.
It’s a bit like life, isn’t it? We can’t always see the final destination, but by focusing on the next step, the next small action, we can navigate even the most daunting journeys. And in math, those small steps are the terms in our series, leading us to the integral we seek. Pretty cool, huh?
