distributive law

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

distributive law

Message par compsystems » mar. avr. 22, 2025 2:40 pm

Hello

why does the distributive law not hold for complex numbers?

simplify((3+4*i)*x+(4-3*i)*y) [enter] (3+4*i)*x+(4-3*i)*y

but

simplify((3+4*j)*x+(4-3*j)*y) [enter] 4*j*x - 3*j*y + 3*x+4*y

parisse
Messages : 5878
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: distributive law

Message par parisse » mar. avr. 22, 2025 4:11 pm

That's because a number*symbol is considered to be distributed, no matter if the number is real or complex.

Répondre