Solving linear equations in one variable — step by step algorithm

easy CBSE 3 min read

Question

Solve 3x+52x13=4\frac{3x + 5}{2} - \frac{x - 1}{3} = 4 step by step. What is the general algorithm for solving any linear equation in one variable?

(CBSE 7-8 Board pattern)


Solution — Step by Step

LCM of denominators 2 and 3 is 6. Multiply every term by 6:

63x+526x13=646 \cdot \frac{3x + 5}{2} - 6 \cdot \frac{x - 1}{3} = 6 \cdot 4 3(3x+5)2(x1)=243(3x + 5) - 2(x - 1) = 24
9x+152x+2=249x + 15 - 2x + 2 = 24

Be careful with the minus sign: 2(x1)=2x+2-2(x - 1) = -2x + 2, not 2x2-2x - 2.

7x+17=247x + 17 = 24 7x=2417=77x = 24 - 17 = 7 x=77=1x = \frac{7}{7} = \mathbf{1}

Verification: 3(1)+52113=820=4\frac{3(1) + 5}{2} - \frac{1 - 1}{3} = \frac{8}{2} - 0 = 4. Correct.

flowchart TD
    A["Given linear equation"] --> B["Step 1: Clear fractions - multiply by LCM"]
    B --> C["Step 2: Expand all brackets"]
    C --> D["Step 3: Move variables to LHS, constants to RHS"]
    D --> E["Step 4: Combine like terms"]
    E --> F["Step 5: Divide both sides by coefficient of x"]
    F --> G["Step 6: Verify by substituting back"]
    G --> H["Final Answer"]

Why This Works

A linear equation is a balance — what is on the left equals what is on the right. Every operation we do (multiply both sides, add to both sides, divide both sides) preserves this balance. The strategy is to isolate xx by “undoing” everything around it.

Clearing fractions first makes the arithmetic cleaner — working with whole numbers is faster and less error-prone than juggling fractions throughout. Expanding brackets and collecting like terms reduces the equation to the simple form ax=bax = b, which gives x=b/ax = b/a.


Alternative Method

For simpler equations, use transposition directly — when a term moves from one side to the other, its sign changes:

3x+5=173x + 5 = 17 becomes 3x=175=123x = 17 - 5 = 12, so x=4x = 4.

Transposition is just a shortcut for “subtract from both sides.”

Always verify your answer by plugging it back into the ORIGINAL equation (before any simplification). This takes 30 seconds and catches sign errors, which are the most common mistakes in linear equations.


Common Mistake

The biggest trap: sign errors when expanding brackets with a minus sign in front. For example, (2x3)-(2x - 3) becomes 2x+3-2x + 3, NOT 2x3-2x - 3. The minus distributes to BOTH terms inside the bracket. Draw a small arrow from the minus sign to each term inside if you need a visual reminder.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next