Message Boards Message Boards

0
|
4408 Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Multiply both sides of an equation by an expression?

Posted 5 years ago

For example, a ==b ---> a * c == b * c. Thanks.

POSTED BY: Jacques Ou
3 Replies
Posted 5 years ago

function Map is what I am looking for. Thanks.

POSTED BY: Jacques Ou
Posted 5 years ago
MultiplySides[a == b, c] 

$\begin{array}{cc} \{ & \begin{array}{cc} a c=b c & c\neq 0 \\ a=b & \text{True} \\ \end{array} \\ \end{array}$

MultiplySides[a == b, c, GenerateConditions -> False]

$a c=b c$

POSTED BY: Rohit Namjoshi

In version 11.3 we have MultiplySides:

MultiplySides[x/3 == 7, 3]

In earlier version you can Map the multiplication:

Map[3 # &, x/3 == 7]
POSTED BY: Gianluca Gorni
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