Can someone explain U-Substitution to me? I can never seem to get it, which is annoying because I'm generally good at math.
seen from Uruguay
seen from United States

seen from Netherlands

seen from Australia
seen from Saudi Arabia
seen from China
seen from United States
seen from Saudi Arabia

seen from Malaysia
seen from United States
seen from United States
seen from France

seen from T1
seen from United States
seen from Thailand
seen from Germany

seen from Netherlands

seen from United States

seen from United States
seen from United States
Can someone explain U-Substitution to me? I can never seem to get it, which is annoying because I'm generally good at math.
#30. INTEGRATION BY SUBSTITUTION | INTEGRATION | U-SUBSTITUTION
#22 INTEGRATION BY U-SUBSTITUTION | U-SUBSTITUTION | INTEGRATION BY SUBS...
How to solve integrals with u-sub and why it works
Finding a primitive, or antiderivative, of a function is at times hard. But there are some important and well-known techniques for doing that, and one of them is the u-substitution technique. You could say that it's based on the chain rule. If you want to refresh your memory on that, I've blogged about it in another post.
Perhaps you've seen before that, if you’ve have an integral of the following kind
$$\int f(g(x)) g'(x) \, dx $$
and we let $ u = g(x) $ it can be (hopefully) be rewritten to a more managable integral
$$ \int f(u) \, du. $$
But why it works is very interesting. How fun is it to use something without knowing why it works the way it does? ;) I said in the beginning that you could say this technique comes from the chain rule. To get an idea of why it works (a proof could be made using the fact that chain rule is true), recall that, the chain rule tells us what happens if we want to figure out the derivative of a composition of two or more functions:
$$ \frac{df}{dx} f(g(x)) = f'(g(x))\cdot g'(x)) $$
And we also know that, in order to get back to $ f(g(x)) $ we just need to integrate $ f'(g(x))\cdot g'(x)) $ with respect to $ x $, e.g.
$$ \int f'(g(x))\cdot g'(x)) \,dx= f(g(x)) + C $$
Usually we let $ F $ be the antiderivative of $ f $, and also note that it doesn't really matter what we call our functions, so for pedagogical reasons I will just say that $ g(x) = u(x) $:
$$ \int f(u(x))\cdot g'(x))\, dx = F(u(x)) + C $$
Now compare this with the following formula
$$ \int f(u) \, du = F(u) + C $$
If we say that $ u = u(x) $ and $ du = g'(x) \, dx $ we end up with the exact same thing! So you can indeed say that, the u-substitution technique works because of the fact that the chain rule works.
Some teachers probably tell you to imagine that $ \frac{dy}{dx} $ is a fraction and not an operator. If you want to do that, it's fine - as long as you feel confident. But now you probably have an idea on why you can "pretend" that it is an fraction and treat it that way.
Example
Compute the indefinite integral
$$ \int \, 2x \ sin\,x^2 \, dx $$
It's not hard to see that if we let $ u = x^2 $ then it's derivative $ u' = 2x $. If we now treat the $ \frac{dy}{du} $ operator as a fraction (remember that we said it was "legal" in this case) we would get
$$ \frac{du}{dx} = 2x \Leftrightarrow dx = \frac{du}{2x} $$
So now we also know what $ dx $ is, we get
$$ \int \, 2x \ sin\,(u) \, \frac{du}{2x} $$
Notice that, $ 2x $ cancels out, thus
$$ \int \, 2x \ sin\,u \, \frac{du}{2x} = \int \, sin\,u \, du $$
Now it's easy to see the antiderivative, namely
$$ \int \, sin\,u \, du = -cos \, u + C $$
Remember we had the variable substitution $ u = x^2 $ so we substitute it back, thus our answer is
$$ -cos \, x^2 + C $$
More examples can be found in this post
Integrating slightly more complex functions examples
It’s clear that to solve integrals all we need to do is to find the antiderivative. However, sometimes the antiderivative is not so obvious and sometimes it’s not even possible to tell, hence the need for numerical methods. In this post we’ll use some techniques like u-substitution and partial integration and we can see how to approximate integrals in another one. Let’s start with an easy example.
Example 1
Solve the indefinite integral
$$ \int 2x \, e^{x^2} \, dx. $$
Clearly the antiderivative is not so obvious right away. What we want to do is to rewrite that integral to be more manageable. Let me show you how we can solve this first, and then we’ll discuss why.
If we let $ u $ be $ x^2 $ we can see that it’s derivative, $ 2x $, is the same as the factor $ 2 x $ in the integral. This means that if we take the derivative of $ x^2 $ and solve for $ dx $ we’ll able to get rid of that, and we’ll be left with a very easy integral.
Again, let $ u $ be $ x^2 $ in
$$ \int 2x \, e^{u} \, dx. $$
The derivative of $ u $, $ u’ $, is given by
$$ \frac{du}{dx} = 2x \Leftrightarrow dx = \frac{du}{2x}.$$
Since we have solved for $ dx $ we get
$$ \int 2x \, e^u \, dx = \int 2x \, e^u \frac{du}{2x} = \int e^u \, du = e^u + C $$
Since $ u = x^2 $ we get that $$ e^{x^2} + C $$
thus
$$ \int 2x \, e^{x^2} \, dx = e^{x^2} + C $$
where $ C $ is an arbitrary constant.
AP:)))Cal:)))cu:))))lus:)))) is :)) muc:))h fun
It's been so long since I took a derivative. How the hell does u-substitution work again?
U-substitution is just the chain rule in reverse.
The integral of (sinx)^3 * cosx = (1/4)sinx^4 using the chain rule in reverse.
Because the chain rule in reverse is:
integral sign (g'(x) * (f(g(x))) ) = f (g(x))
This is why u - substitution makes sense. Because essentially u=sinx and du=cosx,
giving you:
integral sign u^3 * du = 1/4 u^4 or = ( 1/4)sinx^4
My teacher never told me this, so I thought I'd share it with you all.