Using the same substitution for integration twice

In summary, when you integrate a function that requires substitution and you integrate it again, you are incorrectly using the substitution to calculate du/dx, but if you substitute back in for x at the end, you can do the integration with respect to u.
  • #1
autodidude
333
0
When you have to integrate a function that requires substitution and you integrate it again, why is it wrong to keep the initial substitution?

e.g. y''=2x/(1+x^2)^2

If you let u=1+x^2 then y'=-(1/u)+C. Why is it wrong to integrate that again with respect to u and then change back to x at the end? I know it's not right but I can't see why
 
Physics news on Phys.org
  • #2
Because of the Jacobian (or how is it called in 1 dimension?), I mean the factor between du and dx.
You want to integrate with respect to x, but when you keep the substitution, what you will do is integrate with respect to u.
 
  • #3
That y' is dy/dx = c-1/u

you need dy/du on the LHS to integrate wrt u as the next step.

You'll end up with[tex]\int \frac{du}{dx}dy = \int \left ( c-\frac{1}{u} \right )du[/tex]... but du/dx=2x ... and x depends on y.
 
Last edited:
  • #4
So since we're integrating with respect to u on the right hand side, we have to do the same thing to the left?

In your equation, on the left hand side, did you just switch the places of du and dy so that it becomes with respect to dy? Is this always allowed?

Then du/dx=2x, and you said x depends on y...so we have to write x in terms of y? How would we do that?
 
  • #5
No no no no no!

What you asked in your first post amounted to: "why is it wrong to do this:": [tex]y=\int\left ( c-\frac{1}{u} \right )du[/tex]... the reason is because the LHS does not match the RHS ... you made a mistake evaluating the LHS.

If you want to do the RHS integration wrt u, you have more work ahead of you: I'll take it slowly this time...

Starting with:[tex]\frac{dy}{dx}=c-\frac{1}{u}[/tex] I could rearrange that to be:[tex]dy = \left ( c-\frac{1}{u} \right )dx[/tex] and then integrate:[tex]\int dy = \int \left ( c-\frac{1}{u} \right )dx[/tex]... but how are you going to be able to do the integration on the RHS?

Well you could just put [itex]u=1+x^2[/itex] back!

But it looks like it is easier to integrate wrt u instead ...

What I did before was start at the beginning and use the chain rule:[tex]\frac{dy}{dx} = \frac{du}{dx}\frac{dy}{du} = c-\frac{1}{u}[/tex]... now I can multiply both sides by du to give: [tex]\frac{du}{dx}dy = \left ( c-\frac{1}{u}\right ) du[/tex] ... which is where I left you.

since we know that u=1+x2, we can find du/dx thus: [tex]\frac{du}{dx}=2x=2\sqrt{u-1}[/tex] ... substitute it in:[tex]2\sqrt{u-1}dy = \left ( c-\frac{1}{u}\right ) du[/tex]... I need all the expressions involving u in the RHS:[tex]dy = \left ( c-\frac{1}{u}\right ) \frac{du}{\sqrt{u-1}}[/tex]... now you get to integrate:
[tex]y = \int \left ( c-\frac{1}{u}\right ) \frac{du}{\sqrt{u-1}}[/tex]... which is left as an exercize for the student :)

Aside
... one of the powers of Liebnitz notation is that you can manipulate all the dx's and dy's and so on like fractions ... they obey the same rules. So, the chain rule amounts to saying:[tex]\frac{dy}{dx}=\frac{du}{du}\frac{dy}{dx}=\frac{du}{dx}\frac{dy}{du}[/tex]... handy if you know u(x) but don't know y(x): it turns the problem of finding y(x) into that of finding y(u) ... which we hope will turn out to be easier.

You asked if we can always treat the du's and so on like this and the answer is "yes" ... if you are careful. eg.[tex]\int \frac{dy}{dx}dx = \int dy = y[/tex]

Starting from [tex]\frac{dy}{dx}=c-\frac{1}{u}[/tex] ... in order to be allowed to write an integration sign in front of an expression, the expression has to end in a d-something. eg. It makes no sense to write: [itex]y=\int x^2[/itex] ... it has to be [itex]y=\int x^2 dx[/itex] and this had to start out as something like [itex]dy = x^2dx[/itex]...

So let's apply that to the problem in hand ... we want to integrate the RHS with respect to u, but there is no du there. Solution: multiply the RHS by du. Whatever you do the the RHS you have to do to the LHS to balance the equation so:
[tex]\frac{dy}{dx}du=\left ( c-\frac{1}{u}\right ) du[/tex]... that is all square for the RHS ... but what about the LHS? None of the dy, dx, du cancel out - but I notice that[tex]\frac{dy}{dx}du = \frac{dydu}{dx} = \frac{du}{dx}dy[/tex]... you asked "can we always do that?" And there is your answer!
 
  • #6
Excellent, thanks a lot Simon!
 
  • #7
<whew> no worries qye?!
 
  • #8
One last thing - is that really what we're doing when we integrate (in Leibniz notation) - multiply both sides by dx? It makes sense now but I've never seen it mentioned in any calculus text (perhaps I might've missed it?)
 
  • #9
That's very close ... the dx is to continuous sums what Δx is to discrete sums.
A continuous sum is written: S=∫f(x)dx and a discrete sum is S=Ʃf(xi)Δx

What you are doing is finding the area between the x-axis and f(x) for every value of x, and then adding them up ... so, for a particular value of x, the area is f(x)dx ... the integration sign tells you to add them up for a range of values of x.

In this way, an integration is a kind of continuous version of the sigma notation.
http://en.wikipedia.org/wiki/Integral_symbol
 
  • #10
Does a continuous sum just mean the limit as Δx->0?

So if you had dx, that would mean a very small change in x? Then integrating would give x and you'd evaluate it between some limit of integration...it would just be a rectangle cause the original function was really 1..that makes sense
 

FAQ: Using the same substitution for integration twice

What is meant by using the same substitution for integration twice?

Using the same substitution for integration twice refers to the process of substituting a variable in an integral with another variable, and then using the same substitution again to simplify the integral further.

Why do we use the same substitution for integration twice?

This method is used to simplify complicated integrals that cannot be solved by traditional methods. By making the same substitution twice, we can often reduce the integral to a simpler form that can be easily evaluated.

Are there any limitations to using the same substitution for integration twice?

While this method can be helpful in some cases, it may not always work for every integral. It is important to carefully analyze the integral and choose the appropriate substitution to ensure the method will be successful.

Can using the same substitution for integration twice change the value of the integral?

No, using the same substitution for integration twice does not change the value of the integral. It simply simplifies the integral to make it easier to evaluate, but the final result should be the same as if you had not used this method.

Is there a specific technique for using the same substitution for integration twice?

There is no specific technique for using the same substitution for integration twice. It is a trial-and-error process, where you must carefully choose the substitution in order to simplify the integral. Practice and experience with different types of integrals can help in determining the best approach for using this method.

Similar threads

Back
Top