Skip to content
tryhardprep
All lessons

Linear equations in one variable

13 minute read · 10 sections

Read first: Math: how the section works, Desmos basics for the test

0 of 10 sectionsSections

What the questions look like

The equation has one unknown letter, the A letter that stands for a number you don’t know yet, like the x in 5x + 7.. It's never squared, it's never in the bottom of a fraction, and there's no second unknown.

Read the last line first. It might say:

  • “What value of xx is the solution to the given equation?”
  • “If 7x+3=387x+3=38, what is the value of 70x+3070x+30?”
  • “Which equation has the same solution as the given equation?”
  • “Which equation represents this situation?”
  • “How many solutions does the given equation have?” The choices are Zero, Exactly one, Exactly two and Infinitely many.

In the second one, xx isn't the answer. The question wants the whole expression 70x+3070x+30.

Some questions add a second letter and call it a A number that doesn’t change, like the 7 in 5x + 7, or a letter such as p that stands for one fixed value.. A constant is a number that stays fixed. It can be a plain number, like the 7 in 5x+75x+7, or a letter like pp that stands for one number you haven't been told. The last line might read “In the given equation, pp is a constant. The equation has no solution. What is the value of pp?” Then the answer is pp, and you never need to find xx.

Solving for the letter

Here's one with every move written out: 3(5x−2)=4x+163(5x-2)=4x+16.

  1. Start.

    3(5x−2)=4x+163(5x-2)=4x+16
  2. Multiply both terms in the parentheses by 3.

    15x−6=4x+1615x-6=4x+16
  3. Subtract 4x4x from both sides.

    11x−6=1611x-6=16
  4. Add 6 to both sides.

    11x=2211x=22
  5. Divide both sides by 11.

    x=2x=2
  6. Check: put 2 into the original. Both sides come out to 24.

    3(10−2)=24 and 4(2)+16=243(10-2)=24 \text{ and } 4(2)+16=24

In the third row, 15x15x and 4x4x are Parts of an expression with the same letter raised to the same power, like 5x and 2x, which you can add together.. Both are a number times xx, so they combine into 11x11x. Every row does the same thing to both sides, which keeps the two sides equal. Undo the adding and subtracting first, then the multiplying.

Most slips happen in the fourth and fifth rows.

To undo a subtraction, add the same number to both sides.

Right
11x−6=1611x-6=16 becomes 11x=2211x=22.
Wrong
11x−6=1611x-6=16 becomes 11x=1011x=10.

Adding 6 to both sides undoes the −6-6, and 16+6=2216+6=22.

Trap: A sign that didn't change

1011\frac{10}{11} is a choice. It comes from 11x=1011x=10, where the 6 crossed the equals sign and kept its minus sign.

What to do: Put your answer back into the original equation. With x=2x=2, both sides come out to 24. With 1011\frac{10}{11}, they don't match.

The number multiplying the letter is its The number multiplying a letter, like the 5 in 5x.. Divide both sides by it.

Right
11x=2211x=22 gives x=2x=2.
Wrong
11x=2211x=22 gives x=11x=11.

11x11x means 11 times xx, so you undo it by dividing by 11. Subtracting 11 would undo an addition that isn't there.

Desmos can check any of these. Type 3(5x-2)=4x+16 on its own line, and Desmos draws a vertical line at the solution. Click where it crosses the horizontal One of the two lines a graph is measured against, one running across and one running up. to read x=2x=2. Typing takes about ten seconds. If the algebra comes easily to you, use Desmos as a check. If signs and fractions are where you lose points, the ten seconds are worth it every time.

Clearing parentheses and fractions

Multiply every term inside the parentheses.

Right
3(5x−2)=15x−63(5x-2)=15x-6
Wrong
3(5x−2)=5x−63(5x-2)=5x-6

The 3 multiplies the 5x5x and the −2-2.

Trap: Only one term got multiplied

For 3(5x−2)=4x+163(5x-2)=4x+16, 22 is a choice. It comes from 5x−6=4x+165x-6=4x+16, which multiplied the −2-2 by 3 and left the 5x5x alone.

What to do: Draw an arrow from the 3 to each term inside the parentheses, and check that every term has one.

