Message Boards Message Boards

0
|
1921 Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to multiply an equation by a factor

Posted 1 year ago

Eg.

a*x + b*y + c*z==0,  1/a* (a*x + b*y + c*z)==0, x + b/a*y + c/a*z==0
POSTED BY: Jacques Ou
4 Replies

Take a look at MultiplySides and DivideSides.

POSTED BY: Rohit Namjoshi
eqnlist/.{a_= =b_  :>  (Simplify/@(a x  == b x)}

or if cancellations of factors are intended

eqnlist/. {a== b :> (0==#&) /@ Factor[ Simplify[a-b]}]

And finally in order to get the logical solution set of equations

Or @@ (Solve[{a*x + b*y + c*z == 0, 1/a*(a*x + b*y + c*z) == 0,    x + b/a*y + c/a*z == 0}] /. Rule -> Equal)


 {z == (-a x - b y)/c} || 
 {c == 0, y == -((a x)/b)} || 
 {b == 0, c == 0,   x == 0}
POSTED BY: Roland Franzius
Posted 1 year ago

Try this code

eq = ax + by + c*z == 0; eqSplit = Apply[List, eq] ; Apply[Equal, (1/a)*eqSplit // Expand]

POSTED BY: He Tang
Posted 1 year ago
 1/a* (a*x + b*y + c*z)==0//Expand
POSTED BY: Jacques Ou
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract