Skip to content
Topos Uranos

Antiderivatives and the indefinite integral

Summary

This lesson reverses the question of Calculus I: given a function ff, find the functions FF whose derivative is ff, called antiderivatives of ff. The foundation is a single corollary, the one on functions with the same derivative: on an interval, two antiderivatives of the same function differ by a constant, so that finding one is enough to have them all. On a domain that is not an interval, such as R∖{0}\mathbb{R} \setminus \{0\}, there is an independent constant for each interval. The family of antiderivatives is written ∫f(x) dx=F(x)+C\int f(x) \, \mathrm{d}x = F(x) + C, and the lesson makes precise what that equals sign between families asserts. Each formula of the table of basic antiderivatives is proved by differentiating, together with the interval on which it holds, and linearity allows them to be combined. Finally, Darboux’s theorem shows that not every function has an antiderivative: the sign function has none on R\mathbb{R}.

Learning objectives

  1. Define the antiderivative of a function on an interval and prove that two antiderivatives on an interval differ by a constant, and that on a union of disjoint open intervals there is one constant for each interval.
  2. Write and read the indefinite integral as the family of antiderivatives on an interval, and interpret the equals sign between two families.
  3. Prove, by differentiating, linearity and the table of basic antiderivatives, with the interval on which each formula holds, and use them to find antiderivatives that satisfy given conditions.
  4. Recognize, with Darboux’s theorem, functions that have no antiderivative, and distinguish the existence of an antiderivative from the possibility of writing it with elementary functions.

The inverse problem of differentiation

Calculus I solved one problem: given a function, find its derivative. The differentiation rules solve it whenever the function is built from the elementary functions by operations and compositions. This unit studies the inverse problem: given a function ff, find a function FF whose derivative is ff. If the slope of the graph of FF is known at each point, what is the graph? If the rate of change of a quantity is known at each instant, what is the quantity?

For f(x)=2xf(x) = 2x, the result F(x)=x2F(x) = x^2 comes from memory; but x2+1x^2 + 1 and x2−πx^2 - \pi also have derivative 2x2x, because a constant has zero derivative. Two questions arise: whether there are other functions that work besides those of the form x2+Cx^2 + C, and whether every function has one. The first is settled precisely, in a way that depends on the set on which one works; the second, not always in the affirmative.

DefinitionAntiderivative of a function on an interval

Let II be an interval with more than one point and ff a function defined on II. A function F ⁣:I→RF \colon I \to \mathbb{R} is an antiderivative of ff on II if it is differentiable at each point of II and its derivative at each point is the value of ff:

(∀x∈I)(F′(x)=f(x))(\forall x \in I)\left(F'(x) = f(x)\right)

If II contains one of its endpoints, the derivative of FF at that endpoint is, by the proposition on the derivative and one-sided derivatives, from the lesson on the derivative as a limit, the corresponding one-sided derivative. A function defined on a set that contains II is an antiderivative of ff on II if its restriction to II is one.

By the lemma on the local character of the derivative, from the lesson on differentiation rules, if a function is differentiable at a point of II, its restriction to II is too, with the same derivative. Thus sin⁡x\sin x is an antiderivative of cos⁡x\cos x on R\mathbb{R} and on any interval. Every antiderivative is continuous on II, by the theorem that differentiable implies continuous. And the definition requires the equality also at the endpoints that belong to II: the function 23xx\frac{2}{3} x \sqrt{x} is an antiderivative of x\sqrt{x} on [0,∞)\ico{0}{\infty}, because at each x>0x > 0 its derivative is 23⋅32x12=x\frac{2}{3} \cdot \frac{3}{2} x^{\frac{1}{2}} = \sqrt{x}, by the derivative of a power with a real exponent, and at 00 its difference quotient, 23x\frac{2}{3} \sqrt{x}, tends to 0=00 = \sqrt{0} from the right.

Two antiderivatives differ by a constant

The theorem below settles the first question: on an interval, adding constants is the only freedom. The whole unit rests on it, because it reduces the search for all antiderivatives to the search for a single one.

TheoremThe antiderivatives of a function on an interval

Let FF be an antiderivative of ff on an interval II. A function G ⁣:I→RG \colon I \to \mathbb{R} is an antiderivative of ff on II if and only if there is a number CC such that G(x)=F(x)+CG(x) = F(x) + C for every xx in II:

(∀x∈I)(G′(x)=f(x))↔(∃C∈R)(∀x∈I)(G(x)=F(x)+C)(\forall x \in I)\left(G'(x) = f(x)\right) \leftrightarrow (\exists C \in \mathbb{R})(\forall x \in I)\left(G(x) = F(x) + C\right)

Adding a constant does not change the derivative; and the difference of two antiderivatives has zero derivative on an interval, so it is constant. The figure shows, with F(x)=x33−xF(x) = \frac{x^3}{3} - x, an antiderivative of x2−1x^2 - 1, some of the functions F+CF + C, and an antiderivative GG whose vertical distance to FF is the same at all points.

Proof

  1. G′(x)=F′(x)+0=f(x),x∈IG'(x) = F'(x) + 0 = \resaltar{f(x)}, \qquad x \in I

    If G=F+CG = F + C, the constant function CC has zero derivative at every point, by the corollary on the derivative of a polynomial, from the lesson on differentiation rules. By the theorem on the derivative of a linear combination, from the same lesson, which only requires the point to be an accumulation point of the domain, GG is differentiable at each point of II, including the endpoints that belong to it.

  2. G(x)=F(x)+C,x∈IG(x) = \resaltar{F(x) + C}, \qquad x \in I

    Conversely, let GG be an antiderivative of ff on II. By the theorem that differentiable implies continuous, from the lesson on the derivative as a limit, FF and GG are continuous on II, and at each interior point of II they have the same derivative, f(x)f(x). By the corollary on functions with the same derivative, from the lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy, there is a number CC such that:

Geometrically, the graphs of the antiderivatives of ff on II are the vertical translations of one of them: at each abscissa they have the same slope, f(x)f(x), and none comes closer to another or moves away from it. To choose one, it suffices to fix its height at a point.

CorollaryThe antiderivative taking a given value

Let FF be an antiderivative of ff on an interval II, x0x_0 a point of II and y0y_0 a real number. There is a unique antiderivative GG of ff on II such that G(x0)=y0G(x_0) = y_0, and it is G(x)=F(x)−F(x0)+y0G(x) = F(x) - F(x_0) + y_0. The condition at x0x_0 determines the constant.

Proof

  1. F(x0)+C=y0⇔C=y0−F(x0)→G(x)=F(x)−F(x0)+y0F(x_0) + C = y_0 \Leftrightarrow C = y_0 - F(x_0) \qquad \rightarrow \qquad \resaltar{G(x) = F(x) - F(x_0) + y_0}

    By the theorem, the antiderivatives of ff on II are the functions F+CF + C, and the condition at x0x_0 holds for a single value of CC. That value gives an antiderivative, by the same theorem, and no other satisfies the condition.

For example, the only antiderivative of 2x2x on R\mathbb{R} that takes the value 55 at 22 is x2+1x^2 + 1. If the rate of change of a quantity is known at each instant of a time interval, together with its value at one instant, the quantity is determined on the whole interval.

Domains that are not intervals

The hypothesis that II be an interval cannot be omitted. The lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy showed this with arctan⁡x+arctan⁡1x\arctan x + \arctan \frac{1}{x}, which has zero derivative on R∖{0}\mathbb{R} \setminus \{0\} and equals π2\frac{\pi}{2} on the positive numbers and −π2-\frac{\pi}{2} on the negative ones. In terms of antiderivatives: arctan⁡x\arctan x and −arctan⁡1x-\arctan \frac{1}{x} have the same derivative, 11+x2\frac{1}{1 + x^2}, on R∖{0}\mathbb{R} \setminus \{0\}, and they do not differ by a constant, but by a different constant on each ray. The domains of the elementary functions are usually unions of disjoint open intervals, and on them the rule is as follows.

PropositionAntiderivatives on a union of disjoint open intervals

Let DD be the union of a family of open intervals IkI_k, pairwise disjoint, let ff be a function defined on DD and let FF be a function differentiable at each point of DD, with F′(x)=f(x)F'(x) = f(x). A function GG defined on DD is differentiable at each point of DD, with G′(x)=f(x)G'(x) = f(x), if and only if for each kk there is a number CkC_k such that G(x)=F(x)+CkG(x) = F(x) + C_k for every xx in IkI_k. The constants CkC_k are arbitrary and independent of one another. On each interval the theorem applies; since the intervals are open and disjoint, the derivative at a point only looks at the interval that contains it. The figure shows this with F(x)=ln⁡∣x∣F(x) = \ln \abs{x}, which has derivative 1x\frac{1}{x} on R∖{0}\mathbb{R} \setminus \{0\}.

Proof

  1. G(x)=F(x)+Ck,x∈IkG(x) = F(x) + \resaltar{C_k}, \qquad x \in I_k

    Suppose that G′(x)=f(x)G'(x) = f(x) on DD, and let IkI_k be one of the intervals. Every point of IkI_k is an accumulation point of IkI_k; by the lemma on the local character of the derivative, the restrictions of FF and of GG to IkI_k are differentiable at each point of IkI_k, with derivative f(x)f(x). They are antiderivatives of ff on IkI_k, and the theorem on antiderivatives on an interval gives a constant for that interval.

  2. G′(a)=F′(a)+0=f(a),a∈IkG'(a) = F'(a) + 0 = \resaltar{f(a)}, \qquad a \in I_k

    Conversely, let CkC_k be arbitrary numbers, one per interval, and let G=F+CkG = F + C_k on each IkI_k. Let aa be a point of DD, which lies in a single IkI_k. Since IkI_k is open, there is δ>0\delta > 0 such that (a−δ,a+δ)\ioo{a - \delta}{a + \delta} is contained in IkI_k; on that interval, GG coincides with F+CkF + C_k, which is differentiable at aa with derivative f(a)f(a). By the second statement of the lemma on the local character, GG is differentiable at aa with the same derivative, whatever the other constants may be.

By the theorem on the derivative of the natural logarithm, from the lesson on the elementary functions, ln⁡∣x∣\ln \abs{x} is differentiable on R∖{0}\mathbb{R} \setminus \{0\} with derivative 1x\frac{1}{x}. By the proposition, the functions differentiable on R∖{0}\mathbb{R} \setminus \{0\} with derivative 1x\frac{1}{x} are exactly those of the form:

G(x)=ln⁡(−x)+C1,x<0,G(x)=ln⁡x+C2,x>0G(x) = \ln(-x) + C_1, \quad x < 0, \qquad G(x) = \ln x + C_2, \quad x > 0

with C1C_1 and C2C_2 arbitrary. The expression ln⁡∣x∣+C\ln \abs{x} + C, with a single constant, does not describe them all: it leaves out, for example, the function that equals ln⁡(−x)+1\ln(-x) + 1 on the negative numbers and ln⁡x\ln x on the positive ones.

The indefinite integral

The theorem on antiderivatives on an interval makes it possible to name the set of all antiderivatives by means of a single one of them. Leibniz’s notation for that set is as follows.

DefinitionIndefinite integral

Let ff be a function that has an antiderivative FF on an interval II. The indefinite integral of ff on II is the set of all antiderivatives of ff on II, which by the theorem on antiderivatives on an interval is {F+C:C∈R}\left\{ F + C : C \in \mathbb{R} \right\}. It is written:

∫f(x) dx=F(x)+C,x∈I\int f(x) \, \mathrm{d}x = F(x) + C, \qquad x \in I

The sign ∫\int is the integral sign; the function f(x)f(x), the integrand; xx, the variable of integration; and CC, the constant of integration, which ranges over the real numbers.

The equality in the definition is not an equality between numbers or between functions, but between sets of functions: it asserts that the antiderivatives of ff on II are exactly the functions F+CF + C. By the theorem, writing ∫f(x) dx=G(x)+C\int f(x) \, \mathrm{d}x = G(x) + C is correct if and only if GG is also an antiderivative of ff on II, that is, if and only if G−FG - F is constant on II. That is why two results of different appearance can both be correct. For example, arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2} on [−1,1]\icc{-1}{1}, as seen in the lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy; the functions arcsin⁡x\arcsin x and −arccos⁡x-\arccos x differ by the constant π2\frac{\pi}{2}, and on (−1,1)\ioo{-1}{1}:

∫11−x2 dx=arcsin⁡x+C=−arccos⁡x+C\int \frac{1}{\sqrt{1 - x^2}} \, \mathrm{d}x = \arcsin x + C = -\arccos x + C

The letter CC does not denote the same number on the two sides: each side is a set, and the two sets are equal. From F(x)+C=G(x)+CF(x) + C = G(x) + C, as an equality of families, it does not follow that F=GF = G, but only that F−GF - G is constant. To check a result it suffices to differentiate it: if its derivative is the integrand on all of II, the result is correct.

The variable of integration is a dummy variable: ∫f(t) dt\int f(t) \, \mathrm{d}t is the same set of functions as ∫f(x) dx\int f(x) \, \mathrm{d}x. The symbol dx\mathrm{d}x indicates which variable is meant; the lesson on integration by change of variable will give it an operational use. The name integral and the sign ∫\int, an elongated SS, allude to a sum: the definite integral of unit 3, which is defined with sums, will be connected with the indefinite integral in the fundamental theorem of calculus. This unit does not use the definite integral: each antiderivative is obtained and checked by differentiating.

When the integrand is defined on a union of intervals, this unit adopts the following convention: the formula is written once, the intervals on which it holds are indicated, and an independent constant is understood for each of them. Thus the equality

∫1x2 dx=−1x+C\int \frac{1}{x^2} \, \mathrm{d}x = -\frac{1}{x} + C

holds on (−∞,0)\ioo{-\infty}{0} and on (0,∞)\ioo{0}{\infty}, with constants C1C_1 and C2C_2 that may be different. An antiderivative given without its interval is an incomplete result.

Linearity

The derivative of a linear combination is the linear combination of the derivatives. Read backward, that rule gives the first tool for computing antiderivatives.

TheoremLinearity of antiderivatives

Let FF and GG be antiderivatives of ff and of gg on an interval II, and let α\alpha and β\beta be two real numbers. Then αF+βG\alpha F + \beta G is an antiderivative of αf+βg\alpha f + \beta g on II. If α\alpha and β\beta are not both zero, as an equality of families:

∫(αf(x)+βg(x)) dx=α∫f(x) dx+β∫g(x) dx\int \left(\alpha f(x) + \beta g(x)\right) \, \mathrm{d}x = \alpha \int f(x) \, \mathrm{d}x + \beta \int g(x) \, \mathrm{d}x

where the right-hand side is the set of the functions αF1+βG1\alpha F_1 + \beta G_1, with F1F_1 an antiderivative of ff and G1G_1 an antiderivative of gg on II. The linear combination is differentiated; then one counts which constants the right-hand side produces.

Proof

  1. (αF+βG)′(x)=αF′(x)+βG′(x)=αf(x)+βg(x)\left(\alpha F + \beta G\right)'(x) = \alpha F'(x) + \beta G'(x) = \resaltar{\alpha f(x) + \beta g(x)}

    By the theorem on the derivative of a linear combination, applied first to βG\beta G (with the zero function as the second summand) and then to αF+βG\alpha F + \beta G, at each point of II:

  2. α(F+C1)+β(G+C2)=αF+βG+αC1+βC2\alpha \left(F + C_1\right) + \beta \left(G + C_2\right) = \alpha F + \beta G + \resaltar{\alpha C_1 + \beta C_2}

    By the theorem on antiderivatives on an interval, F1=F+C1F_1 = F + C_1 and G1=G+C2G_1 = G + C_2. As C1C_1 and C2C_2 range over the reals, the number αC1+βC2\alpha C_1 + \beta C_2 ranges over all the reals if α≠0\alpha \neq 0 or β≠0\beta \neq 0; then the right-hand side is the family of the functions αF+βG+C\alpha F + \beta G + C, which is the left-hand side.

If α=β=0\alpha = \beta = 0, the left-hand side is the set of all constants and the right-hand side contains only the zero function: the equality of families fails, although the statement about antiderivatives still holds. There is, on the other hand, no product rule for antiderivatives: x33\frac{x^3}{3} is an antiderivative of x⋅xx \cdot x, but the product of the antiderivatives x22\frac{x^2}{2} and x22\frac{x^2}{2} has derivative x3x^3. Products will be handled with integration by parts, which reverses the product rule, and compositions with the change of variable, which reverses the chain rule.

Basic antiderivatives

Each known derivative, read backward, gives an antiderivative. The three propositions below gather those that will be used throughout the unit; each is proved by differentiating the right-hand side, and the interval on which it holds is included in the statement.

PropositionAntiderivatives of powers

For every real number rr other than −1-1 and on the intervals indicated afterward:

∫xr dx=xr+1r+1+C,∫1x dx=ln⁡∣x∣+C\int x^r \, \mathrm{d}x = \frac{x^{r + 1}}{r + 1} + C, \qquad \int \frac{1}{x} \, \mathrm{d}x = \ln \abs{x} + C

The first holds on (0,∞)\ioo{0}{\infty} for every r≠−1r \neq -1; on R\mathbb{R} if rr is a nonnegative integer, with x0=1x^0 = 1; and on each of the intervals (−∞,0)\ioo{-\infty}{0} and (0,∞)\ioo{0}{\infty} if rr is an integer less than −1-1. The second holds on each of the intervals (−∞,0)\ioo{-\infty}{0} and (0,∞)\ioo{0}{\infty}. The exponent r+1r + 1 is not zero, and the derivative of xr+1x^{r + 1} brings that exponent down, where it cancels with the denominator; the exponent −1-1, which that formula excludes, is covered by the logarithm.

Proof

  1. ddx(xr+1r+1)=(r+1)xrr+1=xr,x>0\frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{x^{r + 1}}{r + 1}\right) = \frac{(r + 1) x^{r}}{r + 1} = \resaltar{x^r}, \qquad x > 0

    Let x>0x > 0. By the theorem on the derivative of a power with a real exponent, from the lesson on the variable in the exponent, with the exponent r+1r + 1:

  2. ddx(xn+1n+1)=xn\frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{x^{n + 1}}{n + 1}\right) = \resaltar{x^n}

    If r=nr = n is a nonnegative integer, m=n+1m = n + 1 is a positive integer, and if nn is an integer less than −1-1, m=n+1m = n + 1 is a negative integer. By the proposition on powers with an integer exponent, from the lesson on differentiation rules, xmx^m is differentiable on its whole domain, R\mathbb{R} in the first case and R∖{0}\mathbb{R} \setminus \{0\} in the second, with the same formula; in the second case, the restriction to each ray is an antiderivative.

  3. ddx(ln⁡∣x∣)=1x,x≠0\frac{\mathrm{d}}{\mathrm{d}x}\left(\ln \abs{x}\right) = \resaltar{\frac{1}{x}}, \qquad x \neq 0

    By the theorem on the derivative of the natural logarithm, ln⁡∣x∣\ln \abs{x} is differentiable on R∖{0}\mathbb{R} \setminus \{0\} with derivative 1x\frac{1}{x}, and its restriction to each ray is an antiderivative of 1x\frac{1}{x}.

