Expanding and Factoring Linear Expressions in 7th Grade

#7th Grade Math#Expressions and Equations#Expanding and Factoring Linear Expressions
TL;DR
Expanding and factoring linear expressions means using the distributive property in both directions, multiplying a factor into every term or pulling a shared factor back out. Negative and fraction factors work the same way.
Bhanzu TeamLast updated on December 2, 202615 min read

Key Points

  • Expanding and factoring linear expressions are opposite moves, so −4(3x−5)-4(3x - 5) expands to −12x+20-12x + 20, and −12x+20-12x + 20 factors back to −4(3x−5)-4(3x - 5).
  • Factoring a linear expression starts with the greatest common factor of every term, so 18x−1218x - 12 becomes 6(3x−2)6(3x - 2) because 6 divides both 18 and 12.
  • A minus sign in front of parentheses multiplies every term inside by −1-1, which makes 10−(2x−3)10 - (2x - 3) equal to 13−2x13 - 2x and not 7−2x7 - 2x.
  • Substituting one value such as x=3x = 3 into both forms catches most sign errors, since equivalent expressions give the same value for every number you choose.
  • Common Core standard 7.EE.A.1 adds negative, fraction and decimal coefficients to the distributive property work that students first meet in 6th grade.

One rule that works in both directions

Euclid proved a version of the distributive property with lines about 2,300 years ago. In Book II of his Elements, a rectangle built on one whole line and one line cut into pieces equals the sum of the smaller rectangles, as the Clark University edition of Euclid shows.

Euclid wrote it in words about lengths. Today it fits on one line, and you can read that line forward or backward.

In 7th grade, your child starts reading it both ways with negative numbers, fractions and decimals, which is the real jump from 6th grade, where the numbers inside the parentheses were mostly positive whole numbers. The same two-way move turns up later in the formulas engineers simplify and in the code computer programmers write.

Expanding and factoring linear expressions shown as one equation read in two directions.
Diagram linking negative 3 times the quantity 2x minus 5 to negative 6x plus 15, with an arrow labeled expand going right, an arrow labeled factor coming back, and the products negative 3 times 2x and negative 3 times negative 5 below.

What does expanding and factoring linear expressions mean?

Expanding and factoring linear expressions means rewriting one expression in two equivalent forms. Expanding turns a product such as 5(2x+3)5(2x + 3) into a sum, 10x+1510x + 15, and factoring turns that sum back into the product.

A linear expression is a sum of terms in which the variable has no exponent above 1, like 10x+1510x + 15. Each term is a piece joined by a plus or minus sign. The number in front of the variable is its coefficient, and a term with no variable, like 15, is a constant.

Two expressions are equivalent when they give the same value for every number you put in for xx. Both moves come from the distributive property, which says a(b+c)=ab+aca(b + c) = ab + ac for any real numbers aa, bb and cc.

Common Core places this skill in standard 7.EE.A.1, which asks students to add, subtract, factor and expand linear expressions with rational coefficients. Rational coefficients are numbers that can be negative, fractions or decimals. Your child met the whole-number version in the 6th grade distributive property lessons.

How do you expand an expression with a negative factor?

Multiply the outside factor, sign included, by every term inside the parentheses, then combine like terms. A sign box keeps each product and its sign in view.

  1. Write the outside factor on the left of a box. For −4(3x−5)-4(3x - 5), that factor is −4-4.
  2. Write each inside term across the top with its own sign, here 3x3x and −5-5.
  3. Fill each cell with a product, −4×3x=−12x-4 \times 3x = -12x and −4×(−5)=20-4 \times (-5) = 20.
  4. Read the cells as one sum and combine any like terms.
−4(3x−5)=−12x+20-4(3x - 5) = -12x + 20
Sign box for expanding negative 4 times the quantity 3x minus 5.
Sign box with negative 4 on the left, 3x and negative 5 across the top, cells negative 12x and positive 20 with the note negative times negative is positive, giving negative 12x plus 20.

The second cell is where the sign flips, because a negative times a negative is positive, the same rule used when multiplying negative numbers. Saying each product out loud ("negative four times negative five") is a habit that keeps the sign attached to the 4.

Check with a number. At x=2x = 2 the original gives −4(6−5)=−4-4(6 - 5) = -4, and the expanded form gives −24+20=−4-24 + 20 = -4.

A minus sign in front of parentheses follows the same rule, since −(2x−3)-(2x - 3) means −1(2x−3)=−2x+3-1(2x - 3) = -2x + 3. Like terms share the same variable part, such as 8x8x and −3x-3x, and they combine by adding their coefficients.

2(4x−1)−3(x+5)=8x−2−3x−15=5x−172(4x - 1) - 3(x + 5) = 8x - 2 - 3x - 15 = 5x - 17

