Which function has its derivative as sawtooth function?

Calculus Level 2

If f ( x ) = x { x } f'(x)=|x|-\{ x \} , then in which interval is the function f ( x ) f(x) decreasing?

Details:

{ x } \{ x \} represents sawtooth function . That is, { x } = x x \{x\} = x - \lfloor x \rfloor

( 1 2 , 0 ) \left( -\frac 12, 0 \right) ( 1 2 , ) \left( -\frac 12, \infty \right) ( 1 2 , 2 ] \left( -\frac 12, 2 \right] ( 1 2 , 2 ) \left( -\frac 12, 2 \right)

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Max Weinstein
Apr 17, 2018

First of all, f ( x ) f(x) is decreasing iff f ( x ) < 0 f'(x)<0 , so, to answer the question, it suffices to find when f ( x ) < 0 f'(x)<0 .

The sawtooth function is a little hard to analyze, but I find it helpful to let x = n + ϵ x=n+\epsilon , where n n is an integer and 0 ϵ < 1 0{\leq}{\epsilon}<1 . This allows us to do more, because n + ϵ = n + ϵ = n + 0 = n {\lfloor}n+{\epsilon}{\rfloor}=n+{\lfloor}{\epsilon}{\rfloor}=n+0=n (you are allowed to pull integers out of the floor function, and ϵ \epsilon is between 0 and 1, so it will be sent to 0).

With our new method, we can tackle the sawtooth function. First, input x = n + ϵ x=n+\epsilon :

{ n + ϵ } = n + ϵ n + ϵ = n + ϵ n = ϵ \{n+\epsilon\}=n+\epsilon-{\lfloor}n+\epsilon{\rfloor}=n+\epsilon-n=\epsilon

So f ( n + ϵ ) = n + ϵ { n + ϵ } = n + ϵ ϵ f'(n+\epsilon)=|n+\epsilon|-\{n+\epsilon\}=|n+\epsilon|-\epsilon

This is much easier to work with. Let's try looking at it in different cases. We'll start with n 0 n\geq0 :

Because we also chose ϵ \epsilon to be nonnegative, n + ϵ n+\epsilon is nonnegative, so n + ϵ = n + ϵ |n+\epsilon|=n+\epsilon . Let's try and use that.

First, we're looking for f ( x ) < 0 n + ϵ ϵ < 0 n + ϵ < ϵ f'(x)<0\Rightarrow|n+\epsilon|-\epsilon<0\Rightarrow|n+\epsilon|<\epsilon

Let's plug in our absolute value:

n + ϵ = n + ϵ < ϵ n < 0 |n+\epsilon|=n+\epsilon<\epsilon\Rightarrow n<0

But we said n 0 n\geq0 ! Therefore, the interval we're looking for doesn't contain any x = n + ϵ x=n+\epsilon such that n 0 n\geq0 .

Real quickly, take a step back: what values did we just eliminate? Well, we just eliminated n 0 n\geq0 and we know ϵ 0 \epsilon\geq0 , so we eliminated all values where n + ϵ 0 n+\epsilon\geq0 , meaning that our interval must only contain negative values.

[note: out of all the options listed, only one meets this criterion, so this would be enough to answer this multiple-choice question]

So, we just showed that n 0 n < 0 n\ngeq0\Rightarrow n<0

Let m = n -m=n , so m > 0 m>0 . Now, n + ϵ = ( m ) + ϵ = ϵ m n+\epsilon=(-m)+\epsilon=\epsilon-m which must be negative, so ϵ m = m ϵ |\epsilon-m|=m-\epsilon Like before, we will use this.

f ( x ) < 0 n + ϵ ϵ = ϵ m ϵ = m ϵ ϵ = m 2 ϵ < 0 m < 2 ϵ f'(x)<0\Rightarrow|n+\epsilon|-\epsilon=|\epsilon-m|-\epsilon=m-\epsilon-\epsilon=m-2\epsilon<0\Rightarrow m<2\epsilon

We know that 0 ϵ < 1 0{\leq}{\epsilon}<1 , so 0 2 ϵ < 2 0{\leq}{2\epsilon}<2 Therefore, m < 2 ϵ m<2\epsilon implies m < 2 m<2 Remember that m = n m=-n , so n < 2 n > 2 -n<2\Rightarrow n>-2 This means that n n is an integer between 2 -2 and 0 0 , leaving only n = 1 n=-1

Before we saw that m < 2 ϵ m<2\epsilon Because m = n = ( 1 ) = 1 m=-n=-(-1)=1 , we know that 1 < 2 ϵ 1 2 < ϵ 1<2\epsilon\Rightarrow\frac{1}{2}<\epsilon

(note: because we are talking about 1 + ϵ -1+\epsilon , larger values for ϵ \epsilon correspond to smaller values after the decimal point)

So, 1 2 < ϵ < 1 \frac{1}{2}<\epsilon<1 , meaning that f ( x ) f(x) is decreasing on the open interval ( 1 + 1 2 , 1 + 1 ) = ( 1 2 , 0 ) (-1+\frac{1}{2},-1+1)=(-\frac{1}{2},0)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...