How would you go about integrating a function which has an exponential and a cos/sin term?

For this type of integral you would need to use integration by parts twice. Remember this is where the integral of u*(dv/dx)=uv-(integral with respect to x)(v*(du/dx)). For example let's say you need to integrate sin(x)e^x, it doesn't matter which you choose to be u and dv/dx as sin(x) is cyclic and e^x doesn;t change under differnetiation/integration. And so arbitarily say u=sin(x) and dv/dx=e^x therefore du/dx=cos(x) and v=e^x. We will call the original integral I and so now we have I=sin(x)e^x-(integral with respect to x)(cos(x)e^x). then perform it again but with different variables. Now we change u=cos(x) and dv/dx=e^x, it can be usefull to use subscripts to not confuse u and v from what they previously were, therefore du/dx=-sin(x), v=e^x. From this we have I=sin(x)e^x-cos(x)e^x-(integral with respect to x)(sin(x)e^x)+c, and the integral left now is the same as the original and so equals I, hence this can be reaaranged to 2I=sin(x)e^x-cos(x)e^x+c. This can be cleaned up to get I=((sin(x)-cos(x))e^x)/2+c, is this all clear?

LR
Answered by Luke R. Maths tutor

3859 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Differentiate, with respect to x, e^3x + ln 2x,


Differentiate the function f(x) = x*sin(x)


Find the total area enclosed between y = x^3 - x, the x axis and the lines x = 1 and x= -1 . (Why do i get 0 as an answer?)


Is the trapezium rule an exact method of integration?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning