2.14 - Solving linear and quadratic equations

2.14 - Solving linear and quadratic equations

Choose a useful method for a linear or quadratic equation, keep exact answers where they are needed and check which solutions fit a problem. You will connect factorisation, completing the square, the quadratic formula and graphical solutions, rather than treating them as unrelated tricks.

Keeping an equation balanced

A rectangle has area 40 cm240\,\mathrm{cm}^2, and its length is 3 cm3\,\mathrm{cm} greater than its width. Why will the algebra produce two possible widths when only one rectangle is possible? We will return to this question after separating two kinds of equation.

An equation says that two expressions have equal values. A solution is a value that makes that statement true. Solving changes the equation into a simpler equivalent statement, while keeping exactly the same solutions.

You already know

Expand brackets carefully, collect like terms and calculate with exact fractions. Doing the same addition or subtraction to both sides, or multiplying or dividing both sides by the same non-zero number, preserves equality.

A linear equation in one unknown simplifies to ax+b=0ax+b=0, with a≠0a\ne0. Its unknown has power 11. For example, 3(x+2)=2x+113(x+2)=2x+11 is linear; x2+3x=4x^2+3x=4 is quadratic. Collecting terms can also reveal a boundary case: 2x+1=2x+12x+1=2x+1 is true for every real xx, whereas 2x+1=2x+32x+1=2x+3 has no solution. Neither simplifies to a linear equation with a non-zero coefficient of xx.

Clear numerical denominators before collecting terms. Multiplication must reach every term on each side.

Worked example 1: clearing a denominator

Question. Solve 3x+24=x−1\dfrac{3x+2}{4}=x-1.

Plan. Multiply both sides by 44, then collect the unknown terms on one side.

3x+2=4x−4multiply both sides by 46=xsubtract 3x and add 4\begin{aligned} 3x+2&=4x-4 && \text{multiply both sides by }4 \\ 6&=x && \text{subtract }3x\text{ and add }4 \end{aligned}

Why this step? Multiplying by 44 removes the fraction without changing the solution.

Answer. x=6x=6.

Check. 3(6)+24=5\dfrac{3(6)+2}{4}=5, and 6−1=56-1=5.

Worked example 2 changes only the coefficient on the right from 11 to 22. The solution is now a fraction, which is a perfectly good exact answer.

Worked example 2: a fractional solution

Question. Solve 3x+24=2x−1\dfrac{3x+2}{4}=2x-1.

Plan. Clear the denominator and collect terms before dividing.

3x+2=8x−4multiply both sides by 46=5xcollect termsx=65divide by 5\begin{aligned} 3x+2&=8x-4 && \text{multiply both sides by }4 \\ 6&=5x && \text{collect terms} \\ x&=\frac65 && \text{divide by }5 \end{aligned}

Why this step? The whole expression 2x−12x-1 is multiplied by 44, giving 8x−48x-4.

Answer. x=65x=\frac65.

Check. Both sides equal 75\frac75 when x=65x=\frac65.

Equations also compare real quantities. If two hire charges are £4+3t4+3t and £1+4t1+4t for tt hours, equal charges mean 4+3t=1+4t4+3t=1+4t, so t=3t=3. Both charges are then £1313. Writing the comparison correctly comes before solving it.

Watch out

Wrong: multiplying 3x+24=2x−1\frac{3x+2}{4}=2x-1 by 44 gives 3x+2=8x−13x+2=8x-1. Right: it gives 3x+2=8x−43x+2=8x-4; the multiplier acts on the entire side.

The same balancing operations work with a different numerator. They are not supplied as a solving procedure on the formulae sheet: learn them.

Solving by factorisation

Factorisation changes a quadratic equation into a product equal to zero, which gives a small choice of linear equations.

Quadratic equation

A quadratic equation simplifies to ax2+bx+c=0ax^2+bx+c=0, where a≠0a\ne0. For example, 2x2−x−6=02x^2-x-6=0 is quadratic. An expression such as 2x2−x−62x^2-x-6 is not an equation until an equality is stated.

You already know how to factorise. The new step is using what a zero product tells you: if neither factor were zero, their product could not be zero.

The zero-product rule

For real numbers AA and BB,

AB=0⟺A=0 or B=0AB=0\quad\Longleftrightarrow\quad A=0\text{ or }B=0

The product must equal zero before the rule can be used.
Not on the formulae sheet: learn it.

Rearrange first, factorise second and solve each factor last. This keeps an expression, its factors and the equation's solutions distinct.

Worked example 3: two linear factors

Question. Solve x2−x=6x^2-x=6 by factorising.

Plan. Make one side zero, factorise and set each factor equal to zero.

x2−x−6=0subtract 6(x−3)(x+2)=0factorisex−3=0orx+2=0zero-product rule\begin{aligned} x^2-x-6&=0 && \text{subtract }6 \\ (x-3)(x+2)&=0 && \text{factorise} \\ x-3=0&\quad\text{or}\quad x+2=0 && \text{zero-product rule} \end{aligned}

Why this step? A product equal to zero must have a zero factor, so both factors give possible solutions.

Answer. x=3x=3 or x=−2x=-2.

Check. 32−3=63^2-3=6 and (−2)2−(−2)=6(-2)^2-(-2)=6.

Worked example 4 changes only the coefficient of x2x^2 from 11 to 22. One factor now gives a fractional root.

Worked example 4: a non-monic quadratic

Question. Solve 2x2−x=62x^2-x=6 by factorising.

Plan. Rearrange to zero, then factorise the non-monic quadratic.

2x2−x−6=0subtract 6(2x+3)(x−2)=0factorise2x+3=0orx−2=0zero-product rule\begin{aligned} 2x^2-x-6&=0 && \text{subtract }6 \\ (2x+3)(x-2)&=0 && \text{factorise} \\ 2x+3=0&\quad\text{or}\quad x-2=0 && \text{zero-product rule} \end{aligned}

Why this step? The factor 2x+32x+3 is zero at −32-\frac32, not at −3-3.

Answer. x=−32x=-\frac32 or x=2x=2.

Check. 2(−32)2−(−32)=62\left(-\frac32\right)^2-\left(-\frac32\right)=6, and 2(2)2−2=62(2)^2-2=6.

Now return briefly to the rectangle. If its width is ww centimetres, its length is w+3w+3 centimetres, so

w(w+3)=40⟹(w−5)(w+8)=0w(w+3)=40\quad\Longrightarrow\quad (w-5)(w+8)=0

The algebra gives w=5w=5 or w=−8w=-8. A width must be positive, so only 5 cm5\,\mathrm{cm} is possible; the length is 8 cm8\,\mathrm{cm}. Both roots solve the equation, but only one fits the context. That is the answer to the opening puzzle.

Watch out

Wrong: divide x(x−4)=0x(x-4)=0 by xx and keep only x=4x=4. Dividing by xx assumes x≠0x\ne0 and loses the solution x=0x=0. Right: use the zero-product rule to keep both 00 and 44.

The next equation changes the middle coefficient. Write the solutions as values of xx, rather than leaving two factors on the answer line.

Solving by completing the square

Completing the square is especially useful when a quadratic does not factorise neatly: isolate a squared bracket, then take both square roots.

You already know

Completing the square rewrites a quadratic without changing its value. For example, x2+6x+2=(x+3)2−7x^2+6x+2=(x+3)^2-7. If the leading coefficient is not 11, divide the equation by that coefficient first.

There is a useful surprise hidden in this form. The two solutions of (x+3)2=7(x+3)^2=7 lie equally far either side of −3-3, even though both are irrational. A completed square displays their midpoint before you calculate either solution.

Taking square roots

For real hh and k>0k>0,

(x−h)2=k⟹x=h±k(x-h)^2=k\quad\Longrightarrow\quad x=h\pm\sqrt{k}

If k=0k=0, there is one repeated solution x=hx=h. If k<0k<0, there are no real solutions, because a real square cannot be negative.
Not on the formulae sheet: learn it.

The sign belongs to the square root after the squared bracket has been isolated. It does not mean changing every sign in the answer.

Worked example 5: irrational roots

Question. Solve x2+6x+2=0x^2+6x+2=0 by completing the square. Give exact answers.

Plan. Rewrite the quadratic as a square minus a constant, then take both roots.

(x+3)2−7=0complete the square(x+3)2=7add 7x+3=±7both square rootsx=−3±7subtract 3\begin{aligned} (x+3)^2-7&=0 && \text{complete the square} \\ (x+3)^2&=7 && \text{add }7 \\ x+3&=\pm\sqrt7 && \text{both square roots} \\ x&=-3\pm\sqrt7 && \text{subtract }3 \end{aligned}

Why this step? Both 7\sqrt7 and −7-\sqrt7 square to 77, so omitting either sign loses a solution.

Answer. x=−3+7x=-3+\sqrt7 or x=−3−7x=-3-\sqrt7.

Check. For either value, (x+3)2−7=(±7)2−7=0(x+3)^2-7=(\pm\sqrt7)^2-7=0.

Worked example 6 changes only the leading coefficient from 11 to 22. Dividing first makes the same completing-square method available.

Worked example 6: divide before completing

Question. Solve 2x2+6x+2=02x^2+6x+2=0 by completing the square. Give exact answers.

Plan. Divide by 22, complete the square and simplify the square root.

x2+3x+1=0divide by 2(x+32)2−54=0complete the squarex+32=±52take both rootsx=−3±52subtract 32\begin{aligned} x^2+3x+1&=0 && \text{divide by }2 \\ \left(x+\frac32\right)^2-\frac54&=0 && \text{complete the square} \\ x+\frac32&=\pm\frac{\sqrt5}{2} && \text{take both roots} \\ x&=\frac{-3\pm\sqrt5}{2} && \text{subtract }\frac32 \end{aligned}

Why this step? Half of the coefficient of xx is 32\frac32; its square is 94\frac94, so the adjustment is 1−94=−541-\frac94=-\frac54.

Answer. x=−3+52x=\frac{-3+\sqrt5}{2} or x=−3−52x=\frac{-3-\sqrt5}{2}.

Check. Each root makes x+32=±52x+\frac32=\pm\frac{\sqrt5}{2}, whose square is 54\frac54.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account