What is the integral of x*sin(ax)?

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

The integral of x*sin(ax) can be computed using integration by parts, specifically by setting u = x and dv = sin(ax) dx. This results in the formula ∫ x sin(ax) dx = - (1/a)x cos(ax) + (1/a)∫ cos(ax) dx, leading to the final expression - (1/a)[x cos(ax) - (1/a)sin(ax)]. The discussion also touches on the integral of sin(ax)/x, which lacks a primitive function, necessitating numerical methods or series expansions for evaluation. References to M. Abramowitz and I. A. Stegun's "Mathematical Functions and Tables" and Rytzhik and Gradstein's "Tables of Integrals" are recommended for further exploration of special integrals.

PREREQUISITES
  • Understanding of integration by parts
  • Familiarity with trigonometric integrals
  • Knowledge of Taylor and Maclaurin series
  • Basic calculus concepts
NEXT STEPS
  • Study integration by parts in depth
  • Learn about special functions like the sine integral and cosine integral
  • Explore numerical methods for evaluating integrals without primitives
  • Read M. Abramowitz and I. A. Stegun's "Mathematical Functions and Tables"
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on calculus, integral calculus, and numerical methods for evaluating complex integrals.

ponjavic
Messages
221
Reaction score
0
What is the integral of x*sin(x) and x*sin(ax)?
I have no idea since I have neveer integrated something to get a product...
Ohh, it's supposed to be integrated from 0 to 1 for the sin(ax)
 
Physics news on Phys.org
Use "integration by parts".

From the product rule for derivatives, d(uv)/dx= u(dv/dx)+ v(du/dx). We can write that in "differential" form as d(uv)= u dv+ vdu and then rewrite it as

u dv= d(uv)- vdu.

Integrating both sides gives the integral formula
\int u dv= uv- \int vdu.

In particular, to integrate x sin(ax), let u= x, dv= sin(ax) dx. Then du= dx and
v= -(1/a)cos(ax) so
\int x sin(ax)dx= -(\frac{1}{a}x cos(ax)+ \frac{1}{a}\int cos(ax) dx

= -\frac{1}{a}(x cos(x)+ \frac{1}{a}sin(ax)).
 
HallsofIvy said:
Use "integration by parts".
In particular, to integrate x sin(ax), let u= x, dv= sin(ax) dx. Then du= dx and
v= -(1/a)cos(ax) so
\int x sin(ax)dx= -(\frac{1}{a}x cos(ax)+ \frac{1}{a}\int cos(ax) dx

= -\frac{1}{a}(x cos(x)+ \frac{1}{a}sin(ax)).

Sorry,there's a minus,a paranthesis too much and an "a" missing:
\int x sin(ax)dx= -\frac{1}{a}x cos(ax)+ \frac{1}{a}\int cos(ax) dx

= -\frac{1}{a}[x cos(ax)- \frac{1}{a}sin(ax)]
 
and if its / ? =) as in sin(ax)/x
Or is it so easy that I can do it by myself, don't have time right now...
 
This is what I seem to get, very annoying
\int(sin(ax)\frac{1}{x})=sin(ax) ln(x)+\int(ln(x) cos(ax))
or
\int(\frac{1}{x}sin(ax))=-\frac{1}{x}cos(ax)+\int(\frac{1}{x^2}cos(ax))

Any ideas? Are any of the following integrals easy to do?
 
did u try setting u=x and dv=sin(ax)dx ?
this is what i got
\int xsin(ax) dx=-\frac{x}{a}cos(ax) +\frac{1}{a}\int cos(ax) dx
= -\frac{x}{a}cos(ax)+\frac{1}{a^2}sin(ax)
 
heh vladimir, I understand the xsin(ax) integral but now I am trying to do 1/x*sin(ax) is this possible? If you look at my previous post you'll see me trying to integrate 1/x*sin(ax)
 
That's because there is no primitive of the function sinx/x.
I assume you know that ordinary functions can be differentiated and the result be another "familiar" function.But this does not apply for primitives.There are functions like sinx/x,cos/x,exp(x^2),etc. which do not have primitives.That is,u cannot find a function which to differentiate to get the function you wish to integrate.
However,numerical methods based on Taylor/Mac Laurin formula(s) can be used to obtain results.For example,to find the primitive of sinx/x,u need to expand sinx and divide each term of the expansion term by x and integrate the results.You'll have then a new infinite series,which could be seen as the Taylor/Mac Laurin exapansion of the function u are looking for.
This thing works for functions which "behave" pretty well as to apply Taylor/Mac Laurin formula(s) to them.The 3 examples i have stated prove this assertion.
To find definite integral values for the 3 functions mentioned above,try to get a hand on 2 books:M.Abramowitz,I.Segun:"Mathematical functions and tables" and Rytzhik and Gradstein:"Tables of integrals" and search for sine integral function,cosine integral function and erf(error) function.

P.S.I'm not at the library anymore,so from now on,when i give indications to certain books always doubt the veridicity of the names and titles stated,as i give them from my memory to which i have no recollection of having ever been treated with glucosis.So it cold fail me someday.Hopefully not soon.
 
Last edited:
Thanks man, I was expecting the likes...
 

Similar threads

Replies
5
Views
3K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K