Discord

INAIO Guide Stage 1 2Algebra and Equations

2.3 Solving quadratic equations

Solve square-term equations by factoring, completing the square, or using the quadratic formula.

Quadratic equations appear when a variable is squared. Areas, trajectories, and many optimization questions produce them. Solving one means finding every input that makes the equation true. Unlike a usual linear equation, a quadratic can have two, one, or no real solutions.

This is foundational to intermediate algebra. Be comfortable with distribution and factoring from Module 2.1 and balancing equations from Module 2.2. OpenStax's quadratic-equations lesson gives further worked practice.

A basic idea: where does the expression reach zero?

An equation such as x2−5x+6=0x^2-5x+6=0 is quadratic because the highest power of xx is 22. If we can write the left side as (x−2)(x−3)(x-2)(x-3), the product is zero when either factor is zero. Thus x=2x=2 and x=3x=3 are its roots. On the graph of y=x2−5x+6y=x^2-5x+6, they are the points where the curve meets the horizontal axis.

The square-root symbol has one nonnegative value, but solving x2=9x^2=9 gives both x=3x=3 and x=−3x=-3. That is why a ±\pm appears when we take square roots while solving.

A quick tour of methods

Factor when the product is simple

First move all terms to one side so the other side is zero. For x2+5x+6=0x^2+5x+6=0, find two numbers that multiply to 66 and add to 55: they are 22 and 33. Then (x+2)(x+3)=0(x+2)(x+3)=0, so x=−2x=-2 or x=−3x=-3. If the leading coefficient is not 11, look for a common factor first and verify a proposed factorization by expanding it.

Complete the square when factoring is awkward

The identity (x+d)2=x2+2dx+d2(x+d)^2=x^2+2dx+d^2 tells us how to turn x2+bxx^2+bx into a square: take half of bb, then square it. To solve x2+4x−1=0x^2+4x-1=0, move the constant and add the same 44 to both sides:

x2+4x=1⟹x2+4x+4=5⟹(x+2)2=5.x^2+4x=1 \quad\Longrightarrow\quad x^2+4x+4=5 \quad\Longrightarrow\quad (x+2)^2=5.

Taking both square-root possibilities gives x+2=±5x+2=\pm\sqrt5, so x=−2±5x=-2\pm\sqrt5. The new 44 is not guessed: it is (4/2)2(4/2)^2. The diagram shows why adding that small corner makes a full square.

An x by x square and two x by 2 strips leave a 2 by 2 corner missing; adding that corner forms an (x+2) by (x+2) square, so x squared plus 4x plus 4 equals (x+2) squared.An x by x square and two x by 2 strips leave a 2 by 2 corner missing; adding that corner forms an (x+2) by (x+2) square, so x squared plus 4x plus 4 equals (x+2) squared.
Two strips totalling 4x need a 2 × 2 = 4 corner to make (x + 2)².

The picture uses positive side lengths to explain the identity. The algebraic identity remains true for every real xx.

Use the general formula and count real roots

For ax2+bx+c=0ax^2+bx+c=0 with a≠0a\ne0, completing the square gives

x=−b±b2−4ac2a.x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.

The number D=b2−4acD=b^2-4ac is the discriminant. If D>0D>0, there are two distinct real roots; if D=0D=0, one repeated real root; if D<0D<0, no real roots. The formula always applies, but factoring or completing the square can explain a problem more clearly. Check roots in the original equation, especially after moving or dividing terms.

Application 1: the sides of a rectangle

A rectangle has area 3030 square units. Its length is one unit more than its width. Find both sides.

  1. Name the width. Let it be x>0x>0; then the length is x+1x+1, and x(x+1)=30x(x+1)=30.
  2. Move to zero and factor. x2+x−30=(x+6)(x−5)=0x^2+x-30=(x+6)(x-5)=0, giving x=−6x=-6 or x=5x=5.
  3. Apply the meaning and check. A width cannot be negative, so x=5x=5. The sides are 55 and 66, and their area is 3030.

Both numbers solve the algebraic equation, but only one describes a rectangle. Module 2.6 studies such restrictions.

Application 2: an equation that does not factor neatly

Solve x2+4x−1=0x^2+4x-1=0 over the real numbers.

  1. Move the constant. x2+4x=1x^2+4x=1.
  2. Complete the square. Half of 44 is 22, and 22=42^2=4. Add 44 to both sides: (x+2)2=5(x+2)^2=5.
  3. Take both square roots. x=−2+5x=-2+\sqrt5 or x=−2−5x=-2-\sqrt5. Substitution confirms each: if x+2=±5x+2=\pm\sqrt5, then (x+2)2=5(x+2)^2=5, exactly the rearranged equation.

The solutions are approximately 0.2360.236 and −4.236-4.236. Rounding early would lose accuracy, so keep the exact square-root form until the last step.

Resources

SourceTitleWhy read it
OpenStaxQuadratic equationsPractise factoring, completing the square, and the quadratic formula.

Finished this module? Mark it done.

Comments

Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.

Loading comments