## Hybrid and Absolute Value Functions

### Hybrid Functions

A hybrid function is where there are different rules or functions over different areas of the domain. This is used to model real life situations where it is too difficult to find the one function to model all of the data. Hybrid functions appear like this: In order to sketch this graph we need to break it down into the separate domains and draw the function between their end points. ### Absolute Value Functions.

Now we will look at the absolute value function. The absolute value, also known as the modulus, function is used to define a number that is always positive. It can be shown as a hybrid function such as: Absolute value of x means that for every positive value of x the function just equals x and is always positive. For every negative value of x the function is equals negative x and due to the double negative will now be positive.

#### Absolute Function Properties.

Absolute value functions have a number of properties which are important to know, however they are fairly intuitive.

|ab|=|a||b|

The absolute value of two numbers which have been multiplied together is the same as the absolute value of the two numbers which are then multiplied together. $\lvert \frac{a}{b} \rvert = \frac{\lvert a\rvert}{\lvert b\rvert}$

The absolute value of two numbers which have been divided by each other is the same as the absolute value of the two numbers which are then divided together.

The absolute value of two numbers which have been together is less or equal to the absolute value of the two numbers which are then added together. $\lvert a+b \rvert \leq \lvert a\rvert + \lvert b \rvert$

## Practice Exam question

Question 5a from 2012 exam 1

Sketch the graph of: $f:[0,5] \rightarrow R, f(x)= - \lvert x-3 \rvert +2$

And to label the axes intercepts and endpoints of the graph.

First we can work out the endpoints of the function, which will give us the y intercept as well. $f(0)=-\lvert 0-3 \rvert +2 = -1$ $f(5)=-\lvert 5-3 \rvert +2 = 0$

We know that whatever we take as the absolute value ofn in this function, x minus 3, will always be negative due to the sign out the front.

Therefore the function will decrease as the value of x moves away from three, with the maximum occurring when x equals 3 and the absolute value is zero and the function equals 2. We also know that the function has a gradient of one.

The function can also be re-written like so:  