Powers with a rational exponent whose denominator is odd, such as x3\sqrt[3]{x}, are defined on all of R\mathbb{R}, and the proposition only gives their antiderivative on (0,∞)\ioo{0}{\infty}; the proposed problem “The cube root on the whole real line” extends it to the whole real line. On (0,∞)\ioo{0}{\infty}, the formula for the logarithm is the limiting case of the one for powers in a precise sense: the antiderivative xr+1−1r+1\frac{x^{r + 1} - 1}{r + 1}, which vanishes at 11, tends to ln⁡x\ln x as rr tends to −1-1, by the corollary on the standard limits of the logarithm and of powers, from the lesson on the continuity of the elementary functions, with a=xa = x and the exponent r+1r + 1 in place of the variable.

PropositionAntiderivatives of the exponentials and of the trigonometric functions

Let a>0a > 0, with a≠1a \neq 1. On R\mathbb{R}:

∫ex dx=ex+C,∫ax dx=axln⁡a+C,∫cos⁡x dx=sin⁡x+C,∫sin⁡x dx=−cos⁡x+C\int e^x \, \mathrm{d}x = e^x + C, \qquad \int a^x \, \mathrm{d}x = \frac{a^x}{\ln a} + C, \qquad \int \cos x \, \mathrm{d}x = \sin x + C, \qquad \int \sin x \, \mathrm{d}x = -\cos x + C
∫11+x2 dx=arctan⁡x+C\int \frac{1}{1 + x^2} \, \mathrm{d}x = \arctan x + C