Try It Yourself

Pick the next move in each expression, then tap to reveal the step and see if your choice matches. Watch the sign on every term as the outside factor reaches it, and notice that the last line gives the same value as the first.

How do you factor a linear expression?

To factor a linear expression, find the greatest common factor of all its terms, divide each term by it, and write that factor outside the parentheses. The greatest common factor, or GCF, is the largest whole number that divides every coefficient and constant evenly.

  1. List the factors. 18 has 1, 2, 3, 6, 9 and 18, and 12 has 1, 2, 3, 4, 6 and 12, so the GCF of 18x−1218x - 12 is 6.
  2. Divide each term by the GCF, 18x÷6=3x18x \div 6 = 3x and −12÷6=−2-12 \div 6 = -2.
  3. Write the GCF outside the parentheses, 6(3x−2)6(3x - 2).
  4. Expand to check, 6×3x−6×2=18x−126 \times 3x - 6 \times 2 = 18x - 12.
Factoring 18x minus 12 by pulling out the greatest common factor 6.
Factor lists for 18 and 12 with the shared 6 circled, then 18x divided by 6 is 3x and negative 12 divided by 6 is negative 2, giving 6 times the quantity 3x minus 2 and a check that expands it back.

When the first term is negative, as in −8x−20-8x - 20, textbooks such as OpenStax Elementary Algebra 2e pull the negative out with the GCF, giving −4(2x+5)-4(2x + 5). The word factor is confusing here, because it names both a number that divides evenly and the act of pulling one out.

The method stops when the GCF is 1. In 7x+107x + 10 no whole number above 1 divides both 7 and 10, so there is no whole-number factoring to do. Pulling out the GCF is also the first method in factorization of algebraic expressions, which later grades stretch to expressions with x2x^2.

How do fractions and decimals change the distributive property?

Fractions and decimals change the arithmetic, not the rule. The outside factor still multiplies every term.

23(9x−6)=23⋅9x−23⋅6=6x−4\frac{2}{3}(9x - 6) = \frac{2}{3} \cdot 9x - \frac{2}{3} \cdot 6 = 6x - 4

Decimals show up with prices. The US Bureau of Labor Statistics reported that consumer prices rose 0.4 percent in October 2026, seasonally adjusted. A 0.4 percent rise on a price pp is p+0.004pp + 0.004p, and a lone pp has a hidden coefficient of 1, so factoring gives one multiplication.

p+0.004p=p(1+0.004)=1.004pp + 0.004p = p(1 + 0.004) = 1.004p

