in Calculus
511 views
0 votes
0 votes
The question is f(x) = | x-1 | + | x+1 | is differentiable at x=1 or not .

 

Now ,

when x<1 , the first part becomes : -(x-1) , i.e 1-x

and why should we not change the sign of second part ,i.e (x+1) ?
in Calculus
511 views

2 Answers

2 votes
2 votes
Best answer
Let us rewrite the function as :

$f(x) = \begin{cases} -(x-1)-(1+x), & \text{if }x\leq -1\\ -(x-1)+(1+x), & \text{if }-1 < x\leq 1 \\ +(x-1)+(1+x), & \text{if }1 < x \end{cases}$

Hope it clears your doubt. If not, then take a value for each of the three intervals, put in the formula and convince yourself that it is correct.
selected by

1 comment

hi gaurav/coolcoder,

just a doubt ,

i dont understand the second equation

(x1)+(1+x)if 1<x1

why a '-' in the left in(x-1) and a '+' in the middle . 

thanks.

0
0
1 vote
1 vote
Because it it addition? o.O How will you change the sign? from (x+1) to +(1+x)?

we are not changing the sign bcz x-1 is less than 1. we are changing it bcoz say, x=0.9999, then 0.9999-1=-0.00001, which is a -ve value. after coming out of mod, it will be +ve.
edited by

2 Comments

See , I know that.. It is addition so , we do not change the sign. But , I want to know the reason behind it.

I mean if x<1 , x-1 is less than 1 , so we did change the sign. Like this I want to know the reason.
0
0
we are not changing the sign bcz x-1 is less than 1. we are changing it bcoz say, x=0.9999, then 0.9999-1=-0.00001, which is a -ve value. after coming out of mod, it will be +ve.
1
1
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true