Sub topic 1
Quadratic Equations and Standard Form
Prerequisites
This chapter assumes you can work with integers and fractions, expand products of binomials with the distributive property, solve linear equations in one variable, and read a square root.
Quadratic equations and standard form
A quadratic equation has a variable raised to the second power as its highest power. Its standard form is:
ax^2 + bx + c = 0, with a ≠ 0
The numbers a, b, and c are the coefficients. The coefficient a multiplies x^2, b multiplies x, and c is the constant term. To identify them, move every term to one side so the other side equals 0. For example, 3x^2 = 5x - 2 becomes 3x^2 - 5x + 2 = 0, so a = 3, b = -5, and c = 2. Each coefficient keeps the sign in front of it.
The zero product property
The zero product property states that if a × b = 0, then a = 0 or b = 0, or both. Factoring relies on this property. Once a quadratic is written as a product of factors equal to zero, you set each factor to zero and solve each one separately.
Factoring out a common factor
Before anything else, check whether every term shares a factor. In 2x^2 + 6x = 0, both terms contain 2x:
2x^2 + 6x = 2x(x + 3) = 0
So 2x = 0 or x + 3 = 0, which gives x = 0 or x = -3.
Factoring x^2 + bx + c
When a = 1, find two integers m and n such that m × n = c and m + n = b. Then x^2 + bx + c = (x + m)(x + n). The following Python function searches for that pair:
def factor_monic(b, c):
"""Return integers (m, n) with x^2 + b*x + c = (x + m)(x + n), or None."""
for m in range(-abs(c), abs(c) + 1):
n = b - m
if m * n == c:
return m, n
return None
m, n = factor_monic(5, 6)
print(m, n) # 2 3, so x^2 + 5x + 6 = (x + 2)(x + 3)
print(-m, -n) # -2 -3, the roots by the zero product propertyExercise
Factor x^2 + 7x + 12 and solve x^2 + 7x + 12 = 0.
Show answer
The pair 3 and 4 works, since 3 × 4 = 12 and 3 + 4 = 7. So (x + 3)(x + 4) = 0, which gives x = -3 or x = -4.