Check Takehome Test: Integration by Parts

  • Thread starter Thread starter Lanza52
  • Start date Start date
  • Tags Tags
    Test
Click For Summary
The discussion revolves around a take-home test problem involving integration by parts for the integral of sin(log2(x)). The user presents their work but encounters algebraic errors while trying to consolidate the results. Other participants point out mistakes, including a sign error and a missing 'x' in the final expression. After some back-and-forth, the user corrects these issues and expresses gratitude for the assistance. The conversation highlights the importance of careful algebraic manipulation in calculus problems.
Lanza52
Messages
63
Reaction score
0
[SOLVED] Takehome Test Check

Have a take home test that is due tomorrow at noon. Got 3 of the 4 done and I thought that it would be a good idea to have better mathematicians then myself check it for me. So, if anybody feels like doing the work;

1. Integration by Parts

\int\sin(log_{2}x)dx

u = \sin(log_{2}x)

du = \frac{\cos(log_{2}x)}{xlog2}dx

dv = dx, v = x

x\sin(log_{2}x)-\int\frac{x\cos(log_{2}x)}{xlog2}

x\sin(log_{2}x)-\frac{1}{log2}\int\cos(log_{2}x)dx

Then do it again.

u = \cos(log_{2}x)

du = \frac{-\sin(log_{2}x)}{xlog2}dx

dv = dx, v = x

x\cos(log_{2}x)+\int\frac{x\sin(log_{2}x)}{xlog2}

x\cos(log_{2}x)+\frac{1}{log2}\int\sin(log_{2}x)dx

Now put it all together.

x\sin(log_{2}x)-\frac{1}{log2}(x\cos(log_{2}x)+\frac{1}{log2}\int\sin(log_{2}x)dx)=\int\sin(log_{2}x)dx

x\sin(log_{2}x)-\frac{1}{log2}x\cos(log_{2}x)=\frac{log^{2}2+1}{log^{2}2}\int\sin(log_{2}x)dx

Answer:

\frac{log^{2}2(\sin(log_{2}x)-\frac{1}{log2}x\cos(log_{2}x))}{log^{2}2+1}=\int\sin(log_{2}x)dx
 
Last edited:
Physics news on Phys.org
You were doing fine until you tried to "put it all together". Then there's some algebraic slip ups. Try it again. E.g. I get (log2)^2+1 in the denominator.
 
Ah, yea, slight of...latex? Just got impatient while painstakingly going through the code. 1/Log2 * 1/log2 = 1/(log2)^2...(log2)^2/(log2)^2 - 1/(log2)^2 = (log2)^2-1 / (log2)^2 and from there multiply both sides by denom then divide both sides by num.

Correct now?
 
That looks familiar - but don't you get ((log2)^2+1)/(log2)^2? In 'putting it all together' you have a sign error on integral(sin) on the LHS.
 
Edited the original post. How's that?
 
I don't see any change. Did the TeX not regenerate?
 
Dick said:
I don't see any change. Did the TeX not regenerate?

Got to push refresh button.
 
Ok, got it. You left out an 'x' in the sin term, but that's just a typo.
 
Dick said:
Ok, got it. You left out an 'x' in the sin term, but that's just a typo.

Thanks again =P
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K