Mathematica Mathematica or (preferably) maxima display exanded form

AI Thread Summary
The discussion centers on the challenge of obtaining a less factored form of mathematical expressions when multiplying matrices for geometrical optics. The user expresses frustration with the appearance of their results, specifically mentioning an example that seems overly complex. They prefer to see answers in a fully expanded form to make it easier to decide on any necessary factoring. Ultimately, the user resolves their issue by discovering the "expand(A)" function, which provides the desired expanded output.
richyw
Messages
179
Reaction score
0
Is it possible to get either one to display the less factored form of an expression? what I am doing is multiplying matrices together for geometrical optics but my answers keep coming out really ugly. For example I have

d-d\left(\frac{2d}{r}-1\right) I don't think a person would ever write it like that. This is not a bad example but in some cases its doing just really ugly things where the neatest form is (at least close to) the fully expanded form. I'd rather see my answer expanded and then manually make the decision on what to factor out if that makes any sense?

thanks!
 
Physics news on Phys.org
nevermind, I figured it out. I typed "expand(A)". who would have thunk?
 

Similar threads

Replies
17
Views
46K
Replies
3
Views
2K
Replies
5
Views
3K
Replies
2
Views
4K
Replies
1
Views
3K
Replies
5
Views
4K
Replies
1
Views
9K
Back
Top