A beginner to Mathematica.
I am trying to express a large symbolic polynomial expression as a product of factors of simpler polynomials:
For example I was able to factor this expression:
256. ptz (1. ptx^4 + 1. ptx^2 pty^2 - 2. ptx^3 ptz - 2. ptx pty^2 ptz + 1. ptx^2 ptz^2 + 1. pty^2 ptz^2 + 2. ptx^3 px + 2. ptx pty^2 px - 2. ptx^2 ptz px - 2. pty^2 ptz px + 1. ptx^2 px^2 + 1. pty^2 px^2 - 2. ptx^3 pz - 2. ptx pty^2 pz + 2. ptx^2 ptz pz + 2. pty^2 ptz pz - 2. ptx^2 px pz - 2. pty^2 px pz + 1. ptx^2 pz^2 + 1. pty^2 pz^2)
256 ptz (ptx^2 + pty^2)(ptx - ptz + px - pz)^2
manually. How do I accomplish the same in Mathematica ? I do realize that the factors are not "standard terms". Any hints would be much appreciated.