Frustrating Math Problem!

Ok, my whole class and my teacher are all getting frustrated with this problem, and I just can't get an answer that works. Me and the teacher worked out a solution, but it didn't fit, then me and a classmate spent about an hour on it today and came up with an answer that almost works for x < 0, but not x > 0. We have to solve this beast, it was on the AP test. Here it is:
a(x) = 1 - arctan(e^x)
v(x) = ?
Here's some background information-
y = arctan(x) , x = tan(y)
The antiderivative of arctan(ax) = xtan(x) - (1/2a) ln[1+(a^2)(x^2)] + c
a(x) is acceleration and v(x) is velocity, so to solve for velocity, integrate the acceleration.
Good Luck!
a(x) = 1 - arctan(e^x)
v(x) = ?
Here's some background information-
y = arctan(x) , x = tan(y)
The antiderivative of arctan(ax) = xtan(x) - (1/2a) ln[1+(a^2)(x^2)] + c
a(x) is acceleration and v(x) is velocity, so to solve for velocity, integrate the acceleration.
Good Luck!