I’m trying to rearrange formulas like a little algebra goblin, but when something like y = 3x + 2 and y is 11 shows up, I get muddled about what to move first and why. How do I know the proper order for untangling x without accidentally doing maths spaghetti?
Welcome to Maths For Fun – where mathematical curiosity meets pure enjoyment for learners of all ages! Founded by a team of lifelong maths enthusiasts, we believe that numbers aren’t just for tests – they’re for exploration, discovery, and delight. Whether you’re eight or eighty, a beginner or a seasoned problem solver, you’ll find a growing collection of logic based games and puzzles that cover every corner of mathematics.
















4 Responses
I think of x as being wrapped up in layers, and you just peel those layers off in reverse order of how they were put on. In y = 3x + 2, x was first multiplied by 3, then 2 was added. So to “untangle” x, do the opposite steps in reverse: subtract 2, then divide by 3. If y = 11, write 11 = 3x + 2, subtract 2 to get 9 = 3x, then divide by 3 to get x = 3. You can also rearrange first: from y = 3x + 2, isolate x by subtracting 2 and dividing by 3 to get x = (y − 2)/3, and only then plug in y = 11. Both routes are fine; I sometimes pick the second when the numbers look messy. Maybe I’m overexplaining it, but the mantra is “undo the last thing that happened to x, and do it to both sides.”
More broadly: look at what’s “outside” x and strip that away first-constants added or subtracted, then multipliers/dividers, then powers/roots, then things inside parentheses. If x is in a denominator, multiply to clear the fraction early (keeping in mind denominators can’t be zero). If fractions clutter the place, clear all denominators first. There isn’t a single sacred order beyond “reverse the operations and keep the equation balanced,” and you can always check yourself by plugging your answer back in. If you want a quick refresher with more examples, this Khan Academy page on solving two-step equations is friendly and thorough: https://www.khanacademy.org/math/algebra/one-step-and-two-step-equations/alg1-two-steps-equations/v/two-step-equations-exercise-example-1
Think of solving for x like unwrapping a burrito: you take off the last layer that was wrapped on, then the next, keeping the filling (x!) safe in the middle. The rule is do the same thing to both sides, and undo operations in reverse order of how x was built. If y = 3x + 2, x got multiplied by 3, then 2 was added; so first undo the +2 (subtract 2 from both sides), then undo the ×3 (divide by 3). That gives y − 2 = 3x, then (y − 2)/3 = x. With y = 11, it’s 11 − 2 = 9, so x = 9/3 = 3. Same spirit for other shapes: if y = 3(x − 4) + 2, first subtract 2, then divide by 3, then add 4; if y = (x − 5)/4, first multiply by 4, then add 5; if y = (x + 1)², move constants as needed, then take the square root (remembering the ± if you’re solving for x from a number). When in doubt, ask “what was done to x most recently?” and peel that off first-no maths spaghetti, just neat reverse steps.
I like to think of solving for x as untying a knot: you undo the last thing that was done to x, one step at a time, while keeping both sides of the equation balanced. In your example, y = 3x + 2 and y = 11 means 11 = 3x + 2. The last operation on x was “+2,” so undo that first: subtract 2 from both sides to get 9 = 3x. Before that x was multiplied by 3, so undo that next: divide both sides by 3 to get x = 3. You can always check by plugging back in: 3·3 + 2 = 11-works! The general rule is: substitute any known values, then isolate x by reversing the order of operations (undo addition/subtraction, then multiplication/division, then powers/roots), doing the same thing to both sides each time. If “moving terms across” ever feels like magic, rewrite it as adding or subtracting on both sides so you don’t end up with maths spaghetti. A nice walkthrough is here: https://www.khanacademy.org/math/algebra/one-variable-linear-equations/alg1-two-step-equations/a/intro-to-two-step-equations. Hope this helps!
A good rule is: isolate x by undoing the operations in reverse order to how x was built. Look at the “outermost” operation on x and reverse it, doing the same to both sides to keep the equation balanced. In practice, that means you usually undo addition/subtraction first, then multiplication/division, then powers/roots. I like to think, “What happened last to x?”-that’s the first thing to undo.
For your example, y = 3x + 2 and y = 11: the last thing done to x was “+ 2,” then before that it was “× 3.” So reverse in that order: 11 = 3x + 2 → 11 − 2 = 3x → 9 = 3x → x = 9/3 = 3. Quick check: 3·3 + 2 = 11, so that’s consistent. You can also rearrange once-and-for-all as x = (y − 2)/3, then plug in y = 11. One more quick example to see the “outermost first” idea: if 19 = 4(2x − 5) + 3, undo +3: 16 = 4(2x − 5); undo ×4: 4 = 2x − 5; undo −5: 9 = 2x; finally divide: x = 9/2.