An antiderivative from five options, and integration by parts

23 min · 3 drills

In the textbook: Ch. 4.1 Stammfunktionen und Integrale4.2 Berechnungsmethoden

How do you find the antiderivative among five options in half a minute? And how do you integrate a product such as x⋅e2x, for which there is no ready-made rule?

Both tasks rest on one observation: differentiating is easier than integrating. On the exam this is the task “Choose the antiderivative” with five options and the integral of a product of two different functions. You need two rules of the derivative from the article “What the derivative is: slope and the rules”:

  • chain rule: for a function with an expression inside, the derivative gets one more factor, the derivative of the inner expression;
  • product rule: the derivative of a product is “derivative of the first times the second plus the first times the derivative of the second”.

Say you and the student next to you are looking for the antiderivative of f(x)=12⋅e4x. Your neighbour gets 48⋅e4x, you get 3⋅e4x+7.

Which of you is right?

On the exam there is no answer key at the back of the book. Integrating again takes time, and the second attempt easily repeats the same mistake.

You are right, not your neighbour. Differentiate both answers:

  • yours: (3⋅e4x+7)′=3⋅4⋅e4x=12⋅e4x, exactly f, and the 7 disappears when you differentiate;
  • your neighbour's: (48⋅e4x)′=192⋅e4x, 16 times f. They multiplied by the four from the exponent where they should have divided by it.

Two lines of derivatives settled the argument faster than a new integral would have. In the same way, by differentiating, you pick the antiderivative from five options on the exam.

The basics: antiderivative and inner function

The definition of the antiderivative settled the argument with your neighbour. It and dividing by k are worth refreshing before the tasks. An antiderivative F of f is a function with F′=f (“Antiderivative: the derivative backwards”). Any number can be added to it, written +C: it disappears when you differentiate. A definite integral is worked out as F(b)−F(a).

If an exponential, root or fraction holds kx+m (with numbers k and m), you integrate by the table of antiderivatives and divide by k: ∫ekx dx=1k⋅ekx. Where this division comes from and how to use it: “Integral when an exponential, root or fraction holds more than just x”.

Which of five options is an antiderivative

With your neighbour there were two answers to choose from. On the exam there are five, and you check them the same way, by differentiating:

Exam-style task

Wählen Sie die Stammfunktion zu f(x)=6e5x aus.

  1. a)e6x+C
  2. b)6e6x+C
  3. c)6 e5x+15x+1+C
  4. d)625e5x+C
  5. e)65e5x+C

Signal: “Select the antiderivative” and five ready-made functions. There is no definite integral with limits; what is needed is the antiderivative itself.

Why is checking easier than integrating? By definition, the antiderivative is the function whose derivative is f. Differentiating is easier than integrating: the derivative rules always work, while for the integral you have to guess. So you find the correct option like this: differentiate the options, and the correct one gives back exactly f.

Here the exponential has 5x inside. By the chain rule (“Chain: a function inside a function”) the derivative of e5x is e5x times the derivative of the exponent, (5x)′=5. In general, for any number k in the exponent:

(p⋅ekx)′=k⋅p⋅ekx

Here p is any number in front of the exponential. So for an option of the form p⋅ekx, the derivative is again an exponential with the same exponent, and the number in front is multiplied by k. You need f(x)=6⋅e5x: exponent 5x and the number 6.

The integrand 6 · e^(5x) and the derivatives of the options: that of e) matches it, that of d) is five times lower0.20.4xf = 6 · e^(5x)(p · e^(kx))′ = k · p · e^(kx)
Step 1 of 4The rule for the options with an exponential

Four options have the form p⋅ekx: a) p=1, k=6; b) p=6, k=6; d) p=625, k=5; e) p=65, k=5. Their derivative is k⋅p⋅ekx. You need 6⋅e5x, that is, k=5 and 5p=6.

Ask yourself: where does the fraction 65 in the answer come from?

The denominator is 3x+2, and you must pick the antiderivative from five options. Which function is an antiderivative of f(x)=93x+2? Options: 9ln⁡(3x+2)+4, 3ln⁡(3x+2)+4, 27ln⁡(3x+2)+4, −9(3x+2)2+4, ln⁡(3x+2)+4.

By the divide-by-k rule (article on the inner function): the inside is 3x+2, k=3, and 93x+2 gives 93ln⁡(3x+2)=3ln⁡(3x+2).

(3ln⁡(3x+2))′=3⋅13x+2⋅3=93x+2. That is f. The number 4 at the end disappears when you differentiate, so it does no harm.

(9ln⁡(3x+2))′=273x+2, three times too much. 27ln⁡ is even more. The fraction −9(3x+2)2 comes from differentiating f instead of integrating it (up to a factor of 3). The derivative of ln⁡(3x+2) is 33x+2, three times too little: here 3 was divided out twice.

One of the options is a bracket to the fifth power, and you have to check it. Is F(x)=(x2+3)5 an antiderivative of f(x)=10x⋅(x2+3)4?

  1. Inside the bracket is x2+3; the derivative of the inner expression is 2x.
  2. The outer part: (…)5 gives 5(…)4.
  3. Multiply and compare with f.

The reverse task: F is given, and you need the function f that has F as its antiderivative. Then just differentiate F. For example, for F(x)=5⋅ex2 the function is f(x)=5⋅2x⋅ex2=10x⋅ex2. Here the trap is reversed: integrating instead of differentiating.

Your turn2 of 3

Which of the following functions is an antiderivative of f(x)=5⋅e−2x?

Choice traps

  • Dividing by k twice. In the task at the start of the method this is option d) 625⋅e5x: it was divided by 5 twice. Its derivative is 65⋅e5x, five times smaller than f. Check by differentiating: the chain rule multiplies by 5 once, so you divide only once too.
  • Raising the exponent of e as for a power. Option b) 6⋅e6x: the exponent 5x became 6x, the way x5 becomes x6. In the exercise, likewise e−2x→e−x. That is how the rule for xα works, but not for e. With the exponential, the exponent stays and only the factor changes.
  • Raising the exponent and dividing by the new one. Option a) e6x: the exponent was again raised to 6x, and 6 was divided by the new number 6, giving 66=1. That is the whole power rule carried over to the exponential. Its derivative is 6⋅e6x, with the wrong exponent.
  • Applying the power rule to the whole exponent. Option c) 6 e5x+15x+1: 1 was added to the exponent 5x and the result divided by 5x+1, as in ∫xn dx=xn+1n+1. The temptation: the power formula is right there on the sheet. Check with the product rule: the derivative of c) has a fraction with x, and f does not.
  • Differentiating instead of integrating. In the example with the fraction 93x+2 the option −9(3x+2)2 resembles the derivative of f, not its antiderivative: f′(x)=−27(3x+2)2. It looks “more complicated”, and so it seems like the result of work. The check by differentiating gives it away at once: its derivative is 54(3x+2)3, not f.
  • Rejecting an option because of the number at the end. Options with “+4” or “−7” instead of “+C” are antiderivatives too: the number disappears when you differentiate. Answering “none of the above” because of such a number is wrong.

On the sheet: ∫ex dx=ex and substitution ∫h(g(x)) g′(x) dx=H(g(x)); for a task with options it is simpler not to integrate but to differentiate the options.

Integral of a product of x and an exponential (by parts)

Checking by differentiating tells you whether a ready function is right. For the product x⋅e2x there are no ready options, and you have to build the antiderivative yourself:

Exam-style task

Berechnen Sie das bestimmte Integral

∫01x⋅e2x dx

(auf zwei Nachkommastellen gerundet).

  1. a)5.29
  2. b)1.00
  3. c)2.10
  4. d)3.69
  5. e)1.85

Signal: in the formula right after the words “Calculate the definite integral” there is a product of two different functions, x⋅e2x. The task does not name this product in words, so the nearest words are marked. The factor in front of the exponential is not the derivative of the exponent. The derivative of the exponent 2x is 2, not x, so the rule p⋅ekx from choosing an antiderivative does not apply.

Where does the method come from? From the product rule for the derivative: the derivative of a product of two functions is “derivative of the first times the second plus the first times derivative of the second” (“The product”). We want x⋅e2x to appear inside a derivative. So we take the antiderivative of e2x, that is 12⋅e2x, and multiply it by x. We differentiate this product 12⋅e2x⋅x:

(12⋅e2x⋅x)′=e2x⋅x+12⋅e2x⋅1

The x⋅e2x we want stands first on the right. Then three steps:

  1. Move the second term to the other side: x⋅e2x=(12x⋅e2x)′−12⋅e2x.
  2. Integrate both sides: ∫x⋅e2x dx=∫(12x⋅e2x)′dx−∫12⋅e2x dx.
  3. The first integral on the right is 12x⋅e2x: under it stands the derivative of the function 12x⋅e2x, and by the definition of an antiderivative a function is an antiderivative of its own derivative. We get ∫x⋅e2x dx=12x⋅e2x−∫12⋅e2x dx.

The last integral is simple; dividing by k gives it (article on the inner function).

In general, with the letters of the sheet: one factor is called g and integrated to G, the other is called h and differentiated to h′. In our example g=e2x, G=12⋅e2x, h=x, h′=1. These g and h are not the ones in the substitution line, where g is the inner and h the outer function. For a definite integral the limits go on both sides:

∫abg⋅h dx=[G⋅h]ab−∫abG⋅h′ dx

Choose so that the second integral becomes simpler. For x⋅ekx take h=x, because h′=1 and the x disappears. For x⋅ln⁡x it is the other way round, h=ln⁡x: ln⁡x has the simple derivative 1x, but no row in the table of antiderivatives.

