College · 30 classes

Mathematics - Calculus II

Each class is a short animated explainer with narration and illustrations, plus quick checks and a mastery quiz. Your progress saves automatically as you complete classes.

▶ Watch class 1 free — no sign-up
Progress map · 30 classes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Not startedStartedCompletedMastered
01
How Do You Integrate a Product? The Art of Integration by Parts
Not started
Start →
02
Taming Sines and Cosines: Strategies for Trigonometric Integrals
Not started
Start →
03
What Do Integrals and Triangles Have in Common? Trigonometric Substitution
Not started
Start →
04
Breaking Down Complexity: The Method of Partial Fractions
Not started
Start →
05
How Do We Measure the Space Between Functions?
Not started
Start →
06
From Flatland to Spaceland: Calculating Volumes by Slicing
Not started
Start →
07
Another Way to Slice: The Method of Cylindrical Shells
Not started
Start →
08
How Long is a Curve? The Arc Length Formula
Not started
Start →
09
Beyond Geometry: Calculating Work and Average Values
Not started
Start →
10
To Infinity and Beyond: Integrating Over Unbounded Intervals
Not started
Start →
11
What Happens at an Asymptote? Integrating Discontinuous Functions
Not started
Start →
12
The Stepping Stones to Infinity: An Introduction to Sequences
Not started
Start →
13
What is a Limit, Really? Formal Definitions and the Squeeze Theorem
Not started
Start →
14
Can You Really Add Forever? An Introduction to Infinite Series
Not started
Start →
15
A Bridge Between Discrete and Continuous: The Integral Test
Not started
Start →
16
Judging a Series by the Company It Keeps: The Comparison Tests
Not started
Start →
17
When the Signs Flip: The Alternating Series Test
Not started
Start →
18
The Final Verdict: Absolute Convergence and the Ratio & Root Tests
Not started
Start →
19
What if a Function Were an Infinite Polynomial?
Not started
Start →
20
Finding the Domain of an Infinite Polynomial: Radius of Convergence
Not started
Start →
21
The Genius of Brook Taylor: How to Build a Function's Power Series
Not started
Start →
22
How Good is the Approximation? Taylor's Theorem and the Remainder
Not started
Start →
23
How Series Revealed the Most Beautiful Equation: Euler's Identity
Not started
Start →
24
Describing Motion Through Time: Calculus with Parametric Curves
Not started
Start →
25
Beyond Cartesian Grids: An Introduction to Polar Coordinates
Not started
Start →
26
Slicing a Polar Pizza: Finding Areas in Polar Coordinates
Not started
Start →
27
Tangents and Lengths in a Polar World
Not started
Start →
28
What is a Differential Equation? The Language of Change
Not started
Start →
29
A Foundational Technique: Solving Separable Equations
Not started
Start →
30
Modeling the World: From Population Growth to Newton's Law of Cooling
Not started
Start →
See inside a class

Here’s all of Class 1, in full.

Every class is 13 cards · narrated film + illustration · 3 quick checks · an interactive · a 5-question mastery quiz. Nothing hidden — this is the complete text of How Do You Integrate a Product? The Art of Integration by Parts.

▸ Read the full class — How Do You Integrate a Product? The Art of Integration by Parts

In differential calculus, one of the first and most fundamental tools you learned was the product rule. Given two differentiable functions, finding the derivative of their product is a straightforward, algorithmic process. So, what about the reverse? Integration is, in a sense, anti-differentiation. We have a sum rule for integrals, just like for derivatives. But if you are faced with the integral of a product of two functions, say x times cosine of x, what is the rule? Is it simply the integral of the first function times the integral of the second? A moment's thought, or a quick test case, will show you this is definitively not the case. This gap in our toolkit is the central problem we will solve today. We need a 'product rule' for integration, and discovering it will open up a vast new category of functions that we can successfully integrate.

1. The Missing Rule for Products

Our current integration methods have a glaring omission.

Let's formalize the problem. We know that the integral of a sum is the sum of the integrals. This linearity property is incredibly powerful. But for products, no such simple rule exists. Consider the integral of x squared, which is one-third x cubed. We can write x squared as x times x. If a simple product rule existed, we might guess the integral of x times x is the integral of x, times the integral of x. That would be one-half x squared, times one-half x squared, which gives one-fourth x to the fourth. This is not even close to the correct answer of one-third x cubed. This failure is not a minor detail; it's a fundamental barrier. So many important functions in physics, engineering, and economics are modeled as products. The intensity of a wave, the work done by a variable force, the present value of a continuous income stream—these are often expressed as integrals of products. Without a systematic method for handling them, a huge class of real-world problems remains beyond our mathematical reach. We are, in essence, missing one of the primary tools for integration.

  • Linearity handles sums easily
  • No analogous rule covers products
  • Naive guesses fail elementary tests
  • Many models multiply functions together
  • Need a systematic product technique

