# For security, a credit card number is coded by subtracting each digit from 9. How is the number 3201 2342 3458 0931 coded. What is the card number if the code is 2341 0135 7923 0133.

### 3 Answers | Add Yours

For a single input digit x, f(x) = 9- x. The domain of f(x) is [0, 9].

y = f^-1(x) = 9 - x

=> x = 9 - y

=> f^-1(x) = 9 - x

The domain of f^-1(x) is also [0, 9]

The credit card number is coded by subtracting each digit from 9.

The credit card number 3201 2342 3458 0931 is coded as:

(9-3)(9-2)(9-0)(9-1) (9-2)(9-3)(9-4)(9-2) (9-3)(9-4)(9-5)(9-8) (9-0)(9-9)(9-3)(9-1)

=> 6798 7657 6541 9068

If a card number is coded as 2341 0135 7923 0133, the original number is:

(9-2)(9-3)(9-4)(9-1) (9-0)(9-1)(9-3)(9-5) (9-7)(9-9)(9-2)(9-3) (9-0)(9-1)(9-3)(9-3)

=> 7658 9864 2076 9866

- Code the credit card number 3201 2342 3458 0931.
- A coded credit card number is 2341 0135 7923 0133. What is the original credit card number?
- Find f(x) if x represents a single input digit. What is the domain

of f(x)? - Find f−1(x). What is the domain of f−1(x)?