If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# 𝘶-substitution with definite integrals

Performing u-substitution with definite integrals is very similar to how it's done with indefinite integrals, but with an added step: accounting for the limits of integration. Let's see what this means by finding integral, start subscript, 1, end subscript, squared, start color #7854ab, 2, x, end color #7854ab, start color #e07d10, left parenthesis, end color #e07d10, start color #1fab54, x, squared, plus, 1, end color #1fab54, start color #e07d10, right parenthesis, cubed, end color #e07d10, start color #7854ab, d, x, end color #7854ab.
We notice that start color #7854ab, 2, x, end color #7854ab is the derivative of start color #1fab54, x, squared, plus, 1, end color #1fab54, so u-substitution applies. Let start color #1fab54, u, equals, x, squared, plus, 1, end color #1fab54, then start color #7854ab, d, u, equals, 2, x, d, x, end color #7854ab. Now we substitute:
integral, start subscript, 1, end subscript, squared, start color #7854ab, 2, x, end color #7854ab, start color #e07d10, left parenthesis, end color #e07d10, start color #1fab54, x, squared, plus, 1, end color #1fab54, start color #e07d10, right parenthesis, cubed, end color #e07d10, start color #7854ab, d, x, end color #7854ab, equals, integral, start subscript, 1, end subscript, squared, start color #e07d10, left parenthesis, end color #e07d10, start color #1fab54, u, end color #1fab54, start color #e07d10, right parenthesis, cubed, end color #e07d10, start color #7854ab, d, u, end color #7854ab
Wait a minute! The limits of integration were fitted for x, not for u. Think about this graphically. We wanted the area under the curve start color #11accd, y, equals, 2, x, left parenthesis, x, squared, plus, 1, right parenthesis, cubed, end color #11accd between x, equals, 1 and x, equals, 2.
Now that we changed the curve to start color #aa87ff, y, equals, u, cubed, end color #aa87ff, why should the limits stay the same?
Indeed, the limits shouldn't stay the same. To find the new limits, we need to find what values of start color #1fab54, u, end color #1fab54 correspond to start color #1fab54, x, squared, plus, 1, end color #1fab54 for x, equals, start color #ca337c, 1, end color #ca337c and x, equals, start color #ca337c, 2, end color #ca337c:
• Lower bound: left parenthesis, start color #ca337c, 1, end color #ca337c, right parenthesis, squared, plus, 1, equals, start color #ca337c, 2, end color #ca337c
• Upper bound: left parenthesis, start color #ca337c, 2, end color #ca337c, right parenthesis, squared, plus, 1, equals, start color #ca337c, 5, end color #ca337c
Now we can correctly perform the u-substitution:
integral, start subscript, start color #ca337c, 1, end color #ca337c, end subscript, start superscript, start color #ca337c, 2, end color #ca337c, end superscript, start color #7854ab, 2, x, end color #7854ab, start color #e07d10, left parenthesis, end color #e07d10, start color #1fab54, x, squared, plus, 1, end color #1fab54, start color #e07d10, right parenthesis, cubed, end color #e07d10, start color #7854ab, d, x, end color #7854ab, equals, integral, start subscript, start color #ca337c, 2, end color #ca337c, end subscript, start superscript, start color #ca337c, 5, end color #ca337c, end superscript, start color #e07d10, left parenthesis, end color #e07d10, start color #1fab54, u, end color #1fab54, start color #e07d10, right parenthesis, cubed, end color #e07d10, start color #7854ab, d, u, end color #7854ab
From here on, we can solve everything according to u:
\begin{aligned} \displaystyle\int_{2}^5 u^3\,du&=\left[\dfrac{u^4}{4}\right]_{2}^5 \\\\ &=\dfrac{5^4}{4}-\dfrac{2^4}{4} \\\\ &=152.25 \end{aligned}
Remember: When using u-substitution with definite integrals, we must always account for the limits of integration.
Problem 1
Ella was asked to find integral, start subscript, 1, end subscript, start superscript, 5, end superscript, left parenthesis, 2, x, plus, 1, right parenthesis, left parenthesis, x, squared, plus, x, right parenthesis, cubed, d, x. This is her work:
Step 1: Let u, equals, x, squared, plus, x
Step 2: d, u, equals, left parenthesis, 2, x, plus, 1, right parenthesis, d, x
Step 3:
integral, start subscript, 1, end subscript, start superscript, 5, end superscript, left parenthesis, 2, x, plus, 1, right parenthesis, left parenthesis, x, squared, plus, x, right parenthesis, cubed, d, x, equals, integral, start subscript, 1, end subscript, start superscript, 5, end superscript, u, cubed, d, u
Step 4:
\begin{aligned} \displaystyle\int_1^5 u^3du&=\left[\dfrac{u^4}{4}\right]_1^5 \\\\ &=\dfrac{5^4}{4}-\dfrac{1^4}{4} \\\\ &=156 \end{aligned}
Is Ella's work correct? If not, what is her mistake?

Problem 2
integral, start subscript, 1, end subscript, squared, 15, x, squared, left parenthesis, x, cubed, minus, 7, right parenthesis, start superscript, 4, end superscript, d, x, equals, question mark

Want more practice? Try this exercise.

## Want to join the conversation?

• I am having difficulty understanding how to use the differential of du dx. In problem 2 above, how did 15x^2 turn to be 5*3*x^2?
(1 vote) • They are equivalent is the short answer.

Long answer is, since u was chosen to be x^3 - 7 the derivative is 3x^2, so we want something to substitute that in for. really the important part is x^2. as long as that exists you can "factor out" a 1/3 and then you'll have 1/3 * 3x^2 and have what you need to substitute.

Luckily, there is 15x^2, and if you factor out a 5 you get the 3x^2 you need, which is where 5*3x^2 came from.

Does that help? if not I can maybe try walking through it differently than the problem.
• Alright, I really wanted to see the difference in bounds graphically, and this is nice. However, I am confused. If (u^3)(du) = 2x(x^2+1) dx, then how are the graphs different? I thought du and dx were both just the bases of an infinite number of rectangles and they both approached zero.

What actually happens when we substitute a variable or when we take the integral with respect to a different variable? I thought they would be equivalent, but now I'm more confused.
(1 vote) • Good question! I'll try to put in a simple manner.

So, we have two variables here: x and u. Think of it as two worlds: the (x,f(x)) worlds (where input is x and output is f(x)) and the (u,f(u)) world (where input is u and output is f(u)). Now, the graph will look different in both these worlds. What a u-substitution does is that it creates a map from the x world to the u world (i.e. the substitution we make maps every value of x to a corresponding value of u). As a result, every point is mapped onto a new coordinate system where u = x^2 + 1. This makes our graph into something we can easily find the area under.

Also, a more solid reason as to why the graphs will be different is because of the substitution. See that u = x^2 + 1. If u = x, then the graphs would be the same. But, u = x is a useless substitution, as it just changes the variable and doesn't make anything easier for us.

If you can understand this idea, and you choose to pursue calculus in the future, this visualization helps tremendously when you reach multivariable calculus.
• Could someone please explain how

∫sec(u)tan(u)du
=​sec(u)+C

Tnx!
(1 vote) • what if the bounds get flipped after changing them as in you would be integrating from a to b when b<a can you still leave the u sub or do you have to swap them
(1 vote) • I am extremely confused on u-substitution, if the integral was the same thing except going from -1 to 2 instead of 1 to 2, wouldn't u range from 2 to 5? Therefore, you would get the exact same answer even with a different range. In this particular case, it wouldn't matter because the graph of y=2x(x^2+1)^3 is an odd function and the negative area from -1 to 0 would cancel out the positive area from 0 to 1, but in other general cases the u expression might give the same range even though the original range is different. For example, if the u expression has the same output for multiple inputs, then multiple different inputs to the u expression might give the same range especially if the u expression contains a "wavering" function like sin or cos that gives the same output to an infinite number of inputs.
(1 vote) • Why does the definite integral of u^3 from 2 to 5 has the same area as the definite integral of 2x(x^2+1)^3 from 1 to 2?
(1 vote) • i tried to plot graph of 2x(x^2 + 1)^3 and (x^2 + 1)^3 , but why am i not getting the same graphs as depicted? we are trying to find area under curve given the bounds only right?
(1 vote) • I am working on a question like this and having trouble. It is asking me to find the area between the curve y=xsqrt(4-x^2) and the x-axis over the interval [-2, 2].

I am mostly confused on how not to get zero as an answer. Should I break it into multiple parts?
(1 vote) • Can you substitute the original expression with x for u and then use the same boundaries? In the example, would (x^2+1)^4/4 for [1,2] work?
(1 vote) 