We are asked to prove that the Möbius function is multiplicative. The Möbius function μ(n) is defined for positive integers n as:
- μ(1) = 1.
- If n has a squared prime factor (i.e., n is divisible by p^2 for some prime p), then μ(n) = 0.
- Otherwise, if n is a product of k distinct primes, then μ(n) = (-1)^k.
We need to show that μ is multiplicative: i.e., for any coprime positive integers a and b, μ(ab) = μ(a) μ(b).
This is a known property. We'll provide a proof.
Approach: We need to show that if gcd(a,b)=1 then the condition holds. Use the definition.
Let a and b be positive integers with gcd(a,b)=1.
Case 1: If either a or b is not squarefree? Actually, if a has a squared prime factor, then μ(a)=0. Since a and b are coprime, any squared prime factor of a cannot divide b, so ab also has that squared prime factor. Hence μ(ab)=0. Then μ(a)μ(b)=0 * μ(b)=0, so equality holds (provided μ(b) is defined; but if a=0? no, a positive integer). So the equality holds when μ(a)=0 or μ(b)=0, provided we check the other side is also zero. But we must ensure that if μ(a)=0 and μ(b) is defined (maybe b could be something that also yields μ(b)=0? but product zero anyway). But careful: if a has a squared prime factor, then μ(a)=0. Then μ(a)μ(b)=0. For μ(ab), since a has a squared prime factor, and gcd(a,b)=1, that squared prime factor still divides ab, so μ(ab)=0. So equality holds.
Similarly if b has a squared prime factor.
Now consider the case where both a and b are squarefree (i.e., no squared prime factors). Then a = product of distinct primes, say a = p1 p2 ... pr, b = q1 q2 ... qs, with all primes distinct because gcd(a,b)=1, so the sets of primes are disjoint. Then ab is product of r+s distinct primes. So μ(a) = (-1)^r, μ(b) = (-1)^s, and μ(ab) = (-1)^{r+s} = (-1)^r * (-1)^s = μ(a) μ(b). So holds.
Thus the function is multiplicative.
We might need to also handle the case where a=1 or b=1: μ(1)=1, and gcd(1,b)=1, so μ(1b)=μ(b)=1μ(b)=μ(1)μ(b). So holds.
That's the proof.
But to be thorough, we should also check the definition: μ is multiplicative if for all coprime a,b, μ(ab)=μ(a)μ(b). Yes.
Now, the above reasoning covers all cases: either one of a or b is not squarefree (so μ=0) or both are squarefree (then product squarefree and distinct primes). However, there is subtlety: What if a=0? Not in domain. So fine.
Therefore, the Möbius function is multiplicative.
Now, we need to write a clear proof. I'll structure it as:
- Definition of μ.
- Statement: For any positive integers m,n with gcd(m,n)=1, μ(mn)=μ(m)μ(n).
- Proof: Consider cases.
- If m=1 or n=1, trivial.
- If m or n has a squared prime factor: suppose p^2 | m. Then p^2 | mn, so μ(mn)=0. Also μ(m)=0, so μ(m)μ(n)=0. Hence equality.
- If both m and n are squarefree: then write m = ∏{i=1}^r p_i, n = ∏{j=1}^s q_j with all p_i, q_j distinct primes because gcd(m,n)=1. Then mn = ∏{i=1}^r p_i ∏{j=1}^s q_j, product of r+s distinct primes. So μ(m)=(-1)^r, μ(n)=(-1)^s, μ(mn)=(-1)^{r+s}=(-1)^r (-1)^s = μ(m)μ(n).
Thus done.
This is straightforward. But the problem may be from an assignment that expects a more formal approach. Possibly also to show that μ is completely multiplicative? No, it's only multiplicative (not completely multiplicative). Indeed, μ(4)=0, μ(2)μ(2)=? μ(2) = -1, product =1, not equal to 0. So only multiplicative for coprime pairs.
Thus the proof is complete.
We might also note that the definition of μ can be expressed via prime factorization: if n = ∏ p_i^{e_i}, then μ(n)=0 if any e_i ≥ 2, else μ(n)=(-1)^{ω(n)} where ω(n) is number of distinct primes. Then multiplicativity follows from the fact that for coprime m,n, the prime factorizations are disjoint, and exponents add. So if either has exponent ≥2, product also has that exponent ≥2; if both have exponents ≤1, then ω(mn)=ω(m)+ω(n) and the sign multiplies. This is essentially same.
Thus I'll produce a concise proof.
Now, the instruction: "Prove that the Möbius function is multiplicative." So we just need to write a proof.
Given the nature of the platform, I'll produce a final answer with a clear proof.
Potential extra: mention that μ is multiplicative because it's the Dirichlet inverse of the constant function 1? That is another property but not needed.
I'll produce a self-contained proof.
Let's write:
Define μ: ℕ → {−1,0,1} by:
- μ(1) = 1.
- If n is divisible by a square of a prime, i.e., n = p^2·k for some prime p, then μ(n) = 0.
- Otherwise, n is a product of k distinct primes, then μ(n) = (−1)^k.
We need to show: for any a,b ∈ ℕ with gcd(a,b) = 1, μ(ab) = μ(a) μ(b).
Proof:
Case 1: a = 1 or b = 1. If a = 1, then μ(1) = 1, so μ(1·b) = μ(b) = 1·μ(b) = μ(1)μ(b). Similarly if b=1.
Case 2: Either a or b has a squared prime factor. Without loss of generality, assume there exists a prime p such that p^2 | a. Since gcd(a,b) = 1, p does not divide b. Then p^2 | ab. Hence μ(ab) = 0. Also, because p^2 | a, we have μ(a) = 0. Therefore μ(a)μ(b) = 0·μ(b) = 0. So μ(ab) = μ(a)μ(b).
Case 3: Neither a nor b has a squared prime factor. Then both a and b are squarefree. Write their prime factorizations:
a = p_1 p_2 … p_r, b = q_1 q_2 … q_s,
where the p_i and q_j are primes. Because gcd(a,b)=1, the sets {p_i} and {q_j} are disjoint. Therefore
ab = p_1 … p_r q_1 … q_s,
a product of r + s distinct primes. By definition,
μ(a) = (−1)^r, μ(b) = (−1)^s, and μ(ab) = (−1)^{r+s}.
But (−1)^{r+s} = (−1)^r (−1)^s, so μ(ab) = μ(a) μ(b).
Since all cases are covered, we conclude that μ is multiplicative. ∎
That's it.
Now, we should output the final answer accordingly.
But the user might expect a more detailed reasoning? Possibly we need to be careful with the case when a or b equals 0? Not applicable. Also, we might need to note that the case when both are squarefree includes the possibility r=0 (a=1) or s=0 (b=1), but those are covered by case 1 or can be included as r=0 yields μ(a)=1, etc. But case 1 is separate for clarity; we could also merge. However, it's fine.
Thus the answer is ready.
I'll output as final.
The Möbius function (\mu: \mathbb{N} \to {-1,0,1}) is defined by:
- (\mu(1)=1).
- If (n) is divisible by the square of a prime (i.e., (n) is not squarefree), then (\mu(n)=0).
- If (n) is squarefree and a product of (k) distinct primes, then (\mu(n)=(-1)^k).
We prove that (\mu) is multiplicative, i.e., for all positive integers (a,b) with (\gcd(a,b)=1),
[
\mu(ab)=\mu(a),\mu(b).
]
Proof.
Let (a,b\in\mathbb{N}) with (\gcd(a,b)=1). We consider three cases.
Case 1: (a=1) or (b=1).
If (a=1), then (\mu(1)=1) and (\mu(1\cdot b)=\mu(b)=1\cdot\mu(b)=\mu(1)\mu(b)). The same reasoning holds if (b=1).
Case 2: One of (a,b) contains a squared prime factor.
Without loss of generality, suppose there exists a prime (p) such that (p^2\mid a). Because (\gcd(a,b)=1), (p\nmid b). Hence (p^2\mid ab), so by definition (\mu(ab)=0). Also, since (p^2\mid a), we have (\mu(a)=0). Therefore
[
\mu(a)\mu(b)=0\cdot\mu(b)=0,
]
and (\mu(ab)=\mu(a)\mu(b)).
Case 3: Both (a) and (b) are squarefree.
Then we can write their prime factorizations as
[
a = p_1 p_2 \cdots p_r,\qquad b = q_1 q_2 \cdots q_s,
]
where all (p_i) and (q_j) are primes. Because (\gcd(a,b)=1), the sets ({p_i}) and ({q_j}) are disjoint. Consequently,
[
ab = p_1\cdots p_r, q_1\cdots q_s
]
is a product of (r+s) distinct primes. By the definition of the Möbius function,
[
\mu(a)=(-1)^r,\quad \mu(b)=(-1)^s,\quad \mu(ab)=(-1)^{r+s}.
]
Since ((-1)^{r+s}=(-1)^r(-1)^s), we obtain
[
\mu(ab)=\mu(a),\mu(b).
]
All possibilities are covered, so (\mu) is multiplicative. ∎