<< Chapter < Page Chapter >> Page >

Evaluating a function given in tabular form

As we saw above, we can represent functions in tables. Conversely, we can use information in tables to write functions, and we can evaluate functions using the tables. For example, how well do our pets recall the fond memories we share with them? There is an urban legend that a goldfish has a memory of 3 seconds, but this is just a myth. Goldfish can remember up to 3 months, while the beta fish has a memory of up to 5 months. And while a puppy’s memory span is no longer than 30 seconds, the adult dog can remember for 5 minutes. This is meager compared to a cat, whose memory span lasts for 16 hours.

The function that relates the type of pet to the duration of its memory span is more easily visualized with the use of a table. See [link] . http://www.kgbanswers.com/how-long-is-a-dogs-memory-span/4221590. Accessed 3/24/2014.

Pet Memory span in hours
Puppy 0.008
Adult dog 0.083
Cat 16
Goldfish 2160
Beta fish 3600

At times, evaluating a function in table form may be more useful than using equations. Here let us call the function P . The domain    of the function is the type of pet and the range is a real number representing the number of hours the pet’s memory span lasts. We can evaluate the function P at the input value of “goldfish.” We would write P ( goldfish ) = 2160. Notice that, to evaluate the function in table form, we identify the input value and the corresponding output value from the pertinent row of the table. The tabular form for function P seems ideally suited to this function, more so than writing it in paragraph or function form.

Given a function represented by a table, identify specific output and input values.

  1. Find the given input in the row (or column) of input values.
  2. Identify the corresponding output value paired with that input value.
  3. Find the given output values in the row (or column) of output values, noting every time that output value appears.
  4. Identify the input value(s) corresponding to the given output value.

Evaluating and solving a tabular function

Using [link] ,

  1. Evaluate g ( 3 ) .
  2. Solve g ( n ) = 6.
n 1 2 3 4 5
g ( n ) 8 6 7 6 8
  1. Evaluating g ( 3 ) means determining the output value of the function g for the input value of n = 3. The table output value corresponding to n = 3 is 7, so g ( 3 ) = 7.
  2. Solving g ( n ) = 6 means identifying the input values, n , that produce an output value of 6. [link] shows two solutions: n = 2 and n = 4.
n 1 2 3 4 5
g ( n ) 8 6 7 6 8

When we input 2 into the function g , our output is 6. When we input 4 into the function g , our output is also 6.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Using [link] , evaluate g ( 1 ) .

g ( 1 ) = 8

Got questions? Get instant answers now!

Finding function values from a graph

Evaluating a function using a graph also requires finding the corresponding output value for a given input value, only in this case, we find the output value by looking at the graph. Solving a function equation using a graph requires finding all instances of the given output value on the graph and observing the corresponding input value(s).

Reading function values from a graph

Given the graph in [link] ,

  1. Evaluate f ( 2 ) .
  2. Solve f ( x ) = 4.
Graph of a positive parabola centered at (1, 0).
  1. To evaluate f ( 2 ) , locate the point on the curve where x = 2 , then read the y -coordinate of that point. The point has coordinates ( 2 , 1 ) , so f ( 2 ) = 1. See [link] .
    Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.
  2. To solve f ( x ) = 4, we find the output value 4 on the vertical axis. Moving horizontally along the line y = 4 , we locate two points of the curve with output value 4: ( −1 , 4 ) and ( 3 , 4 ) . These points represent the two solutions to f ( x ) = 4: x = −1 or x = 3. This means f ( −1 ) = 4 and f ( 3 ) = 4 , or when the input is −1 or 3, the output is 4 . See [link] .
    Graph of an upward-facing parabola with a vertex at (0,1) and labeled points at (-1, 4) and (3,4). A line at y = 4 intersects the parabola at the labeled points.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, College algebra. OpenStax CNX. Feb 06, 2015 Download for free at https://legacy.cnx.org/content/col11759/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'College algebra' conversation and receive update notifications?

Ask