The sign of the integral

In summary, the conversation discusses how to solve the integral \int_2^4{log_{10}xdx using the change of base formula and the integration by parts technique. The final solution is x\ln x-x (+C). There is also a discussion on whether the integral can result in a negative value.
  • #1

Mentallic

Homework Helper
3,802
94

Homework Statement


Find
[tex]\int_2^4{log_{10}xdx[/tex]

Homework Equations


Use the change of base formula
[tex]log_ba=\frac{log_ca}{log_cb}[/tex]

The Attempt at a Solution


Using the formula:
[tex]\frac{1}{ln10}\int_2^4lnxdx[/tex]

[tex]=\frac{1}{ln10}[\frac{1}{x}]_2^4[/tex]

[tex]=\frac{1}{ln10}(\frac{1}{4}-\frac{1}{2})[/tex]

[tex]=\frac{-1}{4ln10} \approx -0.1086[/tex]

What my problem is, is that the integral is giving a negative value, but the function of [itex]y=log_{10}x[/itex] is positive for [itex]2\leq x\leq 4[/itex].

So is it that I've made a mistake in calculating this integral, or is the negative value I'm getting legitimate? At this point I would need to reconsider when the integral is ever negative.
 
Physics news on Phys.org
  • #2
[tex] \int ln(x)dx = xln(x) - x [/tex]
 
  • #3
Mentallic said:

Homework Statement


Find
[tex]\int_2^4{log_{10}xdx[/tex]

Homework Equations


Use the change of base formula
[tex]log_ba=\frac{log_ca}{log_cb}[/tex]

The Attempt at a Solution


Using the formula:
[tex]\frac{1}{ln10}\int_2^4lnxdx[/tex]

[tex]=\frac{1}{ln10}[\frac{1}{x}]_2^4[/tex]

What've you done here? You seem to have differentiated instead of integrated. As Random Variable mentions above, the 'trick' to integrating the logarithm function is to write it as 1.ln(x) and use parts.
 
  • #4
Oh hehe, oops xD

Uhh... I still don't understand how you obtained that result Random Variable. Can you guys please explain this
cristo said:
the 'trick' to integrating the logarithm function is to write it as 1.ln(x) and use parts.
a little more?
 
  • #5
Mentallic said:
Can you guys please explain this a little more?

You can write ln(x) as 1.ln(x), to which you can then apply integration by parts. Let u=ln(x), dv=1dx, which will give du=1/x dx, v=x. Then, recall that

[tex]\int u dv=uv-\int v du\Rightarrow\int \ln x dx=x\ln x-\int x\frac{1}{x} dx = x\ln x - x (+C)\,.[/tex]
 
  • #6
This has never been done in class before. Maybe we were meant to experiment or just know this result by natural instinct? :smile: Thanks.
 
  • #7
Do you mean that this integral hasn't been done in class, or the technique of integration by parts hasn't been done in class?
 
  • #8
Integration by parts. And this integral hasn't been done either or else it wouldn't make sense for the teacher to throw it in an assignment soon after showing us how to solve it (which would mean she would probably have taught us integration by parts at that point :tongue:).
 

Suggested for: The sign of the integral

Replies
7
Views
201
Replies
3
Views
257
Replies
8
Views
595
Replies
7
Views
812
Replies
6
Views
687
Replies
3
Views
671
Replies
1
Views
407
Replies
12
Views
742
Replies
15
Views
604
Back
Top