Learn Before
Example

Completing the Square for p2+12pp^2 + \frac{1}{2}p

Complete the square for the expression p2+12pp^2 + \frac{1}{2}p to form a perfect square trinomial, then express the result as a binomial square.

Step 1 — Identify bb. The coefficient of pp is 12\frac{1}{2}, so b=12b = \frac{1}{2}.

Step 2 — Find (12b)2\left(\frac{1}{2}b\right)^2. Compute half of 12\frac{1}{2}: 1212=14\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}. Square the result: (14)2=116\left(\frac{1}{4}\right)^2 = \frac{1}{16}.

Step 3 — Add 116\frac{1}{16} to the expression.

p2+12p+116p^2 + \frac{1}{2}p + \frac{1}{16}

Rewrite as a binomial square. Because the linear term is positive, the factored form uses addition:

p2+12p+116=(p+14)2p^2 + \frac{1}{2}p + \frac{1}{16} = \left(p + \frac{1}{4}\right)^2

This example demonstrates the completing-the-square procedure when the linear coefficient is itself a fraction rather than an integer. Taking half of 12\frac{1}{2} gives 14\frac{1}{4}, and squaring 14\frac{1}{4} gives 116\frac{1}{16}. Each step involves multiplying fractions — 1212=14\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4} and 1414=116\frac{1}{4} \cdot \frac{1}{4} = \frac{1}{16} — but the overall procedure remains the same three steps used for integer coefficients. The result is a perfect square trinomial whose constant term is a small fraction.

Image 0

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.10 Quadratic Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After