(Chapter 2) Linear Function
(Chapter 2) Linear Function
Y = mx + C
3.1 INTRODUCTION
• A function f is a linear function if and only if f ( x) can be written in the
form f ( x) = mx + c , where m and c are constant and m ≠ 0 .
y = mx + c
slope y-intercept
y
y=mx+c
Example 1:
b) 2y = 4x3 – 6
c) y = x½
d) 4y = 24x + 16
e) y = (x2 – 81)
(x-9)
Slope (m) = y2 - y1
x2 - x1
Slope(m) = - y-intercept
x-intercept
• Types of slope :
Example 2:
Find the slope of the straight line connected by these two points
y = mx + c
Example 3:
If the slope of a straight line L is 2 and the y-intercept is 5,
Form the equation that define the straight line.
m = 2 and c =5
Equation:
y – y1 = m (x – x1)
Example 4:
Find the equation of the straight line with the slope m and pass through
the point P :
i) m = 4, P(-3, 2)
Equation :
Exercise:
ii) m = -5, P(-2,1)
Slope (m) = y2 – y1
x2 – x1
y – y1 = m (x – x1)
Example 5:
x1 y1 x2 y2
Slope =
m =
Equation :
Exercise: Find the equation that pass through the given points. ,
x + y=1
a b
x-intercept y-intercept
Example 6:
Find the straight line equation that intercept the x-axis at (3,0) and y-
axis at (0,4)
Equation :
Steps:
1. Find the y-intercept (0,c) : replace x=0 to the equation to find the
y coordinate (c).
2. Find the x-intercept (b,0) : replace y=0 to the equation to find the
x coordinate(b).
3. Draw the x and y-axis.
4. Tick the points (x and y-intercept) and draw a line that connects
the two point.
5. Label the graph.
Example:
Sketch the graph of 2 x + 3 y + 6 = 0
x
(-3,0)
(0,-2)
Exercise:
1. y = 4x − 6
2. y =1
3. x = −5
4. x + 2y −3 = 0
a) Two straight lines L1 and L2 are parallel if L1 and L2 have the same
slope, m1 = m2 .
m1 = m2
y
L1 with m1 slope
L2 with m2 slope
m1 x m2 = -1
y
L1 with m1 slope
L2 with m2 slope
90o
Example 7:
Example 8:
Determine whether the two lines given are perpendicular or not.
a) y = 2x + 4 and y = - x + 8
2
b) 2y = -8x + 3 and 4y = 8x + 9
c) 3y = 9x + 1 and y = -x
3
Example 9:
Find the straight line equation that pass through (1,2) and paralle to the
y =2x + 3 line.
Example 10:
Find the straight line that pass through (-3, 4) and perpendicualr to the
y = 3x – 5 line.
Example 11:
Find the straight line equation that pass through (4, -5) and
perpendicular to the
y = - x + 7 line
4
• The intersection point is the point where two or more lines met.
• In determining the intersection point of straight line, there are 3
possibilities:
L2
intersection
L1
X
Eg : the y = 2x line and y = -2x line
If two lines have the same slope(m1 = m2) – then the two lines are
parallel. Therefore, this two lines will not intersect each other.
y
L1
L2
x
Example : y = 2x + 4 line and y = 2x line will not intersect each other
L1 and L2
y
Example : y = 2x + 4 line and 3y = 6x + 12 line
Example 12:
Substitution Method
Find the intercept points of the given lines :
y = 2x + 4 and 2y = x + 5
Example 13:
Elimination Method:
Find the intercept points of the given lines:
3y = 4x + 7 dan 9y = 6x – 15
* p/s: Otherwise, we also can solve this system of equations using method learnt in
Chapter 1. We can use either inverse method or Cramer’s Rule. Let’s try to apply
the method and we should obtain the same answer.
a) Demand function:
• Describe the customers’ behaviors towards the demand for a
commodity.
• Whenever the price (p) for a commodity is high, the demanded
units or quantity (q) will be less.
• This shows that the price and the quantity demanded have a
negative relation – demand function has a negative slope.
p
b (a,b)
a q
At the price of $ b per unit, the demanded quantity is at a unit
b) Supply function :
• For supply function, whenever the price (p) for a commodity is high,
the quantity of supply (q) will increase too.
• This shows that the price and the quantity have a positive relation –
supply function has a positive slope.
p
(c,d)
d
q
c
At the price of $ d per unit, the quantity of supply at c unit
ATTENTION: For this course, the demand and supply function will only be
considered in the first quarter of the plane.
There are also situations where the demand and supply function is in a
form of horizontal line (fixed price) or vertical line (fixed quantity).
• Example 2 :
q
b c
200
140
a q
• Example 1:
• Example 2:
Example 14:
When the price of a watch is set to RM100, none of it can be sold.
However, if it is free, 50 of its were demanded. Determine the demand
function?
Example 15:
Every year, 50 generators are bought by TNB no matter how much it
costs. Determine the demand function.
Example 16:
When the price of a camera is set to RM25, there are no camera in the
stock (to be sold). If the price is set to RM40, 20 units of camera can be
sold. Find the supply function.
Example 17:
e) Equilibrium :
• When the demand and supply of a product are drawn on the same
coordinate plane, the point (m, n) where both functions intersect is
call the point of equilibrium.
• The price ( n ), called the price of equilibrium, is the price at which
consumers will purchase a number of products (m) that producers is
willing to supply (and sells at the same price). In short, m is called the
quantity of equilibrium.
• Attention : in this course we only consider the equilibrium which lies
in the first quarter of the plane.
p
Demand
q
m
Example 18:
Find the equilibrium point for the given demand and supply function
y = 10 – 2x
y = 3x + 1
2
Example 19:
Find the equilibrium point for the given demand and supply function
y = 5 – 3x
y = 4x + 12
a. Total Cost:
• Total icost is the amount invested in order to come out with products
or services.
• There are two types of cost:
- Fixed Cost : The sum of all costs that are independent of the level of
production. Eg: rent, insurance. This cost must be paid
whether or not output is produced.
- Variable Cost : The sum of all costs that are dependent on the level
of output. Eg: labors, materials
• Total Cost - the sum of variable cost and fixed cost
b. Total Revenue :
• Total revenue is the money that the manufacturer receives (gross) for
selling the outputs.
• Therefore, the total revenue:
c. Profit / Loss :
• Profit is the nett income obtained by selling the outputs.
• Profit is a measure of difference between Total Cost and Total
Revenue.
• Profit is obtain if the Total Revenue is greater than the Total Cost.
Meanwhile Loss happens when the Total Cost is greater than Total
Revenue.
Profit / Loss = 0
Example 19:
Assume that the total cost to produce 10 units of a product is RM40,
and total cost to produce 20 units is RM70. If the total cost (TC) have a
linear relation with the output (q), get the
a. Function that define TC as a linear function of q
Example 20:
A company sells a product at the price RM45 per unit. The varaible cost
for each unit of the product is RM33 and the fixed cost is RM450,000.