Linear Functions Slides
Linear Functions Slides
A. Functions in general
B. Linear functions
C. Linear (in)equalities
1. definition
A. Functions in general
Introduction
Example Taxidriver
What does a taxi ride cost me with company A?
• Base price: 5 Euro
• Per kilometer: 2 Euro
Price of a 7 km ride?
price 5 2 7 19
A. Functions in general
Example Taxidriver
Price of an x km ride?
y 5 2x
A. Functions in general
Definition
• x and y : VARIABLES
(length of ride in km) (price of ride in euro)
• y depends on x: INPUT OUTPUT
x y
y: DEPENDENT VARIABLE
x: INDEPENDENT VARIABLE
Definition
• We say: y is FUNCTION of x,
or in short f of x
• We denote: y(x) or y=f(x)
• Outputs are also called function values
1. definition
2. Three representations
A. Functions in general
Three representations
First way: Most concrete form!
Through a TABLE, e.g. for y = 2x + 5:
x y
0 5
1 7
2 9
… …
But: limited number of values no overall picture
A. Functions in general
Three representations
Second way: Most concentrated form!
formula y = 2x + 5:
EQUATION OF THE FUNCTION
A. Functions in general
Three representations
x y
Third way: y
0 5
Most visual form! 7
6 1 7
Through the GRAPH
rectangular coordinate system: 5
x-coordinate, y-coordinate 4
3
2
1
-4 -3 -2 -1 0 1 2 3 4 x
-1
(Handbook: Section 2.5 p99)
A. Functions in general
Three representations y
14
Third way:
Most visual form!
Exercises
The demand q of a product depends on the price p.
For a local pizza parlor some weekly demands and prices
are given
p q Remark: this table is called
10 640 a demand schedule
12 560
14 480
(a) What is the input variable? What is the output variable ?
(b) Indicate the points in the table on a graph
Summary
- Definition
input x, output y
- 3 representations :
table
equation y=f(x)
graph in rectangular coordinate system
1. equation
B. Linear functions
Example Taxidriver
y = 5 + 2x
Example Taxidriver
• Examples: cost of a ride with company B, C?
B base price: 4.5 euro, price per km: 2.1 euro
C base price 8 euro, price per km: 0.5 euro
y = 4.50 + 2.10x; y = 8 + 0.5x;
Equation
A function f is a linear function if and only if
f(x) can be written in the form
f(x)=y=mx + b
where m, b are constants.
Applications
Applications
• The demand q of a product depends on the
price p and vice versa. For a local pizza
parlor the function is given by
p=26-q/40
Exersises
Rachel has saved $7250 for college expenses.
She plans to spend $600 a month from this account.
Write an equation to represent the situation.
B. Linear functions
Exersises
For a local pizza parlor the weekly demand function
Is given by p=26-q/40.
(a) What will be the revenue for the pizza parlor
if 400 pizza’s are ordered ?
(b) Express the revenue as a function of the
demand q.
1. Equation
2. Graph
B. Linear functions
Example Taxidriver
y = 2x + 5
y
14 The graph of a linear
function with equation
y=mx +b is
- a STRAIGHT LINE
2
x
1 5
B. Linear Functions
1. Equation
2. Graph
3. Significance parameters b, m
B. Linear functions
Example Taxidriver
A: y = 2x + 5 y
14
B: y = 4.5x + 2.1
C: y = 0.5x + 8
• Taxi company A: y = 2x + 5. y
Here b = 5: the base price. 14
• Numerically:
b can be considered as the
VALUE OF y WHEN x = 0.
• graphically:
b shows where the graph cuts2
the Y-axis: Y-INTERCEPT x
1 5
B. Linear functions
if x is increased by 1 unit,
y is increased by m units
INPUT OUTPUT
x y
x = 3 3 11 y = 3x2=6
6 17
• Always: y = mx
(INCREASE FORMULA)
B. Linear functions
Increase formula: y m x
B. Linear functions
Significance of the parameters b and m
The graph of a linear function with equation
y=mx +b is
- a STRAIGHT LINE
- with y-intercept b
- and slope m
The equation y=mx +b is called the slope-
intercept form of the line with slope m and
intercept b. It is also called an explicit
equation of the line.
B. Linear functions
Exercises
1. The cost c in terms of the quantity q
produced of a good is given by
c = 200 + 15 q.
• Give a formula for the change of cost Δc.
• Use this formula to determine how the
cost changes when the production of the
good is increased by 12 units.
• Use this formula to determine how the
cost changes when the production of the
good is decreased by 2 units.
B. Linear functions
Supplementary exercises
• Exercise 1
• Exercise 2 A, B, D (only the indicated points
are to be used!)
B. Linear functions
Exercises
y
B F
(3,9)
Exercise 2
(0,7) A
(6,6)
(0,3)
C
(2,0)
x
D E
B. Linear functions
(Section 3.1)
B. Linear functions
x x x
-2 2 -2 2 -2 2
Therefore: y
m
x
1. Equation
2. Graph
3. Significance parameters b, m
4. Determining a line based on the slope
and a point / two points
B. Linear functions
Slope of a straight
line given by two
points:
vertical distance y2 y1 y
m
horizontal distance x2 x1 x
Exercises
Equation of lines
Remember:
The equation y=mx+b is called the slope-intercept
form of the line
Exercises
John purchased a new car in 2001 for $32000. In
2004, he sold it to a friend for $26000. Find the
equation that expresses the price as a function of
time. You may assume that the price is a linear
function of time.
Supplementary exercises
• Exercise 3
• Exercise 4
B. Linear Functions
1. Equation
2. Graph
3. Significance parameters b, m
4. Determining a line based on the slope
and a point / two points
5. Implicit equation
B. Linear functions
Equation of lines
Note that e.g. the vertical line with equation x=2 can
not be written in the slope-intercept form nor in the
slope-point form
Equation of lines
Remember :
Point-slope form
Slope intercept form y=m x + b
General linear from Ax + By + C = 0
Exercises
Find an equation of the line that has slope 2 and
passes through (1, -3) using the
- Point-slope form
- Slope-intercept form
- General linear form
Supplementary exercises:
• Exercise 5
B. Linear functions
Exercises
Make a graph of the the straight line, given by
the equation 80x+250y=10000
Tip:
- Write down the explicit equation
- Find two points that satisfy the equation
B. Linear functions
Equation of lines
Sometimes, the general linear form arises naturally
Example: Invest a capital of 10 000 Euro in a certain
share and a certain bond
share: 80 Euro per unit bond: 250 Euro per unit
How much of each is possible with the given capital?
Let qS be the number of units of the share and qB the
number of units of the bond.
We must have: 80qS + 250qB = 10 000
Equation of lines
Equation of lines
Example: How many shares and bonds are possible if
80qS + 250qB = 10 000 ?
• There are infinitely many possibilities for qS en qB
e.g.: qS = 0, qB = 40;
qS = 125, qB = 0;
qS = 100, qB = 8
etc. …
• Not all combinations are possible!
Equation of lines
Example: Connection, between qS and qB:
• 80qS + 250qB = 10 000: IMPLICIT equation
(general linear form: 80qS + 250qB - 10
000=0)
form: Ax + by + c = 0
Summary
Extra: Handbook
Problems 2.1: Ex 45
Problems 3.1: Ex 1, 9, 13, 35, 38, 41, 50, 51, 61, 63, 64,
67, 69, 71, 72
Problems 3.2: Ex 1,4, 26, 28, 30
Problems 0.7: Ex 93
C. Linear equations
1. Linear equations
C. Linear equations
Example Taxidriver y = 5 + 2x
When a client has to pay 10 euro, for how
many kilometres did he take a ride ?
Solution:
Output y=10 is given
Input x is unknown: 5 + 2 x = 10
x=2.5 5 + 2 (2.5) = 10
C. Linear equations
Definition
Exercises
Solve 5x – 6 = 3x
• We begin by getting the terms involving x
on one side and the constant on the other
2x=6
• Then we divide by an appropriate constant
x=3
Supplementary exercises
Exercise 6
Exercise 7
C. Linear equations
Exercises
Supplementary exercises
Exercise 8
C. Linear equations
Graphical interpretation
equation: 2 x 5 0
solution: 2.5
function with equation y=2x-5
1. Linear equations
2. System of linear equations
C. Linear equations
Example: Factory
Suppose that the manager of a factory is setting up a
production schedule for two models of a new product.
Model A requires 4 resistors and 9 transistors. Model
B requires 5 resistors and 14 transistors. From its
suppliers the factory gets 335 resistors and 850
transistors. How many of each model should the
manager plan to make each day so that all the
resistors and transistors are used ?
Solution: x=number of A; y=number of B
335 resistors: 4x+5y =335
850 transistors: 9x+14y=850 4x+5y =335
9x+14y=850
(Section 3.4 p148-149)
C. Linear equations
Definition: system
We call
ax+by =c
dx+ey =f
a system of linear equations.
The problem is to find values of x and y for
which both equations are true simultaneously.
C. Linear equations
Solution : system
Example : factory
Solution : system
Example : factory
4 x + 5 y = 335 iff y = 67 – 4/5 x
Substituting y in 9 x + 14 y = 850 leads to
9 x +14 (67 - 4/5 x ) = 850
-11/5 x = -88
x = 40
From 4 x + 5 y = 335 and x = 40 it follows that y=35
This strategy to solve a linear set of equations is
called the elimination-by-substitution method
C. Linear equations
Solution : system
Example : factory
Note that you can quickly check your solution.
Indeed, your solution should satisfy both equations.
I.e.
4 (40) + 5 (35) = 335
9 (40) + 14 (35) = 850
C. Linear equations
Exercises : system
System of equations:
y=-0.5x+4
2y+2=4x
Supplementary exercises
• Exercise 9
• Exercise 10
Extra: Handbook
Problems 0.7: Ex 95
Problems 1.2: Ex 5, 11, 21
Problems 1.3: Ex 1
Problems 3.4: Ex 1, 5, 9, 19, 28, 33
C. Linear equations
1. Linear equations
2. System of linear equations
3. Linear inequalities
C. Linear equations
Supplementary exercises
• Exercise 11
Supplementary exercises
• Exercise 12
• Exercise 13
C. Linear equations