Ask Your Question
1

How to create homomorphism from the free module ZZ^4 to ZZ[i] , say f(x,y,z,w)= x-iy iz-w and compute its kernel

asked 2025-02-28 14:05:13 +0100

ajarrah gravatar image

How to create homomorphism from the free module ZZ^4 to ZZ[i] , say f(x,y,z,w)= x-iy iz-w and compute its kernel

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2025-03-01 04:13:05 +0100

Max Alekseyev gravatar image

updated 2025-03-01 04:14:55 +0100

Like this:

sage: A = ZZ^4; B = ZZ[I]
sage: H = Hom(A,B)
sage: f = H( [B.one(), -I, I, B.one()] ); f
Free module morphism defined by the matrix
[ 1  0]
[ 0 -1]
[ 0  1]
[ 1  0]
Domain: Ambient free module of rank 4 over the principal ideal domain Integer Ring
Codomain: Gaussian Integers generated by I0 in Number Field in I0 with defining polynomial x^2 + 1 with I0 = 1*I
sage: f.kernel()
Free module of degree 4 and rank 2 over Integer Ring
Echelon basis matrix:
[ 1  0  0 -1]
[ 0  1  1  0]
edit flag offensive delete link more

Comments

Works fine, thanks. I have tried to mimic this to create a homo from ZZ^4 to CC say F(z,w,j,k)=2*I*z-I*w+3*sqrt(3)*j-sqrt(3)*k, but could not make it work.. how can this be done?

ajarrah gravatar imageajarrah ( 2025-03-01 09:08:33 +0100 )edit

It looks like a missing functionality. If so, your best shot is to submit a feature request at https://github.com/sagemath/sage/issues

Max Alekseyev gravatar imageMax Alekseyev ( 2025-03-01 15:21:32 +0100 )edit

Thanks Max. I will do.

ajarrah gravatar imageajarrah ( 2025-03-02 05:48:07 +0100 )edit
Max Alekseyev gravatar imageMax Alekseyev ( 2025-03-04 03:11:56 +0100 )edit
0

answered 2025-03-05 20:26:07 +0100

dan_fulea gravatar image

About that morphism $$F(z,w,s,t)=2iz-iw+3\sqrt3s-\sqrt3t\ ,$$ seen as a morphism of abelian groups, it can be defined as follows as a morphism from $\Bbb Z^4$ to the (abelian group obained by applying the forgetful functor from the) field $\Bbb Q(\sqrt{-1},\sqrt 3)$ as follows, using the short cuts $j=\sqrt{-1}$ and $b=\sqrt 3$:

A = ZZ^4
F.<j,b> = NumberField([sqrt(-1).minpoly(), sqrt(3).minpoly()])

f = A.Hom(F^1)((2*j, -j, 3*b, -b))

Then we have for instance:

sage: f((1,1,1,1))
(j + 2*b)

The "trick" is best explained by examining the following objects:

sage: F
Number Field in j with defining polynomial x^2 + 1 over its base field
sage: F^1
Vector space of dimension 1 over Number Field in j with defining polynomial x^2 + 1 over its base field
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2025-02-28 14:05:13 +0100

Seen: 55 times

Last updated: Mar 05