Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposals for Matrices Tutorial #17

Open
sylee957 opened this issue Jul 10, 2023 · 2 comments
Open

Proposals for Matrices Tutorial #17

sylee957 opened this issue Jul 10, 2023 · 2 comments

Comments

@sylee957
Copy link
Member

sylee957 commented Jul 10, 2023

  • We may need some motivational examples about how eigenvals are used, than showing that it can just compute 'eigenvals'.
  • Also, trying to compute determinant or inverse of fully symbolic matrix, is very rarely needed and, and it's not good to showcase how bad blows up the stuff. It may need to use practical examples how computing symbolic determinant or inverse is useful.
@sylee957
Copy link
Member Author

sylee957 commented Jul 10, 2023

A good example is to explore some involved matrix identities, which are almost impossible to expand by hand

I = Identity(3).as_explicit()
u = MatrixSymbol('u', 3, 1).as_explicit()
v = MatrixSymbol('v', 3, 1).as_explicit()
lhs = (I + u*v.T).inv()
rhs = I - (u*v.T) / (1 + v.dot(u))
(lhs - rhs).simplify()

@asmeurer
Copy link
Member

The point with the symbolic inverse is specifically to show that computing certain things in closed form is bad. Maybe this should be clearer in the notebook itself.

I agree we should have more motivational examples where possible. What is a good example we can use for eigenvalues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants