PrepShorts · Study sheet · Class 12 Mathematics · Chapter 7, IntegralsPrepShorts

Chapter 7 · Integrals

Integrating a product, and how the choice of first function decides whether it helps

Techniques for indefinite integrals25 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

25 min.

The idea

Unlike every other technique in the chapter, this one does not evaluate anything; it trades one integral for another, and the whole skill is making sure the trade is favourable. That is why Part II p. 260 is the important page and Part II p. 261 is not: the chapter does the rare and generous thing of working Example 17 the wrong way round as well as the right way, far enough for the reader to see the power on the variable go up instead of down. Most treatments hurry past that and hand over a mnemonic instead. Teach the failed trade first and the rule of thumb becomes a consequence rather than a decree — and its awkward second tier, where a logarithm or an inverse ratio outranks a power, stops being an exception and becomes the obvious reading: those two are put first because they are the factors nobody knows how to integrate, so they had better be the ones that get differentiated.

What you should be able to do

  • Derive the by-parts formula by integrating the product rule, and identify each term in the result
  • Name the two roles the chapter assigns to the two factors and say what each role requires of its factor
  • Apply the formula both ways round on one integrand and say what the wrong choice produces
  • State the chapter's two-tier rule of thumb for choosing the first function
  • Integrate a function that is not visibly a product, by supplying a second factor
  • Explain why no constant rides along when the second factor is integrated
  • Handle the case where applying the formula twice returns the original integral, and solve for it
  • State what the chapter claims about the integrand it says the method fails on, and distinguish that claim from a weaker one
  • Decide, from a product, which factor should go first

Words to know

TermDefinition in one lineFirst introduced
integration by partsthe technique that turns one integral of a product into anotherprinted in this chapter (§7.3, Part II p. 235, and §7.6, Part II p. 260)
product rulethe derivative rule the technique is obtained fromprinted in this chapter, once (§7.6, Part II p. 259)
first functionthe factor that gets differentiatedprinted in this chapter (§7.6, Part II p. 260)
second functionthe factor that gets integratedprinted in this chapter (§7.6, Part II p. 260)
differential coefficientthe chapter's older name for the derivative, used in the boxed statementprinted in this chapter (§7.6, Part II p. 260, and the Summary, Part II p. 290)
differentiablesaid of a function that has a derivative at every point in questionprinted in this chapter (§7.1, Part II p. 225, and §7.6, Part II p. 259)
superfluousthe chapter's own verdict on a constant added to the second function's integralprinted in this chapter, once (Remark (ii), Part II p. 261)
constant of integrationthe single constant the final answer carriesprinted in this chapter (§7.2, Part II p. 226)
ILATEa common mnemonic for ordering the choice of first functionan added reference; neither this mnemonic nor any other appears in this chapter
self-referential integralone that reappears on the right after two applicationsan added phrase, not printed in this chapter
reduction formulaa recurrence that lowers a power by one at each applicationan added term, not printed in this chapter

Where people slip up

  • "By parts is for products, so anything that is not a product is out of scope." Example 18 supplies a second factor of one and integrates a lone logarithm; Exercise 7.6 Q13 does the same for an inverse tangent. If the technique is presented as needing two visible factors, both items look impossible.
  • "Either factor can go first; the answer is the same." The answer is the same when both routes terminate, and Example 17 shows a route that does not: the wrong choice raises the power and moves further from an answer. Show the failure, not just the success.
  • "The rule of thumb is: powers first." It is two rules, and the second beats the first. Six of the fifteen items in this topic's slice of Exercise 7.6 are governed by the second tier.
  • "A constant should be added to the second function's integral, to be safe." Remark (ii) carries one through and shows the extra terms annihilate. Adding it is not wrong, merely pointless, and the chapter says so in one word.
  • "The method fails on the variable times a sine." It does not; that is Exercise 7.6 Q1. The integrand the chapter names is the square root of the variable times a sine, and the difference is one radical that the text layer loses. See the notes below.
  • "When the integral reappears on the right, the method has failed." That is when it has succeeded: the equation can be solved. Students who have not met this pattern abandon Example 21 one line before the end.
  • "Applying the formula twice always closes the loop." It closes for an exponential against a sine or cosine. Applied twice to a squared power against an exponential it lowers the power twice and terminates instead. Exercise 7.6 Q3 and Q14 are of the second kind.
  • "Integration by parts is the product rule for integrals." There is no product rule for integrals. It is the product rule for derivatives, integrated and rearranged, and it converts one integral into a different one rather than evaluating anything by itself.
Transcript3,455 words

Here is an integral that looks harmless and is not. The variable, multiplied by the cosine of the variable. Go down any list of standard results and nothing on it has that shape. There is no row for a product. Try a substitution. A substitution wants the integrand to be one function of something, times the rate of change of that something. Here the two factors have nothing to do with each other. The variable is not the rate of change of the cosine, and the cosine is not the rate of change of the variable.

So there is a gap, and the technique that fills it is unlike every other technique in this part of the subject. It does not evaluate anything. It takes one integral away and hands you a different one. Whether that is progress is a separate question, and it is the only question that matters. The technique comes from a rule you already have, and it takes one line to get it.

The rate of change of a product is the first times the rate of change of the second, plus the second times the rate of change of the first. Before going on, I measured that. Six products were built -- a power against a sine, a power against an exponential, a sine against a cosine, a squared power against a cosine, an exponential against a sine, a power against a cosine -- and each one's rate of change was measured at five inputs, from both sides, and compared with the two-term expression.

All six agree. The control is what a reader who has not met the rule writes instead: the rate of the first times the rate of the second. None of the six agrees with that. All six disagree. Now integrate both sides of the rule. Integrating a rate of change gives the thing itself, so the left side becomes simply the product. The product equals the integral of the first times the rate of the second, plus the integral of the second times the rate of the first.

Move one of those integrals across. The integral of the first times the rate of the second equals the product, less the integral of the second times the rate of the first. That is the whole technique. It is the product rule, integrated once and rearranged, and it converts one integral into a different one. To use it you have to hand it two factors in two different roles, and the roles are not symmetric.

One factor is going to be differentiated. Call it the first function. The other is going to be integrated. Call it the second function. Read what each role asks and the choice starts to make itself. The role that gets integrated asks: can I integrate you at all? Not easily -- at all. If I cannot, the formula cannot even be written down, because the formula needs that antiderivative in two places.

The role that gets differentiated asks something gentler: does differentiating you make you smaller? A power differentiated is a lower power. Differentiate it enough times and it becomes a constant and then nothing. A sine differentiated is a cosine. Same size. Differentiate it forever and it never gets anywhere. So one role is about what you can do, and the other is about where you are going. Hold both. Back to the variable times the cosine, and take it both ways round, because the failure teaches more than the success.

First the sensible way. Put the power in the differentiating role and the cosine in the integrating role. The cosine integrates to the sine. So the answer begins as the variable times the sine, and then subtracts the integral of the sine times one. That leftover integral is just the sine, which integrates to minus the cosine. Two lines and it is over. The variable times the sine, plus the cosine.

Now the other way round. Put the cosine in the differentiating role and the power in the integrating role. The power integrates to half the square of the variable. So the answer begins as half the square times the cosine, and subtracts an integral in which the square is still sitting there. Look at what happened to the integral. It started with a power of one under the integral sign. It now has a power of two.

The trade was legal. It was also backwards. You have swapped an integral you could not do for a harder one. That is one case. I wanted to know whether it is the pattern, so I wrote the trade down as a machine. The machine holds a state: a coefficient, a polynomial, and the name of one other factor. It applies the formula in whichever role it is told, and it counts how many applications the integral needs before nothing is left under the sign.

It is never told which role is supposed to work. Every power from nought to seven, against each of the exponential, the sine and the cosine. Twenty-four integrals. With the power in the differentiating role, all twenty-four finish. None is still open at a cap of ten applications. And every one of them finishes in exactly as many applications as the power's own degree. A power of three takes three. A power of seven takes seven.

The same twenty-four with the other factor first: none finishes. All twenty-four are still open at the cap, and by then the degree under the integral sign has climbed to seventeen. So the wrong choice does not merely fail to help. It moves away, one degree per application, and it does that every single time. But watch the word I did not use. I did not say the wrong choice is incorrect.

Here is what happens if you take the cosine first once, notice, and then take the power for the rest of the way. The run still finishes. It takes three applications where one would have done. And the answer it assembles passes the same test as the short answer. Across six inputs the two answers differ by exactly one value, and that value is nought. Not equivalent answers. The same answer.

Take the cosine first twice and it finishes in five. I ran the whole grid that way -- one deliberately wrong step, then the power -- across the first four powers against all three other factors. Twelve runs. Every one of them finishes, and every one takes exactly two applications more than it needed to: the wrong step, and the extra degree the wrong step created. So the trade is not a trap you fall into and cannot climb out of. It is arithmetic you have to do twice.

That is worth knowing under exam pressure. A wrong first move costs you time, not the question. Hold on to the phrase 'because it is a power', though. In a few minutes it will stop being true. The usual advice at this point is a rule of thumb, and it is usually taught as a preference. Powers first, unless the other factor is a logarithm or an inverse ratio, in which case that one goes first instead.

