How Does U-Substitution Simplify Integration Problems?

  • Thread starter QuarkCharmer
  • Start date
  • Tags
    Integrals
Anyway, thanks for that tip. I'll be sure to keep it in mind. I just have to remember that the pattern is only in the form you showed, and not any other form. I'm sure I'll get to see how the form can be changed later, and it will make more sense. Just at this point, I'm not sure how to change the form, so I think that I'll just have to remember this form for now.In summary, when integrating expressions involving u-substitution, it is important to check if the integral can be rewritten in the form of \int [f(x)]^n f'(x)\, dx. This will determine if the substitution u=f(x) will work,
  • #1
QuarkCharmer
1,051
3

Homework Statement


67ph6q.jpg


Homework Equations



The Attempt at a Solution



I don't understand what exactly is going on here. They let [itex]u=(1+x^{2})[/itex], so that leaves them with this:
[tex]\int \frac{x}{u^{2}}dx[/tex]

The derivative of [itex](1+x^{2})[/itex] is simply [itex]2x[/itex]. And so:
[tex]\frac{du}{dx} = 2x \rightarrow du = 2xdx \rightarrow dx=\frac{du}{2x}[/tex]

So now, substituting in my new dx, I get:

[tex]\int \frac{x}{u^{2}2x}du[/tex]

So, is that x simply canceling out here? Is that the idea?
Which leaves me with:
[tex]\int \frac{u^{-2}}{2}du[/tex]
[tex]-\frac{1}{2u}[/tex]
Re-substituting u I get:
[tex]-\frac{1}{2(x^{2}+1)} + C[/tex]

With that being said, how do you know that the x will cancel? How are you even supposed to know that this approach will work? Is there some sort of proof to this idea, my book does not have it.
 
Physics news on Phys.org
  • #2
QuarkCharmer said:
So, is that x simply canceling out here? Is that the idea?

Yes that is the basic idea of it.

QuarkCharmer said:
With that being said, how do you know that the x will cancel? How are you even supposed to know that this approach will work? Is there some sort of proof to this idea, my book does not have it.

We know it will work since d/dx(x2+1) = 2x, meaning that in the integrand the x in the numerator will cancel out.
 
  • #3
QuarkCharmer said:
So, is that x simply canceling out here?

That's pretty much the idea. Another way to look at it is:

[itex]u=(1+x^{2})[/itex] , [itex]du= 2x dx[/itex] , so [itex]\frac{1}{2}du=xdx[/itex].

Now substituting in, you have [itex]\int \frac{1}{u^{2}} \frac{1}{2}du[/itex] = ...
 
Last edited:
  • #4
QuarkCharmer said:

Homework Statement


67ph6q.jpg


Homework Equations



The Attempt at a Solution



I don't understand what exactly is going on here. They let [itex]u=(1+x^{2})[/itex], so that leaves them with this:
[tex]\int \frac{x}{u^{2}}dx[/tex]

The derivative of [itex](1+x^{2})[/itex] is simply [itex]2x[/itex]. And so:
[tex]\frac{du}{dx} = 2x \rightarrow du = 2xdx \rightarrow dx=\frac{du}{2x}[/tex]

So now, substituting in my new dx, I get:

[tex]\int \frac{x}{u^{2}2x}du[/tex]

So, is that x simply canceling out here? Is that the idea?
Which leaves me with:
[tex]\int \frac{u^{-2}}{2}du[/tex]
[tex]-\frac{1}{2u}[/tex]
Re-substituting u I get:
[tex]-\frac{1}{2(x^{2}+1)} + C[/tex]

Yes, that's it. You know that [itex]u=x^2+1[/itex], so deriving both sides gives you [itex]du=2xdx[/itex], thus [itex]dx=\frac{du}{2x}[/itex]. And then you can substitute it in the integral.

With that being said, how do you know that the x will cancel? How are you even supposed to know that this approach will work? Is there some sort of proof to this idea, my book does not have it.
Basically, you don't know if the approach will work, you'll only know it by trying. You'll need some experience with these kind of thingies. If you've solved lots of integrals then you know immediately a few substitutions that you could try. But you'll still need to try them to see if they will really work out.

The same thing happens with the integral

[tex]\int{x\sqrt{x^2+1}dx}[/tex]

when confronted with a root, I always try the substitution [itex]u=\sqrt{x^2+1}[/itex] first. Sometimes it works, sometimes it doesn't. With this substitution, you get [itex]u^2=x^2+1[/itex] and by deriving both sides:

[tex]2udu=2xdx[/tex]

thus [itex]dx=\frac{udu}{x}[/itex]

and you see that the x will cancel again. Note, if there wasn't an x before the root, then it wouldn't have worked. And if there wasn't an x in the numerator of your integral, then it wouldn't have worked...
 
  • #5
gb7nash,

[itex]du= 2x dx[/itex] , so [itex]\frac{1}{2}du=dx[/itex]
Where did the x go in this example?

[itex]du=2xdx[/itex]

[itex]\frac{1}{2}du=xdx[/itex]

[itex]\frac{1}{2x}du=dx[/itex] ?
 
  • #6
QuarkCharmer said:
gb7nash,

[itex]du= 2x dx[/itex] , so [itex]\frac{1}{2}du=dx[/itex]
Where did the x go in this example?

Typo. Thanks.
 
  • #7
Ah okay. The way you phrased it, I thought you were doing something different than me.

Thanks for all of the help everyone.
 
  • #8
Personally after finiding du I would solve for xdx instead of for dx in this case, since that is what you have in the integral. Obvioulsy you can take the couple extra steps to see that it cancels out, but I don't see the reason.

At the point where you have 1/2du = xdx, I would simply make the substitution back into the integral, rather than making the extra steps that give you the same result.
 
  • #9
Related to this question:

[tex]\int sec^{3}(x)tan(x) dx[/tex]

[itex]u=sec(x)[/itex], and so, [itex]\frac{du}{dx}=sec(x)tan(x)[/itex], and [tex]dx=\frac{du}{sec(x)tan(x)}[/tex]

[tex]\int u^{3}tan(x) dx[/tex]
[tex]\int \frac{u^{3}tan(x)}{sec(x)tan(x)} du[/tex]
[tex]\int \frac{u^{3}}{sec(x)} du[/tex]

I have no idea what to do with this one? Can I put my u=sec back in and try again now?

Edit: Na, that just gets me back to where I started.

Oh wait, because u is equal to sec, can I just call that [itex]\frac{u^{3}}{u}[/itex] ?
 
  • #10
QuarkCharmer said:
I have no idea what to do with this one? Can I put my u=sec back in and try again now?

Edit: Na, that just gets me back to where I started.

You'd get

[tex]\int \frac{u^3}{u} du = \int u^2 du[/tex]
 
  • #11
Yeah! I see what you did there (above edit). Fantastic stuff. I haven't had to actually think about math for a while, this is easily the funnest section I have done to date.
 
  • #12
QuarkCharmer said:
How are you even supposed to know that this approach will work?
One thing you should always check is if the integral is of or can be tweaked into the form
[tex]\int [f(x)]^n f'(x)\, dx[/tex]
If it is, the substitution u=f(x) will work, and the answer will be
[tex]\int [f(x)]^n f'(x)\, dx = \left\{
\begin{array}{lc}
\frac{[f(x)]^{n+1}}{n+1}+c & n\ne -1 \\
\\
\log \lvert f(x) \rvert+c & n=-1
\end{array}
\right.[/tex]
In your problem, you'd guess f(x)=x2+1 so that f'(x)=2x, and it indeed works out:
[tex]\int \frac{x}{(x^2+1)^2}\,dx = \frac{1}{2}\int (x^2+1)^{-2} (2x) \,dx[/tex]
If you can differentiate in your head, you can often an the integral fits the pattern by inspection. It's a neat trick to know mostly so you can screw with your peers when you look at an integral and say, "Oh, the answer is obviously..." and then write the answer down without showing any work. They'll be in awe of your mathematical prowess. :wink:
 
  • #13
