Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica or (preferably) maxima display exanded form

  1. Mar 1, 2013 #1
    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

    [tex]d-d\left(\frac{2d}{r}-1\right)[/tex] 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?

  2. jcsd
  3. Mar 1, 2013 #2
    nevermind, I figured it out. I typed "expand(A)". who would have thunk?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Mathematica or (preferably) maxima display exanded form