For x≥1, let f be the function defined as follows: f(x)={⌊x⌋|x−⌊x⌋−12⌊x⌋|if x<⌊x⌋+1⌊x⌋,f(x−1⌊x⌋)otherwise.Let g(x)=2x−2007. Compute the number of points in which the graphs of f and g intersect.
I've started by noting the second function intersects with the third at every integer from 1 to 2006...
*sorry, i meant the first function. The second seems to intersect a few more times, but I'm not sure whether to count the intersections of each of the pieces with the third individually, or as a whole. i.e. individually, there would be around 2007*2 intersections, yet as a whole it would be around 2007.