The vertical bar is a silent workhorse across mathematics, computing, and global communication.

The vertical bar is a silent workhorse across mathematics, computing, and global communication.
Image: Intellect (generated)

In short: Known as a pipe, a Sheffer stroke, or simply a bar, this unassuming glyph is a universal tool. From directing data between computer processes to defining set cardinality and quantum states, the vertical bar serves as a vital separator and operator in the languages of science and technology.

The vertical bar, |, is a remarkably versatile character. In mathematics, it acts as a shorthand for fundamental concepts: enclosing a set, it denotes cardinality; surrounding a matrix, it signifies a determinant; and placed between variables, it can indicate function restriction or the shortest distance between points. Its utility extends into physics, where it is essential for bra–ket notation and defining supergroups, and into chemistry, where single and double bars distinguish phases and salt bridges in electrochemical cells.

In computing, the character earned the name 'pipe' through its role in Unix systems, where it directs the output of one process into the input of another. This allows users to chain commands for complex, multi-stage data processing. Beyond this, it is a staple of programming syntax, frequently representing logical 'or' operations or bitwise functions in languages like C, Java, and C#. It also serves as a delimiter in data formats like LEDES 1998B and HL7, chosen because it rarely appears within the data itself.

The symbol’s flexibility is further demonstrated in formal logic and linguistics. In Backus–Naur form, it indicates a choice between possible substitutions, while in regular expressions, it denotes alternation. Even in the face of keyboard limitations, developers have historically used workarounds like the ANSI C trigraph '??!' to represent it. Whether it is managing parallel processes in pi-calculus or simply separating parameters in an elliptic integral, the vertical bar remains a foundational, if often overlooked, element of our digital and mathematical infrastructure.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/art-vertical-bar.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…