01Yhybridfuncs


 * Hybrid Functions **

A hybrid function is formed by defining different rules for the function for different parts of its domain.

**Example 1**

math f(x) = \Bigg\{ \begin{matrix} 2x + 1 && x \leqslant 1 \\ -x+2 && x>1 \end{matrix} \qquad. math

f(x) as shown here is an example of a hybrid function.

Notice in the graph of f(x) the closed and open circles are clearly marked.

Note the format for defining a hybrid function.
 * Each section has its own domain.
 * A hybrid function consist of two or more such sections joined together into one function.

Recall that to be a function, for any x value, there can be only one y-value. {The vertical line test} This means in a hybrid function, the different domains can never overlap.

In Example 1 above:
 * f(0) = 1
 * f(1) = 3
 * f(2) = 0
 * etc

Hybrid Functions on the Calculator

Your calculator can use hybrid functions:

To define any function, we use the __**define**__ command (ACTION menu, COMMAND submenu) Enter: ... ... **define** f(//**x**//) =


 * make sure you use "f" from the ABC tab and " // **x** // " from the (boldface) variable list

Then go to the virtual keyboard, 2D tab and select the icon shown here.

This will put the empty form shown at the top of the screen on the right.

Fill in the sections exactly the same as the hybrid function shown above and then press EXE


 * The inequality signs are in the OPTN section of the MTH tab and the 2D tab

On the Classpad 2, the hybrid function icon shown is in the Math3 tab.
 * On the the Classpad 2, the inequality signs are at the bottom of the first column in the Math3 tab

Now you can use the function f(x) in a variety of ways.

For example
 * Substituting values such as f(0) and f(1)


 * and


 * solving for particular values such as f( // **x** // ) = 0

You can also use your defined function to draw a graph of the hybrid function (see below).

Graphing hybrid functions on the Calculator

You can produce the graph of a hybrid function on the calculator using the same icon.

Go to the Graphs and Tables page and either
 * use a function such as f(x) that you have already defined, or
 * enter the hybrid function directly into the screen.

Notice that your calculator does __**not**__ clearly show the circles at the endpoints of the lines. You would have to remember to draw them in when you draw your own graph.

Hybrid Functions with 3 or more sections

Hybrid functions are not limited to only having two sections.

Consider the following example: math f(x) = \Bigg\{ \begin{matrix} 1 && x < -1 \\ x^2 && -1 \leqslant x \leqslant 1 \\ 1 - x && x > 1 \end{matrix} \qquad. math

This function is ** continuous ** over its entire domain because at the endpoints of the different sections, the two rules give the same y-value.

(A graph is continuous if you can draw it without lifting your pen from the paper) On your calculator, to obtain the form for a 3 line hybrid function: Click on the icon then click it again.

.