23 Functions: Domains and Ranges

23 Functions: Domains and Ranges

- 23 Functions: Domains and Ranges The domain of any given function is the set of `input values for which the function is defined, and understanding this is the basis for this section of the course. By the end of this section, you should have the following skills: • An understanding of the definition of a function and domain. • Find a function and its domain based on the equation of a curve. • Define the range of a given function. 23.1 Functions This section defines and gives examples of domains and ranges of functions. These are important properties of a function and we will meet them in sub- sequent sections. We write a function using the notation f(x). The notation means that given a number x then the function gives another unique number f(x). If we write y = f(x) then we say that x is the independent variable and y the dependent variable. Note that a function can be written as f(x) = x3 or as h(t) = t3 or as c(y) = y3. These are all the same function - they all do the same thing, cube a number. 23.1.1 Examples The following are all functions: 1. f(x) = x, called the identity function. 2. t(u) = 2u. 3. f(x) = x2. 4. h(z) = 1=z. Note that all of these functions are defined for all values of their indepen- dent variable apart from the last example as we know that if z = 0 then h(0) is not defined. So it is important to say for what values of the independent variable the function exists. 1 23.2 Domain of a function The set of values for which a function is defined is called the natural domain (usually shortened to domain). 1. f(x) = x2. Defined for all values of x i.e. the domain is R. 2. f(t) = 2t. Defined for all values of t i.e. the domain is R. p 3. f(z) = z. Defined for z ≥ 0 i.e. the domain is [0; 1) or R+. p Graph of z. p 4. f(x) = 4 + 3x − x2. We need 4 + 3x − x2 ≥ 0 and solving this inequality we see that this is only true for −1 ≤ x ≤ 4. So this function is only defined in this range of values for x i.e. the domain is [−1; 4]. 2 p Graph of 4 + 3x − x2. 5. f(x) = sin(x). Defined for all values so the domain is R. 6. f(u) = 1=u. The domain is defined for all u 6= 0 and is denoted by R − f0g. 7. f(x) = 1=(x3 − 3x2 + 2x). Since x3 − 3x2 + 2x = x(x − 1)(x − 2) we see that this function is defined for all x; x 6= 0; x 6= 1; x 6= 2. This domain is written as R − f0; 1; 2g. 3 Graph of 1=(x3 − 3x2 + 2x). 8. f(x) = ln(x). This function is the natural logarithm and is defined for all x > 0 i.e. the domain is (0; 1). Graph of ln(x). 9. f(v) = p1=(1 − v). Defined for all v such that 1=(1 − v) ≥ 0 i.e. for all v < 1 i.e. the 4 domain is (−∞; 1). Graph of p1=(1 − v). 10. f(x) = 1= sin(x). Defined for all x 6= nπ; n = 0; ±1; ±2;:::. Graph of 1= sin(x). 5 11. f(x) = ln(sin(x)). This function is defined for x such that sin(x) > 0 i.e. for all x such that 2nπ < x < (2n + 1)π; n = 0; ±1; ±2;:::. Graph of ln(sin(x)): 23.3 Examples All of the above examples are functions which give unique values. However, consider the following examples. Example 1 Find a function y = f(x) such that y2 = x2. 6 Graph of y2 = x2. Solution. It is clear that y = ±x. However, we see that given x, y has two possible values ±x and so there cannot be such a function. We could insist that the function y satisfies y ≥ 0. In this case there is a unique function y = jxj, the absolute value. 7 Graph of y = jxj. Example 2 Find a function y = f(x) such that y2 = x. Graph of y2 = x. Solution. Note that we mustp have x ≥ 0. But once again we have two values for y i.e. y = ± x. So there is no function which gives both values. We get round this by insisting that we take the positive square root and 8 p denote this functionp by y = x. The negative square root function is denoted by y = − x. Once again we have to insist that x ≥ 0 in both functions. p Graph of y = x. Example 3 Find a function y = f(x) such that sin(y) = x. Solution. In order to find y given x we have to solve the equation sin(y) = x. Note that we must have −1 ≤ x ≤ 1. But there are an infinite num- ber of such possible values for y, as given one such solution y then y + 2nπ; n = 0; ±1; ±2;::: are also solutions. Hence once again we have a problem as there is not a unique value for y. But we can progress if we deliberately choose the unique value for y which lies between −π=2 and π=2. This function we have now defined is called y = arcsin(x) where −1 ≤ x ≤ 1 and −π=2 ≤ y ≤ π=2. 9 Graph of y = arcsin(x). Exercise 1 For each of the following functions find its domain i.e. the set of points where each function is defined. Look at the examples above to see some similar functions. (a) f(x) = x3 − x. (b) f(t) = 3t. p (c) f(z) = z − 1. p (d) f(z) = z2 − 1. p (e) f(x) = 6 − x − x2. (f) g(x) = sin(1=x). (g) h(u) = 1=(u − 2). (h) f(x) = 1=(x3 − 3x2 − 6x − 8). 10 (i) f(x) = 1=(x2 + 1). (j) f(x) = ln(x + 3). (k) k(v) = p1=(1 − v3). (l) f(x) = 1= cos(x). (m) m(x) = ln(cos(x)). Solutions to exercise 1 (a) f(x) = x3 − x is defined for all values of x and so the domain is R. (b) f(t) = 3t is defined for all values of t and so the domain is R. p (c) f(z) = z − 1 is defined for all z such that z − 1 ≥ 0 ) z ≥ 1 and the domain is the interval [1; 1). p (d) f(z) = z2 − 1 is defined for all z such that: z2 − 1 ≥ 0 ) z2 ≥ 1 ) z ≥ 1 or z ≤ −1 and the domain comprises the intervals [1; 1) and (−∞; −1]. p (e) f(x) = 6 − x − x2 is defined for all x such that 6 − x − x2 ≥ 0 , x2 + x − 6 ≤ 0 ) (x + 3)(x − 2) ≤ 0 ) −3 ≤ x ≤ 2: Hence the domain is the interval [−3; 2]. (f) g(x) = sin(1=x) is defined for all x except for x = 0. Hence the domain is R − f0g. (g) h(u) = 1=(u − 2) is defined for all u except for u = 2. The domain is R − f2g. (h) f(x) = 1=(x3 − 3x2 − 6x − 8) is defined for all x such that x3 − 3x2 − 6x − 8 6= 0. 11 So now we look for the values of x such that x3 − 3x2 − 6x − 8 = 0. x3 − 3x2 − 6x + 8 = 0 ) (x − 1)(x2 − 2x − 8) = 0 ) (x − 1)(x − 4)(x + 2) = 0 ) x = 1 or x = 4 or x = −2: The domain is then all x except for x = −2; x = 1; x = 4 and is denoted by R − {−2; 1; 4g. (i) f(x) = 1=(x2 + 1) is defined for all values of x as x2 + 1 > 0 for all x, hence the domain is R. (j) f(x) = ln(x + 3) is defined for all x such that x + 3 > 0 ) x > −3, so the domain is (−3; 1). (k) k(v) = p1=(1 − v3) is defined for all v such that: 1=(1 − v3) ≥ 0 , 1 − v3 > 0 , v3 < 1 , v < 1: Hence the domain is (−∞; 1). (l) f(x) = 1= cos(x) is defined for all x such that cos(x) 6= 0. Now cos(x) = 0 when x = nπ + π=2; n = 0; ±1; ±2. Hence the domain is R−f:::; −5π=2; −3π=2; π=2; 3π=2; 5π=2;:::g. (m) m(x) = ln(cos(x)) is defined for all x such that cos(x) > 0. Looking at the graph of cos(x) we see that cos(x) > 0 when −π=2 < x < π=2 i.e. (−π=2; π=2). Since cos(x) is periodic of period 2π we see that the domain comprises all of the intervals of the form ((4n − 1)π=2; (4n + 1)π=2); n = 0; ±1; ±2 :::. 12 23.4 Range of a Function We have already discussed the domain of a function f(x) i.e. the values of x for which f(x) is defined. Next we consider the values f(x) we get as x varies over the domain. This is, not surprisingly, called the range of f(x). Example 4 Find the ranges of the following functions. (a) f(x) = x. The domain is R i.e. all numbers and the range is also R. (b) f(x) = x2. The domain is once again R, but the range is all positive numbers as x2 ≥ 0 i.e.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    21 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us