If a $250 grocery bill rose by that same 0.4 percent, it would become $1.004 \times $250 = $251(theGrade7standardsusethesameideawitha5percentincrease, (the Grade 7 standards use the same idea with a 5 percent increase, a + 0.05a = 1.05a$).

Examples of expanding and factoring linear expressions

Example 1

Expand −2(5x+7)-2(5x + 7).

−2×5x=−10x-2 \times 5x = -10x

−2×7=−14-2 \times 7 = -14

−2(5x+7)=−10x−14-2(5x + 7) = -10x - 14

Check at x=1x = 1: the original is −2×12=−24-2 \times 12 = -24, and −10−14=−24-10 - 14 = -24.

Example 2

Factor 24x−3624x - 36 completely.

The factors 2, 3, 4, 6 and 12 all divide 24 and 36, and 12 is the largest.

24x÷12=2x24x \div 12 = 2x and −36÷12=−3-36 \div 12 = -3

24x−36=12(2x−3)24x - 36 = 12(2x - 3)

Example 3

Simplify 3(2x−4)−5(x−2)3(2x - 4) - 5(x - 2).

The tempting move is to multiply the 5 into the second group and leave its minus sign at the front only. That gives 6x−12−5x−10=x−226x - 12 - 5x - 10 = x - 22.

That answer fails a value check. At x=3x = 3 the original is 3(2)−5(1)=13(2) - 5(1) = 1, but x−22x - 22 gives −19-19. The factor on the second group is −5-5, so it multiplies −2-2 too.

−5×x=−5x-5 \times x = -5x and −5×(−2)=10-5 \times (-2) = 10

6x−12−5x+10=x−26x - 12 - 5x + 10 = x - 2

At x=3x = 3, x−2=1x - 2 = 1, which matches.

Example 4

Expand 34(8x−12)\frac{3}{4}(8x - 12), then factor the result.

34⋅8x=6x\frac{3}{4} \cdot 8x = 6x and 34⋅(−12)=−9\frac{3}{4} \cdot (-12) = -9

The expanded form is 6x−96x - 9. The GCF of 6 and 9 is 3.

6x−9=3(2x−3)6x - 9 = 3(2x - 3)

Example 5

Factor −6x−15-6x - 15 with a negative factor outside.

The GCF of 6 and 15 is 3. The first term is negative, so pull out −3-3.

−6x÷(−3)=2x-6x \div (-3) = 2x and −15÷(−3)=5-15 \div (-3) = 5

−6x−15=−3(2x+5)-6x - 15 = -3(2x + 5)

Check: −3×2x=−6x-3 \times 2x = -6x and −3×5=−15-3 \times 5 = -15.

Example 6

Jordan earns $12.50 each week and spends dd dollars of it on snacks. Write two equivalent expressions for the amount saved over 6 weeks, then find it when d=2.25d = 2.25.

Let dd stand for the dollars spent on snacks each week.

Words in the problem Math it means
earns $12.50 each week 12.5012.50
spends dd dollars of it −d-d
saved each week 12.50−d12.50 - d
over 6 weeks multiply by 6
amount saved 6(12.50−d)6(12.50 - d)

Expanded form: 6(12.50−d)=75−6d6(12.50 - d) = 75 - 6d

With d=2.25d = 2.25, the factored form gives 6×10.25=61.506 \times 10.25 = 61.50, and the expanded form gives 75−13.50=61.5075 - 13.50 = 61.50.

Jordan saves $61.50 over the 6 weeks.

Equal groups behind the distributive property

The rule works because multiplication counts equal groups, and each group holds the whole expression, every term included.

  • Equal groups explain it. 3(2x−5)3(2x - 5) means three copies of 2x−52x - 5, so 2x2x shows up three times and −5-5 shows up three times, which totals 6x−156x - 15.
  • Signs travel with their terms. The −5-5 inside is a negative number, so tripling it gives −15-15, and a negative outside factor flips the sign of each term by the rules for multiplying integers.
  • Factoring is the same fact read backward. If 6x−156x - 15 is three copies of something, that something must be 2x−52x - 5.
  • Equations need it next. An equation like 3(x+4)=273(x + 4) = 27, which comes up later in 7th grade, can't be solved until the parentheses are opened or divided away.

Euclid's rectangles and the sign box show one fact twice, once with lengths and once with signed numbers.

What most guides miss about factoring linear expressions

A factored form is often not the only correct answer. −6x−15-6x - 15 equals both −3(2x+5)-3(2x + 5) and 3(−2x−5)3(-2x - 5), and both expand to the same thing. Answer keys that follow the OpenStax convention expect the negative out front when the first term is negative, so if your child's answer differs from the key, expand both forms before marking anything wrong.

The second gap is about fractions. Because 7th grade allows rational coefficients, any nonzero number can come out, as in 7x+10=7(x+107)7x + 10 = 7\left(x + \frac{10}{7}\right). That is legal, but "factor" in a 7th grade problem means "pull out the GCF" unless the problem names a different factor, as the price example did with 1.004p1.004p.

Where do expanding and factoring go wrong?

Mistake 1: Keeping the sign only on the first product

Where it slips in: Expanding a negative factor over a difference, as in the sign box for −4(3x−5)-4(3x - 5).

Don't do this: Writing −5(2x−6)=−10x−30-5(2x - 6) = -10x - 30, as if the minus belonged to the 5 for the first term only.

The correct way: Multiply −5-5 by both terms, −5×(−6)=30-5 \times (-6) = 30, so −5(2x−6)=−10x+30-5(2x - 6) = -10x + 30. At x=3x = 3 the original is −5×0=0-5 \times 0 = 0, the correct form gives 0, and the wrong form gives −60-60.

Children often reach for the 5 they can see and drop the minus once the first product is written. Choosing an xx that makes the group equal zero exposes the lost sign at once.

Mistake 2: Subtracting only the first term of a group

Where it slips in: Any expression with a minus sign directly before parentheses, as in −(2x−3)-(2x - 3) from the expanding section.

Don't do this: Writing 10−(2x−3)=10−2x−3=7−2x10 - (2x - 3) = 10 - 2x - 3 = 7 - 2x.

The correct way: Subtract the whole group, which multiplies each term by −1-1, so 10−(2x−3)=10−2x+3=13−2x10 - (2x - 3) = 10 - 2x + 3 = 13 - 2x. At x=1x = 1 the original is 10−(−1)=1110 - (-1) = 11, and only 13−2x13 - 2x also gives 11.

Wrong and right ways to subtract a group when expanding and factoring linear expressions.
Side by side work for 10 minus the quantity 2x minus 3, with the wrong answer 7 minus 2x crossed out and the right answer 13 minus 2x, both checked at x equal to 1.

The first instinct is to read the minus as belonging to 2x2x alone, because no number is written in front of the parentheses.

Mistake 3: Pulling out only part of the GCF

Where it slips in: Factoring when the first common factor that comes to mind is small, as in Example 2.

Don't do this: Writing 16x−40=4(4x−10)16x - 40 = 4(4x - 10) and stopping, even though 4 and 10 still share a factor of 2.

The correct way: Use the GCF, 8, so 16x−40=8(2x−5)16x - 40 = 8(2x - 5). The inside terms 2 and 5 share nothing except 1, which shows the factoring is complete.

Key Takeaways

  • Every term inside the parentheses gets multiplied, and its sign comes along with it.
  • Expanding and factoring linear expressions undo each other, so expanding a factored answer is a built-in check.
  • Choosing a value of xx that makes one group equal zero exposes a lost sign quickly.
  • Fraction and decimal factors follow the same rule, which turns a 0.4 percent price rise into one multiplication by 1.004.
  • For more practice spotting the sign that flips when a minus sits outside the parentheses, explore Bhanzu's 7th grade math tutor sessions or a middle school math tutor.

A Practical Next Step

Copy these four problems onto paper and solve them together, then expand each factored answer to check it.

  1. Expand −7(x−4)-7(x - 4).
  2. Factor 30x−4530x - 45 completely.
  3. Simplify 4(3x+2)−(5x−6)4(3x + 2) - (5x - 6).
  4. Factor −10x+25-10x + 25 with a negative factor outside.

Answers: 1. −7x+28-7x + 28, 2. 15(2x−3)15(2x - 3), 3. 7x+147x + 14, 4. −5(2x−5)-5(2x - 5).

Practice these to solidify your understanding. If the minus before the parentheses in problem 3 catches you, return to Mistake 2. Want a live Bhanzu trainer to walk through more expanding and factoring linear expressions problems? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. MacTutor History of Mathematics, University of St Andrews, Euclid of Alexandria (1999). mathshistory.st-andrews.ac.uk
  2. David E. Joyce, Clark University, Euclid's Elements, Book II, Proposition 1 (1996). mathcs.clarku.edu
  3. Common Core State Standards Initiative, Grade 7 Expressions and Equations (2010). thecorestandards.org
  4. OpenStax, Marecek, Anthony-Smith and Honeycutt Mathis, Prealgebra 2e, 7.3 Distributive Property (2020). openstax.org
  5. OpenStax, Marecek, Anthony-Smith and Honeycutt Mathis, Elementary Algebra 2e, 7.1 Greatest Common Factor and Factor by Grouping (2020). openstax.org
  6. US Bureau of Labor Statistics, Consumer Price Index Summary, October 2026 (2026). bls.gov

Quick Quiz: Check Yourself

Three levels, new numbers every time: expand a negative factor, find the greatest common factor to pull out, then total a weekly savings plan in both forms.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Why is factoring linear expressions important?
Factoring shows the structure hiding in an expression. 1.004p1.004p says "the old price times 1.004" at a glance, while p+0.004pp + 0.004p hides that. It also sets up solving equations and, in high school, factoring expressions with x2x^2.
Can you use the distributive property with division?
Yes, when a sum is divided by a number: (12x+8)÷4=3x+2(12x + 8) \div 4 = 3x + 2, because dividing by 4 is the same as multiplying by 14\frac{1}{4}. It does not work when the sum is the divisor, since 12÷(4+2)=212 \div (4 + 2) = 2 but 12÷4+12÷2=912 \div 4 + 12 \div 2 = 9.
How do you factor 3x + 12?
Pull out the GCF, 3, to get 3x+12=3(x+4)3x + 12 = 3(x + 4), which is how to factor linear expressions with a whole-number common factor.
What does the distributive property 7th grade standard expect from my child?
Standard 7.EE.A.1 expects your child to expand and factor expressions whose coefficients can be negative numbers, fractions or decimals, and to combine like terms afterward. The section "What does expanding and factoring linear expressions mean?" lays out the vocabulary and the standard.
Is factoring using distributive property the same as finding the GCF?
No. Finding the GCF is the first step, and factoring is the whole rewrite, 18x−12=6(3x−2)18x - 12 = 6(3x - 2), with the GCF outside and the leftover terms inside. Factoring vs expanding is simply which side of the equal sign you start from.
My child can expand but gets stuck factoring, so how can I help at home?
Start at home by having your child expand a factored answer and compare, since that turns factoring into a check they already trust. If the slip is always a lost minus, work through the distributive property with negatives using the sign box, one cell at a time. If the trouble is reading the word problems rather than the math, or confidence has dipped for several weeks, talk with the teacher first. A tutor makes sense if your child is about two grade levels behind on multiplying negative numbers.
✍️ Written By
Bhanzu Team
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →