Factoring polynomials is the inverse process of multiplying
polynomials. After factoring a polynomial, if we divide the
polynomial with the factors then the remainder will be zero.
Whenever we factor a polynomial we should always look for the
greatest common factor(GCF) then we determine if the resulting
polynomial factor can be factored again.
Here are the most common factoring techniques used with
polynomials:
If we have any number of terms then we use GCF:

If we have two terms then we could use either the difference of
two squares, the sum of two cubes or the difference of two
cubes:

If we have three terms then we use either perfect square
trinomials or general trinomials:

Lastly if we have four or more terms we use grouping:

Videolesson: Factor
2x2-4xy+2y2=2(x2-2xy+y2)=2(x-y)
2