HexMathv1.0.4

Factor calculator with steps

This factor calculator factors a polynomial as far as it goes over the integers. Type the expression or scan it from a photo. HexMath returns the factored form and shows each step: taking out a common factor, splitting a trinomial, a difference of squares, a sum or difference of cubes, or grouping, with a check by multiplying back.

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 (see the equation solver), 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

Factor 2x² + 7x - 15.

Problem

Factor 2x2+7x−15\displaystyle 2x^2 + 7x - 15.

Answer

Verified

The answer is

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

Explanation

  1. Multiply the outer coefficients
    a⋅c=2⋅(−15)=−30a \cdot c = 2 \cdot (-15) = -30. Look for two numbers with product −30-30 and sum 77: 1010 and −3-3.
  2. Split the middle term
    2x2+10x−3x−152x^2 + 10x - 3x - 15.
  3. Group in pairs
    2x(x+5)−3(x+5)2x(x + 5) - 3(x + 5).
  4. Factor out the common bracket
    (2x−3)(x+5)(2x - 3)(x + 5).
  5. Check by expanding
    (2x−3)(x+5)=2x2+10x−3x−15=2x2+7x−15(2x - 3)(x + 5) = 2x^2 + 10x - 3x - 15 = 2x^2 + 7x - 15

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.

Yes — 3 math questions a day with a free account, no card. Unlimited with Pro.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath