Single-variable functions f(x) and g(x) are sketched below. Both have domain [−1,1].
y=f(x)y=g(x)
Based on the sketches, find the following.
The range of f(x),
the range of g(x),
the domain of f(g(x)), and
the range of f(g(x)).
Hint+
This is a review of high-school material, since we have functions of only one variable. We want you to think about it to get in the right mindset.
Answer+
[−10,10]
[0,1]
[−1,1]
[0,10]
Full solution+
The range of f(x) is [−10,10], since these are the y-values in the sketch.
The range of g(x) is [0,1], since these are the y-values in the sketch.
In order for f(g(x)) to be defined, we require −1≤g(x)≤1. That is, the range of g must be in the domain of f. This is true for all values of g(x), so there is no extra domain restriction. The domain of f(g(x)) is [−1,1].
Since the range of g(x) is [0,1], the numbers that get plugged into f in the compound function f(g(x)) are only the numbers [0,1]. So, the range of this function is [0,10]. g(x) never spits out any negative values, so f(x) is restricted to the nonnegative part of its domain.
Remark: because we're going off imprecise sketches, it wouldn't be wrong to give open intervals, rather than closed intervals, as your answers.
Is the point (x,y)=(1,1) in the domain of the implicitly defined function
z2y3+zx3+xy=1?
Hint+
If you set x=y=1, is there a solution to the equation?
Answer+
yes
Full solution+
If x=1=y, and (x,y,z) is a point on the function, then:
100=z2(13)+z(13)+(1)(1)=z2+z=z or −1=z
So yes, (1,1) is in the domain.
There's some fine print here. There are two different values of z corresponding to the input (x,y)=(1,1). That means that globally, z isn't a function of x and y, because a function should only ever have at most one output for any one input. Implicitly-defined functions often have this characteristic: it's not possible to write z=f(x,y) for any single function f of x and y.
To find the range, consider all points in the domain with x=0.
Answer+
Domain: all of R2. Range: [0,∞)
Full solution+
The only part of the function that could possibly limit the domain is the square root: we must not try to take the square root of a negative number.
The expression 4x2+y2 gives nonnegative numbers for any real values of x and y. So no matter what (x,y) we input, there is no danger of taking the square root of a negative number. So, the domain is all of R2.
We've already noted that 4x2+y2 will give us numbers from [0,∞), but we should check whether it gives us all of those numbers. Indeed, if we set x=0, we see
f(0,y)=y2=∣y∣
the range of which is [0,∞).
So by choosing x=0 and the appropriate y, we can indeed get f(x,y) to be any nonnegative number we desire. So, the range of f is [0,∞).
The only restriction on our domain is that we can't divide by 0, and 1+y2 is never 0. So, our domain is all of R2.
Since x2≥0 and 1+y2≥0, we see first that h(x,y) is never negative. The question now is whether it can actually achieve all nonnegative real values. If we set y=0, then h(x,0)=x2, which has range [0,∞). So we can indeed find a point h(x,y)=h(x,0) equal to any nonnegative number our hearts desire. That is, the range of h(x,y) is [0,∞).
One way of thinking of xy>0 is that x and y must have the same sign (and both be nonzero).
Answer+
Domain: all points (x,y) such that x and y have the same sign; x and y are nonzero; and y=x1.
Range: (−∞,0)∪(0,∞).
Full solution+
To find the domain of g, there are two potential limiting issues: we can't divide by 0, and we can't take the logarithm of a nonpositive number.
Since we can't divide by 0, log(xy)=0, which means xy=1, or (equivalently) y=x1.
Since we can't take the logarithm of a nonpositive number, we need xy>0. That is, x and y must be both negative, or both positive.
Combining these two restrictions, the domain of g(x,y) is all points (x,y) such that x and y have the same sign; they are nonzero; and y=x1. These points are graphed below. Dashed lines indicate points that are not in the domain.
With these restrictions, xy can be any nonnegative number except 1; which means log(xy) can be any real number except 0; and finally the range of the entire function is (−∞,0)∪(0,∞). (This is illustrated in graphs below.)
Red dotted line: values of xy. Blue dashed line: values of log(xy)
Blue dashed line: values of log(xy). Green solid line: values of log(xy)1
Find the domain and range of the two-variable function
f(x,y)=x2+1x2
Hint+
y doesn't impact the final value of f(x,y), so think of this as a problem from last semester. What are the maximum and minimum values of the function f(x)=x2+1x2? Can you sketch its graph?
Answer+
Domain: all of R2. Range: [0,1).
Full solution+
The only thing that might limit the domain of this function is dividing by zero; but since x2+1>0 for all real values of x, we see the domain of f is the entire plane R2.
Since y doesn't impact the value of f, we can consider the single-variable function
g(x)=x2+1x2
Since f(x,y)=g(x) for any (x,y), the range of g will be the same as the range of f. Note g(x) is continuous over all real numbers. So, its range will be (global min)≤g(x)≤ (global max). To help picture how g(x) behaves, note further that z=g(x) has a horizontal asymptote at z=1, and g(x) is an even function. Let's find the critical points of g(x).
g′(x)=(x2+1)2(x2+1)(2x)−x2(2x)=(x2+1)22x
The only CP of this function is x=0. Its horizontal asymptotes are 1 in both directions. So, the basic shape of the function is:
Consider the functions f1(x)=x2+1x and f2(y)=siny separately.
Answer+
Domain: all of R2. Range: [−23,23].
Full solution+
The domain of f(x,y) is all of R2: the only possible restriction is dividing by zero, but x2+1>0 for all values of x.
We can write f(x,y) as
f(x,y)=f1(x)+f2(y)
where f1(x)=x2+1x and f2(y)=siny. Since there is not term depending on both x and y, the maximum value of f will occur when x maximizes f1 and y maximizes f2. Similarly, the minimum value of f will occur when x minimizes f1 and y minimizes f2. Since these two functions are both continuous, we see that the range of f will be
(min of f1 + min of f2)≤f(x,y)≤(max of f1 + max of f2)
The range of f2(y)=siny is easy: it's [−1,1]. Let's consider f1(x)=x2+1x. Note its horizontal asymptotes are 0 in both directions, and it's an odd function. To find its extrema, let's sketch it, starting by finding its critical points.
If a company spends a dollars on advertisements, and sells the advertised product at p dollars each, then the number of units that will be sold is given as a function D(a,p).
Give a sensible model domain and range.
Hint+
Do you see any signs that might point you in the right direction?
Answer+
For example: domain should be all (a,p) where a≥0 and p>0; range should be [0,∞).
Full solution+
Some general assumptions might be that the amount of money spend on advertisements shoudn't be negative, so we should have a≥0. Similarly, it's reasonable to assume that the company is not giving away its product, nor paying people to take it, so p>0. Finally, people won't demand a negative number of goods, so the range should be nonnegative.
That is one way of thinking about the problem, but different models might have different restrictions. For example, from time to time (including a time in 2020) oil futures trade at negative values: people were paying to give them away. So for certain models, negative prices and negative demands do make sense.
For other models, also an upper bound of some sort probable makes sense. Maybe you aren't able to sell more than one million of your product, because you don't have the capacity to manufacture more. Maybe demand will never exceed one product per person in your area. Such restrictions would further impact the domain and range that make sense for your model.
to model some process. In your model, the only values of the range that make sense are
3≤f(x,y)≤5
What is your model domain?
Hint+
The domain will look like a ring
Answer+
51≤x2+y2≤31: that is, the points (x,y) that are inside or on the circle centred at the origin with radius 31, but not inside the circle centred at the origin with radius 51.
Full solution+
For this question, we solve two inequalities.
3⟹315⟹51≤x2+y21≥x2+y2≥x2+y21≤x2+y2
So, the points (x,y) must be both:
inside or on the circle centred at the origin with radius 31, and
not inside the circle centred at the origin with radius 51.