On each interval (−π2+kπ,π2+kπ)\ioo{-\frac{\pi}{2} + k\pi}{\frac{\pi}{2} + k\pi}, with kk an integer, the first two equalities below, and on each interval (kπ,(k+1)π)\ioo{k\pi}{(k + 1)\pi}, the last two:

∫sec⁡2x dx=tan⁡x+C,∫sec⁡xtan⁡x dx=sec⁡x+C,∫csc⁡2x dx=−cot⁡x+C,∫csc⁡xcot⁡x dx=−csc⁡x+C\int \sec^2 x \, \mathrm{d}x = \tan x + C, \qquad \int \sec x \tan x \, \mathrm{d}x = \sec x + C, \qquad \int \csc^2 x \, \mathrm{d}x = -\cot x + C, \qquad \int \csc x \cot x \, \mathrm{d}x = -\csc x + C

And on (−1,1)\ioo{-1}{1}:

∫11−x2 dx=arcsin⁡x+C\int \frac{1}{\sqrt{1 - x^2}} \, \mathrm{d}x = \arcsin x + C

Each formula is a derivative from Calculus I read backward.

Proof

  1. ddx(ex)=ex,ddx(axln⁡a)=axln⁡aln⁡a=ax\frac{\mathrm{d}}{\mathrm{d}x}\left(e^x\right) = e^x, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{a^x}{\ln a}\right) = \frac{a^x \ln a}{\ln a} = \resaltar{a^x}

    By the theorem on the derivative of the natural exponential, from the lesson on the elementary functions, and the one on the derivatives of the exponential and of the logarithm to base aa, from the lesson on the variable in the exponent, since ln⁡a≠0\ln a \neq 0:

  2. ddx(sin⁡x)=cos⁡x,ddx(−cos⁡x)=sin⁡x\frac{\mathrm{d}}{\mathrm{d}x}\left(\sin x\right) = \cos x, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(-\cos x\right) = \resaltar{\sin x}

    By the theorem on the derivatives of sine and cosine, from the lesson on the elementary functions, and the one on the derivative of a linear combination:

  3. ddx(tan⁡x)=1cos⁡2x=sec⁡2x,ddx(−cot⁡x)=1sin⁡2x=csc⁡2x\frac{\mathrm{d}}{\mathrm{d}x}\left(\tan x\right) = \frac{1}{\cos^2 x} = \resaltar{\sec^2 x}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(-\cot x\right) = \frac{1}{\sin^2 x} = \resaltar{\csc^2 x}

    By the proposition on the derivatives of the other trigonometric functions, from the same lesson, the tangent and the secant are differentiable where cos⁡x≠0\cos x \neq 0, and the cotangent and the cosecant where sin⁡x≠0\sin x \neq 0. Those domains are the unions of the intervals in the statement, and the restriction to each interval is an antiderivative.

  4. ddx(−csc⁡x)=csc⁡xcot⁡x,ddx(arctan⁡x)=11+x2,ddx(arcsin⁡x)=11−x2\frac{\mathrm{d}}{\mathrm{d}x}\left(-\csc x\right) = \resaltar{\csc x \cot x}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\arctan x\right) = \resaltar{\frac{1}{1 + x^2}}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\arcsin x\right) = \resaltar{\frac{1}{\sqrt{1 - x^2}}}

    From the same proposition, the derivatives of the secant and of the cosecant; and by the one on the derivatives of the inverse trigonometric functions, from the lesson on the derivative of the inverse function, the arctangent is differentiable on R\mathbb{R} and the arcsine on (−1,1)\ioo{-1}{1}.

The arcsine is continuous on [−1,1]\icc{-1}{1}, but it is not differentiable at −1-1 or at 11, and the integrand is not defined there: the interval of the last formula is open. The antiderivatives of tan⁡x\tan x and of sec⁡x\sec x are not basic, because no derivative in the list is the tangent or the secant; they will be obtained in the lesson on the change of variable and in the one on trigonometric integrals.

PropositionAntiderivatives of the hyperbolic functions and of their inverses

On R\mathbb{R}:

∫cosh⁡x dx=sinh⁡x+C,∫sinh⁡x dx=cosh⁡x+C,∫1cosh⁡2x dx=tanh⁡x+C\int \cosh x \, \mathrm{d}x = \sinh x + C, \qquad \int \sinh x \, \mathrm{d}x = \cosh x + C, \qquad \int \frac{1}{\cosh^2 x} \, \mathrm{d}x = \tanh x + C
∫1x2+1 dx=arcsinh⁡x+C=ln⁡(x+x2+1)+C\int \frac{1}{\sqrt{x^2 + 1}} \, \mathrm{d}x = \operatorname{arcsinh} x + C = \ln\left(x + \sqrt{x^2 + 1}\right) + C

On each of the intervals (−∞,−1)\ioo{-\infty}{-1} and (1,∞)\ioo{1}{\infty} the first equality below, and on each of the intervals (−∞,−1)\ioo{-\infty}{-1}, (−1,1)\ioo{-1}{1} and (1,∞)\ioo{1}{\infty} the second:

∫1x2−1 dx=ln⁡∣x+x2−1∣+C,∫11−x2 dx=12ln⁡∣1+x1−x∣+C\int \frac{1}{\sqrt{x^2 - 1}} \, \mathrm{d}x = \ln \abs{x + \sqrt{x^2 - 1}} + C, \qquad \int \frac{1}{1 - x^2} \, \mathrm{d}x = \frac{1}{2} \ln \abs{\frac{1 + x}{1 - x}} + C

On (1,∞)\ioo{1}{\infty}, the first antiderivative is arccosh⁡x\operatorname{arccosh} x, and on (−1,1)\ioo{-1}{1}, the second is arctanh⁡x\operatorname{arctanh} x. The logarithmic forms of the inverse hyperbolic functions also hold outside their domains, with the absolute value; they are checked by differentiating with the corollary on compositions with the logarithm.

