How to sketch $f(x)= |2x-1|-|1+3x|$

51 Views Asked by At

How would you sketch $f(x)= |2x-1|-|1+3x|$? And how would you work out how to sketch it? Please help!

2

There are 2 best solutions below

0
On

We know that

$|x| = \begin{cases} x & x\ge 0 \\ -x & x\lt 0 \end{cases}$

Hence break up your domain into different regions where you can simply write down your function without the use of the absolute values (like above) and then it should be clear what to sketch.

0
On

Step 1: Work out when $2x-1$ and $1+3x$ change signs.

Step 2: Using this information, write down the form of the equation in each region where both signs remain constant.

Step 3: Plot the result for each region.