How to evaluate sin(t-tau)cos(tau) wrt tau(0t)?

  • Level: Graduate 
  • Thread starter Thread starter lkj-17
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
8 replies · 8K views
lkj-17
Messages
5
Reaction score
0
How to integrate sin(t-tau)cos(tau)d(tau) where tau = 0..t

Maple gives answer (1/2)*t*sin(t)

How can we compute it by hand?
 
Physics news on Phys.org
I would start with a trig identity. sin(t- tau)= sin(t)cos(tau)- cos(t)sin(tau). Now the integral is
[tex]\int_0^t (sin(t)cos^2(tau)- cos(t)cos(tau)sin(tau)) dtau[/tex]
[tex]= sin(t)\int_0^t cos<sup>2</sup>(tau)dtau- cos(t)\int_0^t cos(tau)sin(tau)dtau[/tex]
You can integrate the first by using cos2(tau)= (1/2(1+ cos(2tau)) and in the second, let u= sin(tau).
 
Last edited by a moderator:
HallsofIvy said:
I would start with a trig identity. sin(t- tau)= sin(t)cos(tau)- cos(t)sin(tau). Now the integral is
[tex]\int_0^t (sin(t)cos^2(tau)- cos(t)cos(tau)sin(tau)) dtau[/iex]<br /> [itex]= sin(t)\int_0^t cos<sup>2</sup>(tau)dtau- cos(t)\int_0^t cos(tau)sin(tau)dtau[/itex][/tex][itex] You can integrate the first by using cos<sup>2</sup>(tau)= (1/2(1+ cos(2tau)) and in the second, let u= sin(tau).[/itex]
[itex] <br /> Any simple way to do it?<br /> <br /> If this happened in the exam, it will be a disaster![/itex]
 
You should learn the trig identities well enough so that they ARE simple to you. Then you can apply them in exams.

If you forget the sum-of-angles formula, you can easily derive it from Euler's formula:

[tex]e^{i(\theta + \phi)} = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex]e^{i\theta} e^{i\phi} = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex](\cos \theta + i \sin \theta) (\cos \phi + i \sin \phi) = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex](\cos \theta \cos \phi - \sin \theta \sin \phi) + i (\cos \theta \sin \phi + \sin \theta \cos \phi) = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

from which you can read off the two identities:

[tex]\cos (\theta + \phi) = \cos \theta \cos \phi - \sin \theta \sin \phi[/tex]

[tex]\sin (\theta + \phi) = \cos \theta \sin \phi + \sin \theta \cos \phi[/tex]
 
Ben Niehoff said:
You should learn the trig identities well enough so that they ARE simple to you. Then you can apply them in exams.

If you forget the sum-of-angles formula, you can easily derive it from Euler's formula:

[tex]e^{i(\theta + \phi)} = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex]e^{i\theta} e^{i\phi} = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex](\cos \theta + i \sin \theta) (\cos \phi + i \sin \phi) = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

[tex](\cos \theta \cos \phi - \sin \theta \sin \phi) + i (\cos \theta \sin \phi + \sin \theta \cos \phi) = \cos (\theta + \phi) + i \sin (\theta + \phi)[/tex]

from which you can read off the two identities:

[tex]\cos (\theta + \phi) = \cos \theta \cos \phi - \sin \theta \sin \phi[/tex]

[tex]\sin (\theta + \phi) = \cos \theta \sin \phi + \sin \theta \cos \phi[/tex]

Unable to obtain (1/2)*t*sin(t) from this method.
Would you please show a little steps?
 
Which integral are you stuck on? Show your work.
 
HallsofIvy said:
I would start with a trig identity. sin(t- tau)= sin(t)cos(tau)- cos(t)sin(tau).

Hi lkj-17 and HallsofIvy! :smile:
lkj-17 said:
Any simple way to do it?

If this happened in the exam, it will be a disaster!

Do it in one go with sinA cosB = (sin(A+B) + sin(A-B))/2:

∫sin(t-tau)cos(tau)dtau = ∫(sint + sin(t-2tau))dtau/2. :smile:
 
Yes, that was what was originally suggested. Apparently ikj-17 feels he is not capable of doing that.
 
HallsofIvy said:
Yes, that was what was originally suggested.

No … the original suggestion was sin(A-B) = sinAcosB - cosAsinB, which is different, and only dealt with half the expression.

sinA cosB = (sin(A+B) + sin(A-B))/2 deals with the whole thing in one go, and avoids all those nasty squares. :biggrin:

ikj-17 may even be able to integrate ∫(sint + sin(t-2tau))dtau/2 from 0 to t just by looking at it! :wink: