Assignment 1 - solution
Some of the solutions are based on your worksheets.
Introduction
Define a 2-variate function by and plot its graph.
3D rendering not yet implemented
Error in lines 2-2
Traceback (most recent call last):
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "sage/symbolic/expression.pyx", line 10984, in sage.symbolic.expression.Expression.plot (/projects/sage/sage-6.9/src/build/cythonized/sage/symbolic/expression.cpp:58633)
f = self._plot_fast_callable(param)
File "sage/symbolic/expression.pyx", line 11034, in sage.symbolic.expression.Expression._plot_fast_callable (/projects/sage/sage-6.9/src/build/cythonized/sage/symbolic/expression.cpp:59243)
return fast_callable(self, vars=vars, expect_one_var=True)
File "sage/ext/fast_callable.pyx", line 456, in sage.ext.fast_callable.fast_callable (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:4278)
et = x._fast_callable_(etb)
File "sage/symbolic/expression.pyx", line 10879, in sage.symbolic.expression.Expression._fast_callable_ (/projects/sage/sage-6.9/src/build/cythonized/sage/symbolic/expression.cpp:58036)
return fast_callable(self, etb)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1570, in fast_callable
return FastCallableConverter(ex, etb)()
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 216, in __call__
return self.arithmetic(div, div.operator())
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1498, in arithmetic
return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1498, in <lambda>
return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:6627)
return ExpressionCall(self, fn, map(self, args))
File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:5734)
return fc(self)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 124, in _fast_callable_
return fast_callable(self, etb)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1570, in fast_callable
return FastCallableConverter(ex, etb)()
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 216, in __call__
return self.arithmetic(div, div.operator())
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1498, in arithmetic
return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1498, in <lambda>
return reduce(lambda x,y: self.etb.call(operator, x,y), operands)
File "sage/ext/fast_callable.pyx", line 734, in sage.ext.fast_callable.ExpressionTreeBuilder.call (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:6627)
return ExpressionCall(self, fn, map(self, args))
File "sage/ext/fast_callable.pyx", line 609, in sage.ext.fast_callable.ExpressionTreeBuilder.__call__ (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:5725)
return fc(self)
File "sage/symbolic/expression.pyx", line 10879, in sage.symbolic.expression.Expression._fast_callable_ (/projects/sage/sage-6.9/src/build/cythonized/sage/symbolic/expression.cpp:58036)
return fast_callable(self, etb)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1570, in fast_callable
return FastCallableConverter(ex, etb)()
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 211, in __call__
return self.symbol(ex)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/symbolic/expression_conversions.py", line 1519, in symbol
return self.etb.var(SR(ex))
File "sage/ext/fast_callable.pyx", line 681, in sage.ext.fast_callable.ExpressionTreeBuilder.var (/projects/sage/sage-6.9/src/build/cythonized/sage/ext/fast_callable.c:6227)
raise ValueError, "Variable '%s' not found" % var_name
ValueError: Variable 'y' not found
Plot a graph of a 1-variate function including a tangent line at a point .
Find out how to make interactive cells and make an example.
Interact: please open in CoCalc
Test numerically if for given by the following holds (Collatz's conjecture): . Make a plot of the list of points for a fixed .
Test successful, found k = 25
* Do an interactive plot of a 2-variate function and its tangent plane at a point () where the point is the input.
Interact: please open in CoCalc
Write a program listing all cyclic subgroups of (modular multiplicative group modulo ). * Indicate whether there are also other subgroups or not.
There are also non-cyclic subgroups.
set([frozenset([1, 1, 7]), frozenset([1, 1, 5]), frozenset([1, 1, 11]), frozenset([1, 1])])
There are also non-cyclic subgroups.
set([frozenset([1, 1, 14]), frozenset([1, 1, 4]), frozenset([1, 1]), frozenset([1, 1, 4, 13, 7]), frozenset([1, 8, 2, 4, 1]), frozenset([1, 8, 2, 4, 1]), frozenset([1, 1, 11]), frozenset([1, 1, 4, 13, 7])])
set([frozenset([1, 1, 2, 4]), frozenset([1, 2, 3, 4, 5, 6, 1]), frozenset([1, 1]), frozenset([1, 1, 2, 4]), frozenset([1, 2, 3, 4, 5, 6, 1]), frozenset([1, 1, 6])])
* Write a program listing all generators of (if the group is cyclic).
[7, 3]
[2, 8, 7, 6]
False
[2, 6, 11, 7]
[3, 5]
False
False
[3, 10, 5, 11, 14, 7, 12, 6]
[11, 5]
[2, 13, 14, 15, 3, 10]
False
False
[13, 19, 7, 17]
[5, 10, 20, 17, 11, 21, 19, 15, 7, 14]
False
Number theory
Find the smallest field which contains . See fraction field.
Fraction Field of Univariate Polynomial Ring in x over Rational Field
x
True
* Find a representation of the object of formal power series over .
Power Series Ring in x over Rational Field
[x]
False
Let be a polynomial over . Check whether it is irreducible.
True
1010 is not a polynomial.
False
Write a program listing all polynomials of which are irreducible over and of degree at most . Include a verification that is a ring (* throw an exception if not). (* Do not use SageMath's method to check irreducibility.)
[x, x + 1, x + 2, x + 3, x + 4, 2*x, 2*x + 1, 2*x + 2, 2*x + 3, 2*x + 4, 3*x, 3*x + 1, 3*x + 2, 3*x + 3, 3*x + 4, 4*x, 4*x + 1, 4*x + 2, 4*x + 3, 4*x + 4, x^2 + 2, x^2 + 3, x^2 + x + 1, x^2 + x + 2, x^2 + 2*x + 3, x^2 + 2*x + 4, x^2 + 3*x + 3, x^2 + 3*x + 4, x^2 + 4*x + 1, x^2 + 4*x + 2, 2*x^2 + 1, 2*x^2 + 4, 2*x^2 + x + 1, 2*x^2 + x + 3, 2*x^2 + 2*x + 2, 2*x^2 + 2*x + 4, 2*x^2 + 3*x + 2, 2*x^2 + 3*x + 4, 2*x^2 + 4*x + 1, 2*x^2 + 4*x + 3, 3*x^2 + 1, 3*x^2 + 4, 3*x^2 + x + 2, 3*x^2 + x + 4, 3*x^2 + 2*x + 1, 3*x^2 + 2*x + 3, 3*x^2 + 3*x + 1, 3*x^2 + 3*x + 3, 3*x^2 + 4*x + 2, 3*x^2 + 4*x + 4, 4*x^2 + 2, 4*x^2 + 3, 4*x^2 + x + 3, 4*x^2 + x + 4, 4*x^2 + 2*x + 1, 4*x^2 + 2*x + 2, 4*x^2 + 3*x + 1, 4*x^2 + 3*x + 2, 4*x^2 + 4*x + 3, 4*x^2 + 4*x + 4, x^3 + x + 1, x^3 + x + 4, x^3 + 2*x + 1, x^3 + 2*x + 4, x^3 + 3*x + 2, x^3 + 3*x + 3, x^3 + 4*x + 2, x^3 + 4*x + 3, x^3 + x^2 + 1, x^3 + x^2 + 2, x^3 + x^2 + x + 3, x^3 + x^2 + x + 4, x^3 + x^2 + 3*x + 1, x^3 + x^2 + 3*x + 4, x^3 + x^2 + 4*x + 1, x^3 + x^2 + 4*x + 3, x^3 + 2*x^2 + 1, x^3 + 2*x^2 + 3, x^3 + 2*x^2 + x + 3, x^3 + 2*x^2 + x + 4, x^3 + 2*x^2 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*x^3 + 2*x + 3, 4*x^3 + 3*x + 1, 4*x^3 + 3*x + 4, 4*x^3 + 4*x + 1, 4*x^3 + 4*x + 4, 4*x^3 + x^2 + 1, 4*x^3 + x^2 + 2, 4*x^3 + x^2 + x + 1, 4*x^3 + x^2 + x + 3, 4*x^3 + x^2 + 2*x + 1, 4*x^3 + x^2 + 2*x + 4, 4*x^3 + x^2 + 4*x + 3, 4*x^3 + x^2 + 4*x + 4, 4*x^3 + 2*x^2 + 1, 4*x^3 + 2*x^2 + 3, 4*x^3 + 2*x^2 + x + 2, 4*x^3 + 2*x^2 + x + 4, 4*x^3 + 2*x^2 + 3*x + 2, 4*x^3 + 2*x^2 + 3*x + 3, 4*x^3 + 2*x^2 + 4*x + 3, 4*x^3 + 2*x^2 + 4*x + 4, 4*x^3 + 3*x^2 + 2, 4*x^3 + 3*x^2 + 4, 4*x^3 + 3*x^2 + x + 1, 4*x^3 + 3*x^2 + x + 3, 4*x^3 + 3*x^2 + 3*x + 2, 4*x^3 + 3*x^2 + 3*x + 3, 4*x^3 + 3*x^2 + 4*x + 1, 4*x^3 + 3*x^2 + 4*x + 2, 4*x^3 + 4*x^2 + 3, 4*x^3 + 4*x^2 + 4, 4*x^3 + 4*x^2 + x + 2, 4*x^3 + 4*x^2 + x + 4, 4*x^3 + 4*x^2 + 2*x + 1, 4*x^3 + 4*x^2 + 2*x + 4, 4*x^3 + 4*x^2 + 4*x + 1, 4*x^3 + 4*x^2 + 4*x + 2]
Error in lines 21-21
Traceback (most recent call last):
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "", line 8, in list_irreducible_polynomials
ValueError: 10 is not a ring: 'sage.rings.integer.Integer' object has no attribute 'is_ring'
Let be a field and and be two algebraic numbers over . Let be a two-variate polynomial over . Write a function that outputs the degree of (over ) with and being two inputs.
True
True
We are looking for the minimal polynomial of
over Number Field in k with defining polynomial x^2 - 3
Winner is x^8 - 20*x^6 + (-7500*k - 20150)*x^4 + (-225000*k - 609500)*x^2 + 75937500*k + 144703125 having degree 8
8
We are looking for the minimal polynomial of
over Rational Field
Winner is x^4 - 4*x^2 - 32*x - 28 having degree 4
4
We are looking for the minimal polynomial of
over Rational Field
Winner is x^2 - 8*x + 14 having degree 2
2
Finite Field of size 3
Error in lines 9-9
Traceback (most recent call last):
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/rings/complex_field.py", line 351, in __call__
return Parent.__call__(self, x)
File "sage/structure/parent.pyx", line 1097, in sage.structure.parent.Parent.__call__ (/projects/sage/sage-6.9/src/build/cythonized/sage/structure/parent.c:9873)
return mor._call_(x)
File "sage/structure/coerce_maps.pyx", line 109, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (/projects/sage/sage-6.9/src/build/cythonized/sage/structure/coerce_maps.c:4539)
raise
File "sage/structure/coerce_maps.pyx", line 104, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (/projects/sage/sage-6.9/src/build/cythonized/sage/structure/coerce_maps.c:4432)
return C._element_constructor(x)
File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/rings/complex_field.py", line 393, in _element_constructor_
return complex_number.ComplexNumber(self, x)
File "sage/rings/complex_number.pyx", line 188, in sage.rings.complex_number.ComplexNumber.__init__ (/projects/sage/sage-6.9/src/build/cythonized/sage/rings/complex_number.c:4283)
raise TypeError, "unable to coerce to a ComplexNumber: %s" % type(real)
TypeError: unable to coerce to a ComplexNumber: <class 'sage.rings.polynomial.polynomial_quotient_ring_element.PolynomialQuotientRing_generic_with_category.element_class'>
* Write a function that given an input it computes the continued fraction of . The return value must be iterable - i.e., a generator. Hint: see yield statement. Compare with the output of SageMath
continued_fraction
function.[2]
[0, 68, 2, 2]
[0, 171170, 2]
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
* Given a finite field, write a program that finds its normal basis, i.e., a basis of the form whith being the order of the field.
A normal element is g^3
[g^3, g^3 + g^2, g^3 + g^2 + g + 1, g^3 + g]
Set Evaluate using floating point numbers with given bits of precision. Compare with the exact result.
exact result is
-54767/66192
which is approximately -0.827396059946821
bits : results : error
20 : -1.0141e31 : 1.0141e31
21 : 5.07060e30 : 5.07060e30
22 : 1.17260 : 2.00000
23 : 1.17260 : 2.00000
24 : -6.33825e29 : 6.33825e29
25 : 1.172604 : 2.000000
26 : 1.172604 : 2.000000
27 : 1.172604 : 2.000000
28 : -3.9614081e28 : 3.9614081e28
29 : 1.9807041e28 : 1.9807041e28
30 : -9.9035203e27 : 9.9035203e27
31 : 1.17260394 : 2.00000000
32 : 2.47588008e27 : 2.47588008e27
33 : -1.23794004e27 : 1.23794004e27
34 : 1.23794004e27 : 1.23794004e27
35 : -3.094850098e26 : 3.094850098e26
36 : 1.172603940 : 2.000000000
37 : -7.737125246e25 : 7.737125246e25
38 : 7.7371252455e25 : 7.7371252455e25
39 : -1.9342813114e25 : 1.9342813114e25
40 : 1.1726039401 : 2.0000000000
41 : 1.17260394005 : 2.00000000000
42 : 1.17260394005 : 2.00000000000
43 : 1.17260394005 : 2.00000000000
44 : -6.04462909807e23 : 6.04462909807e23
45 : -3.022314549037e23 : 3.022314549037e23
46 : 1.172603940053 : 2.000000000000
47 : 7.555786372591e22 : 7.555786372591e22
48 : 1.1726039400532 : 2.0000000000000
49 : 1.8889465931479e22 : 1.8889465931479e22
50 : -1.8889465931479e22 : 1.8889465931479e22
51 : 1.17260394005318 : 2.00000000000000
52 : 2.36118324143482e21 : 2.36118324143482e21
53 : -2.36118324143482e21 : 2.36118324143482e21
54 : 5.90295810358706e20 : 5.90295810358706e20
55 : 1.172603940053179 : 2.00000000000000
56 : 1.172603940053179 : 2.00000000000000
57 : 1.172603940053179 : 2.00000000000000
58 : 3.6893488147419103e19 : 3.68934881474191e19
59 : 1.1726039400531786 : 2.00000000000000
60 : -1.8446744073709552e19 : 1.84467440737096e19
61 : 4.61168601842738790e18 : 4.61168601842739e18
62 : -2.30584300921369395e18 : 2.30584300921369e18
63 : 1.15292150460684698e18 : 1.15292150460685e18
64 : 5.76460752303423489e17 : 5.76460752303423e17
65 : 1.172603940053178632 : 2.00000000000000
66 : 1.441151880758558732e17 : 1.44115188075856e17
67 : -7.205759403792793483e16 : 7.20575940379279e16
68 : -3.6028797018963966827e16 : 3.60287970189640e16
69 : 1.8014398509481985173e16 : 1.80143985094820e16
70 : 1.1726039400531786319 : 2.00000000000000
71 : -4.50359962737049482740e15 : 4.50359962737049e15
72 : 2.25179981368524917260e15 : 2.25179981368525e15
73 : 1.12589990684262517260e15 : 1.12589990684263e15
74 : -5.62949953421310827396e14 : 5.62949953421310e14
75 : -2.814749767106548273961e14 : 2.81474976710654e14
76 : 1.407374883553291726039e14 : 1.40737488355330e14
77 : 1.172603940053178631859 : 2.00000000000000
78 : -3.5184372088830827396060e13 : 3.51843720888300e13
79 : 1.1726039400531786318588 : 2.00000000000000
80 : 1.1726039400531786318588 : 2.00000000000000
81 : 4.39804651110517260394005e12 : 4.39804651110600e12
82 : -2.19902325555082739605995e12 : 2.19902325555000e12
83 : 1.17260394005317863185883 : 2.00000000000000
84 : 5.49755813889172603940053e11 : 5.49755813890000e11
85 : 2.748779069451726039400532e11 : 2.74877906946000e11
86 : 1.172603940053178631858835 : 2.00000000000000
87 : 1.172603940053178631858835 : 2.00000000000000
88 : 1.1726039400531786318588349 : 2.00000000000000
89 : 1.1726039400531786318588349 : 2.00000000000000
90 : 8.5899345931726039400531786e9 : 8.58993459400000e9
91 : -4.29496729482739605994682137e9 : 4.29496729400000e9
92 : 1.17260394005317863185883490 : 2.00000000000000
93 : 1.07374182517260394005317863e9 : 1.07374182600000e9
94 : 1.17260394005317863185883490 : 2.00000000000000
95 : -2.684354548273960599468213681e8 : 2.68435454000000e8
96 : 1.342177291726039400531786319e8 : 1.34217730000000e8
97 : -6.710886282739605994682136814e7 : 6.71088620000000e7
98 : 3.3554433172603940053178631859e7 : 3.35544340000000e7
99 : 1.1726039400531786318588349045 : 2.00000000000000
100 : 1.1726039400531786318588349045 : 2.00000000000000
101 : 1.17260394005317863185883490452 : 2.00000000000000
102 : 1.17260394005317863185883490452 : 2.00000000000000
103 : 1.17260394005317863185883490452 : 2.00000000000000
104 : 1.172603940053178631858834904520 : 2.00000000000000
105 : 1.172603940053178631858834904520 : 2.00000000000000
106 : 1.172603940053178631858834904520 : 2.00000000000000
107 : 1.172603940053178631858834904520 : 2.00000000000000
108 : 1.1726039400531786318588349045202 : 2.00000000000000
109 : 1.1726039400531786318588349045202 : 2.00000000000000
110 : 1.1726039400531786318588349045202 : 2.00000000000000
111 : 1.17260394005317863185883490452018 : 2.00000000000000
112 : 1.17260394005317863185883490452018 : 2.00000000000000
113 : 1.17260394005317863185883490452018 : 2.00000000000000
114 : 1.172603940053178631858834904520184 : 2.00000000000000
115 : 1.172603940053178631858834904520184 : 2.00000000000000
116 : 1.172603940053178631858834904520184 : 2.00000000000000
117 : 1.172603940053178631858834904520184 : 2.00000000000000
118 : 1.1726039400531786318588349045201837 : 2.00000000000000
119 : 1.1726039400531786318588349045201837 : 2.00000000000000
120 : 1.1726039400531786318588349045201837 : 2.00000000000000
121 : 1.17260394005317863185883490452018371 : 2.00000000000000
122 : -0.827396059946821368141165095479816292 : 0.000000000000000
123 : -0.827396059946821368141165095479816292 : 0.000000000000000
124 : -0.8273960599468213681411650954798162920 : 0.000000000000000
125 : -0.8273960599468213681411650954798162920 : 0.000000000000000
126 : -0.8273960599468213681411650954798162920 : 0.000000000000000
127 : -0.8273960599468213681411650954798162920 : 0.000000000000000
128 : -0.82739605994682136814116509547981629200 : 0.000000000000000
129 : -0.82739605994682136814116509547981629200 : 0.000000000000000
130 : -0.82739605994682136814116509547981629200 : 0.000000000000000
131 : -0.827396059946821368141165095479816291999 : 0.000000000000000
132 : -0.827396059946821368141165095479816291999 : 0.000000000000000
133 : -0.827396059946821368141165095479816291999 : 0.000000000000000
134 : -0.8273960599468213681411650954798162919991 : 0.000000000000000
135 : -0.8273960599468213681411650954798162919990 : 0.000000000000000
136 : -0.8273960599468213681411650954798162919990 : 0.000000000000000
137 : -0.8273960599468213681411650954798162919990 : 0.000000000000000
138 : -0.82739605994682136814116509547981629199903 : 0.000000000000000
139 : -0.82739605994682136814116509547981629199903 : 0.000000000000000
140 : -0.82739605994682136814116509547981629199903 : 0.000000000000000
141 : -0.827396059946821368141165095479816291999033 : 0.000000000000000
142 : -0.827396059946821368141165095479816291999033 : 0.000000000000000
143 : -0.827396059946821368141165095479816291999033 : 0.000000000000000
144 : -0.8273960599468213681411650954798162919990332 : 0.000000000000000
145 : -0.8273960599468213681411650954798162919990331 : 0.000000000000000
146 : -0.8273960599468213681411650954798162919990331 : 0.000000000000000
147 : -0.8273960599468213681411650954798162919990331 : 0.000000000000000
148 : -0.82739605994682136814116509547981629199903312 : 0.000000000000000
149 : -0.82739605994682136814116509547981629199903312 : 0.000000000000000
Construct an object representing the lattice where and the points are understood as points in .
Find an example of a linear mapping such that all eigenvalues of are greater than in modulus (such a matrix is called expanding) and such that .
Plot a portion of and in one image distinguishing the two sets by colors.
Calculate the number of elements of .
Find a set such that every class of has exactly one representative in .
Define the mapping which is given by where is the unique element such that , i.e., .
Pick a random (really!) element and build a few members of the sequence . Can you observe something?
0