Lesson 1 of 10
Variables and expressions
A variable is a named box for a number; an expression is a recipe using those boxes.
Core lesson · about 6 minutes · 3 guided parts
A school canteen writes C = 20n + 100: ₹100 starts the lunch order and each of n meals adds ₹20. The letter is not mysterious—it lets one rule work for any group size.
Your learning route
Build the idea one piece at a time
- Translate words into algebra
- Simplify without changing meaning
- Turn a changing situation into one reusable rule
Translate words into algebra
Name what changes, then turn each verbal action into an operation.
A coefficient multiplies a variable, a constant does not change, and a term is a piece separated by addition or subtraction.
‘Five more than twice x’ is 2x + 5; order matters because ‘twice five more than x’ can mean 2(x + 5).
Substitution replaces a variable with a value. Parentheses protect a negative or multi-part replacement.
A variable is a named empty box for a quantity that may change. In 7h+20, h might be hours, 7 a rate of rupees per hour, and 20 a fixed number of rupees.
Word order controls operation order. ‘Three less than x’ is x−3, but ‘three minus x’ is 3−x; trying a sample value such as x=10 exposes the difference.
Substitution needs parentheses when the replacement is negative or contains several terms. If f(x)=x² and x=−4, write (−4)²=16 rather than −4²=−16.
linear expression: ax + bWorked example
For C = 20n + 100, find C when n = 12.
- Replace n by 12.
- C = 20(12) + 100.
- Multiply: 240 + 100.
- Add to obtain 340.
Answer: ₹340
Simplify without changing meaning
Equivalent expressions are different-looking recipes with the same output for every allowed input.
Like terms have identical variable parts, so 3x + 5x = 8x.
The distributive law says a(b + c) = ab + ac and works backward for factoring.
An identity is true for every allowed input; an equation may be true only for particular inputs.
Like terms must have the same variables raised to the same powers. The terms 3x and 5x combine, but 3x and 5x² describe different kinds of contribution.
The distributive law can be pictured as area: a rectangle of height a and total width b+c has area a(b+c), the same as the two pieces ab+ac.
Factoring reverses distribution and reveals shared structure. In 6x+9, both terms contain 3, so 6x+9=3(2x+3), and expanding checks the result.
a(b + c) = ab + acWorked example
Simplify 3(2x − 5) + 4x + 7.
- Distribute 3: 6x − 15.
- Bring down +4x + 7.
- Combine variable terms: 6x + 4x = 10x.
- Combine constants: −15 + 7 = −8.
Answer: 10x − 8
Practical deep dive for this lesson
Turn a changing situation into one reusable rule
Algebra replaces a long list of separate calculations with a rule whose variables name the quantities that can change.
Begin with a sentence, not a symbol. State what the output measures, what can change, and what remains fixed; then assign clear variable names with units.
A constant is paid or counted even when the variable is zero. A coefficient tells how much the output changes when its variable increases by one unit.
Each term should represent one contribution to the total. In C=50+8d, the 50 is a fixed charge and 8d is the distance charge for d kilometres.
Parentheses show that an operation applies to a whole group. If each of n students needs a notebook and two pens, n(b+2p) multiplies every item inside by n.
Simplifying combines contributions of the same kind. It changes the form of a rule, not its output; testing two input values is a useful check after simplification.
Units reveal meaning: if d is kilometres and 8 is rupees per kilometre, then 8d has units of rupees and can be added to a rupee-valued fixed charge.
This is how spreadsheets, invoices, physics formulas, and prediction models work. Store the changing input once, evaluate the same expression, and update the result automatically.
A model is only as good as its assumptions. A linear price rule may stop being correct after a distance cap, bulk discount, or maximum capacity is reached.
total = fixed part + (rate per unit)(number of units)Worked example
A school trip costs ₹4,800 for the bus plus ₹175 per student for entry and lunch. Write a rule and find the total for 32 students and the average cost per student.
- Let n be the number of students and C be total cost in rupees.
- The bus cost does not depend on n, so it is the constant term 4800.
- Each student adds ₹175, so the changing contribution is 175n.
- The reusable expression is C=4800+175n.
- Substitute n=32: C=4800+175(32).
- Calculate 175×32=5600, then C=4800+5600=10,400.
- Average cost divides the shared total by the number of students: 10,400/32=325.
- The average exceeds ₹175 because each student also carries a share of the fixed bus cost.
Answer: C=4800+175n; total ₹10,400; average ₹325 per student.
Check your picture
Simplify 5y − 2(y + 3).
Reveal answer
3y − 6
This lesson versus the whole chapter
Your topic-specific practical example is above.
The final lesson collects five longer chapter-wide workflows for machine learning, LLMs, trading, physics, and everyday decisions.
Formula shelf
Symbols with meaning
a(b+c)=ab+acExpands or factors a grouped expression.
ax+b=c ⇒ x=(c−b)/aIsolates an unknown when a is nonzero.
m=(y₂−y₁)/(x₂−x₁)Output change per input change.
sinθ=opp/hyp, cosθ=adj/hyp, tanθ=opp/adjConnects angles with side ratios and slope.
y−y₁=m(x−x₁)Builds a line from one point and its slope.
x=(−b±√(b²−4ac))/(2a)Finds every root of a quadratic.
i²=−1Extends numbers so negative square roots can be represented.
(f∘g)(x)=f(g(x))Feeds one function into another.
y=y₀bᵗModels repeated proportional change.
aₙ=a₁rⁿ⁻¹Gives the nth term after repeated multiplication by r.
θ=s/rMeasures an angle by arc length divided by radius.
sin²θ+cos²θ=1States that every unit-circle point has length one.
eⁱᵗ=cos t+i sin tConnects rotation, trigonometry, and complex exponentials.
|a+bi|=√(a²+b²)Measures complex-plane distance from zero.
aₙ=a₁+(n−1)dDescribes repeated addition of a fixed difference.
Sₙ=a₁(1−rⁿ)/(1−r)Adds the first n terms of a geometric pattern.
Before moving on
You are ready when you can…
- Translate precise verbal rules into algebraic expressions.
- Solve linear equations, systems, and inequalities and verify the result.
- Move between degrees, radians, unit-circle coordinates, trigonometric graphs, identities, and inverse angles.
- Calculate with complex numbers in rectangular and polar form and connect Euler's formula to Fourier waves.
- Factor polynomials and solve quadratics over the real and complex numbers.
- Compose and invert functions, and analyse arithmetic, geometric, recurrent, and convergent sequence models.