Here is an encoded message, a message that has been converted into a code.
WRGDB LV D JRRG GDB.
Can you figure out what it says in English? How was the original message encoded?
17.2
Activity
Now it’s your turn to write a secret code!
Write a short and friendly message with 3–4 words.
Pick a number from 1 to 10. Then, encode your message by shifting each letter that many steps forward or backward in the alphabet, wrapping around from Z to A as needed.
Complete these tables to create a key for your cipher.
position in the alphabet
1
2
3
4
5
6
7
8
9
10
11
12
13
letter in the message
A
B
C
D
E
F
G
H
I
J
K
L
M
letter in code
position in the alphabet
14
15
16
17
18
19
20
21
22
23
24
25
26
letter in the message
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
letter in code
Give your encoded message to a partner to decode. If requested, give the number you used.
Decode the message from your partner. Ask for their number, if needed.
Each letter can be represented by a number. For example, F is 6 because it is the 6th letter of the alphabet.
Complete the first 2 rows of the table to convert between letters and numbers.
Complete the third row by adding or subtracting the number you chose in the last problem to find the coded letter number.
Complete the fourth row by converting the coded number to a letter.
letter in message
F
I
S
message letter number
6
8
coded letter number
letter in code
Use and to write an equation that can be used to encode an original message into your secret code.
Use and to write an equation that can be used to decode your secret code into the original message.
17.3
Activity
A Japanese traveler who is heading to Peru exchanges some Japanese yen for Peruvian soles. At the time of his travel, 1 yen can be exchanged for 39.77 soles.
At the same time, a Peruvian businesswoman who is in Japan is exchanging some Peruvian soles for Japanese yen at the same exchange rate.
Find the amount of money in soles that the Japanese traveler would get if he exchanged:
100 yen
500 yen
Write an equation that gives the amount of money in soles, , as a function of the amount of money in yen, , being exchanged.
Find the amount that the Peruvian businesswoman would get if she exchanged:
1,000 soles
5,000 soles
Explain why it might be helpful to write the inverse of the function you wrote earlier. Then, write an equation that defines the inverse function.
Student Lesson Summary
Sometimes it is useful to reverse a function so that the original output is now the input.
Suppose Han lives 400 meters from school and walks to school. A linear function gives Han's distance to school, , in meters, after he has walked meters from home, and is defined by:
With this equation, if we know how far Han has walked from home, , we can easily find his remaining distance to school, . Here, is the input, and is the output.
What if we know Han's remaining distance to school, , and want to know how far he has walked, ?
We can find out by solving for :
The equation represents the inverse of the original function.
With this equation, we can easily find how far Han has walked from home if we know his remaining distance to school. Here, and have switched roles: is now the output, and is the input.
In general, if a function takes as its input and gives as its output, its inverse function takes as the input and as the output.
Two functions are inverses to each other if their input-output pairs are reversed.
If one function takes as input and gives as an output, then the other function takes as an input and gives as an output.
An inverse function can sometimes be found by reversing the processes that define the first function in order to define the second function.
For example, in the function , the input is , the number of years, and the output is , the number of weeks. The inverse function, , is the result of reversing the process of multiplying by 52. For this function, the input is , the number of weeks, and the output is , the number of years.