By definition of a Laplace transform we have
L(cosat)(s)=f(s)=∫0+∞e−stcos(at)dt
We will apply the integration by parts :
f(s)=a1([e−stsin(at)]0+∞+∫0+∞se−stsin(at)dt)
The first bracket is 0, as e−st→0 when t→+∞ and sin(at)t=0=0. We then apply the integration by parts to the integral :
f(s)=[−a2se−stcos(at)]0+∞−a2s2∫0+∞e−stcos(at)dt
The first bracket gives a2s and the integral is just f(s), so we have :
f(s)=a2s−a2s2f(s)
a2a2+s2f(s)=a2s
And therefore, the final answer is f(s)=s2+a2s (defined for s>0).
Comments