Mark O. answered 05/14/19
Learn Physics, Math, and Comp Sci from Professional Scientist
∫8x cot2(8x) dx
Perform a w-substitution. Let w = 8x, then dw = 8dx
(1/8)∫w cot2(w) dw
Now, perform Integration by Parts
∫ u dv = uv - ∫v du
u = w dv = cot2(w) dw
du = dw v = ∫cot2(w) dw = -w - cotw
Therefore,
∫w cot2(w) dw = w(-w - cotw) - ∫(-w - cotw)dw
∫w cot2(w) dw = -w2 - wcotw + ∫(w + cotw)dw
∫w cot2(w) dw = -w2 - wcotw + (1/2)w2 + ln(|sinw|) + C, where C is an arbitrary constant
∫w cot2(w) dw = -(1/2)w2 - wcotw + ln(|sinw|) + C
(1/8)∫w cot2(w) dw = -(1/16)w2 - (1/8)wcotw + (1/8)ln(|sinw|) + C
Recall that w = 8x
∫8x cot2(8x) dx = -(1/16)(8x)2 - (1/8)(8x)cot(8x) + (1/8)ln(|sin(8x)|) + C
∫8x cot2(8x) dx = -4x2 - xcot(8x) + (1/8)ln(|sin(8x)|) + C <--- ANSWER
We can check that this is the correct answer by taking the derivative and showing that we get the original integrand.
(d/dx)[-4x2 - xcot(8x) + (1/8)ln(|sin(8x)|) + C] = -8x -cot(8x) +8xcsc2(8x) + (1/8)*8cos(8x)/sin(8x)
= -8x -cot(8x) + 8xcsc2(8x) + cot(8x)
The second and fourth terms cancel
= -8x + 8xcsc2(8x) = -8x + 8x[1 + cot2(8x)] using the identity csc2u = 1 + cot2u
= -8x + 8x + 8xcot2(8x) = 8xcot2(8x), which is just the original integrand.