How to Find the Anti Derivative: A Step-by-Step Guide for 2024

Finding the anti derivative, or integration, reverses differentiation: given a function $ f(x) $, you find a function $ F(x) $ such that $ F’(x) = f(x) $. This is written as
$$
\int f(x) , dx = F(x) + C,
$$
where $ C $ is the constant of integration. Since the derivative of any constant is zero, multiple functions can share the same derivative, making $ C $ necessary in indefinite integrals.
The process relies on recognizing patterns, applying standard rules, and using structured techniques. Resources like Paul’s Online Math Notes and Khan Academy offer clear explanations and practice for mastering these skills.
Core Rules and Direct Applications
Start with basic integration rules. The power rule applies to any real number $ n \neq -1 $:
$$
\int x^n , dx = \frac{x^{n+1}}{n+1} + C.
$$
For example, $ \int x^3 , dx = \frac{x^4}{4} + C $. This rule reverses the differentiation of power functions.
Constants multiply the result: $ \int c f(x) , dx = c \int f(x) , dx $. The sum rule allows term-by-term integration: $ \int (f(x) + g(x)) , dx = \int f(x) , dx + \int g(x) , dx $.
Some functions have standard anti derivatives that must be memorized:
- $ \int \sin(x) , dx = -\cos(x) + C $
- $ \int \cos(x) , dx = \sin(x) + C $
- $ \int \sec^2(x) , dx = \tan(x) + C $
- $ \int e^x , dx = e^x + C $
- $ \int \frac{1}{x} , dx = \ln|x| + C $
Note that $ \int \frac{1}{x} , dx $ is an exception to the power rule because $ n = -1 $. The result involves the natural logarithm, derived from the derivative of $ \ln|x| $.
Substitution for Composite Functions
When functions are nested, use substitution—also called $ u $-substitution—to reverse the chain rule. The goal is to simplify the integral by replacing a part of the expression with $ u $, then adjusting $ dx $ accordingly.
Choose $ u $ as an inner function whose derivative appears in the integrand. For example, consider
$$
\int 2x \cos(x^2) , dx.
$$
Let $ u = x^2 $, so $ du = 2x , dx $. The integral becomes
$$
\int \cos(u) , du = \sin(u) + C.
$$
Substitute back: $ \sin(x^2) + C $. This confirms that the derivative of $ \sin(x^2) $ is $ 2x \cos(x^2) $, matching the original integrand.
Substitution works only if all parts of the original variable are replaced. Never leave $ x $ in the integral after substituting $ u $, unless expressed in terms of $ u $. Always check that $ du $ accounts for every piece, including constants.
Example: Exponential Function with Substitution
Find $ \int e^{3x} , dx $.
Let $ u = 3x $, so $ du = 3,dx $ and $ dx = \frac{du}{3} $. Substitute:
$$
\int e^{3x} , dx = \int e^u \cdot \frac{du}{3} = \frac{1}{3} \int e^u , du = \frac{1}{3} e^u + C.
$$
Now replace $ u $:
$$
\frac{1}{3} e^{3x} + C.
$$
Differentiate to verify: $ \frac{d}{dx} \left( \frac{1}{3} e^{3x} \right) = e^{3x} $, which matches the integrand.
This shows how substitution extends basic rules to functions with linear arguments.
Integration by Parts and Other Techniques
For products of functions, use integration by parts, which reverses the product rule:
$$
\int u , dv = uv - \int v , du.
$$
This method suits integrals like $ \int x e^x , dx $ or $ \int x \ln(x) , dx $. Choosing $ u $ and $ dv $ wisely matters. A common guideline is LIATE (Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential), which suggests the order for selecting $ u $.
For rational functions, partial fraction decomposition breaks them into simpler terms. For example, $ \frac{1}{x^2 - 1} $ becomes $ \frac{A}{x-1} + \frac{B}{x+1} $, each of which can be integrated directly.
Some integrals require trigonometric identities. For instance, $ \int \sin^2(x) , dx $ uses the identity $ \sin^2(x) = \frac{1 - \cos(2x)}{2} $ to simplify before integrating.
Recognizing Standard Forms
Certain integrals match inverse trigonometric derivatives. For example:
$$
\int \frac{1}{x^2 + 1} , dx = \arctan(x) + C.
$$
This comes from knowing $ \frac{d}{dx} \arctan(x) = \frac{1}{x^2 + 1} $. Similarly,
$$
\int \frac{1}{\sqrt{1 - x^2}} , dx = \arcsin(x) + C.
$$
These forms are not derived from basic rules but must be recognized or looked up in reliable references like MathWorld by Wolfram.
Common Mistakes to Avoid
Omitting $ C $ is a frequent error. The constant is required in indefinite integrals because differentiation eliminates constants. Without it, the solution is incomplete.
Misapplying the power rule to $ \int \frac{1}{x} , dx $ leads to incorrect results. The correct anti derivative is $ \ln|x| + C $, not a power function.
Another mistake is incorrect substitution. If $ du $ does not account for all parts of $ dx $, the result will be wrong. Always rewrite the entire integral in terms of $ u $, including constants.
Forgetting absolute values in logarithmic integrals is also common. $ \int \frac{1}{x} , dx = \ln|x| + C $, not $ \ln(x) + C $, because the domain includes negative $ x $.
Functions Without Elementary Anti Derivatives
Not all functions have anti derivatives expressible in elementary terms. For example, $ \int e^{-x^2} , dx $ has no closed-form solution using standard functions. It appears in probability (the normal distribution) and requires numerical methods or special functions like the error function.
This does not mean the integral is unsolvable—just that it cannot be written with basic algebraic, trigonometric, or exponential expressions. Such cases are noted in advanced references but are beyond the scope of introductory calculus.
Key Takeaways
- The anti derivative of $ f(x) $ is a function $ F(x) $ such that $ F’(x) = f(x) $, written as $ \int f(x) , dx = F(x) + C $.
- Basic rules include the power rule (for $ n \neq -1 $), standard trigonometric integrals, and the fact that $ \int e^x , dx = e^x + C $.
- Substitution simplifies integrals involving composite functions by reversing the chain rule.
- Always include the constant $ C $ in indefinite integrals.
- Verify your result by differentiating it—this confirms correctness.
- Some integrals require recognition of standard forms, such as $ \int \frac{1}{x^2 + 1} , dx = \arctan(x) + C $.
- Not all functions have elementary anti derivatives; some require special functions or numerical approximation.