Ask Your Question
1

Simplifying a polynomial expression [closed]

asked 2023-11-05 16:36:08 +0100

pfeifhns gravatar image

Hello, I have an expression like μ^8+4μ^6ν^2+6μ^4ν^4+4μ^2ν^6+ν^8 This is the same as ( μ^2+ν^2 )^4 Is there a method in SageMath to simplify the first expression so that I get the second expression? Thanks for any reply

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by pfeifhns
close date 2023-11-05 17:17:55.485854

1 Answer

Sort by » oldest newest most voted
0

answered 2023-11-05 16:53:27 +0100

rburing gravatar image

Yes, this is just a factorization:

sage: var('μ,ν')
sage: (μ^8+4*μ^6*ν^2+6*μ^4*ν^4+4*μ^2*ν^6+ν^8).factor()
(μ^2 + ν^2)^4
edit flag offensive delete link more

Comments

That's it! Thousand thanks!!!!!

pfeifhns gravatar imagepfeifhns ( 2023-11-05 17:17:23 +0100 )edit

@pfeifhns: you can accept the answer (click the check mark at the top left of the answer) and upvote it (click the up-arrow at the top left of the answer).

slelievre gravatar imageslelievre ( 2023-11-05 17:59:42 +0100 )edit

Question Tools

Stats

Asked: 2023-11-05 16:36:08 +0100

Seen: 127 times

Last updated: Nov 05 '23