danago
Gold Member
- 1,118
- 4
Given the function:
<br /> f(x) = \left| {x + 1} \right| + \left| {x + 2} \right|<br />
How can i write that as a piecewise function? If i was given something in the form of f(x) = \left| {g(x)} \right|, i know to write it as:
<br /> f(x) = \left\{ {\begin{array}{*{20}c}<br /> {g(x),} & {g(x) \ge 0} \\<br /> { - g(x),} & {g(x) < 0} \\<br /> \end{array}} \right.<br /> <br />
but I am a little stuck with the other one.
Thanks in advance,
Dan.
<br /> f(x) = \left| {x + 1} \right| + \left| {x + 2} \right|<br />
How can i write that as a piecewise function? If i was given something in the form of f(x) = \left| {g(x)} \right|, i know to write it as:
<br /> f(x) = \left\{ {\begin{array}{*{20}c}<br /> {g(x),} & {g(x) \ge 0} \\<br /> { - g(x),} & {g(x) < 0} \\<br /> \end{array}} \right.<br /> <br />
but I am a little stuck with the other one.
Thanks in advance,
Dan.