Algebra (Quadratic Equations)

1 / 4

Completing the square when a is not 1

Question: Solve 2x25x+1=02x^2 - 5x + 1 = 0 by completing the square, giving answers to 3 significant figures.

Step 1. The method needs the x2x^2 coefficient to be 11 — divide everything by 22:

x252x+12=0x^2 - \dfrac{5}{2}x + \dfrac{1}{2} = 0

Step 2. Complete the square with half the xx-coefficient, (54)\left(\dfrac{5}{4}\right), added and subtracted:

(x54)2(54)2+12=0\left(x - \dfrac{5}{4}\right)^2 - \left(\dfrac{5}{4}\right)^2 + \dfrac{1}{2} = 0 (x54)2=251612=1716\left(x - \dfrac{5}{4}\right)^2 = \dfrac{25}{16} - \dfrac{1}{2} = \dfrac{17}{16}

Step 3. Square-root both signs:

x54=±1716x - \dfrac{5}{4} = \pm\sqrt{\dfrac{17}{16}}

Step 4.

x=54±174=2.28   or   0.219(3 s.f.)x = \dfrac{5}{4} \pm \dfrac{\sqrt{17}}{4} = 2.28 \;\text{ or }\; 0.219 \quad (3 \text{ s.f.})

Check. Sum of roots 2.50=52\approx 2.50 = \frac{5}{2} ✓ (matches ba-\frac{b}{a}).

⚠ Watch out: Divide through by aa first — completing the square on 2x22x^2 directly derails. The added term is (coefficient of x2)2\left(\frac{\text{coefficient of }x}{2}\right)^2, and the ±\pm at the square-root step is where the second solution lives; dropping it halves the answer.

swipe up ↑
🤖Ask