# How does the add-on work in computers?

I was watching a video on computer architecture and a question came to my question. How does the add-in and basic operations work on computers? I mean, I know 2 + 2 = 4, but I don't know why? I just know that if I add 2 apples to another 2, then I see 4, but is there a possible demonstration of this?

My question is, how does a computer know that 2 + 2 = 4 at its most basic level? I know there are functions that add numbers, but at a basic level, how is this addition done?

I just want to know this to better understand how computers work as the simplest and most used operation done by a computer is the sum (I believe)

source to share

The "lowest" number uses only binary and physical electronic hardware that is used to perform the add ^{1} operation itself (where each bit in the number is represented on / off the physical line loop) - this is done by modifying the Adder circuit .

For "how" math works, see Two's Additions: Aritmetic , which is the most commonly used integer encoding. Conceptually, this arithmetic is similar to that of other bases such as base-10 / decimal taught in school.

^{1} Modern / conventional computers: there were mechanical computers (at least as "computers"), analog computers, and also on quantum computers, etc.

source to share