Transforming the Absolute Value Function

You will see two functions graphed. The first is a fixed function, . The second function, g(x) is able to be changed. I have defined , where A, B, C and D are all coefficients that affect the graph of g(x) differently. By default, A and B = 1 while C and D = 0, so . You may move the sliders to change the values of these coefficients and compare the blue-dashed line representing g(x) to the black-solid line that represents f(x).