# Simplify characteristic equation

I have a rather unwieldy symbolic expression of the form f(x) = 0, where the left hand side is a (low-degree) polynomial in x. I need to extract the constant term and the coefficients of a few powers of x in f(x). If I try to simplify either f(x) itself or each coefficient, Sage runs out of memory (even after increasing the Maxima heap size) or doesn't ever seem to terminate. Is there something I can do that takes advantage of the special form of the equation to simplify the coefficients?

edit retag close merge delete

Sort by » oldest newest most voted

Try to work with a better ring than the Symbolic Ring from the start, if possible.

Otherwise, try converting f(x) to an appropriate polynomial ring.

To get better help, provide a minimal working example that people can play with.

more
{"ft_lang_label":"__label__en","ft_lang_prob":0.9146894,"math_prob":0.92692935,"size":526,"snap":"2022-27-2022-33","text_gpt3_token_len":124,"char_repetition_ratio":0.12643678,"word_repetition_ratio":0.0,"special_character_ratio":0.2148289,"punctuation_ratio":0.058252428,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97135836,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-12T20:53:42Z\",\"WARC-Record-ID\":\"<urn:uuid:831f1736-9709-475e-a101-51a5f9b93d4b>\",\"Content-Length\":\"51881\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3cc62400-b3c4-44f2-a36f-78da4e76b893>\",\"WARC-Concurrent-To\":\"<urn:uuid:4ee3d591-d43b-4aa4-9cbf-d41777180832>\",\"WARC-IP-Address\":\"194.254.163.53\",\"WARC-Target-URI\":\"https://ask.sagemath.org/question/33302/simplify-characteristic-equation/\",\"WARC-Payload-Digest\":\"sha1:MUY74RJ3NQLJJRCLII256S5QMQTXL4SK\",\"WARC-Block-Digest\":\"sha1:WBA5JVSBTTDXR36OEXBHAR7FXCF6QTMR\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882571758.42_warc_CC-MAIN-20220812200804-20220812230804-00370.warc.gz\"}"}