To clear fractions, multiply every term on both sides by a number all the bottoms go into.

  1. Start. 5 and 4 both go into 20.

    15(x+2)−14(x+2)=−3\frac15(x+2)-\frac14(x+2)=-3
  2. Multiply every term on both sides by 20.

    4(x+2)−5(x+2)=−604(x+2)-5(x+2)=-60
  3. 4 copies of x+2x+2 minus 5 copies leaves minus one copy.

    −(x+2)=−60-(x+2)=-60
  4. Multiply both sides by −1-1.

    x+2=60x+2=60
  5. Subtract 2 from both sides.

    x=58x=58

Keep x+2x+2 in one piece the whole way. Multiplying it out twice takes longer and gives you more places to slip.

When you clear fractions, multiply both sides.

Right
Times 20: 4(x+2)−5(x+2)=−604(x+2)-5(x+2)=-60
Wrong
Times 20: 4(x+2)−5(x+2)=−34(x+2)-5(x+2)=-3

The right side gets multiplied by 20 too. Leaving the −3-3 alone leads to x=1x=1.

Decimals work the same way with 10 or 100. With money, multiply by 100 to work in cents.

  1. Start.

    0.15x+2.40=9.150.15x+2.40=9.15
  2. Multiply every term by 100.

    15x+240=91515x+240=915
  3. Subtract 240 from both sides.

    15x=67515x=675
  4. Divide both sides by 15.

    x=45x=45

Typing the fraction equation

  1. Type 1/5 and press the right arrow. Without the arrow, everything you type next stays in the bottom of the fraction.
  2. Type (x+2)-1/4 and press the right arrow again.
  3. Type (x+2)=-3.
  4. The vertical line sits at x=58x=58, off the starting screen, so zoom out until you see it.

When the answer isn't the letter

Some questions don't want the letter at all. Each kind below has a quicker route than solving.

13w+9=477 13w+9=477

Which equation has the same solution as the given equation?

  • A. 13w=3613w=36
  • B. 13w=46813w=468
  • C. 13w=48613w=486
  • D. w=468w=468

Subtract 9 from both sides and you're done. B is correct. C adds 9 instead of subtracting it, and D drops the 13 from one side only.

Trap: The answer beside the wrong expression

13w=3613w=36 looks right if you solved all the way to w=36w=36 first. But it says ww is 3613\frac{36}{13}.

What to do: Keep each value with its own expression. Here 468 is the value of 13w13w, and 36 is the value of ww.

When the question asks for an expression, compare it with the side you're given. If 8z+6=468z+6=46, what is the value of 16z+1216z+12?

  1. Start. 16z16z is 2×8z2\times8z, and 12 is 2×62\times6.

    8z+6=468z+6=46
  2. Multiply both sides by 2.

    2(8z+6)=2(46)2(8z+6)=2(46)
  3. Multiply each term by 2.

    16z+12=9216z+12=92

Multiply both sides, and every term on each side.

Right
If 8z+6=468z+6=46, then 16z+12=9216z+12=92.
Wrong
If 8z+6=468z+6=46, then 16z+12=8616z+12=86.

86 is 16z+616z+6. It doubles the 8z8z and keeps the old 6.

The multiplier can be bigger. If 7x+3=387x+3=38, then 70x+3070x+30 is 10 times the left side, so it's 10(38)=38010(38)=380. You never have to find xx.

A group that shows up twice can be solved as one piece. If 9(x−2)=5(x−2)+289(x-2)=5(x-2)+28, what is the value of x−2x-2?

  1. Start. Treat x−2x-2 as one thing.

    9(x−2)=5(x−2)+289(x-2)=5(x-2)+28
  2. Subtract 5(x−2)5(x-2) from both sides. 9 copies minus 5 copies is 4 copies.

    4(x−2)=284(x-2)=28
  3. Divide both sides by 4.

    x−2=7x-2=7

Trap: One step too far

9 is a choice. It's the value of xx, one step past the value the question asked for.

What to do: Reread the last line before you pick. It asks for x−2x-2, so stop at 7. Add 2 only if it asks for xx.

Here's one to try.

Worked example

Pilar records that a coffee shop serves xx cups per day. Over 12 days, the shop serves 16 additional catering cups, for 652 cups total.

