What can I use to solve a general matrix?

  • Context: Undergrad 
  • Thread starter Thread starter VortexLattice
  • Start date Start date
  • Tags Tags
    General Matrix
Click For Summary

Discussion Overview

The discussion revolves around solving a system of equations represented in matrix form, specifically focusing on cases with general variables rather than specific numerical coefficients. The context includes applications in Hamiltonian dynamics and seeks methods or tools for finding solutions symbolically.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant describes the problem of solving a matrix with general variables and seeks recommendations for tools or websites that can handle such cases.
  • Another participant suggests using the inverse of the matrix to find the solution and recommends Wolfram Alpha for its ability to solve the equations symbolically.
  • A different participant proposes a substitution method as a way to solve the equations, indicating that it can yield algebraic expressions for the unknowns in terms of the parameters.
  • One participant mentions Maxima as an alternative tool for computer algebra, noting its capability for arbitrary precision arithmetic.

Areas of Agreement / Disagreement

Participants generally agree on the utility of tools like Wolfram Alpha and Maxima for solving the matrix, but there are differing opinions on the methods to achieve the solution, with some favoring substitution and others focusing on matrix inversion.

Contextual Notes

The discussion does not resolve the effectiveness of the proposed methods or tools, and the limitations of each approach are not fully explored.

Who May Find This Useful

Individuals interested in solving systems of equations with general variables, particularly in the context of physics or mathematics, may find this discussion relevant.

VortexLattice
Messages
140
Reaction score
0
Hi guys!

I need to solve a matrix. I have 3 equations, 3 unknowns, straightforward stuff. And I know it's invertible (doing transformations for hamiltonian dynamics, so I know they made it invertible). I know my calculator and a ton of websites can easily solve any matrix with real coefficients, but here they are general variables.

Does anyone know a good website (or how to do it on the TI-83, or TI-89) that will do this?

For example, solving something like:

a*x + b*y = 3
ba*x + 4b*y = 5, finding x and y as functions of a and b.

Any good way?

Thanks!
 
Physics news on Phys.org
This is of the form M.X = S, so the solution is just M^{-1}.S .

Wolfram alpha (http://www.wolframalpha.com) will solve this easily. The syntax is :

Inverse[{{a, b}, {a b, 4 b}}].{3,5}//Simplify

Try it!
 
VortexLattice said:
Hi guys!

I need to solve a matrix. I have 3 equations, 3 unknowns, straightforward stuff. And I know it's invertible (doing transformations for hamiltonian dynamics, so I know they made it invertible). I know my calculator and a ton of websites can easily solve any matrix with real coefficients, but here they are general variables.

Does anyone know a good website (or how to do it on the TI-83, or TI-89) that will do this?

For example, solving something like:

a*x + b*y = 3
ba*x + 4b*y = 5, finding x and y as functions of a and b.

Any good way?

Thanks!

You can solve the example by substitution. Solve the 1st equation for either x or y and substitute the result into the 2nd equation to solve for the other unknown. You'll end up with algebraic expressions for x and y in terms of a and b.
 
Phyzguy recommended wolfram alpha, which is a great option. Maxima is another option, possibly more clunky but I use it the most for computer algebra and arbitrary precision arithmetic:

http://maxima.sourceforge.net/

enjoy,

jason
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K