III: Expanding and Factoring

Goal: Understand like terms, expanding, and factoring.

This lecture is recorded in two parts!

Algebraic Expressions


Algebraic expressions are just operations, numbers, and variables mixed together. For example \[2x^2 - 3x + 4 \qquad \sqrt{x} + 10 \qquad (x + 1)(x + 2) \qquad (a + b + c)^2(x^2y + 3)\] are all algebraic expressions.

Adding and Subtracting


To add and subtract algebraic expressions, look for like terms.

Like terms are terms with the same factors except possibly for the numerical factor (called the coefficient).

Which are like terms?
  1. $x^3$ and $3x^3$
  2. $-4x^2y^2$ and $3y^2x^2$
  3. $-(x+2)(x+1)$ and $3(x+1)(x+2)$

  1. Both expressions are $1 \cdot x^3$ and $3\cdot x^3$. $1$ and $3$ are different and both contain the factor $x^3$. They are like terms.
  2. Both expressions contain the factors $x^2$ and $y^2$. The coefficient is $-4$ and $3$. They are like terms.
  3. These are like terms. Recall that $-a = (-1)\cdot a$. So \[\underbrace{(-1)}_{factor}(x+2)(x+1) \qquad \]

Remember: identify the factors. This is your guiding light.

To add like terms, we undo the distributive law: \[x^3 + 2x^3 = 1\cdot x^3 + 2\cdot x^3 = x^3(1 + 2) = 3x^3\]

In essence, add together the coefficients for like terms.

Add and subtract the following:

Multiplying


Multiplying is also called expanding. Expanding problems are just the distributive law applied.

In expanding problems, you always start with factors and you end with terms (context if not explicitly mentioned is always the entire expression).

Look at the distibutive law: \[a\cdot(b + c) = a\cdot b + a \cdot c\]

The Law is saying for the factor $a$ outside the parenthesis, distibutive it to each term within the parenthesis.

Expand the following:

Special Product Formulas


Here are three formulas you should be able to recall by heart. Your calculus professor will expect you to immediately be able to see these, especially the first one.

Note that $A$ just needs to be a term. $A$ could be $(x + y)$. It could be $2x$. Hopefully you are starting to see the importance of identifying terms/factors. It is in everything we do!

Expand the following using the formulas:

Factoring


Consider this expanding problem: \[(x+4)(x+3) = x^2 + 7x + 12\] The expression structure on the left is all factors.

On the right, it is all terms.

If we start from the right and move backwards instead, this process is called factoring.

Factoring converts terms into factors and is the reverse process of expanding.

Method 1: Greatest Common Factor (among terms)


Identify all terms.

For each term, identify the factors.

From each term, pull out all factors in common among all terms.

Factor each expression:

Method 2: Factoring the form $ax^2 + bx + c$.


This method works on three terms. Some examples include \[x^2 + 4x + 3 \qquad\qquad x^2 - 4 \qquad\qquad 2(x+1)^2 - 7(x+1) + 3\]

See this handout for the idea. Let's call this the "new" X method.

Factor:

Method 3: Special Factoring Formulas


The three special product formulas give the special factoring formulas.

Factor:

Method 4: Grouping


This method works on four terms.

We group first two/last two terms together, then use GCF on both groups.

Factor:

The last example shows even though we did have all factors, we sometimes can keep factoring a factor. We may need to use multiple methods.

Multiple Methods


Remember, before even starting a factoring problem, identify the terms and how many there are.

Doing so helps you to choose a correct strategy.

Factor: