HP Forums
(1-10x)^4 does not expand - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: (1-10x)^4 does not expand (/thread-12779.html)



(1-10x)^4 does not expand - MullenJohn - 04-10-2019 06:29 PM

Help, In HOME with HP Prime,

I enter (1-10x)^4 and expect something like #x^4+#x^3+#x^2+#x+c where # is any number.

However my result is (1.-10x)^4 which is just what I started with.

How do I get the binomial raised to the 4th power to expand?

Thanks - Cheers!


RE: (1-10x)^4 does not expand - Aries - 04-10-2019 06:45 PM

Hi,
expand is an algebric CAS command, you can use it for polynomials and rational functions (powexpand for expressions with exponents and texpand for transcendent functions) Wink
Best,

Aries Smile


RE: (1-10x)^4 does not expand - MullenJohn - 04-10-2019 06:59 PM

Aries, Thank you for your reply.

I am still confused.

Are you saying that I cannot directly input (1-10x)^4 in the HOME textbox and get the expansion.

Are you saying I must use the powexpand command in the CAS textbox to get the expansion?

Cheers!


RE: (1-10x)^4 does not expand - Aries - 04-10-2019 07:13 PM

Try CAS.expand('expression') or CAS.expand('expression','variable') in HOME mode Wink
Algebric objects need single quotes.
Best,

Aries Smile


RE: (1-10x)^4 does not expand - DrD - 04-10-2019 07:57 PM

Either of these should work:

[HOME]
CAS("expand((1-10*x)^4)");
CAS.expand("(1-10*x)^4");

Note the multiplication sign at 10*x, to avoid implicit multiplication issues.


RE: (1-10x)^4 does not expand - MullenJohn - 04-10-2019 08:26 PM

Aries & DrD,

Thank you for replies. It is clear to me now. Cheers!


RE: (1-10x)^4 does not expand - Aries - 04-11-2019 06:21 AM

Dont mention it !
Best,

Aries Smile