223,266 views
35 votes
35 votes
How can function f be written as a piecewise function?

How can function f be written as a piecewise function?-example-1
User Anthavio
by
2.6k points

1 Answer

12 votes
12 votes

Given:

The given absolute value function is,


f(x)=\lvert{x-5}\rvert

Required:

To write the given absolute value function f as a piecewise function.

Step-by-step explanation:

The given absolute value function can be written as:


\begin{gathered} f(x)=\begin{cases}{x-5,\text{ }x-5\ge0} \\ {-(x-5),\text{ }x-5\leq0} \\ {}\end{cases} \\ \Rightarrow f(x)=\begin{cases}{x-5,\text{ }x\ge5} \\ {-x+5,\text{ }x<5} \\ {}\end{cases} \end{gathered}

Final Answer:

The given absolute value function f can be written as a piecewise function as follows:


f(x)=\begin{cases}{x-5,\text{ }x\ge5} \\ {-x+5,\text{ }x<5} \\ {}\end{cases}

Option A is correct.

User Ruslan Konygin
by
3.1k points