Lesson 12 of 15
Ring Homomorphisms
Ring Homomorphisms
A ring homomorphism is a function that preserves both operations:
If and have unity, we also require .
The Natural Projection
The map defined by is a ring homomorphism whenever divides .
For example, with :
- and in ✓
- and in ✓
Kernel of a Ring Homomorphism
The kernel is always an ideal of . For , the kernel is .
Image
The image is a subring of .
Your Task
Implement is_ring_hom(phi, m, n) that checks if a function (given as a list) is a ring homomorphism from , ring_kernel(phi, m) for the kernel, and ring_image(phi, m) for the image.
Pyodide loading...
Loading...
Click "Run" to execute your code.