412.0.10 ok so going with dot product with 07312400508

Click For Summary
SUMMARY

The discussion focuses on calculating the check digit for the UPC number 07312400508 using the dot product method. The participants demonstrate the calculation process, which involves multiplying each digit of the UPC by a corresponding weight from the sequence (3,1,3,1,3,1,3,1,3) and summing the results. The total sum is 66, and to determine the check digit, the participants conclude that the twelfth digit must be added to make the total a multiple of 10, specifically 4, since 66 + 4 = 70.

PREREQUISITES
  • Understanding of UPC (Universal Product Code) structure
  • Familiarity with dot product calculations
  • Knowledge of modular arithmetic, specifically modulo 10
  • Basic arithmetic skills for summation and multiplication
NEXT STEPS
  • Research UPC check digit calculation methods
  • Learn about modular arithmetic applications in coding systems
  • Explore the significance of check digits in data validation
  • Investigate other barcode standards and their checksum algorithms
USEFUL FOR

Mathematicians, software developers working with barcode systems, and anyone involved in product identification and inventory management will benefit from this discussion.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
Use the UPC scheme to determine the check digit for the number $07312400508$.

here is the example from the book
View attachment 8330
ok so going with dot product with 07312400508
\begin{align*}\displaystyle
&\quad (0731 2 4 0 0 5 0 8)\cdot(3,1,3,1,3,1,3,1,3)\\
&= 0\cdot3+7\cdot1
+3\cdot3+1\cdot1
+2\cdot3+4\cdot1
+0\cdot3+0\cdot1
+5\cdot3+0\cdot1
+8\cdot3 \\
&=7+9+1+6+4+15+24\\
&=66\\
66mod10&=6
\end{align*}

so far?? but the number only has 11 digits
 
Last edited:
Physics news on Phys.org
karush said:
ok so going with dot product with 07312400508
\begin{align*}\displaystyle
&\quad (0731 2 4 0 0 5 0 8)\cdot(3,1,3,1,3,1,3,1,3)\\
&= 0\cdot3+7\cdot1
+3\cdot3+1\cdot1
+2\cdot3+4\cdot1
+0\cdot3+0\cdot1
+5\cdot3+0\cdot1
+8\cdot3 \\
&=7+9+1+6+4+15+24\\
&=66\\
66\pmod{10}&=6
\end{align*}

so far?? but the number only has 11 digits
That is correct so far. You now have to add a twelfth digit so as to make the checksum zero$\pmod{10}$.
 
Opalg said:
That is correct so far. You now have to add a twelfth digit so as to make the checksum zero$\pmod{10}$.
What would be the 12th digit?
 
karush said:
What would be the 12th digit?
What do you have to add to 66 to get a multiple of 10?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
10K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K