2. Reversing the Product Rule

The solution comes not from inventing something new, but from inverting something old.

The technique we will develop is called Integration by Parts. It is not an invention out of thin air, but a direct consequence of the product rule for differentiation, viewed in reverse. Recall the product rule: the derivative with respect to x of a product of functions, u of x times v of x, is u times the derivative of v, plus v times the derivative of u. Let's write this in Leibniz notation: d over dx of u v equals u dv dx plus v du dx. Now, let's integrate both sides with respect to x. The integral of the derivative on the left side simply returns the original function, u v. On the right, we have the integral of u dv dx, plus the integral of v du dx. By rearranging this equation, we can isolate one of the integrals. For instance, the integral of u dv dx equals u v minus the integral of v du dx. This is the Integration by Parts formula. Its core idea is strategic transformation: we swap one difficult integral, the integral of u dv, for what we hope is a simpler one, the integral of v du.

  • Reverse product rule for differentiation
  • Integrate u dv plus v du equals uv
  • Rearrange to isolate u dv integral
  • Trade one integral for another
  • Goal: simpler integrand on the right

3. Brook Taylor and the Method of Increments

This method emerged from the intellectual ferment of post-Newtonian mathematics.

The first published account of Integration by Parts appears in the 1715 work "Methodus Incrementorum Directa et Inversa" by the English mathematician Brook Taylor. Taylor, for whom the Taylor series is named, was working within the framework established by Newton and Leibniz. His primary goal in this text was to develop methods for finite differences, what he called the 'method of increments,' which had applications in interpolation and summing series. Integration by Parts emerged as a tool in this context, a way to handle terms that arose during these complex summations and transformations. It wasn't presented as the central, standalone technique we see it as today, but rather as one of many algebraic manipulations of the new calculus. It demonstrated the power of the fundamental theorem of calculus, showing how a rule from differentiation could be inverted to produce a new rule for integration. This highlights a key theme in the history of calculus: many of its most powerful tools were discovered not in a quest for a grand, unified theory, but as practical solutions to specific problems in geometry, series, and physics.

  • Brook Taylor published method in 1715
  • Worked within Newton-Leibniz framework
  • Method of increments motivated technique
  • Demonstrated fundamental theorem in reverse
  • Practical needs preceded unified theory

4. The LIATE Strategy for Choosing 'u'

Success with this method hinges on a single, strategic choice.

The application of integration by parts is a five-step process. First, given an integral of a product, you must decide which part of the integrand will be your 'u' and which part, including the dx, will be your 'dv'. This choice is the most critical part of the process. Second, you differentiate your chosen 'u' to find 'du'. Third, you integrate your 'dv' to find 'v'. You can omit the constant of integration here, as it will be handled at the end. Fourth, you assemble these four components—u, v, du, and dv—into the integration by parts formula: the integral of u dv equals u times v minus the integral of v du. Fifth, and finally, you evaluate the new integral on the right-hand side. The goal is for this new integral to be simpler than the one you started with. A useful heuristic for choosing 'u' is the mnemonic LIATE, which stands for Logarithmic, Inverse Trigonometric, Algebraic, Trigonometric, and Exponential. You typically choose 'u' to be the function that appears first on this list. Why? Because functions at the top of the list, like logarithms, generally become simpler when differentiated, while functions at the bottom, like exponentials, are easy to integrate repeatedly without becoming more complex.

  • Step one: choose u and dv carefully
  • Step two: differentiate u to find du
  • Step three: integrate dv to find v
  • Step four: assemble the formula
  • Step five: evaluate the new integral

5. Deconstructing the Integration by Parts Formula

Let's parse the formal statement of our new tool.

Let's look at the formula itself. It states that the integral of u dv is equal to u times v minus the integral of v du. On the left side, the integral of u dv represents your original problem. You have a product, and you've partitioned it into a part 'u' and a part 'dv'. The 'dv' must include the differential element, dx. The right side of the equation is the transformation. The first term, 'u times v', is the part of the antiderivative that is already solved. You find it by multiplying the 'u' you chose by the 'v' you found from integrating 'dv'. The second term, minus the integral of v du, is the new integral you must solve. Notice the components have been swapped and altered. The function you chose to differentiate, 'u', now appears inside the new integral as its differential, 'du'. The function you integrated, 'dv', now appears inside the new integral as the function 'v'. The entire strategy rests on the hope that this new integral is more manageable than the original.

  • Formula: integral u dv equals uv minus integral v du
  • LIATE mnemonic orders priority for u
  • Logarithmic and inverse trig usually go first
  • Algebraic and trig fall in middle
  • Exponential terms are easiest to integrate

