# Algebra 1/Unit 4: Functions

 Subject classification: this is a mathematics resource.
 Educational level: this is a secondary education resource.
 Type classification: this is a lesson resource.
 Completion status: this resource is ~50% complete.

## Functions

This lesson should bring you back to primary, where you learned how to point a relation on a rectangular coordinate system. What's a relation? We should get right into that.

A relation is any set of ordered pairs. So when your teacher asks the class: Where is (5, 3) on the rectangular coordinate system? The `(5, 3)` in the question is the relation. When we start examining the relation, we get into what is known as the domain and the range.

The domain is the x-coordinate point of the relation. So, when we have the relation (6, 2). We first look for the x-coordinate point, which is 6. After finding 6 on the map, we need to look for the range, which is the y-coordinate point in the relation. In (6, 2), the range is 2.

If we have a relation of coordinates, such as (6, 7), (8, 2), (1, 5), (9, 5), (2, 4), (7, 1), and (3, 8), you should tell the domains and ranges of these coordinate points. If you don't, don't worry, I got your back. The domains are: 6, 8, 1, 9, 2, 7, and 3, while the ranges are 7, 2, 5, 5, 4, 1, 8. As you can tell after this quick example, finding the domains and ranges of relations are quite easy and simple.

##### Sample problems for finding domains and ranges of relations
1. (9, 3), (5, 6), (2, 3), (3, 2), (3, 8)
2. (4, 5), (2, 9), (7, 6), (6, 7), (3, 10)
3. (7, 8), (2, 3), (3, 4), (1, 9), (4, 19)
4. (5, 2), (1, 9), (1, 8), (1, 3), (3, 7)
5. (9, 3), (2, 4), (6, 4), (7, 0), (1, 2)
6. (8, 1), (2, 5), (5, 2), (6, 2), (-3, 5)

Moving on, we use the domains and ranges to find out if a relation is functional. To find out about whether an equation is a function or not, we will move on to (section 1).

## How to find out if a relation is a function?

Let us define what a function is. What is known as a function is a relation that does not have the same x-coordinate point.

An example of a function is y= 9x + 96 - 40. Why? Because whenever we add in an input for "x", we will get a different "y" output. So, if we put in 0 for x, we should get "56" for the y-output. When we add in 1 for x, we should get 65 as the y-coordinate. Same principle for 2 (you should get 74).

Now that we have several numbers, we can make a graph that represents the relationship between the x-input and the y-output. Just like so:

Domain Range
0 56
1 65
2 74

Now that we have a relation, let us examine, pretending that we don't know that this is already a function, this relation to see if this is a function or not. Are there any x-coordinates that are the same value? No, we don't. We have 0, 1, and 2. These three numbers are totally different numbers. On another side note (no need to worry about range, range is useless when it comes to finding out if a relation is a function or not), we have totally different y-outputs. Our different y-outputs are 56, 65, and 74. So now seeing that this relation has different domains, we can now declare that this relation is a function!!

## What is Function Notation?

Symbol: ${\displaystyle f(x)}$

${\displaystyle f(x)}$  does not mean "f times x". But ${\displaystyle f(x)}$  is simply ${\displaystyle y}$ . Most of the time, we don't use the y, and we use function notation. So, when we have ${\displaystyle y=2x+7}$ . We advance, and replace the "y" with ${\displaystyle f(x)}$ . So, it is ${\displaystyle f(x)}$ =2x + 7.

An example of "Function Notation" is ${\displaystyle f(x)}$  = 0.53x - 17.03 (x = height of man in inches). This equation, ${\displaystyle f(x)}$  = 0.53x - 17.03, represents the approximate length of a man's femur (thigh bone). Say, if a man is 70in (inches), the equation would turn into f(70) = 0.53(70) - 17.03. Why? Because we have to replace all the "x"'s with "70" (the number that is "piecing a bit of the puzzle". After adding in the "70"s for the "x"s, we can move onto figuring out the solution to this problem using our Order of Operations skills). Now, after getting this clear/covered up, let's solve the problem:

1. ${\displaystyle f(x)}$  = 0.53x - 17.03
2. ${\displaystyle f(70)}$  = 0.53(70) - 17.03
3. ${\displaystyle f(70)}$  = 37.1 - 17.03
4. ${\displaystyle f(70)}$  = 20.07

Amazing! We, thanks to the wonders of math, have found out that the approximate length of a 70 inch man's femur would be about 20.07 inches. Pretty easy if you know your arithmetics!

##### Sample problems for finding function notation

1 ${\displaystyle f(x)=8x-45}$

 ${\displaystyle f(x)=}$

2 ${\displaystyle f(x)=93+22-5x+9x}$

 ${\displaystyle f(x)=}$

3 ${\displaystyle f(x)=5x-68}$

 ${\displaystyle f(x)=}$

4 ${\displaystyle f(x)={\tfrac {5}{3}}x+22(88-10.02)}$

 ${\displaystyle f(x)=}$

5 ${\displaystyle f(x)={\tfrac {1}{2}}x+71(98-23.209)}$

 ${\displaystyle f(x)=}$

## How do I solve function notation using a chart?

This section will help you to solve function notation using a chart. Here, we have an example chart (which is colored in the hopes you are more interested):

X ${\displaystyle f(x)}$
3 2
2 4
1 6
0 16

Now, we will throw a question at you (not Jackie Robinson-throw, but just to give out): What is x of ${\displaystyle f(x)}$  = 2?

This question is, thankfully, very easy. All you have to do is closely inspect the graph. Find the ${\displaystyle f(x)}$  section, and find the number 2 in here. And find the x-input of "2". The number we get is "3". 3 is the ${\displaystyle f(x)}$  of 2! Why? If we plug in 3 to the ${\displaystyle f(x)}$  problem, we will get 2 (as you can see, it is recorded in the graph). Thus, 3 is the ${\displaystyle f(x)}$  of 2.

## Quiz

1 ${\displaystyle f(x)=8x-45}$

2 ${\displaystyle f(x)=93+22-5x+9x}$

3 ${\displaystyle f(x)=5x-68}$

4 ${\displaystyle f(x)={\tfrac {5}{3}}x+22(88-10.02)}$

5 ${\displaystyle f(x)={\tfrac {1}{2}}x+71(98-23.209)}$