The curve x · e^(2x) and the area under it from 0 to 1, computed by parts0.51xfchoice of factors
Step 1 of 4Choose h and g

h=x, because its derivative is h′=1 and the x disappears in the second integral. Then g=e2x. By the divide-by-k rule its antiderivative is G=12⋅e2x: the inside is 2x, divide by 2.

Ask yourself: why not take h=e2x and g=x?

The product has the same form, but the exponent is 0.5x. Find ∫02x⋅e0.5x dx.

h=x, h′=1; g=e0.5x, G=10.5⋅e0.5x=2⋅e0.5x: dividing by 0.5 means multiplying by 2.

[2x⋅e0.5x]02=4⋅e1−0=4e=10.8731.

∫022⋅e0.5x dx=[4⋅e0.5x]02=4e−4. At the lower limit 4⋅e0=4. Together 4e−(4e−4)=4.

Now the product has a logarithm instead of an exponential. Compute ∫12x⋅ln⁡x dx, rounded to two decimal places.

  1. Here h=ln⁡x, h′=1x; g=x, G=x22.
  2. [G⋅h]12=42ln⁡2−12ln⁡1=2ln⁡2−0=1.3863.
  3. Second integral: G⋅h′=x22⋅1x=x2, and ∫12x2 dx=[x24]12=1−0.25=0.75. Subtract and round.

Your turn3 of 3

Compute ∫01x⋅e3x dx, rounded to two decimal places.

Integration by parts traps

  • Adding the second integral. In the task at the start of the method, 3.6945+1.5973=5.29. The product rule has a plus, and it gets carried into the formula. But the second term was moved to the other side, so the formula has a minus.
  • Forgetting the second integral. Answer 3.69, which is [G⋅h]01 alone. The formula has two parts, and the second one needs limits too.
  • Forgetting the lower limit in the second integral. There, 14⋅e0=0.25, not 0. Without it you get e24=1.85.
  • Not dividing by the inner derivative. If you take G=e2x instead of 12⋅e2x, you get e2−(e2−1)=1.00. The inner-function trap returns inside integration by parts.
  • Mixing up what to differentiate. If h=e2x and g=x, the second integral does not get simpler. The rule for choosing: differentiate the factor that becomes simpler by it.

On the sheet: integration by parts ∫g⋅h dx=G⋅h−∫G⋅h′ dx, letters as in this method. You put the limits on both sides yourself.

Formula sheet and what to memorise

For choosing among five options you hardly need the sheet, since you check the options by differentiating. For integration by parts it has a ready line.

On the formula sheet:

  • the basic integrals ∫xα dx=xα+1α+1 (α≠−1), ∫ex dx=ex, ∫1x dx=ln⁡x: use them to check whether an option is the antiderivative;
  • substitution ∫h(g(x)) g′(x) dx=H(g(x)) and integration by parts ∫g⋅h dx=G⋅h−∫G⋅h′ dx: the letters g and h mean different things in these two sheet rows; in substitution g is the inner function, in parts g is integrated to G. Use the first to check options with an inner function, the second to integrate a product.

Memorise yourself:

  • the fundamental theorem ∫abf(x) dx=F(b)−F(a); F(a) is subtracted even when a=0;
  • linear inner function: ∫f(kx+m) dx=1kF(kx+m)+C, divide by k, do not multiply;
  • an antiderivative is checked by differentiating; the number at the end does not matter.

In short

The topic in a minute

  • An antiderivative F of f: a function with F′=f. Any number C can be added to it.
  • Inside kx+m: integrate as by the table and divide by k.
  • Check: an option is right if its derivative gives back f; the number at the end does not matter.
  • By parts: ∫g⋅h dx=G⋅h−∫G⋅h′ dx; you differentiate the factor that becomes simpler.
  • Choosing an antiderivative

    Five ready-made functions, an antiderivative is needed. Differentiate the options: the correct one gives back exactly f.
    F′(x)=f(x)

    Trap: dividing by k twice; raising the exponent of e as for a power; applying the power rule to the whole exponent.

  • Integration by parts

    Under the integral is a product such as x⋅e2x, and the factor is not the derivative of the exponent. h is differentiated, g integrated to G.
    ∫abg⋅h dx=[G⋅h]ab−∫abG⋅h′ dx

    Trap: adding the second integral instead of subtracting it, or forgetting it.

Practise checking by differentiation and integration by parts in the “Antiderivatives and integrals” trainer. That completes the technique, and the article “What the integral measures: area and average value” turns the number an integral gives into an area and an average.

Now practise it

An antiderivative from five options, and integration by parts

Trainer · Integral calculus

Practise
Next: What the integral measures: area and average value
0/3

Was this article helpful?