6. Transforming Integrals, Not Just Solving Them

Integration by Parts has several key characteristics that define its use.

There are four key features of this method to keep in mind. First, unlike a simple formula, it is a process of transformation. You are not directly finding an answer, but rather replacing one problem with another. Second, its effectiveness is entirely dependent on your initial choice of u and dv. A poor choice can result in a new integral that is more difficult than the original. The LIATE mnemonic is a guide, not an ironclad rule. Third, the process can be iterative. Sometimes, the new integral, the integral of v du, is itself a product that requires another round of integration by parts. This is common when integrating products like x squared times e to the x. Fourth, and perhaps most elegantly, it allows us to integrate functions that do not immediately appear to be products. For example, to find the integral of the natural log of x, we can treat it as a product of ln(x) and 1, setting u equal to ln(x) and dv equal to dx. This clever trick unlocks the antiderivatives for a whole class of fundamental functions.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

7. Worked Example: Integrating x cos(x)

Let's apply the mechanics to a concrete problem.

Let's work through a canonical example: the integral of x times cosine of x dx. This is a product of an algebraic function, x, and a trigonometric function, cosine of x. Following the LIATE mnemonic, we should choose the algebraic part as 'u'. So, we set u equal to x, and the rest of the integrand, cosine of x dx, becomes 'dv'. Next, we find the other two components. We differentiate u to get du, so if u is x, then du is simply dx. We integrate dv to get v. The integral of cosine of x is sine of x. Now we have all four parts: u equals x, dv equals cosine of x dx, du equals dx, and v equals sine of x. We plug these into the formula: u v minus the integral of v du. This gives us x times sine of x, minus the integral of sine of x dx. This is a significant improvement. The integral of sine of x is a basic integral we know how to solve. It is negative cosine of x. So our final result is x sine of x minus negative cosine of x, which simplifies to x sine of x plus cosine of x, plus our constant of integration, C.

  • Compute integral of x cosine x dx
  • Choose u equals x; dv equals cosine x dx
  • du equals dx; v equals sine x
  • Plug into formula and integrate sine x
  • Result: x sine x plus cosine x plus C

8. When Integration by Parts Fails or Loops

This powerful tool has clear limitations and can sometimes lead you in circles.

Integration by Parts is not a panacea. Its primary limitation is that a poor choice of u and dv can make the problem worse. If we had chosen u equals cosine of x in our previous example, du would be negative sine of x dx, and dv would be x dx, making v one-half x squared. The new integral would be the integral of one-half x squared times sine of x, which is more complex than our starting point. The power of x increased, which is the opposite of our goal. Another scenario is the 'looping' integral. When integrating a product of an exponential and a sine or cosine function, like e to the x times sine of x, applying integration by parts twice often leads you right back to the original integral. This seems like a failure, but it's actually an opportunity. You end up with an equation of the form: the original integral equals some terms minus a multiple of the original integral. You can then use algebra to solve for the integral itself. This is a powerful, non-obvious application of the method. But it's crucial to recognize when this is happening, and not to assume you've made a mistake.

  • Wrong choice can complicate the integral
  • Power can increase unintentionally
  • Looping integrals demand algebraic resolve
  • Exponential-trig products require careful handling
  • Pattern recognition is essential

9. Parts vs. Substitution: Reversing Different Rules

How does this technique fit with other integration methods?

The two foundational techniques of integration are substitution and integration by parts. It is essential to understand their distinct origins and applications. The substitution rule, or u-substitution, is the inverse of the chain rule for differentiation. It's used when the integrand contains a function and its derivative. You are essentially simplifying the integrand into a more basic form. Integration by Parts, as we've established, is the inverse of the product rule. It is used when the integrand is a product of unrelated functions. It doesn't simplify the integrand directly; it transforms the entire integral into a different one. Think of it this way: substitution is about changing variables to simplify what's *inside* the integral. Parts is about trading one integral for another. Later in this module, we'll encounter other specialized techniques like trigonometric substitution and partial fraction decomposition. These are designed for specific structural forms—integrands with certain roots or rational functions. Substitution and Parts are the general-purpose, frontline methods you should consider first for any non-trivial integral.

  • Substitution inverts the chain rule
  • Parts inverts the product rule
  • Substitution simplifies inside the integral
  • Parts trades the integral itself
  • Specialized methods follow these defaults

10. Common Errors in Application

Awareness of these common mistakes is the first step to avoiding them.

There are several common pitfalls students encounter when first learning this method. The most frequent is simply making a suboptimal choice for u and dv, which we have discussed. A close second is a simple sign error: forgetting the minus sign in front of the integral of v du. This is especially common in multi-step problems. Third, be meticulous with your basic derivatives and integrals, particularly with trigonometric functions. It is very easy to mix up the derivative of sine with the integral of sine, or to forget the negative sign on the derivative of cosine. Fourth, a subtle but critical error is forgetting that the 'dv' term must include the differential, dx. You are not just integrating the function, but the differential form. Finally, when faced with an integral that requires looping back to the original, students often panic and assume they've erred. Recognizing this pattern and knowing to solve for the integral algebraically is a key step toward mastery. Diligence and methodical bookkeeping are your best defenses against these errors.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

11. Software and Texts for Deeper Study

Beyond the lecture, these resources can help solidify your understanding.

To deepen your understanding, you should engage with several types of tools. For checking your work and exploring variations, symbolic calculators like WolframAlpha or Symbolab are invaluable. They can perform integration by parts and often show the intermediate steps, which lets you verify your choice of u and dv. For more advanced work, computational systems like Mathematica or MATLAB's Symbolic Math Toolbox are the standard in academia and industry. They allow you to manipulate and solve far more complex expressions. In terms of texts, for a wealth of practice problems and clear examples, James Stewart's 'Calculus' is the canonical choice. If you want to understand the rigorous, theoretical underpinnings of the technique, rooted in the definition of the integral, Michael Spivak's 'Calculus' is the gold standard. Use the software to check your mechanics, but use the texts to build your intuition and problem-solving strategies.

  • [object Object]
  • [object Object]
  • [object Object]
  • [object Object]

12. Your Assignment: Four Canonical Problems

It's time to apply these concepts yourself.

For this week, I want you to work through four specific problems that each illustrate a different facet of integration by parts. First, the integral of x squared times e to the x dx. This will require you to apply the method twice in a row. Notice how you systematically reduce the power of x. Second, the integral of the natural logarithm of x, ln(x), dx. This is the classic 'trick' problem where you must invent a product by setting dv equal to dx. Third, the integral of e to the x times cosine of x dx. This is the 'looping' integral we discussed. Apply the method twice, and when you see the original integral reappear, set up an equation and solve for it algebraically. Finally, a definite integral: the integral from zero to pi of x times sine of two x dx. This combines the integration by parts technique with the evaluation of a definite integral using the Fundamental Theorem of Calculus. For each problem, focus on the strategy, not just the mechanical computation.

  • Tackle integral of x squared e to the x
  • Solve integral of natural log x
  • Use parts twice on e to the x cosine x
  • Evaluate definite integral with x sine 2x
  • Focus on strategy over computation

13. Key Takeaways on Integrating Products

Today we derived and applied Integration by Parts, our fundamental tool for integrating the product of two functions. Its mastery depends on strategically transforming a difficult integral into a simpler one by reversing the product rule.

  • Integration by Parts is the inverse of the product rule for differentiation.
  • The formula, ∫ u dv = uv - ∫ v du, transforms one integral into another.
  • The choice of 'u' and 'dv' is the critical strategic step, often guided by the LIATE principle.
  • The method can be applied iteratively or used to solve 'looping' integrals algebraically.
  • It unlocks the antiderivatives of fundamental functions like logarithms and inverse trigonometric functions.

Mastery quiz

  1. The Integration by Parts formula states that the integral of u dv equals:
    • uv - ∫ v du
    • uv + ∫ v du
    • u du - ∫ v dv
    • ∫ u du · ∫ v dv
  2. Why does no simple 'product rule' exist for integration, per the lecture's example?
    • Integrals of products are always undefined
    • The integral of x·x would naively give 1/4·x⁴ instead of the correct 1/3·x³
    • Products cannot be written using x
    • Linearity forbids any product method
  3. To integrate ln(x) using parts, the standard trick is to set:
    • u = 1 and dv = ln(x) dx
    • u = x and dv = ln(x) dx
    • u = ln(x) and dv = dx
    • u = ln(x) and dv = ln(x) dx
  4. When integrating eˣ·sin(x), applying parts twice produces a 'looping' integral. The correct response is to:
    • Conclude the integral diverges
    • Switch to u-substitution
    • Conclude a mistake was made
    • Solve for the original integral algebraically
  5. Which technique is the inverse of the chain rule, contrasted with parts in the lecture?
    • u-substitution
    • Partial fractions
    • Trigonometric substitution
    • Polynomial long division
HomePracticeFeedBlogMe