Is factoring just random trial and error?

In summary, the conversation discusses how to factor x^4+x^2+1 without knowing the factorization in advance. The method suggested is to replace x^2 with y and rewrite the expression as a perfect square, then factor it as the difference of two squares. The conversation ends with a question about the availability of similar tricks in other books.
  • #1
pivoxa15
2,255
1

Homework Statement


How does one know x^4+x^2+1=(x^2-x+1)(x^2+x+1)?

How does one get to that step?

I can find the roots of x but that doesn't seem to help. Is it be random trial and error?
 
Physics news on Phys.org
  • #2
One knows that x^4+x^2+1=(x^2-x+1)(x^2+x+1) by multiplying out the right side! But I suspect that was not your question. Your question really is "how does one factor x^4+ x^2+ 1 if you do NOT know that factorization in advance?"

Notice that there are no ODD powers of x in the expression. Replace "x^2" by "y" so that you have the quadratic y^2+ y+ 1. Rewrite that as (y^2+ 2y+ 1)- y= (y+1)^2- y so that the first is a "perfect square". Think of it as the "difference of two squares" so that it can be factored as [itex][(y+1)- \sqrt{y}][(y+ 1)+ \sqrt{y}][/itex]. One wouldn't normally do that because of the [itex]\sqrt{y}[/itex] but since y= x^2, [itex]\sqrt{y}= x[/itex] and we have [(x^2+1)-x][(x^2+1)+x]= (x^2-x+1)(x^2+x+1).
 
  • #3
Nice trick. I wonder how many of those tricks are there and which book contains most or all of them?
 

1. Is factoring just random trial and error?

Factoring involves systematically breaking down a number into smaller factors. While it may involve some trial and error, it is not completely random. There are specific rules and strategies that can be used to make the process more efficient and accurate.

2. Why is factoring important?

Factoring is important in mathematics because it allows us to simplify and solve complex equations. It is also used in real-world applications such as cryptography and data compression.

3. Can all numbers be factored?

No, not all numbers can be factored. Prime numbers, for example, can only be factored by themselves and one. However, most composite numbers can be factored into smaller prime numbers.

4. How do you know when you have factored a number completely?

You have factored a number completely when there are no more common factors that can be divided out. This means that all of the factors are prime numbers and cannot be divided any further.

5. What is the difference between factoring and prime factorization?

Factoring is the process of breaking down a number into smaller factors, while prime factorization is the process of finding the prime numbers that make up a given number. Prime factorization is a type of factoring, but not all factoring involves prime numbers.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
786
  • Precalculus Mathematics Homework Help
Replies
21
Views
615
  • Precalculus Mathematics Homework Help
Replies
7
Views
672
  • Precalculus Mathematics Homework Help
Replies
6
Views
587
  • Precalculus Mathematics Homework Help
Replies
29
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
506
  • Precalculus Mathematics Homework Help
Replies
3
Views
991
  • Precalculus Mathematics Homework Help
Replies
11
Views
502
  • Precalculus Mathematics Homework Help
Replies
8
Views
772
  • Precalculus Mathematics Homework Help
Replies
10
Views
968
Back
Top