y= l x-1l+2

Asked on by tdt3

4 Answers | Add Yours

rakesh05's profile pic

rakesh05 | High School Teacher | (Level 1) Assistant Educator

Posted on

given function is  y=mod(x-1)+2.

We know that       mod(x)=x       if x>0

and                                =-x      if   x<0.

So  here               mod(x-1)= x-1    if x>1

                                         =1-x     if x<1.

So (i) When x>1 ,




(ii)    when  x<1,




pramodpandey's profile pic

pramodpandey | College Teacher | (Level 3) Valedictorian

Posted on

We have given


Though graph is simple ,except problem is at x >1 and x<1.

So let define

`y=x-1+2 `  if `(x-1)>=0`

```y=x+1`                     (i) 


`y=-(x-1)+2`  if `(x-1)<0`

`y=-x+3`                (ii)

Now we sketch graph (i) in red and (ii) in green.


oldnick's profile pic

oldnick | (Level 1) Valedictorian

Posted on

I'm sorry I meant doesnt' esxists derivative:

Indeed:  `D^+= lim_(h->0^+) (f(1+h)-f(1))/h= `

`=lim_(h->0^+) (2h-2)/h=-1`

And  `D^(-) = lim_(h->0^-) (f(1+h)-f(1))/h=lim_(h->0^-) (h+2-2)/h=1` 

So `D^+ != D^-`

oldnick's profile pic

oldnick | (Level 1) Valedictorian

Posted on


This function is always positive,definte  `AA x in RR` and so is the range.

`|x-1|=`  `1-x`  if `x<1`  and `x-1`  if `x>1`

so `|x-1| +2=`   `3-x`  if `x<1`  and `x+1 `  if `x>1`

This funtion is continue even tought in the point `x=1` doesn't exists limit.


We’ve answered 320,018 questions. We can answer yours, too.

Ask a question