Docsity

111. Functions and straight lines, Exams of Pre-Calculus

Toggle sidebar
bg1
111.
Functions and straight lines
A.
Functions
.
..
Afunctlon
1.
Deflnltlon
defined on a certain set of real numbers
D
(called the domain of the function) is a rule that associates to each
element of
D
a real number.
For example, suppose
f
is the function that assigns to each real
number the number obtained by doubling and adding
1
.
Functional
notation is a useful shorthand for describing this rule. We write
f(x)
=
2x
+
1
for every real number x
(or just f(x)
=
2x
+
1
,
with the domain tacitly understood). Thus we're
using
"
f(x)
"
as a name for the number
f
assigns to x
,
which we call
the me of
f
at
x
.
To find the value of
f
at
*
,
whatever
*
is, we
use the rule:
value of
f
at
*
=
f(*)
=
2.(*)
+
1
,
e.g. f(3)
=
2.3+
1
=
7
f(x+2)
=
2(x+2)
+
1
=
2x
+
5
f(0)
=
2.0
+
1
=
1
f(x+h)
=
2(x+h)
+
1
f(n)
=
2TT
+
1
f(l/z)
=
2/z
+
1
2.
Domain
of
a
funcu The
i&mau~
of
f
is the set of all x for which
f
(x)
is defined.
If
the function is given by a formula and the domain is
not explicitly specified, the domain is understood to be the largest possible
set of numbers for which the formula makes sense.
Examples:
f(x)
=
2x
+
1
.
Domain
=
the set of all real numbers
=
(all x)
g(x)
=
E.
Domain
=
set of all nonnegative numbers
=
{x? 0
(remember that
J-
always denotes positive square root)
h(x)
=
-
.
Domain
=
set of all numbers except 3
=
{x
=
31
.
x- 3
ition
of
functions
3.
Com~os
If
f
and g are functions, we may form
their composition g
0
f
,
defined by (g
0
f)(x)
=
g(f(x)). This is a new
function whose rule is "do
f
,
then
g
"
,
and whose domain consists of all
real numbers x such that
f
is defined at x
(
x is in the domain of
f
)
&
g is defined at f(x)
(
f(x) is in the domain of g
1.
Examples:
(1)
f(x)
=
2x
+
1
,
g(x)
=
JiT-.
(g f)(x)
=
g(f(x))
=
g(2x
+
1)
=
JZ-xT1
.
f
is defined for all x but g(2x
+
1)
is defined only when
2x
+
1
is nonnegative, so the domain of
g
0
f
is
(
x
2
-1/2
Note that in general,
g
f
*
f
g
.
In Example
1,
(f
0
g)(x)
=
f(Jx7
=
2K+
1,
which
is
not the same function
as
fix1
.
and
pf3
pf4
pf5

Partial preview of the text

Download 111. Functions and straight lines and more Exams Pre-Calculus in PDF only on Docsity!

111. Functions and straight lines

A. Functions

...

1. Deflnltlon A f u n c t l o n defined on a certain set of real numbers^ D

(called the domain of the function) is a rule that associates to each element of D a real number. For example, suppose f is the function that assigns to each real

number the number obtained by doubling and adding 1. Functional

notation is a useful shorthand for describing this rule. We write f(x) = 2 x + 1 for every real number x (or just f(x) = 2x + 1 , with the domain tacitly understood). Thus we're using " f(x) " as a name for the number f assigns to x , which we call the m e of f a t x. To find the value of f a t * , whatever * is, we use the rule: value of f a t * = f ( * ) = 2. ( * ) + 1 ,

e.g. f(3)^ =^ 2. 3 +^1 =^7 f ( x + 2 )^ =^ 2 ( x + 2 )+^1 =^ 2x^ +^5

f(0) = 2.0 + 1 = 1 f ( x + h ) = 2 ( x + h ) + 1

f(n) = 2 TT + 1 f ( l / z ) = 2/z + 1

2. Domain of a f u n c u The i&mau~of f is the set of all x for which

f (x) is defined. If the function is given by a formula and the domain is

not explicitly specified, the domain is understood to be the largest possible set of numbers for which the formula makes sense. Examples:

f(x) = 2x + 1. Domain = the set of all real numbers = (all x )

g(x) = E. Domain = set of all nonnegative numbers = { x? 0

(remember that J- always denotes positive square root)

h(x) = -. Domain = set of all numbers except 3 = {x = 31.

x- 3

3. C o m ~ o s ition of functions If f and g are functions, we m a y form

their composition (^) g 0 f , defined by (g 0 f)(x) = g(f(x)). This is a new

function whose rule is "do f , then g " , and whose domain consists of all

real numbers x such t h a t f is defined a t x ( x is in the domain of f ) & g is defined a t f(x) ( f(x) is in the domain of g 1.

Examples: (1) f(x) = 2x + 1 , g(x) = JiT-. (g f)(x) = g(f(x)) = g(2x + 1) = JZ-xT. f is defined for all x but g(2x + 1) is defined only when 2x + 1 is nonnegative, so the domain of g 0 f is ( x 2 -1/

Note that in general, g f * f g. In Example 1, ( f 0 g)(x) = f(Jx

= 2 K + 1,which is not the same function as f i x 1. and

f 0 g has domain { x r 0 ).

(2) f(x) = x2 , g(x) = K. (g 0 f)(x)= g(x2) = r= x ; domain is { all x ) because f is defined for all x and g(x^2 ) is defined whenever x 2 2 0 , which is always. By contrast, ( f 0 g)(x) = f(Jiir = (Jiir2 = x ; domain is { x r 0 ) because g is only defined for such x , even though the final expression ( f 0 g)(x) = x appears

t o be defined for all x. So here again, f 0 g = g 0 f.

  1. Graph of a function The graph of f is the set of all ordered pairs

(x,y) such that x is in the domain of f and y is equal to f(x). In

other words it consists of all points of the form ( x ,f (x)) for x in the

domain of f. The graph of f is plotted as a curve y = f(x) in the

(x,y)-coordinate plane.

Example: For the function f(x) = 2x + 1 , the graph consists of

all (x,y) satisfying y = 2x + 1.

This is a straight line. (^) (n 4 \ I/ U I I

This is a straight line. (^) 1 3 (-1.-1)

Unless the formula for the function fits some familiar form, as this one does, the graph m a y be hard to sketch accurately. It is always possible. though, to plot several points to get a rough idea.

Graphinn suanestions (a) Locate the intercepts.

The x-intercept is found by solving y = f(x) = 0 for x.

The y-intercept is found by setting (^) x = 0 : y = f(0). In other words the graph hits the x-axis where y = 0 and the y-axis

where x = 0. In the example above, y = f(x) = 2x + 1 = 0

when x = -% (x-intercept) and y -- f(0) = 1 is the y-intercept. Also notice intercepts in the examples below. (b) Determine the domain to know what part of the x-axis the graph

will lie over, e.g. the graph of f(x) = AT has no portion lying to the left of

the y-axis, and the graph of (^) g(x) = l / x does not meet the y-axis because

x cannot equal 0.

(c) Adding a constant to a function moves its graph up (if constant is

B. Lines and their equations

  1. Slope of a line The slope of L 15

m = y 2^ - y 1 X2- x - - change^ in^ y - "rise" change in x "run"

Positive slope Negative slope^ Zero slope^ Undefined slope (points up (points down^ (horizontal)^ (vertical) to right) to right)

F x a m ~ l e s (a) Sketch the line through (1,2) with slope 3/ Locate (1,2) and m a r k it. Move by making a "run"

of 2 and a "rise" of 3. Mark

new point. Join points by a line.

(b) The line through (1,2) with

slope -.

(Write slope a s -2/1 ;

r u n = 1 , rise = -2 .)

  1. Point - slope f o r m for equation of a line.

Line through (xo,yo) with slope m : A point will be on this line if

and only if slope f r o m (xo,yo) to (x,y) equals m. This condition

Y - Y o can be written X - X

= ' " or 0

For example, the line through (1,2) with slope 3/2 has equation

  1. Slope-interce~tform for equation of a line. Line with slope m and y-intercept b (i.e. passes through t h e point (0,b)) is, from above, y - b = m ( x - 0 ) or I y = m x + b 1

For example, y = 2x + 3 has slope 2 and y-intercept 3 This form is especially useful for graphing.

Example: Graph 2x + 3 y - 6 = 0.

Rewritten in slope-intercept forrri:

y = -2, + 2.

3 Locate intercept (0,2) and sketch line with slope -2/.

  1. Parallel and perpendicular lines. Two lines are parallel if they have equal slopes or both a r e vertical. Two lines a r e per~endicularif their slopes, m l and m2 , a r e

negative reciprocals of each other ( m l = -l/m2 or m l m 2 = -1 )

or one is horizontal and the other is vertical. Examples y = 2x + 3 and y = 2x + 5 a r e parallel. y = 2x + 3 and y = -(1/2)x + 6 are perpendicular. y = 3 and x = 2 a r e perpendicular.

y = 3 and y = 5 a r e parallel.

The equation of the line through (2,3) parallel t o y = 4x + 11 is y - 3 = 4 ( x - 2 ). The line through (2,3) perpendicular to y = 4x + 11 has equation y - 3 = -(1/4)(x-2).

Fxercises 111 B

  1. Rewrite in slope-intercept form and sketch. (a) x - 2 y + 2 = 0 (b) 3 x - 2 y + 6 = 0 (c) 2 x + 3 y - 1 = 0 Write the equation for each of the following.

2. The line through ( 4 , l ) with slope 2.

  1. The line through - 1 and 3. (First find the slope.)
  2. The line through (4,7) parallel to y = 3x + 7.
  3. The line through (4,7) perpendicular to y = (2/3)x + 1.
  4. Where does the line through (2,5) and (5,-4) intersect the x-axis?