Message Boards Message Boards

2 Replies
1 Total Likes
View groups...
Share this post:

How to get all the coefficients of specific powers of x?

Posted 11 years ago
I have a very big and complex expression with variable x. There are different powers of this variable. I need the following thing. I specify the power of x (say, x^2) and write down all the coefficients belonging to x^2 in my expression. I am absolutely new in Mathematic?. So could you just give me corresponding links/references/advices so that I will read it and try?
P.S. To do this job on a sheet of paper is impossible. The expression is rather huge. It is very easy to make a mistake. After each recalculation I get different results...
POSTED BY: Vladimir Zeev
2 Replies
If you go to Help menu - Documentation Center, there is a very useful search capability.
For example, if you type "coefficients" into the search slot near the top of the window,
the first and third hits are very relevant.

Most Mathematica functions have names related to what they are used for.
POSTED BY: Bruce Miller
You could use the built in function "Coefficient".
POSTED BY: Isaac Abraham
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract