Model G20 2027 at FLAME University, registrations now open

Some Mathematical Tools used in Economics | ISC Class 11 Economics Notes

22 min read

On this page
This note covers the equation of a straight line, the meaning and calculation of slope, how slope and intercept values are read in economics, finding a line's equation from two points, and how straight lines are used to represent linear demand and supply relationships.

What is the equation of a straight line?

A straight line equation is an algebraic rule that connects two variables, usually written on a coordinate plane with an independent variable on the horizontal axis and a dependent variable on the vertical axis.

The standard form used in economics is y = mx + c, where y is the dependent variable, x is the independent variable, m is the slope and c is the value of y when x is zero (the y-intercept).

Why economists treat relationships as linear

In economics this tool is used whenever a relationship between two variables, such as price and quantity, or output and total cost, is treated as linear over the range being studied. Treating the relationship as a straight line is a simplifying step: it lets the economist describe a complicated real-world link with just two numbers, the slope and the intercept, instead of a full table of every possible value.

A linear equation produces a graph that is a single straight line rather than a curve, so every unit change in x produces the same change in y throughout the line. This constant rate of change is what makes straight lines convenient for simple economic models of demand, supply and cost.

Fixing a line from two points

Any point that satisfies the equation lies on the line, and any two distinct points are enough to fix a particular straight line completely. Economists use this property to construct simple demand and supply lines from just two observed price-quantity pairs, without needing to collect a long series of observations first.

This is especially useful for a market such as a local vegetable mandi, where only a handful of price and quantity figures may be recorded on a given day, yet those few points are enough to sketch an approximate demand or supply line for that produce.

How do we calculate the slope of a straight line?

The slope of a straight line measures how steeply it rises or falls; it is the ratio of the vertical change to the horizontal change between any two points on the line. This is often described as rise over run.

Definition: Slope. The slope of a straight line joining two points (x₁, y₁) and (x₂, y₂) is the change in the dependent variable divided by the change in the independent variable between those two points.

Slope (m) = (y₂ − y₁)/(x₂ − x₁)

Because the line is straight, this ratio is the same no matter which pair of points on the line is chosen; choosing a different pair of points on the same line and repeating the calculation always gives back the same value of m.

Slope, intercept and the two axes

In the equation y = mx + c, the coefficient m is exactly this slope, and c is the y-intercept, the point where the line crosses the vertical axis (where x = 0).

The point where the line crosses the horizontal axis (where y = 0) is called the x-intercept. Together, the slope and the two intercepts describe the whole line without needing to plot every point on it.

Worked calculation of slope

Worked example 1. At a price of ₹10, the quantity demanded of a good is 50 units. At a price of ₹12, the quantity demanded falls to 40 units. Find the slope of the demand line, treating price as the independent variable (x) and quantity as the dependent variable (y).

Answer: Slope = (y₂ − y₁)/(x₂ − x₁) = (40 − 50)/(12 − 10) = (−10)/2 = −5. The slope is −5, meaning that for every ₹1 rise in price, quantity demanded falls by 5 units.

This single number, −5, summarises the entire relationship between price and quantity over the range covered by the two observed points, and it is this number that is substituted as m into the general equation y = mx + c to build the full demand line.

What do different slope values mean in economics?

The sign and size of the slope tell us the direction and the strength of the relationship between the two variables.

Type of slopeValueWhat it shows on the graphTypical economic example
Positive slopem > 0Line rises from left to rightSupply line: price and quantity supplied move together
Negative slopem < 0Line falls from left to rightDemand line: price and quantity demanded move in opposite directions
Zero slopem = 0Horizontal lineWith price as x and quantity as y: a quantity that stays fixed whatever the price (perfectly inelastic supply)
Undefined slopem undefinedVertical lineWith price as x and quantity as y: a single fixed price at which any quantity is offered (perfectly elastic supply)

A positive slope shows that the two variables move in the same direction: as x rises, y also rises. A negative slope shows that the variables move in opposite directions: as x rises, y falls.

The steepness of the line, shown by the size (not just the sign) of the slope, indicates how sensitive one variable is to changes in the other; a larger numerical slope value means a steeper line and a stronger rate of change between the two variables.

What the figure shows

Positive and negative slopes

On a coordinate plane with x on the horizontal axis and y on the vertical axis, draw a line rising steadily from lower-left to upper-right (positive slope) and a second line falling steadily from upper-left to lower-right (negative slope).

Mark two points on each line and show the rise (change in y) and run (change in x) used to compute the slope.

How is the equation of a straight line found from two points?

Once the slope is known, the full equation of the line can be built using any one point that lies on the line. The working proceeds in a fixed sequence of steps.

  1. Take the two known points, (x₁, y₁) and (x₂, y₂).
  2. Calculate the slope: m = (y₂ − y₁)/(x₂ − x₁).
  3. Substitute the slope and one known point into the point form of the line: y − y₁ = m(x − x₁).
  4. Rearrange the equation into the standard form y = mx + c, so the intercept c can be read off directly.
  5. Check the answer by substituting the second point into the final equation; both sides should be equal.

Worked example 2. When output is 10 units, total cost is ₹200. When output is 20 units, total cost is ₹350. Find the equation of the total cost line, with output (Q) as the independent variable and total cost (TC) as the dependent variable.

Answer: Slope = (350 − 200)/(20 − 10) = 150/10 = 15. Using the point (10, 200): TC − 200 = 15(Q − 10), so TC = 15Q − 150 + 200 = 15Q + 50.

Check with the second point: at Q = 20, TC = 15(20) + 50 = 300 + 50 = 350, which matches.

The slope of 15 is the extra cost of producing one more unit, and the intercept of ₹50 is the cost that does not change with output.

How are straight lines used to represent demand and supply in economics?

A demand curve drawn as a straight line is usually written in the form Q = a − bP, where Q is quantity demanded, P is price, a is the quantity that would be demanded if price were zero, and b is the (positive) amount by which quantity demanded falls for every unit rise in price.

Because quantity demanded falls as price rises, the slope of this relationship between Q and P is negative, giving the demand line its familiar downward slope when price is measured on the vertical axis and quantity on the horizontal axis.

A supply curve drawn as a straight line is usually written as Q = c + dP, where c and d are positive constants; here quantity supplied rises as price rises, so the slope of the relationship is positive, giving the supply line its upward slope.

Qd = a − bP

Qs = c + dP

A mandi example: tomato supply and price

This kind of inverse movement between quantity and price is seen in everyday Indian markets. As the supply of tomatoes increases in a local mandi, once the local harvest starts reaching the market, the price of tomatoes drops from Rs 40 per kg to Rs 4 per kg or even less.

Plotted as price against quantity, such a relationship traces a line sloping in the same direction as a demand line, since a larger quantity reaching the market is associated with a lower price. If instead the same movement is plotted as quantity supplied against price, with price as the independent variable, the line slopes upward, because a higher price at the mandi draws in a larger quantity brought to market by sellers.

A student reading such a mandi relationship should therefore be careful about which variable is placed on which axis: the quantity-price link described here is the demand side of the mandi (how much buyers take off the market at each price as supply floods in and price falls), while the supply line Qs = c + dP describes the separate relationship of how much sellers bring to market at each price.

Worked supply line from mandi-style data

Worked example 3. At a price of ₹5, the quantity supplied of a good is 20 units. At a price of ₹8, the quantity supplied rises to 50 units. Find the equation of the supply line.

Answer: Slope = (50 − 20)/(8 − 5) = 30/3 = 10. Using the point (5, 20): Q − 20 = 10(P − 5), so Q = 10P − 50 + 20 = 10P − 30.

Check at P = 8: Q = 10(8) − 30 = 80 − 30 = 50, which matches. The slope of 10 shows that supply rises by 10 units for every ₹1 rise in price, the same pattern by which a mandi sees more produce arrive as the price sellers can get rises.

Draw and label

A linear demand line and a linear supply line

Draw price on the vertical axis and quantity on the horizontal axis.

Plot the demand line Q = −5P + 100 from Worked example 1 as a downward-sloping straight line, and the supply line Q = 10P − 30 from Worked example 3 as an upward-sloping straight line.

