If i calculate (x^3+x):(x^2+3) manually via polynomial long division the result is x(2x)/(x^2+3)
How can i get this result with the HP Prime?
HP Prime polynomial long division

10292013, 08:11 AM
10292013, 09:02 AM
Quote: In CAS mode, use partfrac. Access: Toolbox, CAS, 1. Algebra, 6. Partial Fraction Hope that helps.
10292013, 09:16 AM
Great, thank you!
10292013, 09:26 AM
A further question: What is the difference between partfrac and cpartfrac?
10292013, 09:30 AM
Quote: cpartfrac is the complex counterpart of partfrac Example: cpartfrac((x^3+x)/(x^2+3)) returns x  1/(x+i*sqrt(3))  1/(xi*sqrt(3))
10292013, 09:33 AM
o.k.
10292013, 11:56 AM
Thanks. Does CAS Settings / Simplify need to be set to NONE or MINIMUM for this result? Appears that MAXIMUM will show the rational being "recomposed" as x^3+x : x^2+3. Best
10292013, 12:18 PM
Yes, it will recombine them in your version unforuntately. Note that this will all work much better in the future. There is a reason we did not put it to anything but "none" by default in the initial release. :) TW
10292013, 01:49 PM
Hi Tim, A related issue. I want to expand and then recombine a symbolic polynomial to group the coefficients by powers, i.e. (ax)*(bx) > a*b  (a+b)*x + x^2 If I enter this expression in CAS with simplify set to maximum in the settings the result I get is: a*b  a*x  b*x + x^2 where the coefficients are not grouped for the power of x^1. Is there some way to do this ?
10292013, 03:50 PM
Quote: To see the results of polynomial long division, propfrac is more what he was looking for.
partfrac(((x^3+2*x²+3*x+4)/(x²9))) returns the partial fractions while
propfrac(((x^3+2*x²+3*x+4)/(x²9))) returns the proper fraction: wes
10292013, 04:28 PM
I found a solution in the CAS function "symb2poly". symb2poly ((ax)*(bx)) > [1 ab a*b]
10292013, 05:12 PM
real collect
Poly:= (ax)*(bx) sum( coeff( Poly, Var ) .* seq( Var^k, k, degree( Poly, Var ), 0, 1 )
10292013, 05:14 PM
"propfrac" is exactly the command i need. It's too bad that "propfrac" is not in CASMenü.
10302013, 03:29 AM
quo, rem and quorem are the CAS instructions to perform polynomial division. 
« Next Oldest  Next Newest »
