Skip to ContentGo to accessibility page
Algebra 1

9.4.2 Rewrite Squared Expressions

Algebra 19.4.2 Rewrite Squared Expressions

9.4.2 Rewrite Squared Expressions

9.4.2 • Rewrite Squared Expressions

Activity

1. Write each expression in standard form:

a. (4x+1)2(4x+1)2

b. (5x−2)2(5x−2)2

c. (12x+7)2(12x+7)2

d. (3x+n)2(3x+n)2

e. (kx+m)2(kx+m)2

2. Decide if each expression is a perfect square. If so, write an equivalent expression of the form (kx+m)2(kx+m)2. If not, suggest one change to turn it into a perfect square.

f. 4x2+12x+94x2+12x+9

g. 4x2+8x+254x2+8x+25

Video: Rewrite Squared Expressions

Watch the following video to learn more about rewriting squared expressions.

Rewrite Squared Expressions

Self Check

Find the equivalent factored expression for 4 x 2 + 12 x + 9 .
  1. ( 2 x + 3 ) ( 2 x − 3 )
  2. ( 2 x + 3 ) 2
  3. ( 2 x − 3 ) 2
  4. 4 ( x 2 + 3 x + 9 )

Factoring Perfect Square Trinomials

To factor perfect square trinomials, follow the formulas:

a2+2ab+b2=(a+b)2a2+2ab+b2=(a+b)2

a2−2ab+b2=(a−b)2a2−2ab+b2=(a−b)2

Let's look at an example of how to factor perfect square trinomials.

Example

Factor 9x2+12x+49x2+12x+4.

Step 1 - Does the trinomial fit the perfect square trinomial pattern, a2+2ab+b2a2+2ab+b2? If so, write the first term as a2a2 and last constant as b2b2.

  • Is the first term a perfect square? Write it as a square, a2a2. Is 9x29x2 a perfect square? Yes — write it as (3x)2(3x)2. 9x2+12x+4(3x)29x2+12x+4(3x)2
  • Is the last term a perfect square? Write it as a square, b2b2. Is 4 a perfect square? Yes — write it as (2)2(2)2. 9x2+12x+4(3x)2(2)29x2+12x+4(3x)2(2)2
  • Check the middle term. Is it 2ab2ab? Is 12x12x twice the product of 3x3x and 2? Does it match? Yes, so we have a perfect trinomial.

9x2+12x+4(3x)2(2)2(3x)2(2)2↘↙2(3x)(2)12x9x2+12x+4(3x)2(2)2(3x)2(2)2↘↙2(3x)(2)12x

Step 2 - Factor the binomial into: a2+2ab+b2=(a+b)2a2+2ab+b2=(a+b)2.

9x2+12x+49x2+12x+4

a2+2·a·b+b2(3x)2+2·3x·2+22(a+b)2(3x+2)2a2+2·a·b+b2(3x)2+2·3x·2+22(a+b)2(3x+2)2

Step 3 - Check.

(3x+2)2(3x+2)2

(3x)2+2·3x·2+22(3x)2+2·3x·2+22

9x2+12x+4✔9x2+12x+4✔

Try it

Factoring Perfect Square Trinomials

Factor 9x2−30x+259x2−30x+25.

Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.