@mathsy.io: A-level Maths · Pure Year 2 — Integration Subtopic: integration by substitution, twice over ∫ tan³(ln x)/x dx looks horrible until you spot the log of x sitting next to its own derivative — that pairing is the whole way in. Let u = ln x and the integral collapses to tan³u. Peel one tan off, swap the tan² for sec²u − 1, and it splits into two integrals you can actually do: one by a = tan u, the other by b = cos u. The answer lands as ½tan²(ln x) + ln|cos(ln x)| + C. The trap is the last combine: you're subtracting an integral whose answer is already negative. Drop one of those minuses and your final sign is wrong — plenty of textbooks have done exactly that. Differentiate your answer back if you're not sure. #alevelmaths #integration #calculus #mathstok