# [Calvin] For an integer $$k$$, does $$0 \mid k$$ or does $$k \mid 0$$?

I've been getting a lot of clarification questions from users of all levels asking

"Does $$0 \mid k$$? Does $$k \mid 0$$?"

So, how do you determine if either of these statements are true? And how do you help someone else remember which one is true?

Note by Calvin Lin
5 years, 5 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

Well, the term "a | b" just means that a divides b evenly (or b is a multiple of a). So, this means that b/a is an integer.

Thus, our first term is k/0, which (hopefully obviously) leads to wonky things. Dividing by zero is a iffy business, and usually leads to mass confusion unless you know limits, so I'm just going to say it doesn't work.

Our second term is 0/k. This always equals zero (unless k is zero, then it's even more scary). Thus, 0 | k = 0, but k | 0 is undefined (again, if you know limits, this doesn't exactly apply).

The way I always remembered it was thinking of the | as a reverse fraction of sorts. Usually, when I see a fraction written like 3/4, I read it left to right. The | just means that I read it right to left. But that's just me.

- 5 years, 5 months ago

That's a good way to remember it Steven. I remember it as a rotation of $$90^\circ$$ anti clockwise to go from $$a \mid b$$ to $$\frac {b}{a}$$.

Of course, division by 0 leads to "wonky things", and this idea still works for $$k\neq 0$$. $$\frac {0}{k}$$ makes sense, so $$k \mid 0$$, but $$\frac {k}{0}$$ doesn't make sense and $$0 \nmid k$$. However, it breaks down at $$\frac {0}{0}$$ not making sense while $$0 \mid 0$$.

If you refer back to the definition, the reason why this happens is because fractions is defined as in terms of division (can't divide by 0) and the divide notation is defined in terms of multiplication (can multiply by 0).

Staff - 5 years, 5 months ago

The way I learned divisibility from my abstract algebra book states in a ring a|b implies there is some k in the ring such that ak = b. By that definition k|0 for any integer k.

- 5 years, 5 months ago

This is what I think

- 5 years, 5 months ago

I think only $$k | 0$$ where $$k \neq 0$$

- 5 years, 5 months ago