# How to define transformation on matrix spaces?

I want to define a linear transformation from $M_2(\mathbb{Q})$ to $M_2(\mathbb{Q})$. How can I do it?

How to define transformation on matrix spaces?

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

Asked: ** 2023-02-18 20:10:54 +0100 **

Seen: **33 times**

Last updated: **Feb 18 '23**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

What do you want to do with such transformation? If just compute it on given elements, then defining it as a Python function will do the job.

Thank you, sir. I will now try this in Python. Actually, I want to find the matrix representation of such a transformation, which would give me all the details. But I cannot make such a transformation in matrix spaces.