Indefinite Integrals

Differentiation assigns to each function a unique derivative by definition. The inverse process seeks to determine whether, for a given function f ( x

Primitives

Differentiation assigns to each function a unique derivative by definition. The inverse process seeks to determine whether, for a given function $f ( x )$, there exists a function $F ( x )$ whose derivative is exactly $f ( x )$. Such a function is called a primitive. Formally, a function $F ( x )$ is said to be a primitive of the function $f ( x )$ defined on the interval $[ a , b ]$ if $F ( x )$ is differentiable throughout $[ a , b ]$ and its derivative is $f ( x )$, that is:

\[F^{'} ( x ) = f ( x ) , \forall x \in [ a , b ]\]

Not every function admits a primitive on a given interval. A sufficient condition is continuity: every continuous function on a closed interval $[ a , b ]$ admits a primitive there. The converse does not hold in general.

If we seek a function $F ( x )$ whose derivative is $f ( x ) = 3 x^{2}$, differentiation rules allow us to determine that such a function is $x^{3}$. Indeed, the derivative of $x^{3}$ is: \(\frac{d}{d x} x^{3} = 3 x^{2}\)

which confirms that $x^{3}$ is a primitive of $f ( x ) = 3 x^{2}$.


We have seen that if a function $f ( x )$ is differentiable, it has a unique derivative $f^{‘} ( x )$. However, in the case of primitives, the primitive of a function is not unique. Given a function $f ( x )$, any two primitives $F_{1} ( x )$ and $F_{2} ( x )$ differ by a constant, meaning that:

\[F_{2} ( x ) = F_{1} ( x ) + c\]

where $c$ is an arbitrary constant. This follows from the fact that the derivative of a constant is zero: \(\frac{d}{d x} c = 0\)

In the previous example, $3 x^{2}$ is a derivative of $x^{3}$, but it is also the derivative of $x^{3} + 5$ and $x^{3} - 1 / 2$. This implies that there are infinitely many primitives $F ( x )$ for our function.


If a function $f ( x )$ admits a primitive $F ( x )$, then it has infinitely many primitives of the form $F ( x ) + c$, where $c$ is any real number $c \in \mathbb{R}$: \(D [ F ( x ) + C ] = F^{'} ( x ) = f ( x ) , \forall C \in \mathbb{R}\)


Conversely, if two functions $F_{1} ( x )$ and $F_{2} ( x )$ are both primitives of the same function $f ( x )$, then they differ by a constant. \(D [ F_{1} ( x ) - F_{2} ( x ) ] = F_{1}^{'} ( x ) - F_{2}^{'} ( x ) = f ( x ) - f ( x ) = 0\)

What is the indefinite integral

The indefinite integral of a function $f ( x )$ is defined as the set of all its primitives, expressed as $F ( x ) + c$, where $c$ is an arbitrary real number. It is denoted as:

\[\int f ( x ) d x = F ( x ) + c c \in \mathbb{R}\]

From the previous definition, it follows that:

\[D [ \int f ( x ) d x ] = f ( x )\]

This result reflects a fundamental property of the indefinite integral: the operator $D [ \int \cdot d x ]$ acts as the identity on integrable functions, returning the original function $f ( x )$. This relationship is made precise by the Fundamental Theorem of Calculus, which establishes the formal connection between differentiation and integration.

Example 1

Find the primitive of $3 x$ that passes through the point $( 2 , 1 )$. The first step is to find the general form of the primitive of $f ( x ) = 3 x$, which we obtain by integrating:

\[F ( x ) = \int 3 x d x = \frac{3}{2} x^{2} + c\]

To find the specific primitive that passes through the point $( 2 , 1 )$, we impose the condition $F ( 2 ) = 1$. Substituting $x = 2$ into the equation we obtain:

\[\frac{3}{2} ( 2 )^{2} + c & = 1 \\ \frac{3}{2} \cdot 4 + c & = 1 \\ 6 + c & = 1 \\ c & = - 5\]

Thus, the unique primitive satisfying the given condition is: \(F ( x ) = \frac{3}{2} x^{2} - 5.\)

Linearity Properties

The integral is a linear operator, meaning that it satisfies the following linearity properties. The indefinite integral of a sum of integrable functions is equal to the sum of the indefinite integrals of the individual functions. In fact, we have: \((\text{1}) \int [ f ( x ) + g ( x ) ] d x = \int f ( x ) d x + \int g ( x ) d x\)

The integral of the product of a constant and an integrable function is equal to the product of the constant and the integral of the function. We have: \((\text{2}) \int k f ( x ) d x = k \int f ( x ) d x , \forall k \in \mathbb{R}\)

Example 2

Consider the function: $f ( x ) = 3 x^{2} + 2 x$. Applying equation $1$, we split the integral:

\[\int ( 3 x^{2} + 2 x ) d x = \int 3 x^{2} d x + \int 2 x d x\]

Now, we compute each integral separately:

\(\int 3 x^{2} d x = x^{3} + c_{1}\) \(\int 2 x d x = x^{2} + c_{2}\)

We obtain $x^{3} + x^{2} + c$ where $c = c_{1} + c_{2}$ is an arbitrary constant.

Example 3

Consider the function: $f ( x ) = 5 sin ⁡ ( x )$. Applying equation $2$, we have:

\[\int 5 sin ⁡ ( x ) d x = 5 \int sin ⁡ ( x ) d x\]

Thus, we obtain $- 5 cos ⁡ ( x ) + c$.

Integral of a power function

Let’s now see how to compute the integral of a power function of the form $x^{a}$ with $a \in \mathbb{R}$. In general, the following formula can be used: \(\int x^{a} d x = \frac{x^{a + 1}}{a + 1} + c , \text{for} a \in \mathbb{R} , a \neq - 1\)

Example 4

Let’s solve the following integral:

\[\int ( 3 x^{4} + 5 x^{2} ) d x\]

Using the properties mentioned above, we obtain: \(3 \int x^{4} d x + 5 \int x^{2} d x\)

We have split the integral of the sum into the sum of two integrals and factored out the constants from the integral sign. Now, we compute the integral of the power function. We obtain:

\[\int x^{4} d x = \frac{x^{5}}{5} + c 1 , \int x^{2} d x = \frac{x^{3}}{3} + c 2\]

Multiplying by the constants:

\[3 \cdot \frac{x^{5}}{5} + 5 \cdot \frac{x^{3}}{3} + c\]

Thus, we obtain the final result: \(\frac{3}{5} x^{5} + \frac{5}{3} x^{3} + c\)

Example 5

Compute the following integral:

\[\int ( 4 x^{3} - \frac{3}{\sqrt{x}} + 2 cos ⁡ x ) d x\]

The integrand brings together three terms of genuinely different character: a polynomial term, a term involving a fractional power of $x$, and a trigonometric term. Rather than searching for a single rule that covers all three at once, we apply linearity to decompose the problem into three independent integrals, each of which falls within a known pattern:

\[\int 4 x^{3} d x - \int 3 x^{- 1 / 2} d x + \int 2 cos ⁡ x d x\]

The first term presents no difficulty. The power rule applied to $x^{3}$ gives:

\[\int 4 x^{3} , d x = 4 \cdot \frac{x^{4}}{4} = x^{4}\]

The second term is less immediate, but becomes straightforward once we rewrite $\frac{1}{\sqrt{x}}$ as $x^{- 1 / 2}$. With $a = - \frac{1}{2}$, the power rule yields:

\[\int 3 x^{- 1 / 2} d x = 3 \cdot \frac{x^{1 / 2}}{1 / 2} = 6 \sqrt{x}\]

Note that $a = - \frac{1}{2} \neq - 1$, so the logarithmic case does not arise and the power rule applies without exception.


For the third term, the standard integral of the cosine gives directly:

\[\int 2 cos ⁡ x d x = 2 sin ⁡ x\]

Assembling the three contributions:

\[\int ( 4 x^{3} - \frac{3}{\sqrt{x}} + 2 cos ⁡ x ) d x = x^{4} - 6 \sqrt{x} + 2 sin ⁡ x + c\]
The three separate integration constants collapse into a single arbitrary real number $c \in \mathbb{R}$, as expected from the general theory of primitives. The result can be verified by differentiating: applying $\frac{d}{d x}$ to $x^{4} - 6 \sqrt{x} + 2 sin ⁡ x + c$ returns the original integrand term by term, confirming that the computation is correct.

The logarithmic integral

When the exponent of $x$ is $- 1$, the integral takes a different form. Instead of applying the power rule, we use the logarithmic integral: \(\int x^{- 1} d x = \int \frac{1}{x} d x = ln ⁡ | x | + c\) In fact, the standard formula for integrating a power function is: \(\int x^{a} d x = \frac{x^{a + 1}}{a + 1} + c\) However, when $a = - 1$, the denominator in the fraction becomes zero: \(\frac{x^{0}}{0} = \frac{1}{0}\) Since division by zero is undefined, this approach does not apply. Instead, for $a = - 1$, the correct integral is $ln ⁡ | x | + c$. This result follows from the fact that the derivative of $ln ⁡ | x |$ is precisely $1 / x$, making it the appropriate antiderivative in this special case.

Fundamental integration rules

       
Linearity \(\int ( f ( x ) + g ( x ) ) d x = \int f ( x ) d x + \int g ( x ) d x\)    
Linearity \(\int k f ( x ) d x = k \int f ( x ) d x\)    
Power rule \(\int x^{a} d x = \frac{x^{a + 1}}{a + 1} + c a \neq - 1\)    
Logarithmic case $$\int \frac{1}{x} d x = ln ⁡ x + c$$

Common Integrals

Below is a summary of the most common basic integrals, useful in calculus and for transforming complex expressions into simpler, well-known forms.

  • $$\int \frac{1}{x} d x = ln ⁡ x + c$$ Dive deeper
  • \(\int a^{x} d x = \frac{1}{ln ⁡ a} \cdot a^{x} + c\) Dive deeper
  • \(\int sin ⁡ x d x = - cos ⁡ x + c\) Dive deeper
  • \(\int cos ⁡ x d x = sin ⁡ x + c\) Dive deeper
  • \(\int \frac{1}{sin^{2} ⁡ x} d x = cot ⁡ x + c\) Dive deeper
  • \(\int \frac{1}{cos^{2} ⁡ x} d x = tan ⁡ x + c\) Dive deeper
  • \(\int sec^{2} ⁡ x d x = tan ⁡ x + c\) Dive deeper
  • \(\int sec ⁡ x tan ⁡ x d x = sec ⁡ x + c\) Dive deeper
  • \(\int csc^{2} ⁡ x d x = - cot ⁡ x + c\) Dive deeper
  • \(\int csc ⁡ x cot ⁡ x d x = - csc ⁡ x + c\) Dive deeper
  • \[\int \frac{d x}{1 + x^{2}} = arctan ⁡ x + c\]
  • \[\int \frac{d x}{\sqrt{1 - x^{2}}} = arcsin ⁡ x + c\]
These identities hold on any interval where the integrand is defined and continuous.

Selected references