Maths Behind Credit Card Transactions

  • Thread starter James...
  • Start date
  • Tags
    Credit card
In summary, the speaker is a student who is doing a qualification that requires them to choose a subject for research and presentation. As they plan to study maths at degree level, they have decided to do a maths-based project. They have two ideas, one about the mathematics behind credit card transactions and the other about the presence of the golden ratio in nature. They have limited knowledge on the subject and are looking for help in deciding which topic to choose. They mention having books on divine proportion but not much on encryption. They also mention having a contact who works in this field but cannot reach them at the moment, so they are looking for other sources of information. They ask for recommendations on books and websites to learn more about the mathematics behind credit card transactions
  • #1
James...
25
0
I am doing a qualification which requires me to chooses a subject for which I will research & produce a presentation & a 5000 word essay in December.

As I plan to study maths at Degree Level I have decided to do a maths based project.

My two basic ideas are...

How does Maths keep our Money safe?

Here I would look into the Mathematics behind credit card transactions & online money trnasfers & the encryptions etc used to ensure it cannot be obtained & understood.

Or,

How the golden ratio is found in nature - something about fibonachis.


I know nothing about the above subjects (which is the point of the qualification) so before I decide I was wondering if anyone can help me out with the first, the credit card one. I have 5 books about divine proportion but very little on encryption.

Is there enough maths behind it to do 6 months of research & understand it, I only have AS Maths in college so my theory will be minimal I assume. I do have a contact who does this for a living but cannot get in touch with him for a while so I am looking for other sources of information.

So if anyone knows any of the basics behind the transactions or knows where I can read up on it I would appreciate it. Got a few websites saved to have a read through tomorrow.

Cheers
James
 
Mathematics news on Phys.org
  • #2
There isn't really encryption behind credit cards as such.
The two best writers on credit card security are probably Ross Anderson Bruce Schneier (both from a technical and a real world point) both have good books on crypto and security.
If you are doing this as a maths project RSA is an interesting example - showing how the function can be easy to do one way but hard to reverse shoudl be within A level maths.
 
  • #3
I know that there are, at least, 2 different mathematical basis
for asimetric cryptography:

1. RSA (Rivest-Shamir-Adlemann - the inventors) method.

2. Elliptic curves method.

To understand the first one you only need some easy theorems of elementary number theory.

TO understand the second you need very complicated math.
 
  • #4
Thank you for the reply, just looked at those authors, quite expensive books so will ask my local libery to get some copies, or request anyway!

Just looked up RSA & I presume you mean the algorithm. Looks fairly complicated but I try going over it tonight & see if I can make sense of what is going on.

Cheers
james
 
  • #5
Castilla said:
To understand the first one you only need some easy theorems of elementary number theory.

TO understand the second you need very complicated math.

I will have a quick scan over the elliptical curves, do you know anywhere online where I can read up on some of the number theory theorems as I have ne knowlage of it as of yet.

Cheers
james
 
  • #6
James... said:
I will have a quick scan over the elliptical curves, do you know anywhere online where I can read up on some of the number theory theorems as I have ne knowlage of it as of yet.

Have you taken a number theory course? If not, you probably won't be able to pick it up just from a book, at least not quickly.
 
  • #7
Not that I know of, never heard it mentioned anyway.

This is what I am doing...

http://www.ocr.org.uk/Data/publications/key_documents/L_GCE_Maths_Spec.pdf

On page 4, I have done 5.1, 5.2 & 5.16

Currently studying - 5.3

And going on to do 5.4, 5.5, 5.6, 5.7 & 5.8 next year if it makes any difference.

It gives a brief overview of what my course covers.

james
 
Last edited by a moderator:
  • #8
Elliptical curves is grad school level maths - I don't know if there is an easy level you can look at.
RSA is much simpler (in principle at least) it only uses exponents and modulus - the maths is quite interesting and should be accessible at your level, there is also a lot written about it. Check out any of schneier's books
 
  • #9
I'm having a go at the RSA at the moment, just sticking some values through it to see if I can get it to work. I will try & check out Schneier's books too.

Just wondering if anyone knows, when you first introduce (mod x) into it, does the remainder (R) have to be a set amount?

eg,

I have 13*j = R (mod 60) up to now & I need to work out J.

On the example I am using online they have

7*j = 1 (mod 20)

which they can use j = 3 to get the remainder of 1

but if I was to use a remainder of 1 I would need 13j = 61 giving me j = 4.6923...

which would be hard to work with. Does the remainder have to be 1 or could I use 5 so I could have...

13j = 5 (mod 60)
13*5 = 5 (mod 60)

which would give me a nice value for j to work with.

Cheers
James

Edit - having a go with a remainder of 1 after realising I can leave j as a fraction!
 
Last edited:
  • #10
Last edited by a moderator:
  • #11
Fun Fact: If you take any credit card number and swap any two consecutive numbers, it is not a valid number.
 
  • #12
^pretty cool where'd you learn that?
 

FAQ: Maths Behind Credit Card Transactions

How are credit card transactions calculated?

Credit card transactions are calculated using a mathematical process called "arithmetic operations". This includes addition, subtraction, multiplication, and division. The amount of the transaction is determined by the cardholder's purchase amount, any additional fees or interest, and the credit card's interest rate.

What is the role of mathematical algorithms in credit card transactions?

Mathematical algorithms are used to validate the credit card information and ensure that the transaction is legitimate. These algorithms check the card number, expiration date, and security code to verify the card's authenticity. They also help detect and prevent fraud by analyzing spending patterns and transaction history.

How does the credit card company determine the credit limit for a cardholder?

The credit limit for a credit card is determined by a mathematical formula that takes into account the cardholder's credit score, income, and credit history. The credit card company uses this information to assess the individual's creditworthiness and ability to repay the amount borrowed. A higher credit score and stable income typically result in a higher credit limit.

What are some mathematical principles used to protect credit card information?

Encryption and hashing are two mathematical principles commonly used to protect credit card information. Encryption uses complex mathematical algorithms to convert sensitive data into an unreadable code, making it difficult for hackers to access. Hashing, on the other hand, converts data into a fixed-length string of characters, making it nearly impossible to retrieve the original information.

How do credit card companies use probability in risk management?

Credit card companies use probability to assess the risk associated with each transaction and customer. They use mathematical models to analyze past spending patterns, credit history, and other data to determine the likelihood of a customer defaulting on their payments. This information helps them make decisions on credit limits, interest rates, and other factors related to credit card transactions.

Similar threads

Back
Top