# How to define Subring/Subalgebra?

Suppose A=QQ[x,y,z]. How to define the subring QQ[x+y,y^2] and its ideal I=(x+y) in sagemath?

How to define Subring/Subalgebra?

Suppose A=QQ[x,y,z]. How to define the subring QQ[x+y,y^2] and its ideal I=(x+y) in sagemath?

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

Asked: ** 2021-10-22 07:13:20 +0200 **

Seen: **271 times**

Last updated: **Oct 22 '21**

File imports for polynomial rings in sage

Difference Between var(), QQ() and PolynomialRing()

PolynomialRing and from __future__ import unicode_literals

Trying to display the roots of a polynomial over a finite field

Creating a polynomial ring where the variables are code generated

Exponent overflow in PolynomialRing(): need a work around

Reducing a Set of Polynomial Equations to Minimal Variables and Equations

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.

You may get some ideas from this answer.