Hybrid functions combine different types of functions. They are useful for modelling real-world scenarios that have different behaviours under different conditions, like tax brackets or shipping rates. Other examples include analysing frictional forces in physics, designing profiles and shapes for vehicles, and modelling free-fall acceleration. Use this resource to learn about hybrid functions.
Functions which have different rules for different intervals of their domain are called hybrid functions. Sometimes, they are called piecewise functions.
An example of a hybrid function is:
\[y=f(x)=\begin{cases} -x & x\leq-1\\
1 & -1<x<1\\
x & x\geq1
\end{cases}\]
This hybrid function has three rules. Each depends on the value of \(x\) in its domain. A function is considered hybrid if it has two or more rules.
Graphs of hybrid functions
To graph a hybrid function, we look at each rule and its specified interval separately. We have to play close attention to the endpoints and correctly use open or solid circles to show them.
Let's see how to graph the example function.
Example 1 – graphing hybrid functions
Graph the following hybrid function.
\[y=f(x)=\begin{cases} -x & x\leq-1\\
1 & -1<x<1\\
x & x\geq1
\end{cases}\]
This is a hybrid function with three rules. Let's consider the graph of each of the rules, and pay attention to the restricted domains.
Rule \(1\) states that \(y=-x\) for \(x\leq-1\). Since the less than or equal to sign is used, the endpoint \(-1\) has a solid circle. \(-1\) is included in the domain for this function.
Rule \(2\) states that \(y=1\) for \(-1<x<1\). Since the less than sign is used, the endpoints \(-1\) and \(1\) have an open circle. \(-1\) and \(1\) are not included in the domain for this function.
Rule \(3\) states that \(y=x\) for \(x\geq1\). Since the greater than or equal to sign is used, the endpoint \(1\) has a solid circle. \(1\) is included in the domain for this function.
The "graphical pieces" from rules \(1\) to \(3\) can be put together to form the graph of the hybrid function.
Graph the following hybrid function.
\[y = f(x) = \begin{cases} 1-x & x<0\\
x^{2} & x\geq0
\end{cases}\]
This function has two rules. The first rule is >\(f(x)=1-x\) for \(x<0\). Since the less than sign is used, the endpoint \(0\) has an open circle.
The second rule is \(f(x)=x^{2}\) for \(x\geq0\). Since the greater than or equal sign is used, the endpoint \(0\) has a solid circle.
Like in Example 1, we can graph each of these and then assemble the "graphical pieces" to get the graph for the hybrid function.
Exercise – graphing hybrid functions
Graph the following hybrid function.
\[y = f(x) = \begin{cases} x+1 & x<0\\
x-1 & x\geq0
\end{cases}\]
Graph the following hybrid function.
\[y = f(x) = \begin{cases} x^{2} & x<0\\
-x^{2} & x\geq0
\end{cases}\]