Glossary

Select one of the keywords on the left…

FunctionsInverse Functions

Reading time: ~30 min

Team sports is a world of split-second decisions and fast-moving bodies. Teammates choose where to place a pass. Referees decide who gains possession of the ball. Fans follow the action from great distances. In all these cases, jersey colour is deciding factor in how these instantaneous decisions are made.

Let's take a look at the the Balligon Soccer League. Match each team to a jersey colour such that you have a function.

team mascots

Jersey Colours

Recall that the team mascots make up the of the function,

while jersey colours make up the range. In function notation, we write this relationship as f()=.

Take a look at the end of season tournament brackets.

Example brackets. Fill in with teams matched to colours.

The game between team1assignedtosamecolor and team2assignedtosamecolor is going to be a challenge for the players, referees, and fans. The jersey colours are jerseycolour for both teams. Imagine keeping track of who has possession of the ball from 30 meters away. The consequences of wearing the same colours are so challenging, in fact, that many sports leagues give penalties to teams who are in the wrong uniform.

This idea of seeing jersey colour and immediately knowing what team the player belongs to is the opposite of fteam=jersey colour. In math, we call this backwards relationship an inverse. We use this idea when we balance equations: addition cancels subtraction, multiplication cancels division, etc. Specifically, we are thinking about an inverse function relationship.

The inverse function we are looking at identifies the team based on jersey colour. Take a look at the mapping for the function above moving from left to right.

Here we can see that the relation between colour and team is not a function. What would fix this relationship between fteam and so that f1colour is a function?

Now f1colour is a function. In fact, recall from Relations and Functions there are several types of functions. fteamis now a .

Let's look at this mapping relationship in a function machine. Choose a team to pass through the machine. The machine assigns the team to a colour, then reverses the assignment. In other words, the machine applied the function rule then the inverse function rule.

Inspiration

Every time you pass through both machines, you get out the team's . Algebraically we write this as ff1x=x. We will look more closely at why this is important throughout the chapter.

Currency Conversion

International tourism reached over 4 million arrivals each day in 2019. With so much travel between countries, people are more aware of their spending power. That is, how far a userscurrencyunite.g.dollar in usershomecountryscurrency goes in another currency. Let's explore this idea of spending power - choose a destination from the cities listed.

Cities and Currencies

Along your trip, you find many different markets take only cash. To prepare for your next trip to the market, you withdraw cash. The conversion function is destinationcurrency=conversionrate·homecurrency . Based on your budget you have about

user enters whatever amount they want

to spend on souvenirs, which means you need to withdraw

user must do this calculation and enter the amount +- .5

Take a stroll through the market and decide what you want to buy.

Figma

Souvenirs by city

Visual relationship

We can represent this relationship between the cost in destinationcurrency and homecurrency as (destinationcurrency, userhomecurrency). This relationship means destinationcurrency is the and userhome is the . The points fall on a line. Let's call this line f(destinationcurrency)=conversionratexdestinationcurrency.

Recall that earlier we used the equation destinationcurrency=conversionrate·homecurrency to calculate how much money to withdraw from the bank before our trip to the market. Notice that the this equation is strikingly similar to the f(x) on the graph.

In fact, the most important difference is that the input and output values are switched. We saw this relationship between functions above in the jersey example. Using this observation, we can see that destinationcurrency=conversionrate·homecurrency is the inverse function of f(destinationcurrency)=conversionratexdestinationcurrency. This means we can use the notation f1homecurrency for the function representing the exchange from homecurrency to destinationcurrency.

The graphs of inverse functions have some interesting features. First, this idea of switching inout and output values helps us plot points for f1homecurrency. Let's plot the souvenir points for the inverse function.

https://www.desmos.com/calculator/ff6489z9ns

https://www.desmos.com/calculator/tlscgnsyy3

https://www.desmos.com/calculator/ccbs3quxpu

https://www.desmos.com/calculator/mgmj8jbz26

There is another interesting feature of inverse functions, though it may not be immediately obvious. Let's make some measurements between lines to see if the interesting feature emerges.

Begin by measuring the vertical distance from souvenir1 on f1homecurrencyto fdestinationcurrency. The distance is

. Similarly measure the horizontal distance between souvenir1 on fdestinationcurrency to f1homecurrency.

This distance is the same as the vertical distance you measured! Make the same measurements for each of the souvenir points.

Notice that the intersection points of each of these measurements fall on their own line.

The equation of this line is y= m+

hide until blank filled

which simplifies to y=x. Notice that if we were to fold the coordinate plane along the line y=x, fdestinationcurrency and f1homecurrencywould lie on top of each other. The line y=x would remain in the same position during this fold.

In fact, all inverse functions are symmetric over the line y=x. The tools we used to arrive at this observation are the same that we can use to determine whether two functions are inverses. Let's take a closer look at this with a new graph shape called a parabola.

Parabolas

We call this shape a parabola. Check to make sure it is indeed a function.

The parabola passes the vertical line test, so it is a function. We just observed that inverses are symmetric about the line y=x. Make a copy of the parabola and rotate it in the coordinate plane to make it a reflection of the original parabola over the line y=x. Reflection in this case means that the two parabolas are symmetric over y=x.

undefined

The inverse parabola has the same mirror look as the currency functions. Recall the ordered pairs on those line were switched. That is (destinationcurrency, homecurrency) was on one line and (homecurrency, destinationcurrency) was on the other line. Check that this pattern hold for these two parabolas.

Fill in the table with the coordinate points for each key feature in the original parabola. Verify that their inverses appear on the rotated parabola.

Untitled

According to the properties of inverses, this is the inverse of the original parabola. It's symmetric over y=x and the points on this curve are the inverses of the points on the original parabola. The last thing we need to do is check that it is a function.

The inverse function doesn’t pass the vertical line test. It isn’t actually a function! When we were looking at the jersey example, we changed the team to colour function so that each team was assign to only one colour. Can you apply that idea here?

undefined

https://www.desmos.com/calculator/ywpamz642r

When we change the domain of the original parabola, we can make the inverse parabola a function. In fact, the domain must be restricted so that each input value is matched to only one output. This means that some functions have inverses and some functions don’t. Specifically, only one-to-one functions have inverse functions.

Algebraic Relationship

The Caribbean islands are another popular tourist destination. Their iconic beaches and crystal blue waters paint a picture of relaxation. Bermuda, an island country in the Caribbean, is one of the few places in the world that use both Celsius and Fahrenheit temperature scales in meteorology. Let's set up a hammock in the this shady nook and take a look at the relationship between these temperature scales.

Recall that inverting money from one currency to another are inverse functions. We looked at this using graphs. Let's look at converting temperatures from one scale to another to see if this is indeed an instance of inverse functions.

The forecast calls for a high of 27 degrees Celsius today. We missed the report that included the temperature in Fahrenheit, so we Google the conversion and find C(x)= \frac{5}{9}(x-32). Find today's high in Fahrenheit.

undefined

27=\frac{5}{9}(x-32)

Substitute 27 in for C(X)

9*27=[\frac{5}{9}(x-32)]x9

Use inverse operation on to move 9

\frac{9}{5}x27=\frac{5*(x-32)}{5}

Use inverse operation to move 5

\frac{9}{5}x27+32=x-32+32

Use inverse operation to move 32

\frac{9}{5}x27+32=x

x, representing the temperature in Fahrenheit, is isolated

80.6=x

Today's high in Fahrenheit

This is a familiar process for solving equations. We can use this same process to find inverse functions algebraically. Let's take a look at two key steps in solving the equations above.

Original Function: 27=\frac{5}{9}(x-32)

Inverse Function: \frac{9}{5}x27+32=x

Recall that we substituted 27 in for C(x) since it was our given temperature. Let's put y in for 27 to represent the output value in an ordered pair.

Original Function y=\frac{5}{9}(x-32)

Inverse Function: \frac{9}{5}y+32=x

Now remember that to graph the inverse function when we were buying souvenirs at the market in , we swapped the x and y coordinates. That is, we switched the input and output. Let's do that same thing in the inverse function.

\frac{9}{5}x+32=y

Recall the notation for inverse functions use the letter name of the original function with a -1 in the exponent location. This means y in the inverse function represents C1x.

Take another look at the original and inverse functions side-by-side.

\frac{9}{5}x+32=C^{-1}(x)

C(x)=\frac{5}{9}(x-32)

\frac{9}{5}x+32=C^{-1}(x)

Recall from the jersey example above that passing a value through a function machine then its inverse function machine gives the same value in the end. We called this ff1x=x. Let's verify that this works for C(x) and C1x.

Let's determine whether these two functions are inverses.

f(x)=4-\frac{3}{2}x\ g(x)=\frac{1}{2}x+\frac{3}{2}

The function machine indicates that f(x) and g(x) inverse functions.

Let's find the inverse function of f(x).

f(x)=4-\frac{3}{2}x

y=4-\frac{3}{2}x

substitute y in for f(x)

x=4-\frac{3}{2}y

switch x and y

x-4=-\frac{3}{2}y

solve for y as usual

-2(x-4)={3}y $\frac{-2x+8}{3}=y$

\frac{-2x+8}{3}=f^{-1}(x)

substitute f1x in for y

We know have several ways of identifying and verifying inverse functions. Select your favourite method and describe why.

[option 1](inverting equations algebraically) [option 2](graphing using coordinate points and their inverses) [option 3](graphing using y=x as the line of symmetry) [option 4](mapping diagram)

Functions and inverse functions are fundamental ideas in coding and deciphering. Check out Codes and Ciphers to see these ideas in action!