Integrate cos(lnx)dx

  • Thread starter Cudi1
  • Start date
  • #1
Cudi1
98
0

Homework Statement


let u=lnx
du=1/x*dx
dv=cosdx
v=-sin

Homework Equations


Now im confused as im getting nowhere with this substiution, i learned the LIPTE rule but its quite confusing, i have a function within a function


The Attempt at a Solution

 

Answers and Replies

  • #2
Cudi1
98
0
for integration by parts to work, i would need two differentiable functions, but the cosdx is not differentiable would it need to be cosxdx for it to be differentiated?
 
  • #3
Dickfore
2,981
5
Is the integral:

[tex]
\int{\cos{(\ln{(x)})} \, dx}
[/tex]

If it is, make the substitution:

[tex]
t = \ln{(x)} \Rightarrow x = e^{t}
[/tex]

and substitute everywhere. The integral that you will get can be integrated by using integration by parts twice, or, if you know complex numbers, by representing the trigonometric function through the complex exponential.
 
  • #4
Cudi1
98
0
it is just cos(lnx)dx
 
  • #5
Dickfore
2,981
5
then proceed as I told you.
 
  • #6
Cudi1
98
0
ok im getting an integral of the form : coste^tdt. is this correct?
 
  • #7
Dickfore
2,981
5
yes. proceed by integration by parts or using complex exponentials.
 
  • #8
Cudi1
98
0
ok thank you for the help, quick question why do we have to let t=lnx?
 
  • #9
Dickfore
2,981
5
We have a composite function [itex]\cos{(\ln{x})}[/itex] of two elementary functions (trigonometric and logarithmic). As a combination, it does not have an immediate table integral. But, the method of substitution, which is nothing but inverting the chain rule for derivatives of composite functions, works exactly for such compound functions.
 
  • #10
Cudi1
98
0
thank you, lastly i end up with 1/2(e^tcost-e^tsint), do i sub back , so that x=e^t and t=lnx
which leaves me with : 1/2x(cos(lnx)-sin(lnx)+c?
 
  • #11
Dickfore
2,981
5
I think the sign in front of the sine should be + and the result should be:

[tex]
\frac{1}{2} x \left[\cos{\left(\ln{(x)}\right)} + \sin{\left(\ln{(x)}\right)}\right]+ C
[/tex]
 
  • #12
Cudi1
98
0
yes, made a slight mistake thank you very much for the help, i tried doing it another way by letting u=cos(lnx) and dv=dx and i arrived at the same answer
 
  • #13
Dickfore
2,981
5
yes, the x's will cancel.
 

Suggested for: Integrate cos(lnx)dx

  • Last Post
Replies
5
Views
29K
  • Last Post
Replies
17
Views
45K
  • Last Post
Replies
4
Views
5K
  • Last Post
Replies
8
Views
7K
  • Last Post
Replies
4
Views
11K
  • Last Post
Replies
11
Views
52K
  • Last Post
Replies
8
Views
4K
  • Last Post
Replies
4
Views
4K
Replies
11
Views
4K
Replies
2
Views
6K
Top