For your latest problem, you'd say
[tex]\int \sec^3 x\tan x \,dx = \int (\sec x)^2 (\sec x \tan x)\,dx = \cdots[/tex]
 
  • #14
vela said:
For your latest problem, you'd say
[tex]\int \sec^3 x\tan x \,dx = \int (\sec x)^2 (\sec x \tan x)\,dx = \cdots[/tex]

I came up with:

[tex]\frac{sec^3(x)}{3}+C[/tex]


@Vela,
That is basically looking to see if it is a backwards chain rule correct?
 
  • #15
[tex]\int \frac{x^{2}}{\sqrt(1-x)}dx[/tex]

I let [itex]u=\sqrt(1-x)[/itex], and [itex]dx = \frac{2\sqrt(1-x)du}{-1}[/itex]

So I came to this guy here:

[tex]\int \frac{2x^{2}\sqrt(1-x)}{-u}du[/tex]

But now if I resubstitute the [itex]\sqrt(1-x)[/itex] back in for u to cancel, I am still stuck with that x, and du at the end.
 
  • #16
QuarkCharmer said:
[tex]\int \frac{x^{2}}{\sqrt(1-x)}dx[/tex]

I let [itex]u=\sqrt(1-x)[/itex], and [itex]dx = \frac{2\sqrt(1-x)du}{-1}[/itex]

So I came to this guy here:

[tex]\int \frac{2x^{2}\sqrt(1-x)}{-u}du[/tex]

It's easier not to work with the square roots:

IF [itex]u=\sqrt{1-x}[/itex], then [itex]u^2=1-x[/itex], thus [itex]2udu=-dx[/itex].

Furthermore, [itex]x=1-u^2[/itex], thus [itex]x^2=(1-u^2)^2[/itex].

Now you can substitute everything in the integral.
 
  • #17
Oh, I didn't even think about squaring both sides of the u-sub equation!
Would that work with other things too? For instance, suppose I say that u=MNOP, and then in the integral I see that there is a M/Mu, Could I multiply both sides by M, to get Mu = M^2NOP, and sub it into cancel the M in the numerator and such? Basically, is any normal operation okay there?

I'm working on it!
 
  • #18
QuarkCharmer said:
That is basically looking to see if it is a backwards chain rule correct?
Yup.
QuarkCharmer said:
[tex]\int \frac{x^{2}}{\sqrt(1-x)}dx[/tex]

I let [itex]u=\sqrt(1-x)[/itex], and [itex]dx = \frac{2\sqrt(1-x)du}{-1}[/itex]
Which, since [itex]u=\sqrt{1-x}[/itex], gives you [itex]dx=-2u\,du[/itex]. Then you need to express x in terms of u to finish off the substitution, which should give you the same thing micromass got.
So I came to this guy here:

[tex]\int \frac{2x^{2}\sqrt(1-x)}{-u}du[/tex]

But now if I resubstitute the [itex]\sqrt(1-x)[/itex] back in for u to cancel, I am still stuck with that x, and du at the end.
 
  • #19
Okay, I am giving this problem a shot now:

[tex]\int \frac{x^{2}}{\sqrt{1-x}}dx[/tex]
[tex]u=\sqrt{1-x}[/tex]
[tex]u^{2}=1-x[/tex]
[tex]x=1-u^{2}[/tex]

[tex]\frac{du}{dx}=\frac{-1}{2\sqrt{1-x}}[/tex]

Since [itex]\sqrt{1-x} = u[/itex], then

[tex]\frac{du}{dx}=\frac{-1}{2u}[/tex]
[tex]dx = -2udu[/tex]

and so here is the squiggly guy:

[tex]\int \frac{-2ux^{2}}{u}du[/tex]

and since [itex]x=1-u^{2}[/itex]

[itex]x^{2}=1-2u^{2}+u^{4}[/itex]

and so, putting all that back into the integrand:

[tex]\int \frac{-2u(1-2u^{2}+u^{4})}{u}du[/tex]

Pair of u's cancel out

[tex]\int -2(1-2u^{2}+u^{4})du[/tex]

[tex]\int -2+4u^{2}-2u^{4}du[/tex]

Which is something that I can integrate easily...

[tex]-2u+\frac{4u^{3}}{3}-\frac{4u^{5}}{5}[/tex]

To which, back go my original u's to get...

[tex]-2(\sqrt{1-x})+\frac{4(\sqrt{1-x})^{3}}{3}-\frac{4(\sqrt{1-x})^{5}}{5} + C[/tex]

Which is a nightmare to simplify, that can't be right?
 
  • #20
I'd leave it as it. You can differentiate it and see if you recover the integrand.
 
  • #21
I found a much, much, much easier way to do this while playing around a bit. I'm too tired to latex it, but this one is correct as far as I can tell. The other answer might be right too, I didn't finish simplifying it.
33cqf75.jpg


The rest of my courses problems have definite integrals, and we have not covered that yet at all.

Again, thanks for all the help!
 
Last edited:
  • #22
Also try it by letting u=(the entire denominator). For me, it's easier (and cleaner) to sub for the square root and then not have to worry about it (the sqr. root) again until converting back from u to x... Either way will work tho...
 
  • #23
kmacinto said:
Also try it by letting u=(the entire denominator). For me, it's easier (and cleaner) to sub for the square root and then not have to worry about it (the sqr. root) again until converting back from u to x... Either way will work tho...

I did that 2 posts up, in this case it seemed to be a bit more work expanding the roots back into the equation at the end.
 
  • #24
QuarkCharmer said:
The rest of my courses problems have definite integrals, and we have not covered that yet at all.

Again, thanks for all the help!

Definite integrals are surprisingly easy once you know indefinite integrals. If you have a function f(x) such that [itex]\int f(x) dx = F(x) + C[/itex], then the definite integral of f(x) from a to b will be:

[tex]\int_a^b f(x) dx = F(b) - F(a)[/tex]

The theorem that proves this is the Funadmental Theorem of Calculus.
 
  • #25
I'm teaching myself that this afternoon actually. I just got to the part that claims:
[tex]\int_a^b \! f(x) \, dx = lim_{n\to\infty} \sum_{i=1}^{n} f(x_{i}) \Delta x[/tex]

No word on the fundamental theorem of calculus yet. Still struggling with understanding how using mid/left/right points will yield the same limit.

Alternatively, how do I make the roman "d" as in "dx" in latex? \dif does not appear to work?
 
Last edited:
  • #26
Well, that's mainly because as the number of "rectangles" increases (or goes to infinity), the difference between the area of all those rectangles and the area under the function will tend to 0, regardless of whether you use a left, right, or a mid point.

At least I think so.

EDIT: I don't understand...? I just type in dx in the latex and it gives me what i want. Unless you mean [itex]\operatorname{d}x[/itex], which is given by \operatorname{d}x.
 
  • #27
I'm still reading through the examples that use n=10 and other smaller numbers to do the rieman sum by hand.

Char wrote:
[tex]\int_a^b f(x) dx = F(b) - F(a)[/tex]

That is, F(b)-F(a), where F(x) = the indefinite integral of f(x)? I have a hard time grasping how the area under the curve relates to the antiderivative. It seems like that constant would leave a huge margin for error. Idk, I'll get to that part I guess.

\dif is a command for the differential operator. It is simply an upface d to
clarify that it is an operator. E.g.:
\dif x dx
from: http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/commath/commath.pdf
 
  • #28
QuarkCharmer said:
Still struggling with understanding how using mid/left/right points will yield the same limit.

This is not obvious to prove in a rigorous way. The proof of this uses things like uniform continuity of the integral and Cauchy sequences. Too much for a first encounter. I suggest you just accept this and go on.

Alternatively, how do I make the roman "d" as in "dx" in latex? \diff does not appear to work?

I think the standard is to use \mathrm{d}x.
 
  • #29
QuarkCharmer said:
I'm still reading through the examples that use n=10 and other smaller numbers to do the rieman sum by hand.

Char wrote:
[tex]\int_a^b f(x) dx = F(b) - F(a)[/tex]

That is, F(b)-F(a), where F(x) = the indefinite integral of f(x)? I have a hard time grasping how the area under the curve relates to the antiderivative. It seems like that constant would leave a huge margin for error. Idk, I'll get to that part I guess.

That the antiderivative relates to the area is one of the most beautiful and surprising results from mathematics. I can't give you an intuitive reason why this is the case, you just need to read the proof and convince yourself from that fact. It's quite a short proof if I remember well.
 
  • #30
micromass said:
I suggest you just accept this and go on.

I already have, I was just thinking that the book would explain it, at least the idea, but it looks like it's jumping right into some sample definite integral problems instead. Ah well. I don't even know what a cauchy is :smile:

micromass said:
I can't give you an intuitive reason why this is the case, you just need to read the proof and convince yourself from that fact. It's quite a short proof if I remember well.

I will do that.
 
  • #31
QuarkCharmer said:
I already have, I was just thinking that the book would explain it, at least the idea, but it looks like it's jumping right into some sample definite integral problems instead. Ah well. I don't even know what a cauchy is :smile:

There are two ways to learn calculus: intuitive and easy, or rigorous with proofs. You need to know it intuitively before you can do it rigorously. But that means that the books will leave out facts that you don't find obvious at first. You'll need a more formal book if you want to understand everything , but I wouldn't advise this when first confronted with definite integrals :smile:
 
  • #32
I'm reading from the Stewart book, and using the Spivak book as a reference, because I find it hard to understand sometimes.

Char. Limit said:
Well, that's mainly because as the number of "rectangles" increases (or goes to infinity), the difference between the area of all those rectangles and the area under the function will tend to 0, regardless of whether you use a left, right, or a mid point.

At least I think so.

Now that I think about it, this makes sense, because as the number of "n" increases, the width of each "n" decreases, and since [itex]x_i[/itex] is always within [itex]\Delta x[/itex], the squeeze theorem would dictate that as [itex]\Delta x[/itex] approaches 0, so does [itex]x_i[/itex]. Does that make sense?
 
  • #33
QuarkCharmer said:
I'm reading from the Stewart book, and using the Spivak book as a reference, because I find it hard to understand sometimes.



Now that I think about it, this makes sense, because as the number of "n" increases, the width of each "n" decreases, and since [itex]x_i[/itex] is always within [itex]\Delta x[/itex], the squeeze theorem would dictate that as [itex]\Delta x[/itex] approaches 0, so does [itex]x_i[/itex]. Does that make sense?

That makes sense to me, and is probably a good intuitive basis for this fact. Now, the Fundamental Theorem of Calculus, that doesn't really have much of an intuitive basis, unfortunately.
 
  • #34
Char. Limit said:
That makes sense to me, and is probably a good intuitive basis for this fact. Now, the Fundamental Theorem of Calculus, that doesn't really have much of an intuitive basis, unfortunately.
It sort of does, actually, but I've never found it all that helpful. Say you have a function f(x). At x=x0, it has a value f(x0). You can approximate the value of the function at a nearby point x1=x0+Δx as
[tex]f(x_1)=f(x_0+\Delta x) \approx f(x_0) + f'(x_0) \Delta x[/tex]
You can see this easily from the graph. The intuition is simply that f'(x0) tells you which way the function is going at x=x0. If you know where you are, i.e., f(x0), and which way you're going, i.e., f'(x0), you can figure out where you'll end up, i.e., f(x1). If you rearrange it slightly, you already see an inkling of the fundamental theorem:
[tex]f(x_1) - f(x_0) \approx f'(x_0)\Delta x[/tex]

