Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ Can you supply an expression where using Coefficient doesn't work? That way, we can actually test out various solutions. $\endgroup$ Commented Feb 23, 2022 at 18:50
  • $\begingroup$ Any example involving the sum of Logs would work, really. Take for example: 1 + (3+n) Log[1-x] + (3+n) Log[1-x]. Mathematica will not rewrite it in the form I want, even after FullSimplify. In this case I simply need the equation n = -3. I did not provide the example because I have a lot of different forms, sometimes involving ArcTanh as I said, and I don't want to make separate cases for each. $\endgroup$ Commented Feb 23, 2022 at 19:35
  • $\begingroup$ Sorry, I meant 1 + (3+n) Log[1-x] + (3+n) Log[1+x] (with a +). I can no longer edit my previous comment. See also my comment on the answer below for another kind of example, for which Coefficient would actually work. $\endgroup$ Commented Feb 23, 2022 at 19:48