<< Chapter < Page Chapter >> Page >

Evaluating functions

Given the function h ( p ) = p 2 + 2 p , evaluate h ( 4 ) .

To evaluate h ( 4 ) , we substitute the value 4 for the input variable p in the given function.

h ( p ) = p 2 + 2 p h ( 4 ) = ( 4 ) 2 + 2 ( 4 ) = 16 + 8 = 24

Therefore, for an input of 4, we have an output of 24.

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

Given the function g ( m ) = m 4 , evaluate g ( 5 ) .

g ( 5 ) = 1

Got questions? Get instant answers now!

Solving functions

Given the function h ( p ) = p 2 + 2 p , solve for h ( p ) = 3.

h ( p ) = 3 p 2 + 2 p = 3 Substitute the original function  h ( p ) = p 2 + 2 p . p 2 + 2 p 3 = 0 Subtract 3 from each side . ( p + 3 )( p 1 ) = 0 Factor .

If ( p + 3 ) ( p 1 ) = 0 , either ( p + 3 ) = 0 or ( p 1 ) = 0 (or both of them equal 0). We will set each factor equal to 0 and solve for p in each case.

( p + 3 ) = 0 , p = 3 ( p 1 ) = 0 , p = 1

This gives us two solutions. The output h ( p ) = 3 when the input is either p = 1 or p = 3. We can also verify by graphing as in [link] . The graph verifies that h ( 1 ) = h ( 3 ) = 3 and h ( 4 ) = 24.

Graph of a parabola with labeled points (-3, 3), (1, 3), and (4, 24).
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given the function g ( m ) = m 4 , solve g ( m ) = 2.

m = 8

Got questions? Get instant answers now!

Evaluating functions expressed in formulas

Some functions are defined by mathematical rules or procedures expressed in equation    form. If it is possible to express the function output with a formula    involving the input quantity, then we can define a function in algebraic form. For example, the equation 2 n + 6 p = 12 expresses a functional relationship between n and p . We can rewrite it to decide if p is a function of n .

Given a function in equation form, write its algebraic formula.

  1. Solve the equation to isolate the output variable on one side of the equal sign, with the other side as an expression that involves only the input variable.
  2. Use all the usual algebraic methods for solving equations, such as adding or subtracting the same quantity to or from both sides, or multiplying or dividing both sides of the equation by the same quantity.

Finding an equation of a function

Express the relationship 2 n + 6 p = 12 as a function p = f ( n ) , if possible.

To express the relationship in this form, we need to be able to write the relationship where p is a function of n , which means writing it as p = [ expression involving n ] .

2 n + 6 p = 12 6 p = 12 2 n Subtract  2 n  from both sides . p = 12 2 n 6 Divide both sides by 6 and simplify . p = 12 6 2 n 6 p = 2 1 3 n

Therefore, p as a function of n is written as

p = f ( n ) = 2 1 3 n
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Expressing the equation of a circle as a function

Does the equation x 2 + y 2 = 1 represent a function with x as input and y as output? If so, express the relationship as a function y = f ( x ) .

First we subtract x 2 from both sides.

y 2 = 1 x 2

We now try to solve for y in this equation.

y = ± 1 x 2 = + 1 x 2  and  1 x 2

We get two outputs corresponding to the same input, so this relationship cannot be represented as a single function y = f ( x ) . If we graph both functions on a graphing calculator, we will get the upper and lower semicircles.

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

If x 8 y 3 = 0 , express y as a function of x .

y = f ( x ) = x 3 2

Got questions? Get instant answers now!

Are there relationships expressed by an equation that do represent a function but that still cannot be represented by an algebraic formula?

Yes, this can happen. For example, given the equation x = y + 2 y , if we want to express y as a function of x , there is no simple algebraic formula involving only x that equals y . However, each x does determine a unique value for y , and there are mathematical procedures by which y can be found to any desired accuracy. In this case, we say that the equation gives an implicit (implied) rule for y as a function of x , even though the formula cannot be written explicitly.

Questions & Answers

Why is b in the answer
Dahsolar Reply
how do you work it out?
Brad Reply
answer
Ernest
heheheehe
Nitin
(Pcos∅+qsin∅)/(pcos∅-psin∅)
John Reply
how to do that?
Rosemary Reply
what is it about?
Amoah
how to answer the activity
Chabelita Reply
how to solve the activity
Chabelita
solve for X,,4^X-6(2^)-16=0
Alieu Reply
x4xminus 2
Lominate
sobhan Singh jina uniwarcity tignomatry ka long answers tile questions
harish Reply
t he silly nut company makes two mixtures of nuts: mixture a and mixture b. a pound of mixture a contains 12 oz of peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. a pound of mixture b contains 12 oz of peanuts, 2 oz of almonds and 2 oz of cashews and sells for $5. the company has 1080
ZAHRO Reply
If  , , are the roots of the equation 3 2 0, x px qx r     Find the value of 1  .
Swetha Reply
Parts of a pole were painted red, blue and yellow. 3/5 of the pole was red and 7/8 was painted blue. What part was painted yellow?
Patrick Reply
Parts of the pole was painted red, blue and yellow. 3 /5 of the pole was red and 7 /8 was painted blue. What part was painted yellow?
Patrick
how I can simplify algebraic expressions
Katleho Reply
Lairene and Mae are joking that their combined ages equal Sam’s age. If Lairene is twice Mae’s age and Sam is 69 yrs old, what are Lairene’s and Mae’s ages?
Mary Reply
23yrs
Yeboah
lairenea's age is 23yrs
ACKA
hy
Katleho
Ello everyone
Katleho
Laurene is 46 yrs and Mae is 23 is
Solomon
hey people
christopher
age does not matter
christopher
solve for X, 4^x-6(2*)-16=0
Alieu
prove`x^3-3x-2cosA=0 (-π<A<=π
Mayank Reply
create a lesson plan about this lesson
Rose Reply
Excusme but what are you wrot?

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask