Message Boards Message Boards

0
|
459 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Solving a system of equations gives error: not a valid variable

Posted 4 months ago

I need to solve the following system of equations:
(a^2 - a + 1) = b
-5 + 7 a = b^2
16 - 9 a - 12 a^2 = b^3

I tried:

Solve[{a^2 - a + 1 == b,  7 a - 5 == b^2, -12 a^2 - 9 a + 16 == b^3}, {b, b^2, b^3}]

But got an error, b^2 is not a valid variable

The answer is b^3 +3b^2+12b-13 = 0

Note: since b = a^2 - a +1, b^2 = 7a - 5, b^3 = -12a^2 - 9a + 16, then b^3 +12 b = -21a + 28 and b^3 + 3b^2 + 12b = -13. This monic polynomial is irreducible by Eisenstein Criterion. Thus, it's the minimal polynomial.

This problem arose from the following: If P(x) = x^3 +3x -3 is a polynomial with a as a root, find the minimal polynomial of b=a^2 - a + 1.

Thanks

POSTED BY: P. Marrone
2 Replies

Use Eliminate, not Solve:

Eliminate[{a^2 - a + 1 == b,
  7 a - 5 == b^2,
  -12 a^2 - 9 a + 16 == b^3},
 a]
POSTED BY: Gianluca Gorni

Great. Excellent!!! Best regards

POSTED BY: P. Marrone
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract