When an expression has the general form a²+2ab+b², then we can factor it as (a+b)². For example, x²+10x+25 can be factored as (x+5)². This method is based on the pattern (a+b)²=a²+2ab+b², which can be verified by expanding the parentheses in (a+b)(a+b).
License: CC BY-NC-SA by Khan Academy