Hi everyone.(adsbygoogle = window.adsbygoogle || []).push({});

Recently, I came across a closed form solution to ∫|cos(x)|dx as

sin(x-∏*floor(x/∏+1/2)) + 2*floor(x/∏+1/2)

I have no idea how to reach this solution but checking this for definite integral from 0 to 3∏/4 or ∏ seems to work. Using |cos(x)| as cos(x)*sgn(cos(x)) doesn't help in reaching at the solution. Does someone know how to get this closed form?

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Closed form integral of abs(cos(x))

**Physics Forums | Science Articles, Homework Help, Discussion**