Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.6K Views
|
1 Reply
|
3 Total Likes
View groups...
Share
Share this post:

How to partially merge similar items?

Posted 2 years ago

For polynomials:

-x1 - x2 - 1/(x1 \[Lambda] + x2 \[Mu]) + 
 2 (x1 \[Lambda] + x2 \[Mu]) + (Log[x1] - Log[x2])/(x1 - x2)

to get the result:

(x1 - x2) (-1 + 2 \[Lambda]) - 1/(x1 \[Lambda] + x2 \[Mu]) + (
 Log[x1] - Log[x2])/(x1 - x2)

Why can't we handle it using this method?

-x1 - x2 - 1/(x1 \[Lambda] + x2 \[Mu]) + 
  2 (x1 \[Lambda] + x2 \[Mu]) + (Log[x1] - Log[x2])/(x1 - x2) // 
 Collect[#, {x1, x2}] &
POSTED BY: Lee Tao
Posted 2 years ago
POSTED BY: Jim Baldwin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard