📘 CodingMarble Learn

Linear Inequalities in One Variable

An inequality compares two expressions with <, >, ≤ or ≥. A linear inequality in one variable looks like ax + b < c. Its answer is usually a whole range of numbers, not one number. We solve it like an equation: we may add or subtract the same number on both sides, and multiply or divide by the same positive number. If we multiply or divide by a negative number, the sign must flip. We show the answer on a number line: a hollow dot for < or > (end not included) and a filled dot for ≤ or ≥ (end included), with the shaded part showing all solutions. Double inequalities like −1 ≤ x < 3 give a piece of the line. If x must be a natural number or an integer, only the whole numbers in that range count.

🎬 Step-by-step story

  1. x < 3 is not one number. It is every number to the left of 3 on the line. The hollow dot at 3 shows that 3 itself is not included.
  2. Solve 2x + 3 < 11 like an equation. Take 3 from both sides: 2x < 8. Divide by 2: x < 4. Then shade everything left of 4.
  3. Now multiply 2 < 5 by −1. The points jump to the mirror side: −2 is now to the right of −5, so −2 > −5. That is why the sign flips for negatives.
  4. ≤ or ≥ includes the end number. So the dot at the end is filled in. Here x ≥ −2 starts at a filled dot at −2 and runs right.
  5. A double inequality −1 ≤ x < 3 is a piece of the line with two ends. If x must be an integer, only the beads −1, 0, 1 and 2 are answers.
  6. Free play: pick a, b, c and a sign, then solve. Move the test slider: green means your x is a solution, red means it is not.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is the answer a range and not one number?

Many numbers make x < 3 true: 2, 0, −10, 2.9… In the 3D, the green pin tests several numbers and every one left of 3 passes.

Can I use the same steps as for an equation?

Yes, adding, subtracting and dividing by positives work the same way. In step 2 we solve 2x + 3 < 11 exactly like 2x + 3 = 11, then shade.

Why does the sign flip for negative numbers?

Multiplying by −1 mirrors every point across 0. Watch 2 and 5 jump to −2 and −5: now the order is reversed.

When is the dot filled and when is it hollow?

Filled when the end number is allowed (≤, ≥), hollow when it is not (<, >). Step 4 shows a filled dot for x ≥ −2.

How do I show integer answers on the number line?

Only draw separate dots at the allowed whole numbers, like the orange beads in step 5, not a continuous bar.

How can I check my answer?

Pick a number inside your answer and one outside, and put them in the original inequality. In free play, the slider does this: green inside, red outside.

What is a linear inequality?

An inequality says one side is bigger or smaller than the other. The signs are < (less than), > (greater than), ≤ (less than or equal to) and ≥ (greater than or equal to).

Rules for solving inequalities

  1. Rule 1: You may add or subtract the same number on both sides. The sign does not change.
  2. Rule 2: You may multiply or divide both sides by the same positive number. The sign does not change.
  3. Rule 3: If you multiply or divide both sides by a negative number, you must reverse the sign.

Why Rule 3? 2 < 5. Multiply by −1: −2 and −5. On the number line, −2 is to the right of −5, so −2 > −5. Multiplying by a negative mirrors the line and reverses the order (step 3 of the 3D).

Never multiply both sides by a variable like x, because you do not know if x is positive or negative.

Solving in one variable: step by step

Solve 5 − 2x ≤ 11.

  1. Subtract 5: −2x ≤ 6.
  2. Divide by −2 (negative, so flip): x ≥ −3.
  3. Check with x = 0: 5 − 0 = 5 ≤ 11 ✓. Check with x = −4: 5 + 8 = 13 ≤ 11 ✗. So values below −3 fail, as expected.

The domain matters. If x is a natural number, x < 4 means x = 1, 2, 3. If x is an integer, it means …, −1, 0, 1, 2, 3. If x is real, it means every number less than 4.

Showing the solution on a number line

In interval notation: x < 4 is (−∞, 4); x ≥ −3 is [−3, ∞); −1 ≤ x < 3 is [−1, 3). A round bracket means ‘not included’ and a square bracket means ‘included’.

For integer or natural answers, draw only separate dots, not a shaded bar (step 5 of the 3D).

Double inequalities and systems

A double inequality like −5 ≤ 2x + 1 < 7 is solved by doing the same thing to all three parts: subtract 1 → −6 ≤ 2x < 6; divide by 2 → −3 ≤ x < 3.

For a system of two inequalities, solve each one, draw both on the same line, and take the overlap. Example: x > −2 and x ≤ 5 give −2 < x ≤ 5. If there is no overlap, the system has no solution.

Word problems and board exam focus

Key phrases: ‘at least’ means ≥, ‘at most’ or ‘not more than’ means ≤, ‘more than’ means >, ‘less than’ means <.

Common board questions: solve and graph (2–3 marks), find the natural/integer solutions (1–2 marks), a word problem about marks, cost or temperature (3–4 marks). Always state the solution set and draw the line.

Key formulas and definitions

Worked examples

1. Solve 4x < 20 when x is (i) a natural number (ii) a real number.

Divide by 4 (positive): x < 5. (i) Natural numbers: {1, 2, 3, 4}. (ii) Real numbers: every x less than 5, the interval (−∞, 5), shown with a hollow dot at 5 and shading to the left.

2. Solve 3x − 7 > 2 and show it on a number line.

Add 7: 3x > 9. Divide by 3: x > 3. Hollow dot at 3, shade to the right. Solution (3, ∞).

3. Solve 5 − 2x ≤ 11.

Subtract 5: −2x ≤ 6. Divide by −2 and flip the sign: x ≥ −3. Filled dot at −3, shade right. Solution [−3, ∞).

4. Solve (x − 2)/3 ≥ (x + 1)/4.

Multiply both sides by 12 (positive): 4(x − 2) ≥ 3(x + 1). So 4x − 8 ≥ 3x + 3. Subtract 3x and add 8: x ≥ 11. Solution [11, ∞).

5. Solve −4 < 3 − 2x ≤ 9.

Subtract 3 from all parts: −7 < −2x ≤ 6. Divide all parts by −2 and flip both signs: 7/2 > x ≥ −3. So −3 ≤ x < 3.5, the interval [−3, 3.5).

6. Solve the system 2x + 1 > 5 and 3x − 4 ≤ 11.

First: 2x > 4, x > 2. Second: 3x ≤ 15, x ≤ 5. Overlap: 2 < x ≤ 5, hollow dot at 2 and filled dot at 5 with the part between shaded.

7. Ria scored 62 and 70 in two tests. What must she score in the third test (out of 100) to have an average of at least 65?

Let x be the third score. (62 + 70 + x)/3 ≥ 65, so 132 + x ≥ 195, which gives x ≥ 63. Since marks cannot exceed 100, 63 ≤ x ≤ 100.

8. Find all pairs of consecutive odd natural numbers, both greater than 10, whose sum is less than 40.

Let them be x and x + 2 with x odd and x > 10. x + x + 2 < 40 gives x < 19. Odd x with 10 < x < 19: 11, 13, 15, 17. Pairs: (11, 13), (13, 15), (15, 17), (17, 19).

Common mistakes

Practice quiz

1. Solve −2x > 8.
2. Which dot is used at 5 for x ≤ 5?
3. The natural number solutions of 2x < 7 are:
4. −1 ≤ x < 4 in interval form is:
5. ‘Marks must be at least 33’ is written as:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

Is graphing inequalities in two variables in the CBSE 2026-27 Class 11 syllabus?

The current syllabus lists linear inequalities in one variable, solved algebraically and shown on the number line. This lesson covers exactly that, plus double inequalities and simple systems in one variable.

Can I multiply both sides of an inequality by x?

No, not unless you know the sign of x. If x were negative the sign would have to flip, so the result could be wrong.

What is the difference between < and ≤ on the number line?

< uses a hollow dot (the end is not included); ≤ uses a filled dot (the end is included). The shading direction is the same.

Where this is taught

PolandLiceum ogólnokształcące, klasa IEquations and inequalities
Ukraine9 класInequalities
CBSE (India)Class 11Algebra
England (GCSE, A level)Year 12B Algebra and functions
USA (Common Core, NGSS, AP)Grade 9Linear and exponential relationships
USA (Common Core, NGSS, AP)Grade 9Linear and exponential relationships
USA (Common Core, NGSS, AP)Grade 11Modeling with functions
Japan高校1年Numbers and expressions
Japan高校2年Figures and equations
South Korea중학교 2학년Inequalities and simultaneous equations
South Korea고등학교 1학년Equations and inequalities
South Korea고등학교 1학년Equations and inequalities
Russia8 классEquations and inequalities
Russia8 классEquations and inequalities

Learn first

Learn next

Related lessons

All Maths lessons