What is the value of 3x+43x+4?

  1. A

    5353

  2. B

    163163

  3. C

    171171

  4. D

    175175

Show the answer
  • A

    5353

    This stops after finding the daily value, x=53x=53. The question asks for 3x+43x+4, so one more calculation is required.

  • B

    163163

    Correct answer

    The situation gives 12x+16=65212x+16=652. Subtracting 16 and dividing by 12 gives x=53x=53, so 3x+4=3(53)+4=1633x+4=3(53)+4=163.

  • C

    171171

    This results from adding 16 when isolating 12x12x, giving 12x=66812x=668. The 16 catering cups are already included in 652, so they must be subtracted.

  • D

    175175

    This results from multiplying 12x12x by 14\frac{1}{4} while leaving the A number that doesn’t change, like the 7 in 5x + 7, or a letter such as p that stands for one fixed value.Read the lesson 16 unchanged, producing 3x+163x+16. Multiplication must be applied to every term.

Solution

Translate the situation into an Two expressions set equal to each other, like 5x + 7 = 22.Read the lesson. The shop serves 12x12x regular cups over 12 days and 16 additional catering cups, so

12x+16=65212x+16=652

Subtract 16 from both sides:

12x=63612x=636

Divide both sides by 12:

x=53x=53

Evaluate the requested Numbers and letters combined with no equals sign, like 5x + 7.Read the lesson:

3x+4=3(53)+4=159+4=1633x+4=3(53)+4=159+4=163.

Writing the equation from a story

Name the unknown in words first, with its unit: “mm is the number of months.” Then find the amount that comes once and the amount per unit.

A gym charges a $45 enrollment fee plus $22 a month. Kai has paid $243 in all.

The rate multiplies the count. The one-time amount gets added once.

Right
45+22m=24345+22m=243
Wrong
(45+22)m=243(45+22)m=243

The wrong equation charges the $45 fee every month. Kai pays it once, so it stands alone.

Subtract 45 from both sides to get 22m=19822m=198, then divide by 22. Kai has been a member for 9 months.

A cost comes off once too. A newsletter earns $5 per subscriber and pays $2,400 in fixed costs. For a profit of $8,000, the equation is 5s−2400=80005s-2400=8000, so s=2,080s=2{,}080 subscribers. If you leave out the cost, you get 5s=80005s=8000 and 1,600 subscribers. That equation counts every dollar coming in as profit.

When one amount is a multiple of another, name the smaller one first. A batch of fruit punch is 2,450 milliliters of syrup, juice and soda water. It has 6 times as much juice as syrup, and 350 milliliters of soda water.

IngredientMilliliters
Syrupmm
Juice6m6m
Soda water350350
  1. Add the three amounts.

    m+6m+350=2450m+6m+350=2450
  2. m+6m=7mm+6m=7m. The syrup counts too.

    7m+350=24507m+350=2450
  3. Subtract 350 from both sides.

    7m=21007m=2100
  4. Divide both sides by 7.

    m=300m=300

The punch has 300 milliliters of syrup.

Trap: The multiple turned around

m6+m+350=2450\frac{m}{6}+m+350=2450 makes the syrup 6 times the juice. And 6(m+350)=24506(m+350)=2450 multiplies the soda water by 6 too.

What to do: Read the sentence again with your expressions in it. Juice is 6m6m, which is 6 times the syrup.

When the rate starts later

A crew charges $950 for the first 3 hours of a job and $50 for each hour after that. A job of hh hours costs $1,200.

Take the included hours off the count before the rate multiplies it.

Right
950+50(h−3)=1200950+50(h-3)=1200
Wrong
950+50h=1200950+50h=1200

The $950 already pays for 3 hours. Only the hours after those, h−3h-3 of them, cost $50 each.

Test it at h=3h=3. The extra charge should be zero, and 50(3−3)=050(3-3)=0.

Trap: The block in the wrong place

950+50(h+3)=1200950+50(h+3)=1200 charges for 3 hours that never happened. 950+50h−3=1200950+50h-3=1200 takes off 3 dollars, when it should take off 3 hours.

What to do: Put in the size of the block, here h=3h=3. The left side should come out to just the first charge, $950.

Worked example

A total is formed from a fixed amount of 627 and a variable amount. The variable amount is 53 times the number by which xx exceeds 50, and the total equals 786.

