• Support PF! Buy your school textbooks, materials and every day products Here!

The sign of the integral

  • Thread starter Mentallic
  • Start date
  • #1
Mentallic
Homework Helper
3,798
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.
 

Answers and Replies

  • #2
[tex] \int ln(x)dx = xln(x) - x [/tex]
 
  • #3
cristo
Staff Emeritus
Science Advisor
8,107
72

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
Mentallic
Homework Helper
3,798
94
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
cristo
Staff Emeritus
Science Advisor
8,107
72
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
Mentallic
Homework Helper
3,798
94
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
33,171
4,858
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
Mentallic
Homework Helper
3,798
94
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:).
 

Related Threads for: The sign of the integral

Replies
4
Views
3K
Replies
1
Views
1K
  • Last Post
Replies
2
Views
856
Replies
2
Views
681
  • Last Post
Replies
14
Views
2K
Replies
1
Views
753
Replies
1
Views
739
Replies
10
Views
1K
Top