Solving by factoring
If (x − 2)(x + 3) = 0, then x − 2 = 0 or x + 3 = 0, so the solutions are 2 and −3. No other number makes the product zero.
Dividing both sides by x loses a root
Here is a tempting move. To solve x² = 5x, divide both sides by x and get x = 5. It checks: 25 = 25. But x = 0 works too, since 0 = 0, and it has vanished. Division by x is allowed only when x is not 0, and 0 was exactly the solution that got thrown away. The safe route keeps everything on one side: x² − 5x = 0, so x(x − 5) = 0, and both 0 and 5 come out. The rest of this page is about that route.
If a product is 0, one of the factors is 0
A quadratic equation is an equation with a second-degree polynomial, usually written in standard form ax² + bx + c = 0. Often the easiest way to solve one is factoring. It rests on a single fact, the zero-product property: if a · b = 0, then a = 0 or b = 0. The reason is that multiplying anything by zero gives zero, and two nonzero numbers never multiply to zero. So if the left side can be written as a product of two simpler factors, the hard question splits into two easy ones.
Factoring is multiplication run backwards. OpenStax shows it with (x − 2)(x + 3): multiply out and you get x² + 3x − 2x − 6 = x² + x − 6. So the equation x² + x − 6 = 0 can be rewritten as (x − 2)(x + 3) = 0. By the zero-product property, x − 2 = 0 or x + 3 = 0, which gives x = 2 or x = −3. Check both: 4 + 2 − 6 = 0 and 9 − 3 − 6 = 0. On the graph of y = x² + x − 6 these are the two x-intercepts.
Product 6, sum −5: finding the pair for x² − 5x + 6
For x² + bx + c, look for two numbers that multiply to c and add to b. For x² − 5x + 6 you need a product of 6 and a sum of −5. The pairs that multiply to 6 are 1 and 6, 2 and 3, and their negatives; only −2 and −3 add to −5. So x² − 5x + 6 = (x − 2)(x − 3), and the solutions are 2 and 3. The signs give hints: a positive c means both numbers have the same sign, the sign of b; a negative c means one is positive and one is negative.
Two special shapes are worth spotting. First, a greatest common factor: 3x² − 12x = 0 has 3x in both terms, so 3x(x − 4) = 0 and x = 0 or x = 4. Do not divide both sides by x. As at the top of the page, that throws away the solution 0. Second, a difference of squares: x² − 4 = (x − 2)(x + 2), so x² − 4 = 0 gives x = 2 or x = −2. The same equation can also be solved with the square root property: x² = 4, so x = ±2.
When a is not 1 the search takes a little longer. For 2x² + 5x − 3 = 0, try factors of the form (2x + p)(x + q) with pq = −3. The pair p = −1, q = 3 works: (2x − 1)(x + 3) = 2x² + 6x − x − 3 = 2x² + 5x − 3. Setting each factor to zero gives x = 1/2 and x = −3. If no pair of whole numbers works, the quadratic does not factor nicely, and the quadratic formula in the next unit still solves it.
A 40 m² rectangle, and the root you throw away
A rectangle is 3 meters longer than it is wide and its area is 40 square meters. Call the width w; the length is w + 3, so w(w + 3) = 40, which becomes w² + 3w − 40 = 0. Two numbers with product −40 and sum 3 are 8 and −5, so (w + 8)(w − 5) = 0 and w = −8 or w = 5. A width cannot be negative, so the width is 5 m and the length 8 m. Check: 5 × 8 = 40. Rejecting a solution that does not fit the situation is a normal step.
Drag to turn. Scroll or pinch to zoom.
- What are the solutions of x² − 5x + 6 = 0?
- 2 and 3
- −2 and −3
- 1 and 6
- −1 and 6
- How does x² + 7x + 12 factor?
- (x + 3)(x + 4)
- (x + 2)(x + 6)
- (x − 3)(x − 4)
- (x + 1)(x + 12)
- What is the positive solution of x² − 9 = 0?
- What is the negative solution of x² + x − 6 = 0?
- What is the nonzero solution of 3x² − 12x = 0?
- What is the positive solution of 2x² + 5x − 3 = 0? Write it as a fraction.
- Which two numbers multiply to −12 and add to −1?
- −4 and 3
- 4 and −3
- −6 and 2
- −12 and 1
- A rectangle is 3 m longer than it is wide and has area 40 m². What is the width in meters?
- Which statement is the zero-product property?
- If a · b = 0, then a = 0 or b = 0
- If a · b = 1, then a = 1 and b = 1
- If a + b = 0, then a = 0 and b = 0
- If a = 0, then a + b = 0
- Solve (x − 4)² = 0.
- Solving (x − 5)(x + 1) = 0 as x = −5 or x = 1. Set each factor to zero. x − 5 = 0 gives 5, and x + 1 = 0 gives −1. The solutions have the opposite signs to the numbers written in the brackets.
- From (x − 1)(x − 2) = 6, writing x − 1 = 6 or x − 2 = 6. The zero-product property needs 0 on the right. Those guesses give x = 7 and x = 8, and (6)(5) = 30, (7)(6) = 42, neither 6. Expand first: x² − 3x + 2 = 6, so x² − 3x − 4 = 0, (x − 4)(x + 1) = 0, and x = 4 or x = −1.
- Factoring x² + 2x − 15 as (x − 5)(x + 3). Multiply back: (x − 5)(x + 3) = x² − 2x − 15. The product −15 is right but the sum is −2, not 2. Swap the signs: (x + 5)(x − 3).
- Dividing 2x² = 7x by x and reporting only x = 7/2. x = 0 also satisfies it, since 0 = 0. Move everything to one side and factor: x(2x − 7) = 0, so x = 0 or x = 7/2.
- Write the equation as ax² + bx + c = 0 first.
- Zero-product property: if a · b = 0, then a = 0 or b = 0.
- For x² + bx + c, find two numbers with product c and sum b.
- Take out a common factor instead of dividing by x; check every solution.
Sources for this course (6)
- Curriculum: 교육부 고시 제2022-33호 [별책 8] 수학과 교육과정 (ncic.re.kr/inv/org/download.do?year=2022&seq=10003559&orgType=ogi4, PDF read 2026-10-19: 중학교 1~3학년군 [9수02-19] 다항식의 곱셈과 인수분해(해설의 곱셈 공식 m(a + b), (a + b)², (a − b)², (a + b)(a − b), (x + a)(x + b), (ax + b)(cx + d)), [9수02-20] 이차방정식, [9수02-21] 이차함수의 개념, [9수02-22] 이차함수의 그래프(최댓값·최솟값은 x의 범위가 실수 전체인 경우만), 용어 인수·인수분해·완전제곱식·이차방정식·중근·근의 공식·이차함수·포물선·축·꼭짓점·최댓값·최솟값·평행이동, 「이차방정식은 해가 실수인 경우만」, 「근과 계수와의 관계는 다루지 않는다」, 「구한 해가 문제 상황에 적합한지 확인」; 고등학교 공통수학1 [10공수1-02-02] 실근과 허근·판별식, [10공수1-02-03] 근과 계수의 관계, [10공수1-02-06] 이차함수의 최대·최소와 실생활(제한된 범위, 공학 도구))
- Textbook: OpenStax, College Algebra 2e , 5.1 Quadratic Functions (parabola, vertex, axis of symmetry x = −b/(2a), general form ax² + bx + c, standard form a(x − h)² + k also called vertex form, f(x) = 2x² + 4x − 4 = 2(x + 1)² − 6, f(x) = −3(x + 2)² + 4, vertex of 2x² − 6x + 7 by −b/(2a) (the completing-the-square example x² − 6x + 7 in the course is our own), satellite dish cross-sections, 80 ft fence: maximum area 800 sq ft at L = 20, newspaper revenue maximum at $31.80 and $2,528,100, ball H(t) = −16t² + 80t + 40: top at 2.5 s, 140 ft, ground after about 5.458 s, rock H(t) = −16t² + 96t + 112: openstax.org/books/college-algebra-2e/pages/5-1-quadratic-functions)
- Textbook: OpenStax, Algebra and Trigonometry 2e, 2.5 Quadratic Equations (zero-product property, (x − 2)(x + 3) = x² + x − 6, square root property, completing the square, quadratic formula, discriminant table: openstax.org/books/algebra-and-trigonometry-2e/pages/2-5-quadratic-equations)
- Reference value: NIST CODATA standard acceleration of gravity 9.80665 m/s², about 32.174 ft/s² (physics.nist.gov/cgi-bin/cuu/Value?gn)
- Reference value: NIST, "Putting the Best Foot Forward" (1 foot = 0.3048 m exactly since 1959; nist.gov/pml/us-surveyfoot, checked 2026-10-19)
- History block only: MacTutor, University of St Andrews, Quadratic, cubic and quartic equations (Babylonians about 1800 BC, algorithmic completing the square with positive answers; Euclid about 300 BC geometric; Brahmagupta (598-665) admits negative quantities; al-Khwarizmi (c 800) six types, x² + 10x = 39; Abraham bar Hiyya, Liber embadorum 1145: mathshistory.st-andrews.ac.uk/HistTopics/Quadratic_etc_equations).
Checked: 2026-10-18