Answer: (D) (a−b)(a−b)
Concept: A perfect square trinomial has the form p2+2pq+q2=(p+q)2 or p2−2pq+q2=(p−q)2. Its two end terms are perfect squares, and its middle term is twice the product of their square roots.
Step 1 — Expand the square.
We open (a+b)2 and collect the ab terms.
(a+b)2−4ab=a2+2ab+b2−4ab=a2−2ab+b2
Step 2 — Recognise the perfect square.
The result is the square of (a−b).
(a+b)2−4ab=(a−b)2=(a−b)(a−b)
Watch out: 4ab is not a perfect square of a single term (that would be 4a2b2), so do not treat the expression as a difference of squares.
Why the other options are wrong:
- (A): It treats 4ab as (2ab)2, but (2ab)2 is 4a2b2. Multiplying it out gives −4a2b2+a2+2ab+b2, which is not the given expression.
- (B): It is a2−b2, a difference of squares, not the given expression. Multiplying it out gives a2−b2, which is not the given expression.
- (C): It is (a+b)2 itself, which ignores the −4ab. Multiplying it out gives a2+2ab+b2, which is not the given expression.
Therefore, (a+b)2−4ab=(a−b)(a−b), option (D).