Proof

  1. ddx(sinh⁡x)=cosh⁡x,ddx(cosh⁡x)=sinh⁡x,ddx(tanh⁡x)=1cosh⁡2x,ddx(arcsinh⁡x)=1x2+1\frac{\mathrm{d}}{\mathrm{d}x}\left(\sinh x\right) = \cosh x, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\cosh x\right) = \sinh x, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\tanh x\right) = \frac{1}{\cosh^2 x}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\operatorname{arcsinh} x\right) = \resaltar{\frac{1}{\sqrt{x^2 + 1}}}

    By the proposition on the derivatives of the hyperbolic functions, from the lesson on the elementary functions, and the one on the derivatives of the inverse hyperbolic functions, from the lesson on the derivative of the inverse function; the logarithmic form is the proposition on the inverse hyperbolic sine, from the lesson on the hyperbolic functions, in Algebra and Geometry.

  2. u′(x)=1+xx2−1=u(x)x2−1,ddx(ln⁡∣u(x)∣)=u′(x)u(x)=1x2−1u'(x) = 1 + \frac{x}{\sqrt{x^2 - 1}} = \frac{u(x)}{\sqrt{x^2 - 1}}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(\ln \abs{u(x)}\right) = \frac{u'(x)}{u(x)} = \resaltar{\frac{1}{\sqrt{x^2 - 1}}}

    Let ∣x∣>1\abs{x} > 1 and u(x)=x+x2−1u(x) = x + \sqrt{x^2 - 1}. Since (x+x2−1)(x−x2−1)=1\left(x + \sqrt{x^2 - 1}\right)\left(x - \sqrt{x^2 - 1}\right) = 1, the function uu does not vanish. By the corollary on standard compositions, from the lesson on the chain rule, and the one on compositions with the exponential and the logarithm, from the lesson on the variable in the exponent:

  3. 12⋅11+x−12⋅−11−x=(1−x)+(1+x)2(1−x2)=11−x2\frac{1}{2} \cdot \frac{1}{1 + x} - \frac{1}{2} \cdot \frac{-1}{1 - x} = \frac{(1 - x) + (1 + x)}{2\left(1 - x^2\right)} = \resaltar{\frac{1}{1 - x^2}}

    Let x≠±1x \neq \pm 1. By the law of the logarithm of a quotient, 12ln⁡∣1+x1−x∣=12ln⁡∣1+x∣−12ln⁡∣1−x∣\frac{1}{2} \ln \abs{\frac{1 + x}{1 - x}} = \frac{1}{2} \ln \abs{1 + x} - \frac{1}{2} \ln \abs{1 - x}, and by the same corollary:

  4. arccosh⁡x=ln⁡(x+x2−1),arctanh⁡x=12ln⁡1+x1−x\operatorname{arccosh} x = \resaltar{\ln\left(x + \sqrt{x^2 - 1}\right)}, \qquad \operatorname{arctanh} x = \resaltar{\frac{1}{2} \ln \frac{1 + x}{1 - x}}

    On (1,∞)\ioo{1}{\infty} and on (−1,1)\ioo{-1}{1}, the antiderivatives coincide with the logarithmic forms of the propositions on the inverse hyperbolic cosine and on the inverse hyperbolic tangent, from the lesson on the hyperbolic functions; on (1,∞)\ioo{1}{\infty}, x+x2−1x + \sqrt{x^2 - 1} is positive, and on (−1,1)\ioo{-1}{1}, so is 1+x1−x\frac{1 + x}{1 - x}.

On (−∞,−1)\ioo{-\infty}{-1}, the antiderivative ln⁡∣x+x2−1∣\ln \abs{x + \sqrt{x^2 - 1}} is −arccosh⁡(−x)-\operatorname{arccosh}(-x), because −x−x2−1-x - \sqrt{x^2 - 1} is the reciprocal of −x+x2−1-x + \sqrt{x^2 - 1}; the logarithmic form gathers into a single formula what the inverse hyperbolic functions would express with two. The formulas for 11+x2\frac{1}{1 + x^2} and for 11−x2\frac{1}{1 - x^2} differ only in a sign, as do their antiderivatives arctan⁡x\arctan x and arctanh⁡x\operatorname{arctanh} x, and the same holds for those of 11−x2\frac{1}{\sqrt{1 - x^2}} and 1x2+1\frac{1}{\sqrt{x^2 + 1}} inside the root.

Functions without an antiderivative

Every derivative on an open interval has the intermediate value property, by Darboux’s theorem, from the lesson on monotonicity and the first derivative test, even if it is not continuous. A function without that property cannot be the derivative of anything.

PropositionThe sign function has no antiderivative on the real line

Let ss be the sign function: s(x)=1s(x) = 1 if x>0x > 0, s(0)=0s(0) = 0 and s(x)=−1s(x) = -1 if x<0x < 0. There is no function differentiable on R\mathbb{R} whose derivative is ss. On the other hand, ss has antiderivatives on (−∞,0)\ioo{-\infty}{0} and on (0,∞)\ioo{0}{\infty}, the restrictions of ∣x∣\abs{x} plus a constant. An antiderivative on R\mathbb{R} would have a derivative that passes from −1-1 to 11 without taking the value 12\frac{1}{2}.

Proof

  1. F′(−1)<12<F′(1)→s(c)=12F'(-1) < \frac{1}{2} < F'(1) \rightarrow s(c) = \resaltar{\frac{1}{2}}

    Suppose that FF is differentiable on R\mathbb{R}, with F′(x)=s(x)F'(x) = s(x) for every xx. Then F′(−1)=−1F'(-1) = -1 and F′(1)=1F'(1) = 1. Since R\mathbb{R} is an open interval, Darboux’s theorem, with y=12y = \frac{1}{2}, gives a cc in (−1,1)\ioo{-1}{1} with F′(c)=12F'(c) = \frac{1}{2}; but ss only takes the values −1-1, 00 and 11.

  2. ∫s(x) dx=∣x∣+C,x∈(−∞,0) or x∈(0,∞)\int s(x) \, \mathrm{d}x = \resaltar{\abs{x} + C}, \qquad x \in \ioo{-\infty}{0} \text{ or } x \in \ioo{0}{\infty}

    On (0,∞)\ioo{0}{\infty}, ∣x∣=x\abs{x} = x, with derivative 11; on (−∞,0)\ioo{-\infty}{0}, ∣x∣=−x\abs{x} = -x, with derivative −1-1. By the theorem on antiderivatives on an interval, these are all the antiderivatives, up to a constant on each ray.

The value assigned at 00 has no influence: if s(0)s(0) were any other number vv, the same argument, with a yy in (−1,1)\ioo{-1}{1} different from vv, would show that there is no antiderivative. The lesson on monotonicity reached the same conclusion for the Heaviside function, in its solved problem “A jump that is not a derivative”, and its corollary on the discontinuities of a derivative generalizes it.

CorollaryA function with a jump has no antiderivative

Let ff be a function defined on an open interval II that has, at a point cc of II, a removable or jump discontinuity. Then ff has no antiderivative on II. A derivative can only have essential discontinuities.

Proof

  1. lim⁡x→c+F′(x)=L→L=F′(c)=f(c)\lim_{x \to c^+} F'(x) = L \rightarrow \resaltar{L = F'(c) = f(c)}

    If FF were an antiderivative of ff on II, ff would be the derivative of a function differentiable at each point of II. By the corollary on the discontinuities of a derivative, from the lesson on monotonicity and the first derivative test, every one-sided limit of f=F′f = F' at cc would be equal to f(c)f(c), and if both exist, ff is continuous at cc: ff would not have at cc a removable or jump discontinuity, contrary to the hypothesis.

Continuity is not necessary for having an antiderivative: the solved problem “Changing a single value” shows a discontinuous function that has one. It is, however, sufficient: every function continuous on an interval has an antiderivative on it. That result will not be used in this unit, because its proof requires the definite integral; it is the fundamental theorem of calculus, from unit 3. Until then, each antiderivative is exhibited and checked by differentiating it, and each technique of this unit is a theorem that is proved by differentiating its result.

