Symbolic Matrices
fricas
A:=matrix [[x,y],[z,w]]
Type: Matrix(Polynomial(Integer))
fricas
A+1
Type: SquareMatrix
?(2,
Polynomial(Integer))
fricas
A+2
Type: SquareMatrix
?(2,
Polynomial(Integer))
Use the Edit and Preview Functions
Hey, why not learn to use the edit
function
instead of entering such a large number of similar
comments?
Look at the top right hand side of the page.
fricas
N:=matrix[[0],[0]]
Type: Matrix(NonNegativeInteger
?)
fricas
L:=[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: List(List(Expression(Integer)))
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
C:=A*v-L(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve(C(1,1)=0,v11)
Type: List(Equation(Expression(Integer)))
fricas
solve(C(2,1)=0,v12)
Type: List(Equation(Expression(Integer)))
fricas
V:=matrix[[1/sqrt(-1),1],[1,-1/sqrt(-1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
Z:=matrix[[V(2,2),-V(1,2)],[-V(2,1),V(1,1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
W:=(V(1,1)*V(2,2) - V(1,2)*V(2,1))
fricas
N:=matrix[[0],[0]]
Type: Matrix(NonNegativeInteger
?)
fricas
L:=[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: List(List(Expression(Integer)))
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
C:=A*v-L(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve(C(1,1)=0,v11)
Type: List(Equation(Expression(Integer)))
fricas
solve(C(2,1)=0,v12)
Type: List(Equation(Expression(Integer)))
fricas
V:=matrix[[1/sqrt(-1),1],[1,-1/sqrt(-1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
Z:=matrix[[V(2,2),-V(1,2)],[-V(2,1),V(1,1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
V(1,1)*V(2,2)
fricas
V(1,2)*V(2,1)
fricas
N:=matrix[[0],[0]]
Type: Matrix(NonNegativeInteger
?)
fricas
L:=[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: List(List(Expression(Integer)))
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
C:=A*v-L(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve(C(1,1)=0,v11)
Type: List(Equation(Expression(Integer)))
fricas
solve(C(2,1)=0,v12)
Type: List(Equation(Expression(Integer)))
fricas
T:=matrix[[1/sqrt(-1),1],[1,-1/sqrt(-1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
a:=sqrt(T(1,1)^2+T(2,1)^2)
fricas
b=sqrt(T(1,2)^2+T(2,2)^2)
Type: Equation(Polynomial(AlgebraicNumber
?))
fricas
Z:=matrix[[V(2,2),-V(1,2)],[-V(2,1),V(1,1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
V(1,1)*V(2,2)
fricas
V(1,2)*V(2,1)
fricas
N:=matrix[[0],[0]]
Type: Matrix(NonNegativeInteger
?)
fricas
L:=[[sqrt(-1)*sin(x)+cos(x)],[-sqrt(-1)*sin(x)+cos(x)]]
Type: List(List(Expression(Integer)))
fricas
A:=matrix[[cos(x),-sin(x)],[sin(x),cos(x)]]
Type: Matrix(Expression(Integer))
fricas
v:=matrix[[v11],[v12]]
Type: Matrix(Polynomial(Integer))
fricas
C:=A*v-L(1,1)*v
Type: Matrix(Expression(Integer))
fricas
solve(C(1,1)=0,v11)
Type: List(Equation(Expression(Integer)))
fricas
solve(C(2,1)=0,v12)
Type: List(Equation(Expression(Integer)))
fricas
T:=matrix[[1/sqrt(-1),1],[1,-1/sqrt(-1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
sqrt(T(1,1)^2+T(2,1)^2)
fricas
sqrt(T(1,2)^2+T(2,2)^2)
fricas
Z:=matrix[[V(2,2),-V(1,2)],[-V(2,1),V(1,1)]]
Type: Matrix(AlgebraicNumber
?)
fricas
V(1,1)*V(2,2)
fricas
V(1,2)*V(2,1)
fricas
)clear all
All user variables and function definitions have been cleared.
B := %i*sqrt(a^2 + b^2 + c^2)
Type: Expression(Complex(Integer))
fricas
A := matrix[ [B, c, -b], [-c, B, a], [b, -a, B] ]
Type: Matrix(Expression(Complex(Integer)))
fricas
rowEchelon(A)
Type: Matrix(Expression(Complex(Integer)))
fricas
B := -%i*sqrt(a^2 + b^2 + c^2)
Type: Expression(Complex(Integer))
fricas
A := matrix[ [B, c, -b], [-c, B, a], [b, -a, B] ]
Type: Matrix(Expression(Complex(Integer)))
fricas
rowEchelon(A)
Type: Matrix(Expression(Complex(Integer)))
Write:
\begin{axiom}
M := matrix [[1,1,1,1],[a,a,b,b],[1,1,1,1],[a,a,b,b]]
\end{axiom}
fricas
M := matrix [[1,1,1,1],[a,a,b,b],[1,1,1,1],[a,a,b,b]]
Type: Matrix(Polynomial(Integer))