Which equation represents this situation?

  1. A

    627+53(x)=786627 + 53(x) = 786

  2. B

    627+53(x+50)=786627 + 53(x + 50) = 786

  3. C

    627+(53x−50)=786627 + (53x - 50) = 786

  4. D

    627+53(x−50)=786627 + 53(x - 50) = 786

Show the answer
  • A

    627+53(x)=786627 + 53(x) = 786

    This applies the rate of 53 to the full value of xx. The rate should apply only to the amount by which xx exceeds 50, which is x−50x-50.

  • B

    627+53(x+50)=786627 + 53(x + 50) = 786

    This adds 50 to xx instead of subtracting it. The phrase “the number by which xx exceeds 50” translates to x−50x-50.

  • C

    627+(53x−50)=786627 + (53x - 50) = 786

    This places the subtraction of 50 outside the multiplication, so 53 multiplies only xx. The entire difference x−50x-50 must be multiplied by 53.

  • D

    627+53(x−50)=786627 + 53(x - 50) = 786

    Correct answer

    The amount by which xx exceeds 50 is x−50x-50, so the A letter that stands for a number you don’t know yet, like the x in 5x + 7.Read the lesson amount is 53(x−50)53(x-50). Adding this to the fixed amount of 627 and setting the total equal to 786 gives 627+53(x−50)=786627+53(x-50)=786.

Solution

Translate each part of the situation. The fixed amount is 627627. The number by which xx exceeds 50 is x−50x-50, so the A letter that stands for a number you don’t know yet, like the x in 5x + 7.Read the lesson amount is 53(x−50)53(x-50).

Add the fixed and variable amounts, then set their sum equal to the total: 627+53(x−50)=786627+53(x-50)=786.

What a number in the equation means

A theater has 14 seats in its front row and 18 in each row behind it, 302 seats in all. That's 14+18r=30214+18r=302, where rr is the number of rows behind the front row.

The number multiplying the letter is the rate, the amount per unit. The number on its own is the starting value, the amount that comes once.

Right
18 is the number of seats in each row behind the front row.
Wrong
18 is the number of seats in all the rows behind the front row together.

All those rows together hold 18r18r seats, which is 288 here. 18 is the number for one row.

You don't need to solve to answer this. Decide whether the number multiplies the letter or stands alone, and you know what it means.

How many solutions

Simplify both sides all the way. Then compare the xx terms, and after that the numbers on their own.

Simplified equationWhat matches?Solutions
3x+5=2x+53x+5=2x+5Different xx termsExactly one
2x+10=2x+32x+10=2x+3Same xx terms, different numbersNone
2x+10=2x+102x+10=2x+10Both matchInfinitely many

If you subtract 2x2x and the xx terms cancel, read what's left. 10=310=3 is never true, so no xx works. 10=1010=10 is always true, so every xx works.

A linear equation can't have exactly two solutions.

Multiply out any parentheses before you compare.

Right
2(x+5)=2x+102(x+5)=2x+10 has infinitely many solutions.
Wrong
2(x+5)=2x+102(x+5)=2x+10 has no solution.

Multiply out the left side and you get 2x+102x+10 on both sides. Every xx works.

Trap: None and all swapped

For 2x+10=2x+32x+10=2x+3, “Infinitely many solutions” is a choice. The xx terms match, but 10 and 3 don't, so there are no solutions.

What to do: Once the xx terms match, compare the numbers on their own too. If they're equal, every xx works. If they're different, none does.

Find the constant

Here the question gives you the number of solutions and asks for the constant.

4(3x−5)=(7c+2)x+9 4(3x-5)=(7c+2)x+9

In the given equation, cc is a constant. The equation has no solution. What is the value of cc?

  1. Multiply out the left side.

    12x−20=(7c+2)x+912x-20=(7c+2)x+9
  2. No solution needs matching xx terms, so set the numbers multiplying xx equal.

    12=7c+212=7c+2
  3. Subtract 2 from both sides.

    10=7c10=7c
  4. Divide both sides by 7.

    c=107c=\frac{10}{7}
  5. Check: the xx terms match and −20-20 isn't 9, so no xx works.

    12x−20=12x+912x-20=12x+9

Trap: Matching before you multiply out

