danago
Gold Member
- 1,118
- 4
Given the function:
[tex] f(x) = \left| {x + 1} \right| + \left| {x + 2} \right|[/tex]
How can i write that as a piecewise function? If i was given something in the form of [tex]f(x) = \left| {g(x)} \right|[/tex], i know to write it as:
[tex] 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 /> [/tex]
but I am a little stuck with the other one.
Thanks in advance,
Dan.
[tex] f(x) = \left| {x + 1} \right| + \left| {x + 2} \right|[/tex]
How can i write that as a piecewise function? If i was given something in the form of [tex]f(x) = \left| {g(x)} \right|[/tex], i know to write it as:
[tex] 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 /> [/tex]
but I am a little stuck with the other one.
Thanks in advance,
Dan.