Linear Functions

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 31

Linear Functions

Definition
A function f is linear if its domain is
a set of numbers and it can be
expressed in the form

f ( x)  mx  b
where m and b are constants and x
denotes an arbitrary element of the
domain of f.
Change and Rate of Change
Definition
 If x1 and x2 are distinct members of
the domain of f, the change in f
from x1 to x2 is f(x2) – f(x1). The
rate of change of f over the interval
from x1 to x2 is

f ( x 2 )  f ( x1 )
x 2  x1
Notation
 Let x = x2 – x1 denote the change
in x. Let f =f(x2) – f(x1) denote
the change in f.
 The rate of change is the ratio

f
x
Exercise

For real numbers x, let f ( x)  x .


2

Find the change in f from x1 = 1 to
x2 = 4.
 Find the rate of change of f over the
interval from 0 to 3 .
 Find a general formula for the rate
of change over the interval from x1
to x2 for any x1 and x2.
A Characterization of Linear Functions

A function from the real numbers to


the real numbers is linear if and
only if its rate of change is the same
for all intervals. If so, the rate of
change is the constant m in the
formula

f ( x)  mx  b
Graphs of Linear Functions

Straight Lines
Two distinct points ( x0 , y0 ) and ( x1 , y1 )
in the plane determine one and only one
straight line
Point-Slope Form

Let ( x0 , y0 ) and ( x1 , y1 ) be two


distinct points in the plane.
Case 1: x0  x1
Set
y1  y0
m
x1  x0 (slope)

Equation: y  y0  m( x  x0 )
or
y  y0  m( x  x0 )
Case 2: x0  x1  c
Equation: x = c.
Point-Slope Form

Suppose it is known that a line


passes through the point with
coordinates ( x0 , y 0 ) and that it has
slope m. Then the equation of the
line is

y  y 0  m( x  x 0 )
Slope Intercept Form
 y = f(x) = mx + b

 m = rate of change of f = slope of


the line = tangent of angle between
the x-axis and the line

 b = f(0) = y-intercept of the line


Geometrical Interpretation
The Symmetric Form
 Slope-intercept and point-slope
forms cannot handle vertical lines in
the xy plane.
 Symmetric form does not select one
variable as the independent variable
and the other as the dependent
variable. c, d, and e are constants.

cx  dy  e
Exercise

The graph of a linear function is the


line whose equation is

2x  5 y  8
What is the rate of change of f?
What are f(0) and f(-2)?
Systems of Linear Equations
General Form of a Linear System of
Two Equations in Two Unknowns

ax  by  
cx  dy  

Equations in Symmetric
Form of Two Straight Lines
Three Possibilities for Solutions
 The lines are not parallel and intersect in
one and only one point. That is, there is
one and only one solution of the system.
 The lines are distinct but parallel and do
not intersect. There are no solutions.
 The equations represent the same
straight line. There are infinitely many
solutions, one for each point on the line.
Examples:

x  2y  4
1.
3x  4 y  2
x  2y  4
2.
 2x  4 y  1

x  2y  4
3.
3x  6 y  12
The Coefficient Matrix

a b
A   
c d
The Determinant of the Coefficient
Matrix

The number

a b
 ad  bc
c d
Relationship of the Determinant to the
Question of Solutions

The linear system has a unique


solution if and only if the
determinant is different from zero.
Cramer’s Rule

 b a 
 d c 
x , y
a b a b
c d c d

Not necessarily the best


method of solution.
Exercise
 Solve
2x  3y  0
x  2y  1

 Answer: x=3/7, y=2/7


Inverses of Linear Functions
Example

y  f ( x)  2 x  5

Given y, solve for x:

1 1 5
x   ( y  5)   y 
2 2 2
Example (continued)

The equation

1 5
x y
2 2
defines x as a linear function of y.
This function is called the inverse of
the original function. We write
1 1 5
f ( y)   y 
2 2
Equivalence

The two equations y  f (x)


1
and x  f ( y)

are equivalent. One is satisfied by a


pair (x,y) if and only if the other is.
General Expression for the Inverse
Function

 If f (x) = mx + b and m≠0, then

1 1 1 b
f ( y )  ( y  b)  y 
m m m

 Note: The slope of the inverse


function is the reciprocal of the
slope of the original function.
The Graphs of the Function and Its
Inverse

You might also like