Integration by parts; the error of my ways

Click For Summary

Discussion Overview

The discussion revolves around the integration of the function e^{2t}cos(t) using integration by parts. Participants explore various approaches to solve this integral, including potential errors in the application of the integration by parts formula and alternative methods involving complex functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses difficulty with integration by parts and seeks assistance in identifying errors in their calculations.
  • Another participant suggests a different choice of u and dv, indicating that the original poster's approach may have led to confusion in applying the formula correctly.
  • A third participant proposes an alternative method using complex exponentials to compute the integral, suggesting it may be simpler than integration by parts.
  • Further discussion highlights the importance of consistency in choosing u and dv across multiple applications of integration by parts, with one participant noting that inconsistency can lead to trivial results.
  • Several participants engage in a side discussion about LaTeX formatting, sharing tips on how to create larger parentheses and specific types of brackets.

Areas of Agreement / Disagreement

There is no consensus on the best method to solve the integral, as participants present different approaches and highlight potential errors without reaching a definitive conclusion. The discussion remains unresolved regarding the most effective technique.

Contextual Notes

Participants express uncertainty about the implications of their choices in the integration process and the correctness of their methods. There are also unresolved questions about the application of LaTeX for mathematical expressions.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in integration techniques, particularly those exploring integration by parts and alternative methods involving complex analysis.

Somefantastik
Messages
226
Reaction score
0
Hi all,

I'm working on an ODE and ran into this integration by parts. My calculus is terrible. Can someone help?

[tex]e^{2t}x = \int e^{2t}cos(t) \ dt = \frac{1}{2}cos(t) \ e^{2t} + \frac{1}{2}\int e^{2t}sin(t)\ dt = \frac{1}{2}cos(t)\ e^{2t} + \frac{1}{2}\left(-e^{2t}cos(t) + 2\int cos(t)\ e^{2t} \right) = \frac{1}{2}cos(t) \e^{2t} - \frac{1}{2}cos(t)\ e^{2t} + 2\int cos(t)\ e^{2t} dt[/tex]

Now that can't be right. Where did I go wrong?
 
Physics news on Phys.org
[tex]\int u \frac{dv}{dt} \ dt=uv- \int v \frac{du}{dt} \ dt[/tex]

[tex]\int e^{2t}cos(t) \ dt[/tex]

u=e-2t so that [itex]du=-2e^{-2t}dt[/itex]
dv=cos(t) dt => v=-sin(t).

So it should be -2e-2tsin(t). I think the mistake you kept on making is when you put back the functions into the formula. It's uv, you kept putting 'u*dv' if you get what I'm saying.
 
Last edited:
I'm not sure where x comes in, but I think you want to calculate

[tex]\int e^{2t}cos(t) \ dt[/tex]

Anyways I found the antiderivative but I let u = e^(2x) and dv = cos(t)dt whereas you choose differently. I'm not sure if my way is easier or less messier but I will try to find out where you went wrong.
 
OK, I did the problem letting u be the trig function and dv be the exponential and got the same antiderivative (as I should). It wasn't that much messier.

Anyways

[tex]\int e^{2t}cos(t) \ dt = \frac{1}{2}cos(t) \ e^{2t} + \frac{1}{2}\int e^{2t}sin(t)dt[/tex]

is correct.

Actually here:

[tex]\frac{1}{2}cos(t) \ e^{2t} + \frac{1}{2}\int e^{2t}sin(t)\ dt = \frac{1}{2}cos(t)\ e^{2t} + \frac{1}{2}\left(-e^{2t}cos(t) + 2\int cos(t)\ e^{2t} \right)[/tex]

it looks as though you're still correct

Hmmmm, does it have to do with inconsistency in choosing u's and dv's?

FINAL EDIT:

Hmm ok I think I finally get it. Well to be honest I only know how to derive the integration by parts formula and apply it in simple situations. But it looks like you first let u = cos(t) and dv = e^(2t) dt. But then for the next integration by parts, you choose u = e^(2t) and dv = sin(t) dt.

This inconsistency leads to a true statement. In fact you end up with 0 = 0. But this is a pretty trivial result. I'm not sure why this happens but I think to find the actual antiderivative in this case, you have to be consistent (let u be be e^(2x) both times or let u be the trig function both times). If you're consistent, I guarantee you'll find the antiderivative if you can do the algebra. I guess it's not really an error since you end up with 0 = 0 but perhaps someone else could explain why it happened.
 
Last edited:
Hi everybody!

Somefantastik, there's a way to calculate this integral without using integration by parts!

Just transform the cos-function in the complex e-function, do the calculations and take the real part of the final solution! - Here's how it works:

[tex]\displaystyle{\int}e^{2t}\cos t dt=\displaystyle{\int}e^{2t} Re(e^{it}) dt=Re\displaystyle}{(\int}e^{(2+i)t} dt)=Re(\frac{e^{(2+i)t}}{2+i})[/tex]

now, taking the real part of it:

[tex]Re(\frac{e^{(2+i)t}}{2+i})=Re(\frac{2-i}{4+1}e^{2t}e^{it})=Re(\frac{e^{2t}}{5}(2-i)(cost+i\sin t))=\frac{e^{2t}}{5}Re((2-i)(\cos t+i\sin t))=\frac{e^{2t}}{5}(2\cos t+\sin t)[/tex]

In the end, adding the arbitrary constant we finally get:

[tex]\displaystyle{\int}e^{2t}\cos t dt=\frac{e^{2t}}{5}(2\cos t+\sin t)+C[/tex]

** How does one make the parenthesis big? And how does one get the following type of brackets "{ }"? (Thanks a lot)
 
Marin said:
In the end, adding the arbitrary constant we finally get:

[tex]\displaystyle{\int}e^{2t}\cos t dt=\frac{e^{2t}}{5}(2\cos t+\sin t)+C[/tex]

** How does one make the parenthesis big? And how does one get the following type of brackets "{ }"? (Thanks a lot)



Right. And because that started out being equal to x*e^2t, then:
x = 1/5 sin(t) + 2/5 cos(t) + Ae^-2t
You can also get this by using cyclic integration by parts and an algebraic
substitution for the integral.

My latex is Much worse than yours, sorry can't help you there!:rolleyes:
 
LaTeX

Marin said:
[tex]\displaystyle{\int}e^{2t}\cos t dt=\frac{e^{2t}}{5}(2\cos t+\sin t)+C[/tex]

** How does one make the parenthesis big? And how does one get the following type of brackets "{ }"? (Thanks a lot)

Hi Marin! :smile:

You use \left and \right before each bracket (but it only make them large enough to fit what you've typed inside, so it makes no difference if it's all on one line):

[tex]\frac{e^{2t}}{5}\left(2\cos t+\sin t\right)[/tex]

[tex]{e^{2t}\left(\frac{2\cos t+\sin t}{5}\right)[/tex]

[tex]{e^{2t}\left[\frac{2\cos t+\sin t}{5}\right][/tex]

[tex]{e^{2t}\left<\frac{2\cos t+\sin t}{5}\right>[/tex]

[tex]{e^{2t}\left|\frac{2\cos t+\sin t}{5}\right|[/tex]

And you must put \ in front to get { or }:

[tex]{e^{2t}\left\{\frac{2\cos t+\sin t}{5}\right\}[/tex]

see http://www.physics.udel.edu/~dubois/lshort2e/node54.html#SECTION00830000000000000000 :smile:
 
Last edited by a moderator:
Thanks a lot, tiny-tim!

I've been using LaTeX for a month and it's quite extraordinary to me still :)

but I'm going to get used to it :) - I caught up the main commands but there are still some I'm missing out :)
 
Whoa that's pretty cool Marin. It's probably a lot shorter than cyclic IBP and then solving for the original integral. Anyways I never learned that in my high school calc class. Is this a topic in complex analysis?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K