A result of 17\frac17 comes from 3x−203x-20 on the left, which multiplied only the −5-5 by 4. That sets 3=7c+23=7c+2 instead of 12=7c+212=7c+2.

What to do: Multiply out every term first. Then label each part of the simplified equation: the number multiplying xx on each side, and the number on its own on each side. For no solution, set the xx parts equal.

For infinitely many solutions, the numbers on their own have to match too. Here −20-20 and 9 never match, so no value of cc gives infinitely many.

When the xx terms are all on one side, collect them first. In this one, pp is a constant and the equation has no solution.

6x−18px=45 6x-18px=45
  1. Pull out the xx: 6x−18px6x-18px is (6−18p)x(6-18p)x.

    (6−18p)x=45(6-18p)x=45
  2. The right side has no xx, so its xx part is 0. For no solution, the left xx part must be 0 too.

    6−18p=06-18p=0
  3. Add 18p18p to both sides, then divide by 18. 618=13\frac{6}{18}=\frac13.

    p=13p=\frac13
  4. Check: the equation becomes 0=450=45, which is never true.

    0=450=45

Answers like 107\frac{10}{7} and 13\frac13 are normal here, so don't change your work because the answer isn't a whole number. On a A question where you type your own answer instead of picking one of four.Read the lesson, type the fraction, such as 10/7. You get five characters for a positive answer and six for a negative one, counting the minus sign. A decimal cut off too short can be marked wrong.

The last version asks what the constant can't be.

2(rx+3)=10x+7 2(rx+3)=10x+7

In the given equation, rr is a positive integer. If the equation has exactly one solution, which of the following CANNOT be the value of rr?

  • A. 2
  • B. 5
  • C. 7
  • D. 10

Exactly one solution needs different xx terms. So the one value that fails is the one that makes them match.

  1. Multiply both terms in the parentheses by 2.

    2rx+6=10x+72rx+6=10x+7
  2. The xx terms match when the numbers multiplying xx are equal.

    2r=102r=10
  3. Divide both sides by 2. B is correct.

    r=5r=5

With r=5r=5, the equation is 10x+6=10x+710x+6=10x+7, which has no solution. Choice D comes from matching rr with 10 before multiplying out the 2.

Do these by hand. A Desmos slider for the constant can show you roughly where the answer is, but it won't give you an exact value like 107\frac{10}{7}.

Worked example

a(10+25ax)=4x−4a(10+25ax)=4x-4

In the given equation, aa is a constant. The equation has no solution. What is the value of aa?

Show the answer

Accepted answers: 2/5, .4, 0.4

Solution

Distribute aa to get 10a+25a2x=4x−410a+25a^2x=4x-4, then rearrange: (25a2−4)x=−4−10a(25a^2-4)x=-4-10a. For there to be no solution, the The number multiplying a letter, like the 5 in 5x.Read the lesson of xx must be zero and the right side must be nonzero.

Solve 25a2−4=025a^2-4=0: a2=4/25a^2=4/25, so a=2/5a=2/5 or a=−2/5a=-2/5. When a=2/5a=2/5, the original Two expressions set equal to each other, like 5x + 7 = 22.Read the lesson becomes 4+4x=4x−44+4x=4x-4. Subtracting 4x4x gives 4=−44=-4, so there is no solution. When a=−2/5a=-2/5, both sides are 4x−44x-4, so every value of xx is a solution.

The wrong answer −.4-.4 confuses identical sides, which give infinitely many solutions, with no solution. Getting the same value as −2/5-2/5 by solving 10a=−410a=-4 matches the A number that doesn’t change, like the 7 in 5x + 7, or a letter such as p that stands for one fixed value.Read the lesson terms instead of first matching the coefficients of xx. The wrong answer 4/254/25 comes from distributing aa only to the first term and writing 10a+25ax=4x−410a+25ax=4x-4; multiplying 25ax25ax by the outer aa gives 25a2x25a^2x.

Note that 2/52/5, .4.4, and 0.40.4 are examples of ways to enter a correct answer.

Practice

Before each one, check whether the last line wants xx, an expression, an equation, a count of solutions or a constant. When you finish, make sure your answer is that thing.

Try it

5 questions on this skill, with every choice explained.

Start the drill

Next steps