# Polynomials

Definition of a Polynomial

A polynomial is an expression made up of the sum of a finite number of powers in one or more variables multiplied by coefficients. This is a general polynomial in one variable:

$a_{n}x^{n}+b_{n-1}x^{n-1}+\ldots+a_{2}x^{2}+a_{1}x+a_{0}$

Each coefficient ($a_{k}$)  would have a numerical value. The powers could start with any value of $n\;$, and don’t need to include every power between $n$ and $1$. Here’s an example:

$2x^{4}-x^{2}+5x-9$

Polynomials can have multiple variables, and get a little more complicated. Here is an example of a polynomial with two variables:

$3x^{2}y^{2}+x^{2}y-2xy^{2}+4xy+x-2y+3$

Questions on the COMPASS Test focus primarily on polynomials with only one variable raised to powers of two or less so this lesson will do the same and work mainly with polynomials of the form:

$a_{2}x^{2}+a_{1}x+a_{0}$

The coefficients ($a_{2},a_{1},a_{0}$) can be positive, negative, or zero. If you know the coefficients of a polynomial you can fully construct it, because the x terms stay the same. For example say:

$a_{2}=3,\;a_{1}=0,\;\text{and}\;a_{0}=-1$

Can you write the polynomial associated with these coefficients? It would be:

$(3)x^{2}+(0)x+(-1)\\=\;3x^{2}-1$

This lesson will focus on adding, subtracting, multiplying, and factoring polynomials.

Adding and Subtraction Polynomials

To add or subtract two polynomials you simply ‘combine like terms.’ This means that you add/subtract the coefficients of variables with the same power to get the new coefficients for those variables. For example, to add the polynomials $3x^{2}+6x-2$ and $x^{2}-4x+1$ we would have:

$(3+1)x^{2}+(6-4)x+(-2+1)\\=4x^{2}+2x-1$

Subtraction works in the same way. Subtracting $2x^{2}+x-3\;$ from $-x^{2}-4x+5\;$ gives:

$(-1-2)x^{2}+(-4-1)x+(5-(-3))\\=-3x^{2}-5x+8$

Take the same approach to add or subtract polynomials with two variables or more variables; however, you will have more terms to keep track of.

Adding $x^{2}y^{2}-x^{2}y-3xy^{2}+2xy\;$ to $5x^{2}y^{2}+x^{2}y-2xy^{2}-6xy\;$ yields:

$(5+1)x^{2}y^{2}+(1-1)x^{2}y+(-2+-3)xy^{2}+(-6+2)xy\\=6x^{2}y^{2}-5xy^{2}-4xy$

Multiplying Polynomials

We are only going to focus on multiplying simple polynomials of the form $a_{1}x+1_{0}$. To multiply two polynomials you must multiply each term in the first polynomial by each term in the second polynomial and vice versa. The lines in the following picture connect terms that we must multiply together.

After you multiply each of the joined terms, combine any like terms to get your simplified solution:

$(x+1)(2x-3)=\\x(2x)+x(-3)+1(2x)+1(-3)=\\2x^{2}-3x+2x-3=\\2x^{2}-x-3$

It’s important to remember to multiply the $x$ terms as well as the numbers. Below we show the solution to the general multiplication problem; you can think of it as a template into which real numbers can be substituted for the $a,b,c,\text{\;and\;}d\;$ terms.

$(ax+b)(cx+d)=\\(ac)x^{2}+(ad+bc)x+(bd)$

The key to multiplying polynomials is to make sure each term meets every other term once. Here is another example worth noting:

$(x+3)(x-3)=\\x(x)+x(-3)+3(x)+3(-3)=\\x^{2}-3x+3x-9=\\x^{2}-9$

Factoring Polynomials

Factoring a polynomial means decomposing it into the product of two smaller polynomials. For example:

$x^{2}-x-12=(x-4)(x+3)$

Essentially we are working in the opposite direction as we were above when we multiplied small polynomials. The ‘small polynomials’ $x-4\;$ and $x+3\;$ are said to be ‘factors’ of the larger polynomial $x^{2}-x-12$.

Finding the factors of a polynomial requires a bit of guesswork and a familiarity with the process of polynomial multiplication that we discussed in the last section. I’ll refer to the general equation below while describing the process of factoring polynomials:

$ax^{2}+bx+c=(Ax+B)(Cx+D)$

When given an equation $ax^{2}+bx+c\;$ and asked to factor it, you first need to choose A and C  so that $A\cdot C=a$. Then you need to choose B and D such that $B\cdot D=c\;$ and $(A\cdot D+B\cdot C)=b$.

As an example, say we want to factor the polynomial $2x^{2}+7x+3$. We start by letting A=2 and C=1, since $2x\cdot1x=2x^{2}$. Now we must find B and D such that $B\cdot D=3\;$ and $(2D+B)=7$. This step usually involves some ‘guessing and checking.’ You should end up with B=1 and D=3. We now have all the pieces to factor our polynomial:

$2x^{2}+7x+3=(2x+1)(x+3)$

You can check this factorization by multiplying the two factors; you should get the original polynomial as the answer.

Factoring polynomials requires good intuition and may be one of the more difficult Algebra skills tested on the COMPASS exam. It can get especially tricky when you have multiple possibilities for A and C, like when factoring $4x^{2}-9x+2$. In this case we could have either A=4,C=1 or A=2,C=2. What you need to do is just pick one of the two options and then try to find B and D. If you’re unable to find a B and D that work you need to switch to the other combination of A and C. In this case the correct factorization is:

$4x^{2}-9x+2=(4x-1)(x-2)$

Practice Questions

Combine like terms.

1.) $2x^{2}-3x-4\;+\;3x^{2}+4x-1$

2.) $10a-6b-(2a-b)$

3.) $x^{2}y^{2}+4x^{2}y-4xy^{2}+xy\;+\;2x^{2}y^{2}-x^{2}y-2xy$

4.) $x^{2}-x-1\;-\;4(x^{2}-2x+1)$

Multiply and combine like terms.

5.) $(x+1)(x-1)$

6.) $(3x-1)(2x+3)$

7.) $(2x-1)(1-x)$

8.) $(x+\frac{1}{2})(x+2)$

9.) $(2x-3)(2x+3)$

10.) $(x-4)^{2}$

Factor.

11.) $x^{2}+4x+3$

12.) $x^{2}-2x-8$

13.) $x^{2}+12x+32$

14.) $2x^{2}+9x-5$

15.) $4x^{2}+20x+25$

16.) $x^{2}-9$

17.) $x^{2}+3x$

18.) $2x^{2}+6x+4$