How do you graph f(x)=|3x6|?

1 Answer
Aug 3, 2015

graph{|3x-6| [-2.46, 7.54, -0.8, 4.2]}

Explanation:

The absolute value of a number x is calculated like this:

|x|=x when x0
|x|=x when x0

You need to find the domain on which 3x60 and the domain on which 3x60

f(x)=3x6 is an increasing function, which means that:

x1<x2<x3f(x1)<f(x2)<f(x3)

You can calculate:
3x6=03x=6x=63=2

You can conclude that:

|3x6|=3x6 on [2;+[
|3x6|=3x+6 on ];2]