Linear Functions 2024
Linear Functions 2024
A linear function is any function whose graph is a straight line. The straight-line graphs may
appear as horizontal, vertical, ascending or descending depending on their orientation on the
Cartesian plane* (a standard two-dimensional plane whose points are represented by a
coordinate system). The diagram below shows the different types of linear functions.
From the diagram above, we have a horizontal green line, vertical purple line, ascending blue line
and descending red line.
The standard Cartesian plane has the horizontal 𝑥 − axis and a vertical 𝑦 − axis drawn
perpendicular to each other. These two axes intersect at a point known as the origin where both
𝑥 and 𝑦 are zero denoted by the point (0 ; 0). From the origin, 𝑥 values increase to the right
(positive) and decrease to the left (negative). In a similar manner, 𝑦 values increase upwards (+)
and decrease downwards (−). Each point on the Cartesian plane can be uniquely denoted by its
respective 𝑥 and 𝑦 values. Students should be able to accurately read out points on the plane.
The Cartesian plane is shown below with some of the points given. Find the coordinates of the
remaining points. (Graph 1)
As indicated earlier, linear functions (and their graphs) appear as straight lines when drawn on a
suitable set of axes. Horizontal and vertical functions only involve a single variable while
ascending and descending lines have two variables, the dependent and independent variables.
For illustrative purposes we will stick to the 𝑥 and 𝑦 variables, however, the bulk of the curriculum
will involve variables in 𝑝 and 𝑞 and other variables as shall be discovered soon. The table below
summarises the variables involved when dealing with the 4 different types of linear functions.
Note here that 𝑎, 𝑏, 𝑐 and 𝑚 are constants, that is, they take numerical values. Only 𝑥 and 𝑦
remain as variables in the different equations.
Ascending 2 (𝒙, 𝒚) 𝒚 = 𝟐𝒙 − 𝟔
𝒚 = 𝒎𝒙 + 𝒄 𝟑𝒚 − 𝟒𝒙 = 𝟖
(𝒎 𝒊𝒔 𝒑𝒐𝒔𝒊𝒕𝒊𝒗𝒆) 𝒚−𝒙+𝟑=𝟎
Descending 2 (𝒙, 𝒚) 𝒚 = −𝒙 + 𝟏
𝒚 = 𝒎𝒙 + 𝒄 𝟐𝒚 + 𝟑𝒙 = 𝟓
(𝒎 𝒊𝒔 𝒏𝒆𝒈𝒂𝒕𝒊𝒗𝒆) 𝒚+𝒙+𝟐=𝟎
The equations for horizontal and vertical equations are easy to find. For ascending and
descending lines, there are steps that need to be followed but let us first define the variables and
constants involved.
𝒚 = 𝒎𝒙 + 𝒄
𝑦 = 𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
𝑥 = 𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
𝑐 = 𝑦 𝑖𝑛𝑡𝑒𝑟𝑐𝑒𝑝𝑡 (𝑡ℎ𝑒 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑤ℎ𝑒𝑛 𝑡ℎ𝑒 𝑙𝑖𝑛𝑒 𝑐𝑟𝑜𝑠𝑠𝑒𝑠 𝑜𝑟 𝑐𝑢𝑡𝑠 𝑡ℎ𝑒 𝑣𝑒𝑟𝑡𝑖𝑐𝑎𝑙 𝑎𝑥𝑖𝑠)
To find the equation of the straight line, the following information should be made available first:
Finding the equation of a straight line (𝒚 = 𝒎𝒙 + 𝒄) given two points (𝒙𝟏 ; 𝒚𝟏 ) 𝐚𝐧𝐝 (𝒙𝟐 ; 𝒚𝟐 )
➢ Write down the standard equation of a straight line using the calculated 𝒎 value.
➢ Using any one of the given points, substitute into the above equation and find the 𝑦 −
𝑖𝑛𝑡𝑒𝑟𝑐𝑒𝑝𝑡, 𝒄
➢ Rewrite the equation of the line with both values of 𝒎 and 𝒄 included.
Find the slope of the straight line passing through the points (5; 10) and (6 ; 8)
𝒚𝟐 − 𝒚𝟏 𝟖 − 𝟏𝟎
𝑺𝒍𝒐𝒑𝒆, 𝒎 = = = −𝟐
𝒙𝟐 − 𝒙𝟏 6−5
➢ Write down the standard equation of a straight line using the calculated 𝒎 value.
𝑦 = −2𝑥 + 𝑐
(5; 10)
10 = −2(5) + 𝑐
10 = −10 + 𝑐
10 + 10 = 𝑐 = 20
𝒚 = −𝟐𝒙 + 𝟐𝟎
𝒚 + 𝟐𝒙 = 𝟐𝟎 𝒐𝒓 𝟐𝒙 + 𝒚 = 𝟐𝟎
𝟐𝒙 + 𝒚 − 𝟐𝟎 = 𝟎
Find the equation of the straight line passing through the points (4; 2) 𝑎𝑛𝑑 (2; 4).
𝒚𝟐 − 𝒚𝟏 𝟒 − 𝟐 𝟐
𝑺𝒍𝒐𝒑𝒆, 𝒎 = = = = −𝟏
𝒙𝟐 − 𝒙𝟏 2 − 4 −𝟐
𝒚 = 𝒎𝒙 + 𝒄
𝒚 = −𝟏𝒙 + 𝒄
Use (𝟒; 𝟐)
𝟐 = −𝟏(𝟒) + 𝒄
𝟐 = −𝟒 + 𝒄
𝟐+𝟒=𝒄=𝟔
𝒚 = −𝒙 + 𝟔 𝒐𝒓 𝒚 = 𝟔 − 𝒙 𝒐𝒓 𝒙 + 𝒚 = 𝟔 𝒐𝒓 𝒙 + 𝒚 − 𝟔 = 𝟎
A line cuts the 𝑥-axis at 4 and goes through the point (2 ; 4). The equation of the line is
A linear line cuts the 𝑦-axis at 10 and goes through the point (2 ; 4). The equation of the line is.
𝑡ℎ𝑒 𝑦 − 𝑖𝑛𝑡𝑒𝑟𝑐𝑒𝑝𝑡, 𝑐 = 10
𝑦 = 𝑚𝑥 + 𝑐
𝑦 = 𝑚𝑥 + 10
4 = 𝑚(2) + 10
4 = 2𝑚 + 10
4 − 10 = 2𝑚
−6 = 2𝑚
6 2𝑚
− =
2 2
−3 = 𝑚 𝑎𝑛𝑑 𝑐 = 10
𝑦 = 𝑚𝑥 + 𝑐
𝑦 = −3𝑥 + 10
Suppose the cost of manufacturing 10 units of a product is R40 and the cost of manufacturing 20
units is R70. If the cost C is linearly related to output Q (units produced), the cost of producing 35
items is
70 − 40
𝑆𝑙𝑜𝑝𝑒, 𝑚 = =3
20 − 10
𝑦 = 𝑚𝑥 + 𝑐
𝑦 = 3𝑥 + 𝑐
(10; 40)
40 = 3(10) + 𝑐
40 = 30 + 𝑐
40 − 30 = 𝑐 = 10
𝑐 = 10
𝑦 = 3𝑥 + 10
𝑦 = 3(35) + 10 = 𝑅115,00
[1] R8,33
[2] R113,33
[3] R115,00
[4] R48,33
Employees at a certain company prefer buying hamburgers at the cafeteria. There is usually a
demand for 100 hamburgers when the price is R25. It is known that for each R1 increase in price,
demand decreases by one hamburger. Determine the demand function with quantity (Q) as a
function of price (P)
[1] 𝑄 = 75 − 𝑃
[2] 𝑄 = 125 − 𝑃
[3] 𝑄 = −25 − 𝑃
Workers at a building site have the option to eat lunch provided by an outside company. When
the price per lunch is R40, there is a demand for 80 lunches. It is known that for each R5 increase
in price, demand decreases by three lunches. Determine the demand function with quantity
demanded (𝑄) as a function of price (𝑃).
[3] 𝑄 = 56 + 0,6𝑃
Two or more lines are parallel if they have the same slope. The slope of any linear function can
be easily identified when the equation of the function has been expressed in standard form:
𝒚 = 𝒎𝒙 + 𝒄.
Graphically, parallel lines do not meet or intersect if drawn on the same set of axes. Below are
the graphs of 𝑦 = 2𝑥 + 1 𝑎𝑛𝑑 𝑦 = 2𝑥 − 2. The slope for each graph is 2 hence the lines are
parallel, running along like the tracks of a railway line.
Example: From the list of linear functions below, identify which pairs of equations are parallel.
A: 𝒚 = 𝟑𝒙 − 𝟒 𝒎=𝟑
𝟐 𝟐
B: 𝒚 = −𝟑 𝒙 − 𝟔 𝒎 = −𝟑
C: 𝟔𝒙 + 𝒚 = 𝟒
𝒚 = −𝟔𝒙 + 𝟒 𝒎 = −𝟔
𝟑 𝟑
D: 𝒚 = −𝟐𝒙 − 𝟔 𝒎 = −𝟐
E: 𝟑𝒚 + 𝟐𝒙 − 𝟏 = 𝟎
𝟑𝒚 = −𝟐𝒙 + 𝟏
𝟑𝒚 𝟐 𝟏
= −𝟑𝒙 + 𝟑
𝒚
𝟐 𝟏 𝟐
𝒚 = −𝟑𝒙 + 𝟑 𝒎 = −𝟑
F: 𝒚 = −𝟔𝒙 + 𝟐 𝒎 = −𝟔
𝟑
G: 𝒚 = 𝟓 − 𝟐𝒙
𝟑 𝟑
𝒚 = −𝟐𝒙 + 𝟓 𝒎 = −𝟐
H: 𝒚 − 𝟑𝒙 − 𝟑 = 𝟎
𝒚 = 𝟑𝒙 + 𝟑 𝒎=𝟑
Determine the equation of the line that cuts the 𝑦 − axis at 3 and that is parallel to the line:
𝑦 = 4𝑥 + 1, 𝑚=4
[1] 𝑦 = 3𝑥 + 4, 𝑠𝑙𝑜𝑝𝑒 𝑖𝑠 3
[2] 𝑦 = 3, 𝑠𝑙𝑜𝑝𝑒 𝑖𝑠 0
[3] 𝒚 = 𝟒𝒙 + 𝟑, 𝒔𝒍𝒐𝒑𝒆 𝒊𝒔 𝟒
[4] 𝑦 = 8𝑥 + 2, 𝑠𝑙𝑜𝑝𝑒 𝑖𝑠 8
3𝑦 − 6𝑥 + 8 = −1
3𝑦 = 6𝑥 − 8 − 1
3𝑦 = 6𝑥 − 9
3𝑦 6𝑥 9
= −
3 3 3
𝑦 = 2𝑥 − 3; 𝑚=2=𝑡
[1] −4
[2] −3,5
[3] −0,5194
[4] 2
Demand
The demand of any given commodity is the price that consumers are willing to pay. The price (𝑃)
of any commodity will influence the number of items (𝑄) that can be purchased at that price.
For a linear demand function, there is a negative relationship between price and quantity. Less
and less people tend to purchase a commodity as the price gradually increases. It follows that
the slope of a demand function is negative, hence a demand function is a descending graph.
When it comes to demand functions, it is common practice to use the variables 𝑃 and 𝑄 but in
some cases, 𝑥 may also be used to represent either price or quantity. There are two basic types
of demand functions:
𝑃 = 𝑎 − 𝑏𝑄
where 𝑃 is the dependent variable (price dependent on quantity). 𝑎 and 𝑏 are constants, with 𝑏
as the negative slope and 𝑎 as the vertical intercept (the price when no items are demanded).
The values of 𝑎 and 𝑏 should be easily taken from this type of a demand function for future use.
Examples
𝑃 = 60 − 3𝑄
𝑃 = 𝑎 − 𝑏𝑄
𝑃 = 25 − 0.2𝑄
𝑃 = 𝑎 − 𝑏𝑄
𝑎 = 25 𝑏 = 0,2
1
𝑃 = −15 − 𝑄
3
1
𝑎 = −15 𝑏=
3
2
𝑃 = 18 − 𝑄
5
2
𝑎 = 18 𝑏=
5
𝑄 = 𝑐 − 𝑏𝑃
where 𝑄 is the dependent variable (quantity dependent on price). 𝑐 and 𝑏 are constants, with 𝑏
as the negative slope and 𝑐 as the vertical intercept (the quantity when the price has not yet
been fixed). The values of 𝑐 and 𝑏 should be easily taken from this type of a demand function.
For future use, only the value of 𝑏 is needed from such a demand function.
Supply
Supply is a function of the amount of a specified commodity that is available on the market. From
a producer’s perspective, when the demand for a commodity increases, the price tend to increase
as well. So, the relationship between price and quantity is positive for a supply function and its
corresponding graph is ascending. Just like demand, the supply functions can be:
𝑃 = 𝑎 + 𝑏𝑄 or
𝑄 = 𝑐 + 𝑏𝑃.
Example:
Oct/Nov 2018: 1
Lighting Warehouse produces 𝑞 solar lamps at a fixed cost of R10 000 per week. Each lamp costs
R150 to produce and is sold for R350.
What are the equations for total revenue, total cost, and profit function?
𝑇𝑅 = 𝑝 × 𝑞
𝑇𝑅 = 350 × 𝑞
𝑻𝑹 = 𝟑𝟓𝟎𝒒
𝑇𝐶 = 𝑉𝐶 + 𝐹𝐶
𝑇𝐶 = 𝐶𝑜𝑠𝑡 𝑃𝑟𝑖𝑐𝑒 × 𝑞 + 𝐹𝐶
𝑇𝐶 = 150 × 𝑞 + 10 000
𝑻𝑪 = 𝟏𝟓𝟎𝒒 + 𝟏𝟎 𝟎𝟎𝟎
𝑃𝑟𝑜𝑓𝑖𝑡 = 𝑇𝑅 − 𝑇𝐶
𝑃𝑟𝑜𝑓𝑖𝑡 = 350𝑞 − (150𝑞 + 10 000)
𝑃𝑟𝑜𝑓𝑖𝑡 = 350𝑞 − 150𝑞 − 10 000
𝑷𝒓𝒐𝒇𝒊𝒕 = 𝟐𝟎𝟎𝒒 − 𝟏𝟎 𝟎𝟎𝟎
May 2020
A company produces 𝑞 solar lamps at a fixed cost of R5 000 per week, and a variable cost of R150
per lamp. Each lamp is sold for R300.
What are the equations for total revenue, total cost, and profit function?
A tuck shop at the station has fixed costs of R900 per week. They sell pies at a fixed price of
R23,00 each, while the production cost per pie is R15,00. We assume all pies that are produced
will be sold. What is the profit if 200 pies are sold?
𝑃𝑟𝑜𝑓𝑖𝑡 = 𝑇𝑅 − 𝑇𝐶
𝑇𝑅 = 23 × 200 = 4 600
𝑇𝐶 = 𝐹𝐶 + 𝑉𝐶
𝑇𝐶 = 900 + 15 × 200
𝑇𝐶 = 3 900
Elasticity
Elasticity of linear demand and supply
Elasticity can be defined as the responsiveness of quantity demanded to a change in price. If a
small change in price results in a considerably large change in quantity, then demand is said to
be elastic.
The table below shows the price of bread at a Spaza shop servicing a community in a small town.
|𝜀𝑑 |
= 𝑎𝑏𝑠𝑜𝑙𝑢𝑡𝑒 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑒𝑙𝑎𝑠𝑡𝑖𝑐𝑖𝑡𝑦 𝑜𝑓 𝑑𝑒𝑚𝑎𝑛𝑑 (𝑊𝐻𝐸𝑁 𝑌𝑂𝑈 𝑅𝐸𝑀𝑂𝑉𝐸 𝑇𝐻𝐸 𝑁𝐸𝐺𝐴𝑇𝐼𝑉𝐸 𝑆𝐼𝐺𝑁)
The absolute value is found by removing the negative sign on the value of elasticity of demand.
1 𝑃 1 10
𝜀𝑑 = − × = − ×
𝑏 𝑄 2.5 20
𝜀𝑑 = −0,2
𝐴𝑏𝑠𝑜𝑙𝑢𝑡𝑒 𝑣𝑎𝑙𝑢𝑒|𝜀𝑑 | = 0,2 < 1 𝑑𝑒𝑚𝑎𝑛𝑑 𝑖𝑠 𝑖𝑛𝑒𝑙𝑎𝑠𝑡𝑖𝑐
𝑃 = 100 − 5(8) = 60
𝑷 𝟔𝟎
𝝐𝒅 = = = −𝟏, 𝟓 𝒅𝒆𝒎𝒂𝒏𝒅 𝒊𝒔 𝒆𝒍𝒂𝒔𝒕𝒊𝒄
𝑷 − 𝒂 𝟔𝟎 − 𝟏𝟎𝟎
Oct 2018: Q9
𝑃 = 60 − 2,5𝑄
with 𝑃 and 𝑄 the price and quantity respectively, determine the expression for price elasticity of
demand if 𝑃 = 10
𝑞 = 5 300 − 3𝑝
1 600
𝜀𝑑 = −3 ×
500
𝜀𝑑 = −9,6 𝑑𝑒𝑚𝑎𝑛𝑑 𝑒𝑙𝑎𝑠𝑡𝑖𝑐.
May 2019: 18
𝑃 = 215 − 5𝑄
with 𝑃 and 𝑄 the price and quantity respectively, determine the point price elasticity of
demand if 𝑃 = 15. Is demand elastic or inelastic at this price?
Oct 2019
If the demand function is 𝑃 = 80 − 0,5𝑄, where P and Q are the price and quantity respectively,
determine the expression for price elasticity of demand in terms of P only.
𝑃 = 60 − 0,2𝑄 𝑃 = 60 − 0,2𝑄
𝑃 = 50 𝑃 = 40
50 = 60 − 0,2𝑄 40 = 60 − 0,2𝑄
0,2𝑄 = 60 − 50 0,2𝑄 = 60 − 40
0,2𝑄 = 10 0,2𝑄 = 20
0,2𝑄 10
= 0,2
0,2
𝑄1 = 50 𝑄2 = 100
𝟏 𝑷𝟏 + 𝑷𝟐 𝟏 𝟓𝟎 + 𝟒𝟎
𝜺𝒅 = − × =− × = −𝟑, 𝒆𝒍𝒂𝒔𝒕𝒊𝒄
𝒃 𝑸𝟏 + 𝑸𝟐 𝟎, 𝟐 𝟓𝟎 + 𝟏𝟎𝟎
𝑏 = 0.5; 𝑃1 = 7; 𝑃2 = 5; 𝑄1 =; 𝑄2 =
𝑃 = 70 − 0,5𝑄
7 = 70 − 0,5𝑄 5 = 70 − 0,5𝑄
0,5𝑄 = 70 − 7 0,5𝑄 = 70 − 5
0,5𝑄 = 63 0,5𝑄 = 65
0,5𝑄 63 0,5𝑄 65
= 0,5 = 0,5
0,5 0,5
𝑄1 = 126 𝑄2 = 130
𝟏 𝑷𝟏 + 𝑷𝟐 𝟏 𝟕+𝟓 𝟑
𝑬𝒅 = − × =− × =− 𝒐𝒓 − 𝟎, 𝟎𝟗, 𝒊𝒏𝒆𝒍𝒂𝒔𝒕𝒊𝒄
𝒃 𝑸𝟏 + 𝑸𝟐 𝟎, 𝟓 𝟏𝟐𝟔 + 𝟏𝟑𝟎 𝟑𝟐
Question 3
𝑝 = 110 + 0,07𝑞
50 = 0,07𝑞 70 = 0,07𝑞
50
= 𝑞1 = 714,28 𝑞2 = 1 000
0,07
∆𝑸 𝑷𝟏 + 𝑷𝟐 𝟏 𝑷𝟏 + 𝑷𝟐 𝟏 𝟏𝟔𝟎 + 𝟏𝟖𝟎
𝜺𝒔 = × = × = × = 𝟐, 𝟖𝟑, 𝒔𝒖𝒑𝒑𝒍𝒚 𝒊𝒔 𝒆𝒍𝒂𝒔𝒕𝒊𝒄
∆𝑷 𝑸𝟏 + 𝑸𝟐 𝒃 𝑸𝟏 + 𝑸𝟐 𝟎, 𝟎𝟕 𝟕𝟏𝟒, 𝟐𝟖 + 𝟏 𝟎𝟎𝟎