Quadratic Equations
What is a quadratic equation?
A quadratic equation is any equation of the form
where:
- represents a variable or an unknown
- , , and are constants
Here are some examples:
is not a quadratic equation since the term is missing: it's a linear equation.
A few more points to remember:
- A quadratic equation involves only one unknown ( in this case).
- A quadratic equation only contains powers of that are non-negative.
- The solutions to the equation are the values of that make it equal 0. These are called the roots of the equation.
Solving by factoring
When a quadratic factors neatly, splitting the middle term is often faster than completing the square. Solve .
Multiply the outer coefficients: . Find two numbers that multiply to 10 and add to 7: that's 5 and 2. Split the middle term using them, then factor by grouping:
Each factor set to zero gives a root: or .
Solving by completing the square
A quadratic equation with real or complex coefficients has two roots. These two roots may or may not be distinct, and they may or may not be real. One way to find them is a method called completing the square, starting from the standard form :
- Divide each side by :
- Subtract the constant from both sides:
- Add the square of one-half of , the coefficient of , to both sides:
- Rewrite the left side as a square and simplify the right side:
- Take the square root of both sides: , so
This leads to the quadratic formula:
The means both and are roots of the equation.
Worked example
Let's solve using this method.
- Divide each side by 4:
- Subtract from both sides:
- Add the square of one-half of 3 (the coefficient of ) to both sides:
- Rewrite the left side as a square:
- Take the square root of both sides: , so
The shape of the graph
The graph of a quadratic equation is a curve called a parabola. When is positive, the parabola opens upward; when is negative, it opens downward. As increases, the parabola gets narrower. (If , it's no longer a quadratic equation at all.) Changing shifts the vertex left or right of the y-axis without changing the parabola's shape, and changing shifts the whole graph up or down.
Quadratic equations in real life
Quadratic equations show up whenever a quantity depends on the square of another, such as finding the speed of a moving object, a product's profit, or an area. Here's one example: finding the speed of a boat that travels up and down a river.
A river flows at 2 km/hour. A boat travels 20 km upstream against the current and then back, and the round trip takes 4 hours. Let be the boat's speed in still water.
Going upstream, the boat's speed relative to the ground is (the current slows it down); going downstream it's (the current helps it along). Since and the total time is 4 hours:
Expanding this algebraically gives . Solving with the quadratic formula gives two values: and . The negative value has no physical meaning here, so the boat's speed in still water is about 10.38 km/hour.
Quadratic Equations: Solved Examples
These work through the main question types one at a time: checking whether an equation is quadratic, setting one up from a word problem, solving it, and reading the nature of its roots.
Is it actually quadratic?
An equation is quadratic only once it's simplified: expand both sides fully and collect like terms first, then check the degree. Two examples with different outcomes:
expands to , which simplifies to , degree 2, so this is a quadratic equation.
expands to , and the terms cancel, leaving , only degree 1, so this is not a quadratic equation, despite looking like one before expanding.
Turning a word problem into a quadratic equation
The product of two consecutive positive integers is 306. Represent this as a quadratic equation.
Solution: Let the first integer be , so the next consecutive integer is . Their product is 306:
Solving by factorization
Solve .
Solution: Split the middle term into two parts whose product matches and whose sum is : that's and .
So or .
A word problem solved end to end
The altitude of a right triangle is 7 cm less than its base. If the hypotenuse is 13 cm, find the other two sides.
Solution: Let the base be cm, so the altitude is cm. By the Pythagorean theorem:
A side length can't be negative, so : the base is 12 cm and the altitude is cm, a 5-12-13 right triangle, and checks out.
Solving by completing the square
Solve by completing the square.
Solution: Divide by 2, then move the constant to the right:
Add to both sides to complete the square on the left:
So or .
The nature of the roots
The discriminant tells you what kind of roots to expect before you even solve: positive means two distinct real roots, zero means one repeated real root, and negative means no real roots at all.
For what value(s) of does have two equal roots?
Solution: Equal roots require :