That an antiderivative exists does not mean that it can be written with the elementary functions. The function e−x2e^{-x^2} is continuous on R\mathbb{R}, and it will have an antiderivative by the fundamental theorem; but none of its antiderivatives is obtained from polynomials, exponentials, logarithms, the trigonometric functions and their inverses by finitely many operations and compositions. The same happens with sin⁡xx\frac{\sin x}{x} and with 1ln⁡x\frac{1}{\ln x}. It is a fact that is proved in later courses, with the theory that Joseph Liouville initiated in the nineteenth century, and that this unit does not use. The techniques of the lessons that follow find elementary antiderivatives, when they exist, for broad families of functions, not for all.

Solved problems

The problems increase in difficulty: the first rewrites two integrands as combinations from the table; the second compares three antiderivatives of the same function and derives an identity from them; the third determines an antiderivative on a split domain with one condition on each interval; the fourth constructs a piecewise-defined antiderivative; and the last shows a discontinuous function with an antiderivative, which loses it when a single value is changed.

Solved problem 1Rewriting before integrating

Compute ∫(1+x)2x dx\int \frac{\left(1 + \sqrt{x}\right)^2}{x} \, \mathrm{d}x and ∫x2−1x2+1 dx\int \frac{x^2 - 1}{x^2 + 1} \, \mathrm{d}x, indicating on which interval each result holds.

Solution

  1. (1+x)2x=1+2x+xx=1x+2x−12+1\frac{\left(1 + \sqrt{x}\right)^2}{x} = \frac{1 + 2\sqrt{x} + x}{x} = \resaltar{\frac{1}{x} + 2x^{-\frac{1}{2}} + 1}

    The first integrand is defined on (0,∞)\ioo{0}{\infty}. Expanding the square and dividing each term by xx leaves a linear combination of powers.

  2. ∫(1+x)2x dx=ln⁡x+2⋅x1212+x+C=ln⁡x+4x+x+C,x>0\int \frac{\left(1 + \sqrt{x}\right)^2}{x} \, \mathrm{d}x = \ln x + 2 \cdot \frac{x^{\frac{1}{2}}}{\frac{1}{2}} + x + C = \resaltar{\ln x + 4\sqrt{x} + x + C}, \qquad x > 0

    By linearity and the proposition on antiderivatives of powers, with r=−12r = -\frac{1}{2} and r=0r = 0, on (0,∞)\ioo{0}{\infty}, where ln⁡∣x∣=ln⁡x\ln \abs{x} = \ln x:

  3. x2−1x2+1=1−2x2+1→∫x2−1x2+1 dx=x−2arctan⁡x+C,x∈R\frac{x^2 - 1}{x^2 + 1} = 1 - \frac{2}{x^2 + 1} \qquad \rightarrow \qquad \int \frac{x^2 - 1}{x^2 + 1} \, \mathrm{d}x = \resaltar{x - 2\arctan x + C}, \qquad x \in \mathbb{R}

    The second integrand is defined on R\mathbb{R}, and subtracting and adding 22 in the numerator splits it into a constant and a multiple of 11+x2\frac{1}{1 + x^2}, whose antiderivative is the arctangent.

Neither of the two integrands was in the table, nor was a new technique needed: algebra was enough. It is always worth looking at the integrand before searching for a technique.

Solved problem 2Three antiderivatives of the sine of the double angle

Prove that sin⁡2x\sin^2 x, −cos⁡2x-\cos^2 x and −12cos⁡(2x)-\frac{1}{2} \cos(2x) are antiderivatives of sin⁡(2x)\sin(2x) on R\mathbb{R}, find the constants by which they differ and deduce a trigonometric identity.

Solution

  1. ddx(sin⁡2x)=2sin⁡xcos⁡x=sin⁡(2x),ddx(−cos⁡2x)=−2cos⁡x(−sin⁡x)=sin⁡(2x)\frac{\mathrm{d}}{\mathrm{d}x}\left(\sin^2 x\right) = 2 \sin x \cos x = \resaltar{\sin(2x)}, \qquad \frac{\mathrm{d}}{\mathrm{d}x}\left(-\cos^2 x\right) = -2 \cos x \left(-\sin x\right) = \resaltar{\sin(2x)}

    By the corollary on standard compositions, from the lesson on the chain rule, and the double-angle formula for sine:

  2. ddx(−12cos⁡(2x))=−12⋅(−2sin⁡(2x))=sin⁡(2x)\frac{\mathrm{d}}{\mathrm{d}x}\left(-\frac{1}{2} \cos(2x)\right) = -\frac{1}{2} \cdot \left(-2 \sin(2x)\right) = \resaltar{\sin(2x)}

    By the solved problem “A linear change of variable” from the lesson on the elementary functions, the derivative of cos⁡(2x)\cos(2x) is −2sin⁡(2x)-2 \sin(2x):

  3. sin⁡2x−(−cos⁡2x)=sin⁡20+cos⁡20=1,sin⁡2x−(−12cos⁡(2x))=0+12=12\sin^2 x - \left(-\cos^2 x\right) = \sin^2 0 + \cos^2 0 = \resaltar{1}, \qquad \sin^2 x - \left(-\frac{1}{2} \cos(2x)\right) = 0 + \frac{1}{2} = \resaltar{\frac{1}{2}}

    By the theorem on antiderivatives on an interval, each difference is constant on R\mathbb{R}, and its value is computed at x=0x = 0.

  4. sin⁡2x=1−cos⁡(2x)2,x∈R\resaltar{\sin^2 x = \frac{1 - \cos(2x)}{2}}, \qquad x \in \mathbb{R}

    The first constant is the Pythagorean identity. The second gives, on solving, the power-reducing formula that the lesson on the sum and difference formulas obtained from the cosine of the double angle:

The three results for ∫sin⁡(2x) dx\int \sin(2x) \, \mathrm{d}x are correct and of different appearance: as an equality of families, sin⁡2x+C=−cos⁡2x+C=−12cos⁡(2x)+C\sin^2 x + C = -\cos^2 x + C = -\frac{1}{2} \cos(2x) + C. Comparing two antiderivatives on an interval is also a method for proving identities: it suffices that they have the same derivative and that they coincide at one point.

Solved problem 3One condition for each interval

Find the function FF, differentiable on R∖{0}\mathbb{R} \setminus \{0\}, such that F′(x)=(x+1)2xF'(x) = \frac{(x + 1)^2}{x}, F(1)=0F(1) = 0 and F(−1)=0F(-1) = 0. Can it be written in the form P(x)+CP(x) + C, with a single formula PP on the whole domain and a single constant?

Solution

  1. (x+1)2x=x+2+1x→P(x)=x22+2x+ln⁡∣x∣\frac{(x + 1)^2}{x} = x + 2 + \frac{1}{x} \qquad \rightarrow \qquad \dato{P}{P(x) = \frac{x^2}{2} + 2x + \ln \abs{x}}

    Expanding the numerator, the integrand is a combination of powers. By linearity and the proposition on antiderivatives of powers, an antiderivative on each of the two rays is:

  2. P(1)+C2=52+C2=0,P(−1)+C1=−32+C1=0P(1) + C_2 = \frac{5}{2} + C_2 = 0, \qquad P(-1) + C_1 = -\frac{3}{2} + C_1 = 0

    The domain is the union of the open rays, and by the proposition on antiderivatives on a union of disjoint open intervals there is one constant on each of them. The condition at 11 fixes the one on the right, and the condition at −1-1, the one on the left.

  3. F(x)={x22+2x+ln⁡(−x)+32x<0x22+2x+ln⁡x−52x>0\resaltar{F(x) = \begin{cases} \frac{x^2}{2} + 2x + \ln(-x) + \frac{3}{2} & x < 0 \\ \frac{x^2}{2} + 2x + \ln x - \frac{5}{2} & x > 0 \end{cases}}

    The constants are different, so the function found is not of the form P(x)+CP(x) + C with a single constant. With only one of the two conditions, the other constant would remain free, and there would be infinitely many such functions.

On a split domain, the number of conditions needed is the number of intervals: each condition gives information about the interval in which its point lies, and not about the others.

Solved problem 4A piecewise-defined antiderivative

Let f(x)=x2f(x) = x^2 if ∣x∣≥1\abs{x} \geq 1 and f(x)=1f(x) = 1 if ∣x∣<1\abs{x} < 1. Find all the antiderivatives of ff on R\mathbb{R} and, among them, the one that vanishes at 00.

Solution

  1. F(x)=x,−1≤x≤1F(x) = \resaltar{x}, \qquad -1 \leq x \leq 1

    Let FF be an antiderivative of ff on R\mathbb{R} with F(0)=0F(0) = 0. Its restriction to [−1,1]\icc{-1}{1} is an antiderivative of ff on that interval, where ff equals 11, even at the endpoints. By the corollary on the antiderivative taking a given value:

  2. 13+C2=1→C2=23,−13+C1=−1→C1=−23\frac{1}{3} + C_2 = 1 \rightarrow C_2 = \resaltar{\frac{2}{3}}, \qquad -\frac{1}{3} + C_1 = -1 \rightarrow C_1 = \resaltar{-\frac{2}{3}}

    On [1,∞)\ico{1}{\infty}, f(x)=x2f(x) = x^2, and the restriction of FF is an antiderivative of x2x^2; by the theorem on antiderivatives on an interval, F(x)=x33+C2F(x) = \frac{x^3}{3} + C_2 there. The point 11 belongs to both intervals, and F(1)=1F(1) = 1 fixes the constant; on (−∞,−1]\ioc{-\infty}{-1}, in the same way, with F(−1)=−1F(-1) = -1.

  3. g(1)=1=h(1),g′(1)=1=h′(1)g(1) = 1 = h(1), \qquad g'(1) = 1 = \resaltar{h'(1)}

    It remains to check that the function so constructed is differentiable at ±1\pm 1. Let g(x)=xg(x) = x and h(x)=x33+23h(x) = \frac{x^3}{3} + \frac{2}{3}. By the proposition on the derivative at a junction point, from the lesson on differentiation rules, it suffices that the two formulas give at 11 the same value and the same derivative; at −1-1 the reasoning is the same with x33−23\frac{x^3}{3} - \frac{2}{3}, which equals −1-1 and has derivative 11.

By the theorem on antiderivatives on an interval, the antiderivatives of ff on R\mathbb{R} are the functions F+CF + C: a single constant, because R\mathbb{R} is an interval, even though the formula has three pieces. The constants of the pieces are not free: they are tied by the continuity of the antiderivative at the junction points. The antiderivative that vanishes at 00 is odd, and ff is even; the proposed problem “Antiderivatives of even and odd functions” explains why.

Solved problem 5Changing a single value

Let f(x)=2xsin⁡1x−cos⁡1xf(x) = 2x \sin \frac{1}{x} - \cos \frac{1}{x} if x≠0x \neq 0, and f(0)=0f(0) = 0. Prove that ff has an antiderivative on R\mathbb{R}, although it is discontinuous at 00. Let gg be the function that coincides with ff outside 00 and satisfies g(0)=1g(0) = 1. Prove that gg has no antiderivative on R\mathbb{R}.

Solution

  1. F′(x)=2xsin⁡1x−cos⁡1x,x≠0,F′(0)=0\dato{F}{F'(x) = 2x \sin \frac{1}{x} - \cos \frac{1}{x}, \quad x \neq 0, \qquad F'(0) = 0}

    Let F(x)=x2sin⁡1xF(x) = x^2 \sin \frac{1}{x} if x≠0x \neq 0, and F(0)=0F(0) = 0. The solved problem “A derivative that has no limit” from the lesson on the elementary functions computed its derivative outside 00 and showed that it has no limit at 00; at 00, the derivative is zero, by the solved problem “Continuous and without one-sided derivatives” from the lesson on the derivative as a limit.

  2. ∫f(x) dx=F(x)+C,x∈R\int f(x) \, \mathrm{d}x = \resaltar{F(x) + C}, \qquad x \in \mathbb{R}

    Then F′=fF' = f on all of R\mathbb{R}, and FF is an antiderivative of ff. The discontinuity of ff at 00 is essential, as the corollary on the discontinuities of a derivative requires.

  3. H′(x)=0,x≠0,H′(0)=1H'(x) = 0, \quad x \neq 0, \qquad \dato{H}{H'(0) = 1}

    Suppose that GG is differentiable on R\mathbb{R}, with G′=gG' = g. The difference H=G−FH = G - F is differentiable on R\mathbb{R}, and its derivative is g(x)−f(x)g(x) - f(x): zero outside 00, and 11 at 00.

  4. H′(1)<12<H′(0)→H′(c)=12,0<c<1H'(1) < \frac{1}{2} < H'(0) \rightarrow H'(c) = \resaltar{\frac{1}{2}}, \quad 0 < c < 1

    By Darboux’s theorem, in (0,1)\ioo{0}{1} there would be a point cc with H′(c)=12H'(c) = \frac{1}{2}, because 12\frac{1}{2} lies between H′(0)=1H'(0) = 1 and H′(1)=0H'(1) = 0. But H′H' is zero on (0,1)\ioo{0}{1}. There is no GG.

Having an antiderivative does not depend on continuity, but on something more fragile: a single changed value is enough to lose it. The function gg differs from a derivative at only one point, and the difference, which equals 11 at 00 and 00 at the other points, has a removable discontinuity, which no derivative can have.

Proposed problems

The problems increase in difficulty: the first extends the antiderivative of the cube root to the whole real line; the second shows that the sign function has no antiderivative on a closed ray either, where Darboux’s theorem does not apply; the third constructs a periodic antiderivative with infinitely many intervals; the fourth relates the parity of a function to that of its antiderivatives; and the last finds the function that comes closest to an antiderivative of the integer part. Each one has a hint, which is best opened only after having attempted it.

Proposed problem 1The cube root on the whole real line

The proposition on antiderivatives of powers gives ∫x13 dx=34x43+C\int x^{\frac{1}{3}} \, \mathrm{d}x = \frac{3}{4} x^{\frac{4}{3}} + C only on (0,∞)\ioo{0}{\infty}. Prove that F(x)=34xx3F(x) = \frac{3}{4} x \sqrt[3]{x} is an antiderivative of x3\sqrt[3]{x} on all of R\mathbb{R}, and write the indefinite integral of x3\sqrt[3]{x} on R\mathbb{R}.

Hint

For x≠0x \neq 0, differentiate the product with the proposition on the derivative of the nth root, from the lesson on the derivative of the inverse function, and simplify with (x3)3=x\left(\sqrt[3]{x}\right)^3 = x. At 00, the root is not differentiable and the product rule does not apply: compute the limit of the difference quotient F(x)−F(0)x\frac{F(x) - F(0)}{x}.

Answer
∫x3 dx=34xx3+C,x∈R\int \sqrt[3]{x} \, \mathrm{d}x = \frac{3}{4} x \sqrt[3]{x} + C, \qquad x \in \mathbb{R}
Proposed problem 2The sign function on a closed ray

Let ss be the sign function. Prove that ss has no antiderivative on [0,∞)\ico{0}{\infty}, although it has one on (0,∞)\ioo{0}{\infty} and although Darboux’s theorem does not apply on an interval that contains one of its endpoints. What if the value of ss at 00 is changed to 11?

Hint

If FF were an antiderivative of ss on [0,∞)\ico{0}{\infty}, it would be continuous on [0,1)\ico{0}{1}, with F′(x)=1F'(x) = 1 on (0,1)\ioo{0}{1}. Apply the corollary on the limit of the derivative, from the lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy, and compare with F′(0)=s(0)F'(0) = s(0).

Answer

It has none: an antiderivative would satisfy F′(0)=F+′(0)=1≠0=s(0)F'(0) = F'_+(0) = 1 \neq 0 = s(0). With the value 11 at 00, the function is constant and equal to 11 on [0,∞)\ico{0}{\infty}, and its antiderivatives there are x+Cx + C.

Proposed problem 3A periodic antiderivative

Find the function FF, differentiable at each xx with cos⁡x≠0\cos x \neq 0, such that F′(x)=tan⁡2xF'(x) = \tan^2 x and F(kπ)=0F(k\pi) = 0 for every integer kk. Prove that F(x+π)=F(x)F(x + \pi) = F(x) on its whole domain, although tan⁡x−x\tan x - x is not periodic.

Hint

Use tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 and linearity. The domain is the union of the intervals (−π2+kπ,π2+kπ)\ioo{-\frac{\pi}{2} + k\pi}{\frac{\pi}{2} + k\pi}, and kπk\pi lies in the one with index kk: there is one constant per interval, and each condition fixes one. For the periodicity, observe that x+πx + \pi lies in the interval with index k+1k + 1 if xx lies in the one with index kk.

Answer
F(x)=tan⁡x−x+kπ,−π2+kπ<x<π2+kπ,k∈ZF(x) = \tan x - x + k\pi, \qquad -\frac{\pi}{2} + k\pi < x < \frac{\pi}{2} + k\pi, \quad k \in \mathbb{Z}
Proposed problem 4Antiderivatives of even and odd functions

Let II be an interval symmetric about 00 (if xx is in II, so is −x-x), with more than one point, and let ff be a function with an antiderivative FF on II. Prove that if ff is odd, every antiderivative of ff on II is even, and that if ff is even, the antiderivative that vanishes at 00 is odd. Is every antiderivative of an even function odd?

Hint

Differentiate F(−x)F(-x) with the solved problem “A linear change of variable” from the lesson on the elementary functions, with c=−1c = -1 and b=0b = 0, and apply the theorem on antiderivatives on an interval to F(−x)F(-x), or to −F(−x)-F(-x), and to F(x)F(x). The constant is computed at x=0x = 0, which is in II.

Answer

If ff is odd, F(−x)=F(x)F(-x) = F(x) for every antiderivative FF; if ff is even and F(0)=0F(0) = 0, F(−x)=−F(x)F(-x) = -F(x). Not every antiderivative of an even function is odd: x33+1\frac{x^3}{3} + 1 is an antiderivative of x2x^2 and is not odd.

Worked solution

Solution

  1. G′(x)=−F′(−x)=−f(−x)=f(x)G'(x) = -F'(-x) = -f(-x) = \resaltar{f(x)}

    Let ff be odd and let G(x)=F(−x)G(x) = F(-x), defined on II. By the linear change of variable, GG is differentiable at each point of II, and since ff is odd, GG is an antiderivative of ff on II.

  2. F(−x)=F(x)+C,F(0)=F(0)+C→C=0→F(−x)=F(x)F(-x) = F(x) + C, \qquad F(0) = F(0) + C \rightarrow C = 0 \rightarrow \resaltar{F(-x) = F(x)}

    By the theorem on antiderivatives on an interval, G=F+CG = F + C; at x=0x = 0, which is in II, G(0)=F(0)G(0) = F(0), so C=0C = 0 and FF is even.

  3. −F(−x)=F(x)+C,−F(0)=F(0)+C→C=0→F(−x)=−F(x)-F(-x) = F(x) + C, \qquad -F(0) = F(0) + C \rightarrow C = 0 \rightarrow \resaltar{F(-x) = -F(x)}

    Let ff be even, with F(0)=0F(0) = 0, and let G(x)=−F(−x)G(x) = -F(-x). Now G′(x)=F′(−x)=f(−x)=f(x)G'(x) = F'(-x) = f(-x) = f(x), so G=F+CG = F + C, and at 00 one obtains C=−2F(0)=0C = -2F(0) = 0.

Proposed problem 5The integer part

Prove that the integer part, ⌊x⌋\lfloor x \rfloor, has no antiderivative on any open interval that contains an integer. Find the function FF, continuous on R\mathbb{R} and differentiable at each non-integer xx, such that F′(x)=⌊x⌋F'(x) = \lfloor x \rfloor for every non-integer xx and F(0)=0F(0) = 0.

Hint

At each integer, the integer part has a jump: apply the corollary on functions with a jump. On each interval [n,n+1]\icc{n}{n + 1}, FF is continuous and has derivative nn at the interior points; the corollary on functions with the same derivative gives F(x)=nx+CnF(x) = nx + C_n there. Continuity at the integers ties each constant to the one before it, starting from F(0)=0F(0) = 0.

Answer
F(x)=⌊x⌋x−⌊x⌋(⌊x⌋+1)2,x∈RF(x) = \lfloor x \rfloor x - \frac{\lfloor x \rfloor \left(\lfloor x \rfloor + 1\right)}{2}, \qquad x \in \mathbb{R}