HexMathv1.0.3

Factor an expression

Type or scan a polynomial. HexMath factors it and shows each step and the check.

Loading math input...

What this page covers

  • Taking out a common factor.
  • Factoring trinomials, including ones with a leading coefficient other than 1.
  • Difference of squares, sum and difference of cubes, and factoring by grouping.
  • Not covered here: solving the equation once it is factored (use Solve an equation for x), and expressions that do not factor over the integers, which the page will tell you rather than force.

How to enter the problem

  • Type or paste it. x^3 renders as a power; use the math keyboard if you prefer.
  • Scan it. Fit the one expression in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • You can write "Factor" before the expression. Then tap Solve.

Worked example

Problem

Factor completely x3−2x2−9x+18\displaystyle x^3 - 2x^2 - 9x + 18.

Answer

Verified

The answer is

(x−2)(x−3)(x+3)(x - 2)(x - 3)(x + 3)

Explanation

  1. Look for a common factor
    The four terms share none, so move on.
  2. Group in pairs
    (x3−2x2)+(−9x+18)(x^3 - 2x^2) + (-9x + 18).
  3. Factor each group
    x2(x−2)−9(x−2)x^2(x - 2) - 9(x - 2).
  4. Take out the common bracket
    (x−2)(x2−9)(x - 2)(x^2 - 9).
  5. Factor the difference of squares
    x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3)

Common mistakes

  • Stopping at (x−2)(x2−9)(x - 2)(x^2 - 9). "Factor completely" means every factor that can be broken down is broken down.
  • Grouping into pairs that do not share a bracket. If the two groups give different brackets, try a different pairing, or the expression does not factor by grouping.
  • Sign errors when the second group starts with a minus: −9x+18=−9(x−2)-9x + 18 = -9(x - 2), not −9(x+2)-9(x + 2).
  • For a trinomial like 2x2+7x−152x^2 + 7x - 15, pairing the wrong numbers. You need a pair with product 2×(−15)=−302 \times (-15) = -30 and sum 7, which is 10 and −3-3.

Checks, assumptions and limits

  • Check by expanding. Multiply the factors back out; you must get the original expression exactly. (x−2)(x−3)(x+3)=(x−2)(x2−9)=x3−2x2−9x+18(x - 2)(x - 3)(x + 3) = (x - 2)(x^2 - 9) = x^3 - 2x^2 - 9x + 18.
  • Check by roots. Each factor gives a value that makes the original zero: 2, 3 and −3-3 all do.
  • Factoring here is over the integers. An expression like x2+1x^2 + 1 does not factor over the reals; the solver should say so rather than invent factors.
  • The order of the factors does not matter.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

Then the answer is that it is prime over the integers, and the steps show why no pair of numbers works. That is a valid answer, not an error.

Yes. Scan one expression with the camera, or choose a photo. A photo with several problems is solved as a list.

Every step has a short title and the working. If a step is unclear, ask a follow-up question in the same thread.

You can try 1 math question today without signing in, 3 a day signed in, and unlimited with Pro.

Ready to solve your next math problem?

Try one problem free in your browser. Create a free account for 3 math questions a day.

Last updated: · HexMath