Repeating the process, at the point x2=x1+Δx, you obtain
[tex]f(x_2)=f(x_1+\Delta x) \approx f(x_1) + f'(x_1) \Delta x \approx f(x_0) + f'(x_0) \Delta x + f'(x_1) \Delta x[/tex]
and so on. Now let x0=a, xn=b, and Δx=(b-a)/n. Then xi=x0+i Δx, and
[tex]f(b) \approx f(a) + f'(a) \Delta x + f'(x_1) \Delta x + \cdots + f'(x_{n-1})\Delta x[/tex]
or
[tex]f(b)-f(a) \approx f'(a) \Delta x + f'(x_1) \Delta x + \cdots + f'(x_{n-1})\Delta x[/tex]
The righthand side is a Riemann sum, and in the limit Δx→0, you get
[tex]f(b)-f(a) = \int_a^b f'(x)\,dx[/tex]
 
  • #35
I found a video of this rather strange looking man doing the proof:


Going to check to see if it's proven on ocw.mit.
 
Last edited by a moderator:
<h2> What is u-substitution in integrals?</h2><p>U-substitution is a method used to simplify integrals by substituting a new variable, u, in place of an existing variable in the integrand. This allows for easier integration and can help solve more complex integrals.</p><h2> How do I know when to use u-substitution?</h2><p>U-substitution is most useful when the integrand contains a composite function, such as f(g(x)), where g(x) is the inner function. In these cases, u-substitution can be used to simplify the integrand and make integration easier.</p><h2> What is the general process for u-substitution?</h2><p>The general process for u-substitution involves three steps: 1) identify the inner function, g(x), in the integrand, 2) let u equal g(x) and find du/dx, and 3) substitute u and du into the integral, making sure to also change the limits of integration if necessary.</p><h2> Can u-substitution be used for definite integrals?</h2><p>Yes, u-substitution can be used for both indefinite and definite integrals. When using u-substitution for definite integrals, it is important to also change the limits of integration to match the new variable, u.</p><h2> Are there any common mistakes to avoid when using u-substitution?</h2><p>One common mistake when using u-substitution is forgetting to change the limits of integration to match the new variable, u. It is also important to take the derivative of u and substitute it in for du, rather than just using du/dx. Additionally, it is important to check the final answer by substituting the original variable, x, back in to ensure it matches the original integrand.</p>

FAQ: How Does U-Substitution Simplify Integration Problems?

What is u-substitution in integrals?

U-substitution is a method used to simplify integrals by substituting a new variable, u, in place of an existing variable in the integrand. This allows for easier integration and can help solve more complex integrals.

How do I know when to use u-substitution?

U-substitution is most useful when the integrand contains a composite function, such as f(g(x)), where g(x) is the inner function. In these cases, u-substitution can be used to simplify the integrand and make integration easier.

What is the general process for u-substitution?

The general process for u-substitution involves three steps: 1) identify the inner function, g(x), in the integrand, 2) let u equal g(x) and find du/dx, and 3) substitute u and du into the integral, making sure to also change the limits of integration if necessary.

Can u-substitution be used for definite integrals?

Yes, u-substitution can be used for both indefinite and definite integrals. When using u-substitution for definite integrals, it is important to also change the limits of integration to match the new variable, u.

Are there any common mistakes to avoid when using u-substitution?

One common mistake when using u-substitution is forgetting to change the limits of integration to match the new variable, u. It is also important to take the derivative of u and substitute it in for du, rather than just using du/dx. Additionally, it is important to check the final answer by substituting the original variable, x, back in to ensure it matches the original integrand.

Similar threads

Replies
12
Views
1K
Replies
15
Views
1K
Replies
4
Views
1K
Replies
3
Views
2K
Replies
22
Views
2K
Replies
8
Views
1K
Replies
5
Views
1K
Back
Top