Can You Calculate Factorials for Non-Integer Numbers Using Integration by Parts?

Click For Summary
The discussion focuses on using integration by parts to solve the integral of e^(2x)cos(3x)dx. Participants detail the steps involved, including applying integration by parts multiple times, which is common in such problems. The conversation highlights that through repeated application, one can derive expressions for integrals involving both sine and cosine functions. Additionally, it touches on the concept of calculating factorials for non-integer values using integration techniques, specifically referencing Euler's work. The discussion concludes with a suggestion that approximating these factorials can be done using the trapezoidal rule for better accuracy.
lord12
Messages
9
Reaction score
0
integral of (e^(2x))(cos3x)dx

I get 1/2e^(2x)sin2x - 3/2integral(e^(2x)cos3xdx)

what do i do next?
 
Physics news on Phys.org
Let u = e^{2x} dv = \cos 3x du = 2e^{2x} v = \frac{1}{3}\sin 3xSince \int udv = uv-\int vdu, we have:

\frac{e^{2x}}{3}\sin 3x - \frac{2}{3}\int e^{2x}\sin 3x = \int e^{2x}\cos 3x \; dx

Now apply integration by parts to \frac{2}{3}\int e^{2x}\sin 3x and you can solve for the integral.
 
Last edited:
Please be more careful with what you write!
I=\int{e^{2x}\cos(3x)dx=\frac{1}{2}e^{2x}\cos(3x)+\frac{3}{2}\int{e}^{2x}\sin(3x)dx+C
where C is some integration constant.

Now, the right-hand side indefinite integral may be rewritten as:
\int{e}^{2x}\sin(3x)dx=\frac{1}{2}e^{2x}\sin(3x)-\frac{3}{2}\int{e}^{2x}\cos(3x)dx=\frac{1}{2}e^{2x}\sin(3x)-\frac{3}{2}I
And your first expression may then be written as:

I=\frac{1}{2}e^{2x}\cos(3x)+\frac{3}{2}(\frac{1}{2}e^{2x}\sin(3x)-\frac{3}{2}I)+C

Now, solve for I.
 
I think lord12s main problem was that he has never encountered a situation where he has to apply integration by parts twice. It occurs often, and many times more than just once. In fact many go on an infinite number of applications.
 
Gib Z said:
It occurs often, and many times more than just once. In fact many go on an infinite number of applications.

It would definitely be interesting to see what a man who applied integration by parts for an infinite number of times would look like after he did so. :biggrin: :-p
 
lol yea that would be. But in case your looking for one where integration is applied n times, and n can be as large as you want, then look at Euler's ...Totient Function? I can't remember the name, but it basically stated:

\int e^{-x} x^n = n!

I meant to write, when integrated from infinity to 0, but don't know how..

anyway its proven by applying Integration by parts n times, try it. Btw this leads us to be able to calculate factorials all positive real numbers, not just integers. Its very tedious to do approximate by hand, but in case you want to, just to impress someone that you can find the factorial of 5.6, then use the trapezoidal rule, much simpler and accurate than simpson's rule in this case. And approximate by finding area of 0 to 4n, infinity may be a bit hard...I don't know why the function seems to rapidly dive down to zero at 4n, maybe someone can answer that for me?
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 8 ·
Replies
8
Views
5K