How do you use integration by parts for ∫ x cos(4x) dx from 0 to pi/4?

I have to use the integration by parts formula: ∫ u dv = u v - ∫ v du

I know how to do this but I keep getting the WRONG answer.

The correct answer is (1/16)(-2) which = -1/8, but some how I get (1/16)(0) which = 0

I need to know where I went wrong. The anti-derivative of sin(y) = -cos(y) right?

∫ x cos(4x) dx (from x=0 to π/4)

sub 4x for y

so y=4x

dy=4dx

Lower Bound: x = 0 ==> y = 4(0) = 0

Upper Bound: x = π/4 ==> u = 4(π/4) = π.

= ∫ y/4 cos(y) dx/4 (from x=0 to π)

= 1/16 ∫ y cos(y) dx (from x=0 to π)

Now for the Int. by parts

let u=y dv=cos(y) dy

du=dy v=sin(y)

= 1/16 [ y sin(y) - ∫ sin(y) dy ] (from x=0 to π)

= 1/16 [ y sin(y) - (-cos(y) ] (from x=0 to π)

= 1/16 [ y sin(y) + cos(y) ] (from x=0 to π)

replacing (y) with the original (4x) yields:

= 1/16 [ 4x sin(4x) + cos(4x) ] (evaluated from x=0 to π)

= 1/16 {[ 4π sin(4π) + cos(4π) ] - [ 4(0) sin(4(0)) + cos(4(0)) ]}

= 1/16 {[ 0 + 1] - [ 0 + 1]}

= 1/16 [0]

= 0?

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 1QUIZZ.COM - All rights reserved.