Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Indefinite Integral of Sin[Log[x]]

Name: Anonymous 2007-06-25 11:10 ID:6RuiyZsi

I solved this problem, but I'm wondering if the method I used was correct, or if I just got lucky and ended up with the correct answer by chance.  I used a substitution for the Log[x] and left it there through solving the entire problem, which didn't feel right as I did it, but ended up with the right answer... is that correct?
My work:
∫Sin[Log[x]] dx = ∫x*Sin[u] du where u = Log[x]
Using integration by parts:
∫x*Sin[u] du = -x*Cos[u] + ∫x*Cos[u] du
Integration by parts again:
∫x*Sin[u] du = -x*Cos[u] + x*Sin[u] - ∫x*Sin[u] du
2∫x*Sin[u] du = -x*Cos[u] + x*Sin[u]
∫x*Sin[u] du = x*(Sin[u]-Cos[u])/2
therefore, ∫Sin[Log[x]]dx = x*(Sin[Log[x]-Cos[Log[x]])/2

Name: Anonymous 2007-06-25 17:23 ID:JV+04DJz

∫x*Sin[u] du = -x*Cos[u] + ∫x*Cos[u] du

Wrong.

∫x*Sin[u] du = -x*Cos[u] + ∫Cos[u]dx

Name: Anonymous 2007-06-25 17:34 ID:JV+04DJz

Oh and dx = xdu.  Fuck.

Name: Anonymous 2007-06-25 17:46 ID:GeeSRx2B

Your work and answer are correct, but for the love of god do not leave an "x" in the integrand after doing substitution. It's easy to make a mistake (especially when doing two integration by parts afterwards), and it's much harder for whoever is grading it to interpret it.

Name: Anonymous 2007-06-25 17:56 ID:N8ciHFjn

>>1
Wrong.

The correct method is: mathematica.

Name: Anonymous 2007-06-25 21:44 ID:UrcB0lDM

(%i1) integrate(sin(log(x)),x);
(%o1) (x*(sin(log(x))-cos(log(x))))/2

Name: Anonymous 2007-06-26 6:17 ID:EqLjNDZF

USE THE WAAAAAAAAAAAAAAAAGH!

Name: Anonymous 2007-06-26 6:53 ID:foEr/p1y

OP here.  I realized I didn't need the substitution at all since adding an x just confused me.  Without using the substition, I used integration by parts in a slightly different manner:

u = Sin[Log[x]], du/dx = Cos[Log[x]]/x, v = x, dv/dx = 1
∫u dv/dx = uv - ∫v du/dx

∫Sin[Log[x]] dx = x Sin[Log[x]] - ∫Cos[Log[x]] dx
∫Sin[Log[x]] dx = x Sin[Log[x]] - (x Cos[Log[x]] + ∫Sin[Log[x]] dx)
2∫Sin[Log[x]] dx = x(Sin[Log[x]] - Cos[Log[x]])

∫Sin[Log[x]] dx = x(Sin[Log[x]] - Cos[Log[x]])/2

Name: Anonymous 2007-06-28 8:49 ID:Bw8MQ+IT

>>4
it's not just about grading and interpretation. it's just plain wrong to leave x in the integrand when it is du, because then x becomes a constant, and you're left with a totally different integral.

Name: Anonymous 2007-06-28 12:47 ID:Heaven

>>9
You can treat x as a function of u and arrive at a proper answer - as the OP did. It's pointless and bad notation, but possible.

Name: Anonymous 2007-06-28 18:26 ID:Heaven

Name: Anonymous 2009-03-18 3:02

I feel the need, the need for weed!

Marijuana MUST be legalized.

Don't change these.
Name: Email:
Entire Thread Thread List