Turn on thread page Beta
    • Thread Starter
    Offline

    1
    ReputationRep:
    Hi,

    This is question 6 on my exercise sheet which you would assume to be easier than the other 10 questions after it. However I can't do it, I get repetitive motion when doing it in parts with substitution. What sort of method works?

    Integrate(2*x*sin(x)*exp(x)) with respect to x of course.

    Good luck to anyone who dares. I personally think that the question might be easier than it appears to be, just I am using the wrong method.

    Adam
    Offline

    10
    ReputationRep:
    (Original post by byb3)
    Hi,

    This is question 6 on my exercise sheet which you would assume to be easier than the other 10 questions after it. However I can't do it, I get repetitive motion when doing it in parts with substitution. What sort of method works?

    Integrate(2*x*sin(x)*exp(x)) with respect to x of course.

    Good luck to anyone who dares. I personally think that the question might be easier than it appears to be, just I am using the wrong method.

    Adam
    What is exp(x)? I have only done up to P3.
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by Ralfskini)
    What is exp(x)? I have only done up to P3.
    exp(x) is just e^x sorry
    Offline

    10
    ReputationRep:
    (Original post by byb3)
    exp(x) is just e^x sorry

    Thank.
    Offline

    1
    ReputationRep:
    Just don't - you only live once.
    Offline

    0
    ReputationRep:
    ralfskini check ur private messages
    Offline

    10
    ReputationRep:
    I get 2x + cosx*e^x + c.
    Offline

    10
    ReputationRep:
    (Original post by Seer)
    ralfskini check ur private messages

    Ive replied. Not sure if it sent.
    • Thread Starter
    Offline

    1
    ReputationRep:
    Maple gives the answer as:

    2*(-1/2*x+1/2)*exp(x)*cos(x)+x*sin(x)*exp(x)

    = (1-x)*exp(x)*cos(x)+x*sin(x)*exp(x)

    How it gets there is anyones idea.
    Offline

    10
    ReputationRep:
    (Original post by byb3)
    Maple gives the answer as:

    2*(-1/2*x+1/2)*exp(x)*cos(x)+x*sin(x)*exp(x)

    How it gets there is anyones idea.

    I did a long integration by parts.
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by Ralfskini)
    I did a long integration by parts.
    I think it is a mixture of that and substitution when needed.
    Offline

    10
    ReputationRep:
    I rushed it through. I can see the errors all over the place.
    Offline

    15
    ReputationRep:
    have you tried writing sin(x) in exponential form?
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by elpaw)
    have you tried writing sin(x) in exponential form?
    sin(x) = exp(log(sin(x))) ?
    Offline

    2
    ReputationRep:
    First, do the following integrals (all with respect to x) (do them by two applications of parts, after which you will get the integral in terms of itself, which then after re-arranging will yield the following):

    Code:
    I_1 = Integral(e^x*cos(x)) = (1/2)*e^x*(sin(x) + cos(x)) + A
    I_2 = Integral(e^x*sin(x)) = (1/2)*e^x*(sin(x) - cos(x)) + B
    We want to find:

    Code:
    (1/2)*I = Integral(x*sin(x)*e^x)
    Now attack this by parts. Set u = x, dv/dx = e^x*sin(x), thus du/dx = 1 and v = I_2 = (1/2)*e^x*(sin(x) - cos(x)). Then we have:

    Code:
    (1/2)*I = (1/2)*x*e^x*(sin(x) - cos(x)) - (1/2)*I_2 + (1/2)*I_1 + C
    I = x*e^x*(sin(x) - cos(x)) - I_2 + I_1 + D
    I = x*e^x*(sin(x) - cos(x)) - (1/2)*e^x*(sin(x) - cos(x)) + (1/2)*e^x*(sin(x) + cos(x)) + E
    I = x*e^x*(sin(x) - cos(x)) + e^x*cos(x) + E
    I hope this helps,
    Offline

    1
    ReputationRep:
    (Original post by rahaydenuk)
    First, do the following integrals (all with respect to x) (do them by two applications of parts, after which you will get the integral in terms of itself, which then after re-arranging will yield the following):

    Code:
    I_1 = Integral(e^x*cos(x)) = (1/2)*e^x*(sin(x) + cos(x))
    I_2 = Integral(e^x*sin(x)) = (1/2)*e^x*(sin(x) - cos(x))
    We want to find:

    Code:
    (1/2)*I = Integral(x*sin(x)*e^x)
    Now attack this by parts. Set u = x, dv/dx = e^x*sin(x), thus du/dx = 1 and v = I_2 = (1/2)*e^x*(sin(x) - cos(x)). Then we have:

    Code:
    (1/2)*I = (1/2)*x*e^x*(sin(x) - cos(x)) - (1/2)*I_2 + (1/2)*I_1 + C
    I = x*e^x*(sin(x) - cos(x)) - I_2 + I_1 + D
    I = x*e^x*(sin(x) - cos(x)) - (1/2)*e^x*(sin(x) - cos(x)) + (1/2)*e^x*(sin(x) + cos(x)) + D
    I = x*e^x*(sin(x) - cos(x)) + e^x*cos(x) + D
    I hope this helps,

    Oh my god ... im glad i int doin maths at uni
    Offline

    15
    ReputationRep:
    (Original post by byb3)
    sin(x) = exp(log(sin(x))) ?
    no, sin(x) = (e^ix - e^-ix)/2i
    Offline

    0
    ReputationRep:
    I got:
    Code:
    ( xsinx - xcosx + cosx )e^x + C
    It took bloody ages... I just used integration by parts loads of times.
    Offline

    0
    ReputationRep:
    (Original post by mikesgt2)
    I got:
    Code:
    ( xsinx - xcosx + cosx )e^x + C
    It took bloody ages... I just used integration by parts loads of times.
    eeeek....i got (by parts):
    Code:
    (2/3)(xsinx + (1 - x)cosx)e^x) + c
    :confused:
    Offline

    2
    ReputationRep:
    (Original post by elpaw)
    have you tried writing sin(x) in exponential form?
    pretty pointless.
 
 
 
Poll
How are you feeling in the run-up to Results Day 2018?
Useful resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.