What is the integral of (xsinx)^2?

  • Context: Undergrad 
  • Thread starter Thread starter emin
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion revolves around the integration of the function (xsinx)^2, focusing on various methods of integration, including integration by parts and trigonometric identities. Participants share their approaches and results while seeking clarification and assistance.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in integrating (xsinx)^2 and mentions using integration by parts with u=x^2 and dv/dx=sin^2 x.
  • Another suggests switching the choices of u and dv and proposes using a trigonometric identity for sin^2 x.
  • A different participant recommends using the half-angle formula for sin^2 x after the initial substitution and notes that integration by parts may need to be applied multiple times.
  • One participant shares their result from the integration but suspects an error in their calculations, providing a specific expression for their answer.
  • Another participant indicates they arrived at a different answer and requests details on the solution process, outlining their approach using trigonometric identities and integration by parts.
  • A participant acknowledges confusion in their fractions and plans to verify their result using Mathematica.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach or final answer, with multiple competing methods and results presented throughout the discussion.

Contextual Notes

Some participants express uncertainty about their calculations and the correctness of their results, indicating potential errors in their working steps and the need for verification.

emin
Messages
5
Reaction score
0
hi all,
I've been trying to integrate this thing for ages.i tried using integration by parts using u=x^2,
dv/dx=sin^2 x but it just doesn't seem to end.any help or pointers much appreciated.

thanks
 
Physics news on Phys.org
Switch your u=.. and dv=.. around.
Another method would be to try an identity, such as the double angle identity for your (sinx)^2
 
VeeEight said:
Switch your u=.. and dv=.. around.
Another method would be to try an identity, such as the double angle identity for your (sinx)^2

hmm i hadn't thought of the identity, i'll give it a go.
thanks.
 
I would use your original u-substitution (u=x2), and then use the half-angle formula for sin2x to integrate the dv. Then after you complete the integration by parts the first time, you'll get a sum of two functions in the integral term. One of them you'll be able to immediately integrate, while for the other one you can use integration by parts again.
 
i managed to integrate it but i think i may ave made an error.
heres the result:
x^3/4-x^2/2sin2x-x/2cos2x-sin2x/4

don't know how to put it in proper formulae.
anyway thanks for the help.
 
emin - I come up with a slightly different answer. Can you provide details of your solution. The starting approach I took is as follows:

[tex] I = \int x^2 \cdot \sin^2(x)\,dx = \int x^2 \cdot \frac{(1-\cos(2x))}{2} \, dx[/tex]

then let

[tex] 2I = \int x^2 \cdot (1-\cos(2x)) \, dx = \frac{x^3}{3} - I_2[/tex]

where
[tex] I_2 = \int x^2 \cdot \cos(2x) \, dx = \int \left (\frac{2x}{2} \right )^2 \cdot \cos(2x) \, d\left ( \frac{2x}{2} \right ) = (1/8) \int s^2 \cdot \cos(s) \, ds[/tex]

where [itex]s=2x[/itex]
 
i did get my fractions mixed didn't i?
i was doing it on an a4 page and got all the working jumbled.
yes that is the approach i took, i should be able to run it through mathematica when i get the chance, and see what answer it comes up with.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
5K