Integration by Parts: \int{\frac{xcosx}{sin^2x}dx}

In summary, the conversation involves solving an integral using integration by parts and substitution. The integral is \int \dfrac{\cos x}{\sin^2 x}\,dx and the approach involves selecting u and dv according to the order L,A,T,E and then using the formula \int{udv} = uv - \int{v du}. The conversation also mentions attempting to use cotangent and the chain rule to find the derivative of 1/sinx. Ultimately, the solution involves using substitution to simplify the integral and then using integration by parts to solve for the remaining terms.
  • #1
jetpac
7
0

Homework Statement




Use integration by parts to evaluate the following integral:

[tex]
\int{\frac{x cos x}{sin^2 x}dx}

[/tex]

Homework Equations



[tex]
\int{udv} = uv - \int{v du}
[/tex]


The Attempt at a Solution



Select U according to the order:

L - logarithmic, a - algebraic, t - trigonometric, e - exponential.

So possible contender for u would by x, leaving dv = [tex]\frac{cosx}{sin^2x}[/tex]

so du/dx= 1 => du = dx, v = [tex]\int{\frac{cosx}{sin^2x}}[/tex]

= [tex]\int\frac{1}{sinx}*\frac{cosx}{sinx} = \int\frac{1}{sinx}*cotx[/tex]

That's kind of where I'm lost if anyone can help, I'd really appreciate it.

Thanks!
 
Physics news on Phys.org
  • #2
The integral
[tex]\int \dfrac{\cos x}{\sin^2 x}\,dx[/tex]​

can be done with a substitution. Do you see how?
 
  • #3
Would i be on the right track to let u = 1/sinx and dv = cotx dx so v = ln|sinx|? Maybe it sounds stupid but I can't think right now how to go about differentiating 1/sinx. Would it be something like the chain rule, so -cosx * (1/sinx) * err.. a bit lost here again sorry!
 
  • #4
Ah, you are trying to integrate by parts again, but I should have been more specific -- it can be done by u-substitution. That is, you let u = something and du = something dx and substitute. If we think about this carefully, then it is true that this is argument is supported by the chain rule.
 
  • #5
jetpac said:
Would i be on the right track to let u = 1/sinx and dv = cotx dx so v = ln|sinx|? Maybe it sounds stupid but I can't think right now how to go about differentiating 1/sinx. Would it be something like the chain rule, so -cosx * (1/sinx) * err.. a bit lost here again sorry!

So I like how in your first post, you went ahead and wrote out the integration by parts [let v = int(cos(x)/(sin(x)^2)dx)]:

x*v-int(v dx)

Clearly, from there you need to be able to do the integration in v. I also like how you started considering cot(x)...maybe if you rewrote the integrand of v using cot(x) and another function, you'll notice a familiar derivative?

After that, you need a bit of finesse to finish int(v dx)...hint: multiply by "1" in order to make a u-sub.
 

FAQ: Integration by Parts: \int{\frac{xcosx}{sin^2x}dx}

What is integration by parts?

Integration by parts is a method used in calculus to find the integral of a product of two functions. It is often used when the integrand cannot be easily integrated using other methods.

How does integration by parts work?

Integration by parts involves breaking down the integrand into two parts, u and dv, and then using the formula ∫udv = uv - ∫vdu to find the integral.

When should I use integration by parts?

Integration by parts is typically used when the integrand contains a product of two functions, or when the integrand is a combination of algebraic and trigonometric functions.

What is the formula for integration by parts?

The formula for integration by parts is ∫udv = uv - ∫vdu, where u and v are functions of x. This formula can also be written as ∫u(x)v'(x)dx = u(x)v(x) - ∫v(x)u'(x)dx.

What is the integral of \int{\frac{xcosx}{sin^2x}dx} using integration by parts?

Using integration by parts, the integral can be written as ∫x(cosx)(sin^-2x)dx = x(cosx)(-cosx) - ∫(-cosx)(1)(-sinx)dx. This simplifies to -xcos^2x + ∫cosxdx, which can be integrated using the power rule to get the final answer of -xcos^2x + sinx + C.

Similar threads

Back
Top