Problem with Integration by substitution

stripes
Messages
262
Reaction score
0

Homework Statement



If f is continuous and \int^{9}_{0}f(x)dx = 4, find \int^{3}_{0}xf(x^{2})dx

Homework Equations



None required

The Attempt at a Solution



Don't really know where to begin, but I tried:

for \int^{3}_{0}xf(x^{2})dx
let:
u = x^{2}

du = 2xdx

substitute

\int^{3}_{0}xf(x^{2})dx = \int^{9}_{0}\frac{1}{2}f(u)du<br /> <br />

NOW, for \int^{9}_{0}f(x)dx = 4

let
u = x

du = dx

then we have

\int^{9}_{0}f(x)dx = 4 = \int^{9}_{0}f(u)du

so now...

\int^{9}_{0}\frac{1}{2}f(u)du = (1/2)(4) = 2

so our result, the answer to the second integral is 2.

But I'm pretty sure I'm wrong, I didn't really know where else to go with this so that's what I tried. This question is in the "u-substitution" section of our text, so that's probably the method we use, some sort of substitution.

Any help is appreciated, thank you in advance!
 
Physics news on Phys.org
Your solution is correct. Why do you think it's wrong?

The final substitution u=x is pointless, though. All that did was rename a dummy variable.
 
it seems too simple...

i know that the integral on [0,9] for f(x) is 4.

when I use a "u" substitution on the integral of x(f(x^2)), I change the limits of integration, the integrand, and what we're integrating with respect to.

so we then had to integrate on [0,9] for (1/2)f(u). But f(u) does not equal f(x) and thus int(f(u))du does not equal int(f(x))dx, so we can't mix these two functions, because they aren't the same.

basically when i said:

<br /> \int^{9}_{0}f(x)dx = 4 = \int^{9}_{0}f(u)du<br />

that's not really true is it? since f(u) and f(x) are not the same function...

That's kind of why I used a u=x at the end.
 
They are the same function, f(u), f(x),f(a),f(bla) etc are all the same 'functions'. It doesn't matter what name you give to the variable. Besides from your substitution u=x it immediately follows that f(u)=f(x).
 
that's what i figured (and I'm probably just having a brain fart b/c of the lack of sleep) but "u" does NOT equal "x"...that's what's really getting me!

So since u ≠ x, f(u) ≠ f(x)

blahhhh! why am i arguing if I got the right answer! Everything seems fine, it's just that one thing is bothering me! My latter u=x substitution can't be correct, since earlier I already defined u=x^2...how can i just change what "u" equals again?
 
I can see where the confusion is coming from. You're right that if we set u=x^2 then f(u)=f(x^2) \neq f(x). To avoid this confusion it's better to not do another substitution with the same letter . In the integral however u functions as a dummy variable. Perhaps your confusion goes away if you consider the integral \int_0^3 s f(s^2) ds.
 
  • Like
Likes milkism
Cyosis said:
I can see where the confusion is coming from. You're right that if we set u=x^2 then f(u)=f(x^2) \neq f(x). To avoid this confusion it's better to not do another substitution with the same letter . In the integral however u functions as a dummy variable. Perhaps your confusion goes away if you consider the integral \int_0^3 s f(s^2) ds.

Exactly correct...why are you getting confused
take this as an example:
Your friend John has 56 apples and he wants to divide these apples among 8 children...so he gives each of the children 7 apples each...Now would the no of apples each child got change if the apples were given by you , me or any anyone else...NO right...same is the case is with variables whether you take u,v or x,y,z...it really does not matter...until the function is same the limit only gets changed when you take for eg u=sqrtx...!Wat you did wrong was to take u=x again it was like trying to give 7 apples to each child but this time with a person who has only 10 with him...
Don't worry these things do take some time to sink in...
 
I am definitely going to get some sleep and come back to this! Thanks all for your help, I'm glad I ended up with the right answer!

since u ≠ x, it DOES matter if it's x or u!

Alright alright, thanks again everyone, hopefully after some rest I will look at this and have an "a HAH!" moment!
 
The variables u and x in the integrals are dummy variables. Consider these summations:

\sum_{i=1}^n i = \frac{n(n+1)}{2}

\sum_{j=1}^n j = \frac{n(n+1)}{2}

Your argument is like saying those two summations are different because i\ne j. The name of the variable here really doesn't matter, though. Same thing with the integrals.
 
  • #10
hey guys, just wanted to let you all know that after I got some rest and relieved some stress, I realized where my confusion was.

Thanks again for all your help.
 

Similar threads

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