175,698 views
21 votes
21 votes
Help me on #10 Please help on my homework assignment

Help me on #10 Please help on my homework assignment-example-1
User Gopikrishna
by
2.9k points

1 Answer

15 votes
15 votes
Step-by-step explanation

A piecewise defined function is a function divided into branches by certain conditional rules. The conditions stand after the conditional "if". To evaluate a piecewise defined function for a particular value, we need to know first which condition it satisfies, and then, apply its corresponding rule.

Here, we have the function


f(x)=\begin{cases}x^2\text{ if }x<0 \\ x+2\text{ if }x\ge0\end{cases}\text{.}

Let's begin the evaluations with -4. Note that it's less than 0, that is, it satisfies the first condition (x<0). By what I said before,


f(-4)=(-4)^2=-4\cdot-4=16.

The next is f(-3). Again, -3<0. Thus


f(-3)=(-3)^2=-3\cdot-3=9.

Now, 0 satisfies the second condition,


0\ge0.

This means that we must apply the second rule (adding 2):


f(0)=0+2=2.

The next two numbers 3 and 4 satisfy the second condition as well (for they are positive). Then,


f(3)=3+2=5,\text{ and }f(4)=4+2=6.Answer
\begin{gathered} f(-4)=16, \\ f(-3)=9, \\ f(0)=2, \\ f(3)=5, \\ f(4)=6. \end{gathered}

User Nishchay Sharma
by
2.6k points