Course contentsShow
← Mathematics
Lesson 371 of 3,12110. FactoringFree lesson

Factoring Trinomials in Two Variables

Extend trinomial factoring techniques to expressions like x² + xy + y² with multiple variables.

Factoring Trinomials in Two Variables

What you'll learn: You'll discover how to factor trinomial expressions that contain two different variables, like x and y, using the same techniques you already know.

The Core Idea

Up until now, you've factored trinomials with just one variable—expressions like x² + 7x + 12. But what happens when a second variable appears, such as in x² + 5xy + 6y²?

Good news: The process is identical to factoring single-variable trinomials. You simply treat the second variable as part of the coefficient pattern.

Think of it like organizing a closet with two types of items (shirts and pants) instead of one. The organizing principle doesn't change—you're still grouping things logically.

How It Works

Consider the trinomial x² + 5xy + 6y².

Look at the structure:

  • First term: x²
  • Middle term: 5xy (contains both x and y)
  • Last term: 6y²

You need two numbers that:

  • Multiply to give 6 (the coefficient of y²)
  • Add to give 5 (the coefficient of xy)

Those numbers are 2 and 3.

So you factor it as: (x + 2y)(x + 3y)

Check by FOILing: x·x + x·3y + 2y·x + 2y·3y = x² + 3xy + 2xy + 6y² = x² + 5xy + 6y² ✓

Another Example

Factor a² - ab - 12b²:

  • Need two numbers that multiply to -12 and add to -1
  • Those are -4 and 3
  • Factored form: (a - 4b)(a + 3b)

Key Takeaway: Factoring trinomials with two variables uses the exact same pattern-recognition skills as single-variable trinomials—just keep track of both variables as you build your factors.