Integration over something with addition in denominator

  • Context: Undergrad 
  • Thread starter Thread starter Xilor
  • Start date Start date
  • Tags Tags
    Addition Integration
Click For Summary

Discussion Overview

The discussion revolves around the integration of functions with expressions involving addition in the denominator, specifically focusing on integrals such as ∫ x/(x+1) dx, ∫ x/(x+1)^2 dx, and ∫(b-x)^2/(b-a) dx. Participants explore the discrepancies in results obtained from different forms of these integrals and the implications of constants in the integration process.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion over the integration results from Wolfram Alpha for ∫(b-x)^2/(b-a) dx, noting a discrepancy when a is set to 0.
  • Another participant suggests substituting variables or expanding the expression (b-x)^2 to simplify the integration process.
  • Some participants discuss the implications of constants in the integration results, particularly the appearance of a b^3 term in one result and its absence in another.
  • There is a mention of how definite integrals would handle constants differently compared to indefinite integrals.
  • One participant proposes that using substitution might yield the result provided by Wolfram Alpha.
  • Another participant clarifies that b^3 is a constant independent of x, which can be factored out in certain contexts.

Areas of Agreement / Disagreement

Participants exhibit a mix of agreement and disagreement regarding the integration methods and results. While some find clarity in the integration process, others remain uncertain about the discrepancies in results and the role of constants.

Contextual Notes

Participants note that the integration results depend on the treatment of constants and the form of the integrals, which may lead to different interpretations and outcomes. The discussion highlights the importance of understanding the context of indefinite versus definite integrals.

Xilor
Messages
151
Reaction score
7
Hi,
I'm struggling to figure out how to do integration with forms such as:

∫ x/(x+1) dx
∫ x/(x+1)^2 dx
∫(b-x)^2/(b-a) dx

This last one especially is giving me a strange issue, where if I plug it into wolfram:
https://www.wolframalpha.com/input/?i=integrate+(b+-+x)^2+/(b-a)++dx

It shows up with a result of (b-x)^3/3(b-a) + C
While if we know a to be a constant 0, and is left out, and this integral is plugged in: ∫(b-x)^2/(b) dx
https://www.wolframalpha.com/input/?i=integrate+(b+-+x)^2+/(b)++dx

The answer x^3/3b +bx -x^2 +C is produced

You get a different result than the result of the former with a =0. The former one ends up with a b^2 term in the end (if you expand the (b-x)^3 and divide by b), while the latter doesn't. What is happening here and how are these types of integrals solved?
 
Physics news on Phys.org
Ah yes, that helped me do the first and second ones here, thanks! On the third I'm still completely stumped though
 
Xilor said:
∫(b-x)^2/(b-a) dx
##\displaystyle {1\over b - a}\int (b - x)^2 dx##

Now substitute ##u = b -x## or just use ##(a+b)^2 = a^2 + b^2 + 2ab##.
 
Buffu said:
##\displaystyle {1\over b - a}\int (b - x)^2 dx##

Now substitute ##u = b -x## or just use ##(a+b)^2 = a^2 + b^2 + 2ab##.

I assume you mean: (b−x)^2 = b^2 + x^2 - 2bx ? That's the route I tried. After integrating that part and multiplying by the 1/(b-a) again, I get:

(xb^2 + x^3/3 - bx^2)/(b-a) + C

There's no b^3 term in the numerator there, unlike the answer wolfram provided me. So it seems I'm doing something wrong (assuming wolfram isn't bugged)
 
##\frac 1{b - a}\int (b - x)^2dx##

Even simpler than using a substitution, just expand the ##(b - x)^2## expression.
Xilor said:
I assume you mean: (b−x)^2 = b^2 + x^2 - 2bx ? That's the route I tried. After integrating that part and multiplying by the 1/(b-a) again, I get:

(xb^2 + x^3/3 - bx^2)/(b-a) + C
Your answer above is fine. Possibly you entered it into wolframalpha incorrectly. Could you provide a link to the WA page with your integral?
Xilor said:
There's no b^3 term in the numerator there, unlike the answer wolfram provided me. So it seems I'm doing something wrong (assuming wolfram isn't bugged)
 
Mark44 said:
Even simpler than using a substitution, just expand the ##(b - x)^2## expression. Your answer above is fine. Possibly you entered it into wolframalpha incorrectly. Could you provide a link to the WA page with your integral?

https://www.wolframalpha.com/input/?i=integrate+(b+-+x)^2+/(b-a)++dx

My input in case that link fails:
integrate (b - x)^2 /(b-a) dx
 
You have ##(xb^2+x^3/3-bx^2)/(b-a)+C=\frac{1}{3(b-a)}(3xb^2+x^3-3bx^2)+C##.
Compare this with the cubic formula ##(x-b)^3=x^3+3xb^2-3bx^2-b^3##
 
They are similar, but the latter has a -b^3 in there, which is not a constant. Where is this -b^3 coming from?
 
  • #10
Well, ##b^3## is a constant in the sense that it is independent of ##x##. You can therefore write ##\frac{1}{3(b-a)}(3xb^2+x^3-3bx^2)+C=\frac{1}{3(b-a)}(x-b)^3+\frac{b^3}{3(b-a)}+C=\frac{1}{3(b-a)}(x-b)^3+D##, where ##D=\frac{b^3}{3(b-a)}+C##
 
  • Like
Likes   Reactions: Xilor
  • #11
I suppose so, and I guess the term would disappear if you used a definite integral. That sounds like it should be the intended reading of the result here. Thanks!
 
  • #12
Xilor said:
I suppose so, and I guess the term would disappear if you used a definite integral. That sounds like it should be the intended reading of the result here. Thanks!

If you had used substitution you would have got the Wolfram answer.

##\displaystyle {1\over b - a}\int (b - x)^2 dx = {1\over a - b}\int (b-x)^2 d(b - x) = {(b-x)^3/3\over a - b}##.
 
  • Like
Likes   Reactions: Xilor
  • #13
Xilor said:
I suppose so, and I guess the term would disappear if you used a definite integral. That sounds like it should be the intended reading of the result here. Thanks!
Yes, for an indefinite integral the constant is arbitrary. For an definite integral on the interval ##[c,d]## you would have ##F(d)-F(c)##, where ##F(x)## denotes the indefinite integral. So, the constant disappears since you subtract.
 
  • #14
eys_physics said:
where F(x)F(x)F(x) denotes the indefinite integral

##F(x)## denotes a antiderivative and indefinite integral is "family" of all antiderivatives. Clearly ##F(x)## does not denote a indefinite integral.

Correct me if I am wrong.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K