﻿ math handbook calculator - Fractional Calculus Computer Algebra System software
+ + + =

# Matrix Calculator 矩阵计算器

This calculator calculates symbolic matrix and expression with operator of +, -, *, /, \, ^ and function of limit(x,x=0), diff(x), integrate(x,x), solve(x==0), find_root(x,-1,9), factor(), etc.

• = is assignment, it will remember assignment until clear memory by
• == is equal for equation, instead of =, e.g. x-1==0
• find_root(x) is a function with function name of two words separated by underscore _

Solving matrix equations is easy, using the method solve_right. Evaluating A.solve_right(Y) returns a matrix (or vector) X so that A X = Y, where X in right hand side of A.
A backslash \ can be used in the place of solve_right; use A \ Y instead of A.solve_right(Y).
Similarly, use A.solve_left(Y) to solve for X in X A = Y, where X in left hand side of A.

compute eigenvalues using
A.eigenvalues()

compute eigenvectors using
A.eigenvectors_left()
The syntax for the output of eigenvectors_left is a list of triples:
(eigenvalue, eigenvector, multiplicity)

• limit(sin(x),x=0)
• integrate(sin(x),x)
• solve(sin(x),x)
• solve([x+y==3,x-y==-1],x,y)
• find_root(sin(x),-1,1) find root from -1 to 1
• m=matrix([[1,2],[3,4]]); m[0,0]
assign matrix to m, then m[0,0]. first [index] of m is 0
• m=matrix([[1,2],[3,4]]); det(m)
assign matrix to m, then calculate determinant of m
• A=matrix([[1,2],[3,4]]);Y=vector([3,7]);A\Y
solve for X in A X = Y, where X in right hand side of A.
• A=matrix([[1,2],[3,4]]);Y=vector([3,7]);A.solve_right(Y)
solve for X in A X = Y, where X in right hand side of A.
• A=matrix([[1,2],[3,4]]);Y=vector([3,7]);A.solve_left(Y)
solve for X in X A = Y, where X in left hand side of A.

## Reference

1. math handbook - matrix
﻿