Two different results for the same integral

  • Thread starter fredgarvin22
  • Start date
  • Tags
    Integral
In summary, the conversation discusses the use of two integration formulas for logarithmic functions and the differences between the two approaches. The question of why a simple factoring out of a constant changes the answer is raised, and it is explained that this is due to the constant of integration being different in each approach. One participant shares a clever observation about the difference between the two solutions and another participant explains that anti-derivatives are not unique like definite integrals are. The conversation ends with a discussion about the arbitrary nature of the integration constant.
  • #1
fredgarvin22
5
0
hello everybody

i hope i make this clear and to the point. there is an integral that is bothering me. i will express it as the combination of 2 integration formulas that you can look up, under logarithmic functions (http://en.wikipedia.org/wiki/List_of_integrals_of_logarithmic_functions) . here are two identities from that list:

[tex]\int \ln(cx) dx = x\ln(cx) - x[/tex]
and
[tex]\int \ln(ax + b) dx = x\ln(ax + b) - x + (b/a)\ln(ax + b) [/tex]

I have an equation(it actually comes from a famous paper in physics) that basically represents the difference between the two. To make things simpler, a = c = 1 in my equation.
So I have:

(1) [tex]\int \ln(x + b) dx - \int \ln(x) dx[/tex]

using the identities I have:

[tex]x\ln(x + b) - x + (b)\ln(x + b) - x\ln(x) + x[/tex]
[tex]x\ln(x + b) + (b)\ln(x + b) - x\ln(x)[/tex]

[tex](x + b)\ln(x + b) - x\ln(x)[/tex]

so that's that. Now let me do it slightly differently(and don't ask why):

I will factor out the 'b' from the equation first (1):

(2) [tex]\int \ln[(x/b + 1)*(b)] dx - \int \ln[(x/b)*b] dx[/tex]

[tex]\int \ln[(x/b + 1) + ln(b)] dx - \int \ln[(x/b) + ln(b)] dx[/tex]

[tex]\int \ln(x/b + 1) dx - \int \ln(x/b)dx + \int ln(b)dx - \int ln(b)dx] dx[/tex]

[tex]\int \ln(x/b + 1) dx - \int \ln(x/b) dx[/tex]

using the same identities

[tex]x\ln(x/b + 1) - x + b\ln(x/b + 1) - x\ln(x/b) + x[/tex]
[tex]x\ln(x/b + 1) + b\ln(x/b + 1) - x\ln(x/b)[/tex]
[tex](x + b)\ln(x/b + 1) - x\ln(x/b)[/tex]

this is now a different result from approach (1). You can't, unless I'm wrong, recover it again by resubstituting the factor b in again.

My question: why does this simple factoring out, change the answer here?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Constant of integration: (x+b)ln(b)-xln(b) is constant [= (b)ln(b)]. Add it to your second result, you will get the first result.
 
  • #3
that's very clever mathman - how did you come up with that?
 
Last edited:
  • #4
He just noticed what the difference between the 2 solutions were. If it ever happens, and its a constant, you know what you forgot.
 
  • #5
you are correct, the difference between the solutions is indeed b*ln(b). to me that means that in order for the constant of integration(which could any constant) to be equivilent in both equations, I need to either add or subtract this constant, which ever is appropriate, to the result.

I'm not sure what I have learned here, except that the answers are off only by a constant(b*(ln(b)). perhaps if i think about it for a while it will sink in. i'd still like to see mathman elaborate just a little more on his answer, because my math is so rusty and terrible.

in any case thank both of you guys for taking the time to answer.
 
  • #6
Why should they be equivalent?
Why should one technique that gives you one anti-derivative give you the same anti-derivative as using some other?

DEFINITE integrals are unique, anti-derivatives are not.
 
  • #7
i expected them to be equivelant because the (1) and (2) look equivelant to me. if you did this trick on just one of the identities alone, then the answer comes out the same. it seems to come up almost by accident because 2 terms from the two identities cancel each other out. and evidently this is buried somewhere in the integration constant.
 
  • #8
I'm not sure what I have learned here, except that the answers are off only by a constant(b*(ln(b)). perhaps if i think about it for a while it will sink in. i'd still like to see mathman elaborate just a little more on his answer, because my math is so rusty and terrible.
My starting point was the observation that the integral of ln(b) is (x)ln(b).
Since we are dealing with indefinite integrals, the constant is arbitrary, (b)ln(b) is perfectly acceptable.
 

FAQ: Two different results for the same integral

What is an integral?

An integral is a mathematical concept that represents the area under a curve in a graph. It is often used to calculate the total value or quantity of something.

How can there be two different results for the same integral?

This can occur when the integral is evaluated using different methods or approaches, such as using different integration techniques or changing the limits of integration.

Which result is correct?

Both results can be considered correct, as long as they were obtained using valid mathematical techniques and the correct limits of integration were used. However, one result may be more accurate or useful depending on the context of the problem.

What can cause discrepancies in the results of an integral?

Discrepancies can occur due to human error, incorrect use of integration techniques, or limitations in the method used to evaluate the integral.

How can we determine which result is more accurate?

This can be determined by checking the validity of the methods used to obtain the results and considering the context of the problem. Additionally, the results can be compared to each other or to known values, if available.

Similar threads

Back
Top