Integrals can look intimidating the first time you see that long, curvy ∫ symbol. But here is the good news: integration is really just a careful, organized process. Once you understand what an integral means and learn a handful of rules, you can solve a huge number of problems by following the same reliable steps every time.
In this beginner-friendly guide, you will learn exactly how to solve integrals from the ground up. We will define what an integral is, walk through the core integration rules, and work through four complete examples where you see every single step. By the end, you will be able to handle basic indefinite integrals, definite integrals, and your first substitution problems with confidence.
Want to check your work as you practice? You can verify any answer with our free calculus solver, which shows the steps so you can compare them to your own. Let’s start with the big idea.
What Is an Integral?
An integral is the mathematical opposite of a derivative. If a derivative tells you the rate of change of a function, an integral lets you undo that process and recover the original function, or measure the total accumulated amount.
Integration answers questions like: “If I know how fast something is changing, what is the total change?” or “What is the area under this curve?” These two ideas, anti-differentiation and area, are connected, which is one of the most beautiful results in all of mathematics.
Key idea
Integration reverses differentiation. If the derivative of \(F(x)\) is \(f(x)\), then the integral of \(f(x)\) is \(F(x)\) (plus a constant). In symbols: if \(F'(x) = f(x)\), then \(\int f(x)\,dx = F(x) + C\).
Antiderivatives and Indefinite Integrals
When you integrate a function without specific start and end points, you get an indefinite integral. The result is a family of functions called antiderivatives. We write it like this:
$$\int f(x)\,dx = F(x) + C$$Here each piece has a name:
- The symbol \(\int\) is the integral sign.
- \(f(x)\) is the integrand, the function you are integrating.
- \(dx\) tells you the variable of integration (here, \(x\)).
- \(C\) is the constant of integration.
Why the mysterious \(+C\)? Because the derivative of any constant is zero. The functions \(x^2 + 1\), \(x^2 + 7\), and \(x^2 - 100\) all have the same derivative, \(2x\). So when we reverse the process, we cannot know which constant was there originally, and we represent every possibility with \(+C\).
Definite Integrals and Area
A definite integral has two numbers attached to the integral sign, called the limits of integration:
$$\int_{a}^{b} f(x)\,dx$$This expression gives you a single number: the signed area between the curve \(f(x)\) and the \(x\)-axis, from \(x = a\) to \(x = b\). Notice there is no \(+C\) here, because the constant cancels out when we evaluate. We will see exactly why in the worked examples.
How to Solve Integrals: A Step-by-Step Method
No matter which integral you face, the same overall game plan works. Here is the method we will use throughout this guide on how to solve integrals:
- Identify the type. Is it indefinite (no limits) or definite (with limits)? Is it a simple power, a sum of terms, or something more complex?
- Simplify the integrand first. Multiply out brackets, split fractions, or rewrite roots as powers before integrating.
- Choose a technique. Most beginner problems use the power rule, the constant and sum rules, or u-substitution.
- Apply the antiderivative rules term by term.
- Add \(+C\) for an indefinite integral, or evaluate at the limits for a definite integral.
- Check your answer by differentiating it. If you get back the original integrand, you did it correctly.
That last step is your secret weapon. Because integration and differentiation are inverses, you can always verify an integral by taking the derivative of your answer. If you need a refresher on that, see our guide on How to Find Derivatives: Rules and Examples.
Basic Integration Rules and Formulas
Before the examples, here are the formulas you will use most often. Keep this table handy; memorizing these will make you dramatically faster.
| Function \(f(x)\) | Integral \(\int f(x)\,dx\) |
|---|---|
| \(k\) (a constant) | \(kx + C\) |
| \(x^n\) (for \(n \neq -1\)) | \(\dfrac{x^{n+1}}{n+1} + C\) |
| \(\dfrac{1}{x}\) | \(\ln|x| + C\) |
| \(e^x\) | \(e^x + C\) |
| \(\cos x\) | \(\sin x + C\) |
| \(\sin x\) | \(-\cos x + C\) |
| \(\sec^2 x\) | \(\tan x + C\) |
The Power Rule for Integration
The single most important rule is the power rule. To integrate a power of \(x\), add one to the exponent, then divide by the new exponent:
$$\int x^n\,dx = \frac{x^{n+1}}{n+1} + C \quad (n \neq -1)$$It is the exact reverse of the power rule for derivatives, where you multiply by the exponent and subtract one. Here you do the opposite.
Common mistake
The power rule does not work when \(n = -1\), because dividing by \(n+1 = 0\) is undefined. The integral of \(x^{-1} = \frac{1}{x}\) is the special case \(\ln|x| + C\), not \(\frac{x^0}{0}\).
The Constant and Sum Rules
Two more rules let you break big integrals into manageable pieces:
- Constant multiple rule: \(\displaystyle\int k\cdot f(x)\,dx = k\int f(x)\,dx\). You can pull a number out front.
- Sum and difference rule: \(\displaystyle\int \big[f(x) \pm g(x)\big]\,dx = \int f(x)\,dx \pm \int g(x)\,dx\). You can integrate term by term.
Together, these three rules already let you solve a large family of polynomial integrals. Let’s prove it with our first example.
Worked Examples (Every Step Shown)
Example 1: A Polynomial Using the Power Rule
Problem: Find \(\displaystyle\int (6x^2 + 4x - 5)\,dx\).
Step 1 — Split into separate terms. Using the sum and difference rule:
$$\int 6x^2\,dx + \int 4x\,dx - \int 5\,dx$$Step 2 — Integrate the first term. Pull out the 6 and apply the power rule with \(n = 2\):
$$\int 6x^2\,dx = 6\cdot\frac{x^{3}}{3} = 2x^3$$Step 3 — Integrate the second term. Pull out the 4 and apply the power rule with \(n = 1\):
$$\int 4x\,dx = 4\cdot\frac{x^{2}}{2} = 2x^2$$Step 4 — Integrate the constant. The integral of a constant \(k\) is \(kx\):
$$\int 5\,dx = 5x$$Step 5 — Combine and add \(+C\).
Check: Differentiate the answer. \(\frac{d}{dx}(2x^3 + 2x^2 - 5x + C) = 6x^2 + 4x - 5\). That matches the original integrand, so we are correct.
Example 2: Using u-Substitution
When the integrand contains a function “nested” inside another, along with that inner function’s derivative, we use u-substitution. It is the integration partner of the chain rule for derivatives. If chain-rule notation feels rusty, our walkthrough on The Chain Rule Explained with Examples pairs perfectly with this technique.
Problem: Find \(\displaystyle\int 2x\,(x^2 + 1)^3\,dx\).
Step 1 — Choose your \(u\). Pick the inside function: let \(u = x^2 + 1\).
Step 2 — Differentiate to find \(du\).
$$\frac{du}{dx} = 2x \quad\Longrightarrow\quad du = 2x\,dx$$Step 3 — Substitute. Notice the original integral already contains \(2x\,dx\), which is exactly \(du\). Replace \((x^2+1)\) with \(u\) and \(2x\,dx\) with \(du\):
$$\int (x^2+1)^3 \cdot 2x\,dx = \int u^3\,du$$Step 4 — Integrate in terms of \(u\) using the power rule:
$$\int u^3\,du = \frac{u^{4}}{4} + C$$Step 5 — Substitute back so the answer is in terms of \(x\):
Check: Differentiate using the chain rule: \(\frac{d}{dx}\left[\frac{(x^2+1)^4}{4}\right] = \frac{4(x^2+1)^3 \cdot 2x}{4} = 2x(x^2+1)^3\). Perfect match.
How to spot a substitution
Look for a chunk of the integrand whose derivative also appears (possibly times a constant). That chunk is usually your \(u\). If the matching \(du\) is missing or extra factors remain, substitution may not be the right tool.
Example 3: A Definite Integral
Problem: Evaluate \(\displaystyle\int_{1}^{3} (2x + 1)\,dx\).
A definite integral uses the Fundamental Theorem of Calculus: find an antiderivative \(F(x)\), then compute \(F(b) - F(a)\).
Step 1 — Find the antiderivative. Integrate term by term:
$$\int (2x + 1)\,dx = 2\cdot\frac{x^2}{2} + x = x^2 + x$$We do not need \(+C\) here, and the next step shows why: any constant would simply cancel.
Step 2 — Write the evaluation bar.
$$\Big[\,x^2 + x\,\Big]_{1}^{3}$$Step 3 — Plug in the upper limit \(x = 3\):
$$(3)^2 + (3) = 9 + 3 = 12$$Step 4 — Plug in the lower limit \(x = 1\):
$$(1)^2 + (1) = 1 + 1 = 2$$Step 5 — Subtract: upper minus lower.
$$12 - 2 = 10$$This number, 10, is the area of the region under the line \(y = 2x + 1\) between \(x = 1\) and \(x = 3\). Definite integrals turn a curve into a concrete measurement, which is why they power so much of physics, economics, and engineering.
Common mistake
Always subtract upper limit minus lower limit, never the reverse. Flipping the order gives you the negative of the correct answer. Here, \(2 - 12 = -10\) would be wrong.
Example 4: A Definite Trigonometric Integral
Problem: Evaluate \(\displaystyle\int_{0}^{\pi} \sin x\,dx\).
Step 1 — Find the antiderivative of \(\sin x\). From the table, the integral of \(\sin x\) is \(-\cos x\):
$$\int \sin x\,dx = -\cos x$$Step 2 — Set up the evaluation.
$$\Big[\,-\cos x\,\Big]_{0}^{\pi}$$Step 3 — Plug in the upper limit \(x = \pi\). Recall \(\cos \pi = -1\):
$$-\cos(\pi) = -(-1) = 1$$Step 4 — Plug in the lower limit \(x = 0\). Recall \(\cos 0 = 1\):
$$-\cos(0) = -(1) = -1$$Step 5 — Subtract.
$$1 - (-1) = 1 + 1 = 2$$This tells us the area under one full “arch” of the sine curve is exactly 2, a famously clean result. Trig integrals depend on knowing your unit-circle values, so keeping \(\sin\) and \(\cos\) at the common angles fresh in your memory pays off here.
Study tip
After every problem, take the derivative of your answer. This single habit catches most errors instantly and reinforces the link between derivatives and integrals at the same time.
Try It Yourself, Then Check Instantly
Working through practice problems is the fastest way to improve, but it helps to confirm you got them right. Type any integral into our step-by-step integral calculator and compare its worked solution to yours. Spotting where your steps differ is one of the most effective ways to learn.
Common Mistakes to Avoid
Most integration errors are small and predictable. Watch out for these:
- Forgetting the \(+C\). Every indefinite integral needs the constant of integration. Leaving it off is the most common point lost on exams.
- Mixing up the power rule direction. For integration you add one to the exponent and divide. For differentiation you multiply and subtract. Going the wrong way is a classic slip.
- Trying the power rule on \(1/x\). Remember its integral is \(\ln|x| + C\).
- Not substituting back. After a u-substitution, your final answer must be written in terms of the original variable.
- Reversing the limits. Definite integrals are always upper limit minus lower limit.
- Skipping simplification. Expanding brackets or splitting a fraction first often turns a scary integral into a routine one.
Tips for Getting Better at Integration
Integration is a skill, and like any skill it grows with deliberate practice. A few suggestions:
- Master differentiation first. Since integration is its reverse, fluency with derivatives makes integrals far easier. The derivative rules guide is a great starting point.
- Memorize the core table. Knowing the standard integrals by heart frees your brain to focus on strategy.
- Recognize patterns. Ask “Does this look like a power, a sum, or a nested function?” The answer points to the right technique.
- Build the bigger picture. Integrals, derivatives, and limits all connect. Strengthening one strengthens the others. If limits feel shaky, review Understanding Limits in Calculus (with Worked Examples), since the definite integral is built on a limit of sums.
- Practice a little every day. Five problems daily beats forty problems once a week.
Study tip
Keep a personal “formula sheet” you rewrite from memory each week. The act of reproducing the integration table cements it far better than rereading notes.
Putting It All Together
Let’s recap the full method one last time. To solve an integral, first identify whether it is indefinite or definite. Simplify the integrand if you can. Choose your technique, usually the power rule, the sum and constant rules, or u-substitution. Apply the antiderivative rules term by term. Add \(+C\) for indefinite integrals, or evaluate at the limits and subtract for definite integrals. Finally, differentiate your answer to confirm it is right.
Every problem in this guide, from a basic polynomial to a trigonometric area, followed that exact sequence. The integrals will get more involved as you advance to integration by parts, partial fractions, and beyond, but the mindset stays the same: reverse the derivative, stay organized, and verify your result.
Conclusion
You now know what an integral represents, the essential rules for solving one, and how to apply them through four fully worked examples. With the step-by-step method and the formula table in hand, you are ready to tackle homework problems on your own. Keep practicing, keep checking your work by differentiating, and the curvy integral sign will soon feel like an old friend rather than a hurdle.
Ready to practice? Head to our calculus solver to test yourself with instant, step-by-step feedback, and explore more free lessons on derivatives, limits, and beyond over on the Math Solver AI blog. Happy integrating!