Two sentences, and the second overrules the first, and nobody says why. Here is why, and it is not a preference at all. Remember what the integrating role demands. It demands an antiderivative, in hand, before you can write the formula down. So I kept an explicit list of what can be integrated -- a constant, a power, an exponential, a sine, a cosine -- and, deliberately, what cannot: a logarithm, an inverse tangent, an inverse sine. Those three are exactly the functions whose integrals are what we are trying to build.

Then twenty items were asked how many of their two roles that list permits. Eleven admit both roles. Seven admit exactly one. And two admit neither. Every one of those seven has a logarithm or an inverse ratio in it. So the second tier is not an exception bolted onto the first. It is what is left when you delete the roles that cannot be taken. Those functions go first because they are the ones nobody can integrate, so they had better be the ones that get differentiated.

The first tier is a choice, decided by which trade is favourable. The second tier is not a choice at all. And the two items that admitted neither role? They are the interesting ones. They are lone functions. A logarithm, on its own. An inverse tangent, on its own. There is no product, so there is nothing to put in two roles. Supply one. Write the logarithm as the logarithm times one.

That is not a trick. One is a perfectly good function; it integrates to the variable. Now the roles are forced, because the logarithm cannot be integrated: the logarithm differentiates, the one integrates. The formula gives the variable times the logarithm, less the integral of the variable times the rate of change of the logarithm. That rate is one over the variable. Variable over variable is one. The leftover integral is the integral of one.

The variable times the logarithm, less the variable. Both of those lone functions were put through the same test as everything else in this video, and both answers pass. Supply the constant factor to the two stuck items and every one of the twenty admits at least one role. Nine forced, eleven open, none stuck. So the technique is not for products. It is for anything you can honestly write as one.

A question that troubles careful students, and deserves a straight answer. The second factor gets integrated. Every integral carries an arbitrary constant. So should you carry one here? The usual answer is that it is unnecessary. I would rather show it than say it. So the whole answer for the power against the cosine was built again, with an arbitrary constant added to the antiderivative of the second factor and carried all the way through, at five different constants.

It appears twice. Once in the boundary term, multiplied by the first function. Once inside the leftover integral, multiplied by the rate of change of the first function -- and integrating that gives the same product back. One is added and one is subtracted, because of the minus sign in the formula. At every one of the five constants the difference from the plain answer takes exactly one value across six inputs, and that value is nought.

The control is what happens if you turn the formula's minus sign into a plus. Then the two terms add instead of annihilating, and the difference takes six distinct values, and is nought at none of them. So the cancellation is the minus sign's doing. Carrying the constant is not wrong. It is work that undoes itself. Here is a harder one, and it needs a technique inside a technique.

An inverse sine, multiplied by the variable over the root of one less the square of the variable. The inverse sine cannot be integrated, so the roles are decided for you. The inverse sine differentiates. The other factor integrates. But you cannot write the formula down yet, because that other factor is not a standard result either. You have to integrate it first, by substitution: the thing under the root has a rate of change of minus twice the variable, and the variable is sitting right there on top.

That piece integrates to minus the root of one less the square. Only now can the formula be written. The answer begins as minus the root times the inverse sine, and subtracts an integral of minus the root times the rate of change of the inverse sine. And the rate of change of the inverse sine is one over that very root. The root cancels. What is left is the integral of one.

The variable, less the root of one less the square, times the inverse sine. That answer went through the same test and passes. So did the little substitution underneath it, on its own. Notice the shape of the work. The substitution was used to prepare a factor. It did not do the integral. Now the case students abandon one line before the end. An exponential, multiplied by a sine. Neither factor gets smaller when you differentiate it. The exponential comes back as itself. The sine comes back as a cosine. There is no power to run down.

Apply the formula anyway. You get a boundary term and a new integral -- the exponential against a cosine. Apply it again, keeping the same role for the same kind of factor. You get another boundary term, and the integral you get back is the exponential against the sine. Which is where you started. That looks like total failure. It is the opposite. Let the unknown integral be a letter. What the two applications produced is an equation: the unknown equals two known terms, minus the unknown.

The machine reports the multiple it came back as: minus one, after two applications. Minus one is not one, so there is an equation to solve. Add the unknown to both sides and divide by two. Half the exponential, times the sine less the cosine. Two things about that, and both are measured. First: it works whichever role you start with. Put the exponential in the differentiating role both times instead, and the state also comes back as minus one times the original, in two applications. The two answers both pass the door, and across six inputs their difference takes exactly one value, which is nought. Not equivalent answers. The same answer.

This is the one case in the whole topic where the choice genuinely does not matter, and it does not matter for a reason: the loop is going to close either way. Second, and this is the trap: alternate the roles. Take the sine to differentiate on the first application and the exponential to differentiate on the second. That also comes back after two applications. But it comes back as PLUS one times the original.

The unknown equals two terms plus the unknown. Cancel and you are told that nought equals nought, which is true and useless. The machine returns no answer there. It refuses, rather than dividing by nought. You did not make an error. You undid your first application with your second. And one more warning. Two applications do not always mean a loop. A squared power against an exponential also takes two applications, and what it reaches is not a multiple of anything -- it is finished, with three boundary terms and nothing left under an integral sign.

Now the honest limit, and it is sharper than it is usually stated. Everything the machine counted earlier was really counting one thing: how many steps the exponent on the variable needs to reach nought. A power of three needs three steps. Three, two, one, nought. Then there is no power left and the integral is a standard one. So let the exponent be any fraction at all, and ask the same question.

Every exponent from nought to three and a half, in halves, against a sine and against a cosine. Sixteen runs. Eight finish. Eight do not. And every exponent that finished is a whole number. The halves go one half, minus one half, minus three halves, minus five halves. They step past nought and never land on it. The power does not disappear, it moves into a root underneath, and the run is endless.

The control matters here. Give the same machine permission to step in halves and all sixteen finish, and the exponents that finished are no longer all whole numbers. So the eight is a reading of the whole numbers, not a count of everything I offered it. The variable times a sine: exponent one, finishes. The root of the variable times a sine: exponent a half, never finishes. One radical apart, and on opposite sides of what this technique can reach.

I want to be careful about what has just been shown, because this is where confident statements get made that are bigger than the evidence. What the machine measured is that the trade does not close on the root. That is a statement about this technique. It is not a statement that no answer exists. My machine cannot decide that, and it does not claim to. What it can do is refuse the answer you would write by analogy.

The variable times a sine gives the sine, less the variable times the cosine. Clean, and it passes. So write the analogous thing for the root: the sine, less the root of the variable times the cosine. Measure its rate of change and compare it with the integrand it is supposed to belong to. It fails. That is the useful lesson. The pattern that worked for the power is not a pattern about the shape of the answer. It was a consequence of the exponent reaching nought, and once it does not, nothing carries over.

One more thing, and it is the kind of detail that quietly costs marks. Suppose you meet the inverse sine of twice the variable over one plus its square. Almost everyone rewrites that as twice the inverse tangent of the variable, and then integrates by parts with a factor of one supplied. The rewriting makes it easy. The rewriting is not an identity. I put the two expressions side by side at nineteen inputs, from minus two and a half to two and a half.

They agree at seven of them and differ at twelve. And the seven are exactly the inputs whose modulus is under one. The rate of change says it more sharply still. Inside that stretch, the inverse sine's measured rate is two over one plus the square -- which is twice the rate of the inverse tangent, as expected. Outside it, that is simply wrong, and the same expression with its sign turned over is right.

So the rewriting carries a restriction. It holds while the modulus of the variable stays under one, and outside that it changes sign on you. If the question does not state the restriction, state it yourself. It is the difference between an answer and half an answer. Let me put the whole decision on one board, because in practice you make it in about four seconds. You have a product. Ask two questions in order.

First: is one of the factors something you cannot integrate -- a logarithm, an inverse sine, an inverse tangent? If yes, that one differentiates. The decision is made, and it was never a choice. That covered seven of the twenty items I ran. Second, if both factors can be integrated: is one of them a power? Then the power differentiates, because the power is the only thing here that gets smaller when you differentiate it.

That is the other tier, and the twenty-four counted runs are its evidence. There is one leftover case, and you have already met it: an exponential against a sine or cosine, where neither factor shrinks. There the choice does not matter and the loop closes either way. And if there is no product at all, supply one. Multiply by one and go back to the first question. Four seconds. Two questions, and a rule for the case where both answers are the same.

What is worth taking out of here. This technique evaluates nothing. It trades one integral for another, and the trade is favourable or it is not. Favourable has a meaning you can count: the exponent on the power comes down by one each application, and the run ends when it reaches nought. Twenty-four integrals finish that way and take exactly the power's own degree of applications. Not one of the twenty-four finishes with the roles the other way round.

The rule of thumb's second tier is not an exception. A factor you cannot integrate cannot take the integrating role, so the choice was never open. A constant on the second factor's antiderivative cancels itself, and the minus sign in the formula is why. When the original comes back, read the multiple. Minus one gives you an equation. Plus one means you undid your own work. And when the power is a root rather than a whole number, the exponent steps past nought instead of landing on it, and the trade never closes.

The formula is one line. Everything else in this video was the question of whether applying it helps -- and that question has an answer you can count, not one you have to remember.

The book

Open in a new tab