Is #y=|x|# a linear function?

1 Answer
Feb 27, 2018

No.

Explanation:

An interesting fact:

A function is linear if:

#f(ax+y)=af(x)+f(y)#

Now, we have:

#f(x)=absx#

Let's try

#a=1#

#x=2#

#y=-3#

#=>f(ax+y)?af(x)+f(y)#

#=>abs(ax+y)?aabsx+absy#

#=>abs(1*2+(-3))?1*abs2+abs(-3)#

#=>abs0?2+3#

#=>0!=5#

Therefore, our function is not linear.