Mark the point where the two lines cross as the equilibrium point.

Why do intercepts matter when interpreting economic graphs?

The y-intercept of a line (the value of y when x = 0) and the x-intercept (the value of x when y = 0) give economic meaning to the ends of a straight-line relationship.

For a demand line written as Q = a − bP, setting P = 0 gives Q = a, the greatest quantity that would be demanded if the good were free; setting Q = 0 gives P = a/b, the highest price at which nobody would want to buy the good at all.

x-intercept = −c/m

Using the general form y = mx + c, the x-intercept of any straight line (the value of x where the line crosses the horizontal axis) can be found directly from this formula, since setting y = 0 and rearranging gives x = −c/m.

Intercepts in a cost line

For a cost line written as TC = mQ + c, the intercept c is the cost incurred even when output Q is zero, often called the fixed part of cost, while the slope m shows the extra cost of each additional unit produced.

Reading intercepts correctly therefore turns a bare equation into a statement with economic content: how much is demanded at a zero price, how high price must rise before demand disappears, or how much cost exists before any output is made.

Worked example 4. A firm's cost line is TC = 15Q + 50 (from Worked example 2). Find the fixed cost and the cost of producing 12 units.

Answer: The intercept term, ₹50, is the fixed cost, since it is the value of TC when Q = 0. At Q = 12: TC = 15(12) + 50 = 180 + 50 = ₹230.

The firm should budget ₹230 to produce 12 units, of which ₹50 does not change with the level of output.

Advantages and limitations of using straight-line equations in economics

Straight-line equations give economics a simple and exact way to describe how two variables move together. Their main value lies in making otherwise complicated relationships easy to state, plot and solve.

Advantages: a linear equation needs only two points to be fully determined; the slope gives a single, constant number for the rate of change throughout the line, which makes comparisons between different demand or supply lines straightforward; the intercepts can be read off directly to give meaningful starting or limiting values; and straight lines are easy to plot and to solve simultaneously, as when finding the point where a demand line and a supply line cross.

Limitations: many real economic relationships are not actually linear over their full range, so a straight line is only an approximation that holds reasonably well over a limited stretch of values; a constant slope assumes that the rate of change never varies, which is rarely exactly true once price or quantity moves far from the observed range; and using only two points to fix the line ignores any other information about the shape of the true relationship between the variables.

Going beyond the syllabus

Not every economic relationship is a straight line. Many real demand and cost relationships are curves, where the rate of change itself varies along the curve rather than staying constant, so the simple slope formula used for a straight line no longer gives a single number for the whole relationship.

For such curves, the idea of slope is extended by using the tangent line at a single point: the slope of the tangent at that point gives the rate of change of the curve exactly at that point, even though the overall relationship is not linear. A different tangent, with a different slope, applies at every other point on the curve.

This idea, drawn from basic calculus, underlies concepts such as marginal cost and marginal utility at a point on a curve, where the straight-line slope formula is applied not to the whole relationship but to a very small, almost straight, section of it.

Economists still prefer straight lines for introductory analysis because they are easier to plot, easier to solve simultaneously (as with demand and supply lines meeting at equilibrium), and easier to interpret through a single slope value and a single pair of intercepts, even though this convenience comes at the cost of only approximating the true, often curved, relationship between the variables.

How does a linear equation describe a real Indian market relationship?

The mandi tomato example can be set out as a small table of price-quantity pairs to show how a straight-line equation is read from real market behaviour, even when the underlying figures are only broadly reported rather than exact.

Market situationPrice of tomatoesQuantity reaching the mandiDirection of movement
Before the local harvestRs 40 per kgLowHigh price, low quantity
Harvest reaches the marketRs 4 per kg or lessHighLow price, high quantity

Read as a demand-type relationship between the price buyers face and the quantity that moves through the market, this is an example of a negative slope: as the quantity available rises, the price per kilogram falls sharply, from Rs 40 to Rs 4 or less.

A straight line fitted loosely through such price-quantity observations would slope downward, in the same way as the demand line Qd = a − bP described earlier, with a steep (highly negative) slope indicating that even a modest increase in the quantity reaching the mandi is associated with a large fall in price.

This is exactly the kind of situation where the straight-line tool is useful to an economics student: it turns a verbal description, more tomatoes arriving means a much lower price, into a precise algebraic statement that can be plotted, checked against further data and used to estimate the price at a quantity that was not directly observed.

At the same time, the hedge noted earlier about straight-line models applies strongly here: the fall from Rs 40 to Rs 4 per kg is described as what happens once the harvest reaches the market, not as a fixed rule that holds at every possible quantity, so the straight line is only a reasonable approximation over the range of harvest conditions actually observed.

Glossary

  • Straight line equation — an algebraic rule, usually written y = mx + c, that gives a graph which is a single straight line.
  • Slope — the ratio of the change in the dependent variable to the change in the independent variable between two points on a line.
  • Rise over run — a common way of describing slope as the vertical change divided by the horizontal change.
  • Y-intercept — the value of the dependent variable where the line crosses the vertical axis, that is, where x = 0.
  • X-intercept — the value of the independent variable where the line crosses the horizontal axis, that is, where y = 0.
  • Positive slope — a slope greater than zero, where the dependent and independent variables move in the same direction.
  • Negative slope — a slope less than zero, where the dependent and independent variables move in opposite directions.
  • Zero slope — a horizontal line, where the dependent variable does not change as the independent variable changes.
  • Undefined slope — a vertical line, where the independent variable does not change at all.
  • Linear demand function — a straight-line equation of the form Q = a − bP relating quantity demanded to price.
  • Linear supply function — a straight-line equation of the form Q = c + dP relating quantity supplied to price.
  • Fixed cost intercept — the value of total cost when output is zero, read from the intercept of a linear cost equation.
  • Coordinate plane — a plane defined by a horizontal and a vertical axis, used to plot points and lines.
  • Tangent line — a straight line that touches a curve at a single point and has the same slope as the curve at that point.
  • Dependent variable — the variable, usually placed on the vertical axis, whose value is determined by the independent variable.

Common errors and misconceptions

  • Misconception: the slope formula can be calculated using the x and y values of two points taken in any mismatched order. Correct: the same point must supply both the numerator's and the denominator's second value; swapping only one coordinate changes the sign of the slope.
  • Misconception: a demand line always has a negative y-intercept. Correct: the y-intercept of a demand line Q = a − bP, where price is the x variable, is simply a, the quantity demanded at zero price, which is usually positive.
  • Misconception: the slope and the y-intercept measure the same thing. Correct: the slope measures the rate of change between the variables, while the intercept measures the starting value of the dependent variable when the independent variable is zero.
  • Misconception: a steeper line always has a larger slope value regardless of sign. Correct: steepness depends on the size (absolute value) of the slope, so a line with slope −10 is steeper than a line with slope 3, even though −10 is numerically smaller.
  • Misconception: a horizontal line and a vertical line both have a slope of zero. Correct: a horizontal line has a slope of zero, but a vertical line has an undefined slope because the horizontal change between its points is zero.
  • Misconception: once a straight-line equation is fitted, it can be used to predict values far beyond the two original points with full confidence. Correct: the line is only a reasonable approximation within or near the range of the data used to find it.
  • Misconception: every economic relationship between price and quantity must be linear. Correct: many real demand, supply and cost relationships are curves, and the straight line is used only as a simplifying approximation.

Exam-style questions with model answers

Q1. State the standard equation of a straight line and name each term in it. [1 mark]
  1. The standard equation of a straight line is y = mx + c, where y is the dependent variable, x is the independent variable, m is the slope, and c is the y-intercept.
Q2. A line passes through the points (2, 6) and (5, 18). Calculate its slope. [2 marks]
  1. Slope = (18 − 6)/(5 − 2) = 12/3 = 4.
  2. The slope of the line is 4, which means y rises by 4 units for every 1-unit rise in x.
Q3. At a price of ₹6, the quantity supplied of a good is 30 units. At a price of ₹10, the quantity supplied is 50 units. Find the equation of the supply line, with price as the independent variable. [4 marks]
  1. Slope = (50 − 30)/(10 − 6) = 20/4 = 5.
  2. Using the point (6, 30): Q − 30 = 5(P − 6).
  3. Rearranging: Q = 5P − 30 + 30 = 5P.
  4. Checking with the second point: at P = 10, Q = 5(10) = 50, which matches the given data, confirming the equation Q = 5P.
Q4. Distinguish between the slope of a demand line and the slope of a supply line. [4 marks]
  1. The slope of a demand line is negative, since quantity demanded falls as price rises, so the line slopes downward from left to right.
  2. The slope of a supply line is positive, since quantity supplied rises as price rises, so the line slopes upward from left to right.
  3. The size of the demand slope shows how sharply quantity demanded reacts to a price change, and the size of the supply slope shows how sharply quantity supplied reacts to a price change.
  4. Where the two lines are plotted on the same axes, their point of intersection gives the equilibrium price and quantity.
Q5. When output is 5 units, total cost is ₹120. When output is 15 units, total cost is ₹270. Find the equation of the total cost line and explain the economic meaning of the slope and the intercept. [6 marks]
  1. Slope = (270 − 120)/(15 − 5) = 150/10 = 15.
  2. Using the point (5, 120): TC − 120 = 15(Q − 5).
  3. Rearranging: TC = 15Q − 75 + 120 = 15Q + 45.
  4. Checking with the second point: at Q = 15, TC = 15(15) + 45 = 225 + 45 = 270, which matches the given data.
  5. The slope, 15, is the extra cost incurred for each additional unit produced.
  6. The intercept, ₹45, is the cost that is present even when output is zero, that is, the fixed part of total cost that does not change with the level of production.
Q6. What does a zero slope and an undefined slope each represent on a graph? [2 marks]
  1. A zero slope describes a horizontal line, where the dependent variable stays the same however much the independent variable changes.
  2. An undefined slope describes a vertical line, where the independent variable stays fixed at a single value while the dependent variable can take any value.

Key takeaways

  • The standard equation of a straight line is y = mx + c, where m is the slope and c is the y-intercept.
  • Slope is the ratio of the change in the dependent variable to the change in the independent variable, often described as rise over run.
  • A positive slope shows the two variables moving together; a negative slope shows them moving in opposite directions.
  • A horizontal line has a slope of zero, and a vertical line has an undefined slope.
  • Any two distinct points fix a unique straight line, so an equation can always be built from two known points.
  • A linear demand function Q = a − bP has a negative slope, since quantity demanded falls as price rises.
  • A linear supply function Q = c + dP has a positive slope, since quantity supplied rises as price rises.
  • The intercept of a linear cost equation gives the fixed part of cost, present even when output is zero.
  • Straight-line models are simple approximations and may not hold accurately far outside the range of data used to build them.

Test yourself

What is the slope of the line joining (1, 4) and (3, 10)?

Slope = (10 − 4)/(3 − 1) = 6/2 = 3.

If a demand line is Q = 80 − 4P, what is the quantity demanded when the price is zero?

Setting P = 0 gives Q = 80 units; this is the y-intercept of the demand line.

Why does a supply line usually have a positive slope?

Because quantity supplied rises as price rises, so the dependent and independent variables move in the same direction, giving an upward-sloping line.

What is the economic meaning of the intercept in a total cost equation TC = mQ + c?

The intercept c is the fixed cost, the amount of total cost that remains even when output Q is zero.

What kind of line has an undefined slope?

A vertical line has an undefined slope, since the horizontal change between any two of its points is zero.

Give one limitation of using a straight line to represent an economic relationship.

A straight line assumes a constant rate of change throughout, but many real relationships are curved and the straight line is only an approximation near the observed data.

How many points are needed to fix a unique straight line?

Two distinct points are enough to determine a unique straight line completely.

Write about it

Turn a question from this chapter into a paper.

The Writing Studio has a structure guide, a rubric and citation tools for 15 formats, from essays to research papers. A free account keeps up to five drafts. Learnacy Essential adds feedback from an AI writing coach and submission to The OYI Review.

Learnacy Essential is ₹1,499 for the year. Publication depends on review and is not guaranteed.

What's on

Coming up at One Young India

Our next programmes, with dates.

Next dates

See all programmes