- #1
- 1,123
- 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}
{g(x),} & {g(x) \ge 0} \\
{ - g(x),} & {g(x) < 0} \\
\end{array}} \right.
[/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}
{g(x),} & {g(x) \ge 0} \\
{ - g(x),} & {g(x) < 0} \\
\end{array}} \right.
[/tex]
but I am a little stuck with the other one.
Thanks in advance,
Dan.