Functions - Domain and Range
Question 11 mark
\mathrm{f}(x)=4x^2-3x
Work out the value of \mathrm{f}(-2)
Hint
Replace every x with (-2), keeping the brackets so that the square of -2 comes out positive.
Worked solution
- \mathrm{f}(-2)=4(-2)^2-3(-2)
- =4\times4+6
- =16+6
- Answer: 22
Question 21 mark
\mathrm{g}(x)=3(x-4)
Solve \mathrm{g}(x)=-6
Hint
\mathrm{g}(x)=-6 means the output is -6, so set 3(x-4) equal to -6 and solve for x.
Worked solution
- \mathrm{g}(x)=-6 means 3(x-4)=-6 (it does not mean put x=-6 into g)
- Divide by 3: x-4=-2
- Answer: x=2
Question 31 mark
\mathrm{f}(x)=3^x for -2\leqslant x<2
Select the range of f.
Hint
3^x increases as x increases, so put the two ends of the domain into f, and remember what a negative power means.
Worked solution
- 3^x is increasing, so the smallest output is at x=-2 and the largest at x=2.
- \mathrm{f}(-2)=3^{-2}=\dfrac{1}{9} (a negative power gives a reciprocal, not a negative number).
- \mathrm{f}(2)=3^2=9, but x=2 is not in the domain (x<2), so 9 is not reached: use <.
- x=-2 is included, so use \leqslant at the bottom.
- The range is written in terms of \mathrm{f}(x), not x.
- Answer: \dfrac{1}{9}\leqslant \mathrm{f}(x)<9
Question 41 mark
\mathrm{f}(x)=5x+2 for x\geqslant -1
Work out the range of f.
Give your answer as an inequality.
Hint
f increases as x increases, so work out the output at the smallest value of x in the domain.
Worked solution
- The gradient, 5, is positive, so f increases as x increases
- The smallest x in the domain is -1, and it is included
- \mathrm{f}(-1)=-5+2=-3
- As x gets larger, \mathrm{f}(x) gets larger without limit
- The range is written in terms of \mathrm{f}(x), not x
- Answer: \mathrm{f}(x)\geqslant -3
Question 51 mark
\mathrm{f}(x)=\dfrac{4}{x^2-9}
The domain of f is every value of x for which \mathrm{f}(x) can be worked out.
Which of these is the domain of f?
Hint
A fraction cannot be worked out when its denominator is zero.
Worked solution
- \mathrm{f}(x) cannot be worked out when the denominator is zero: x^2-9=0
- x^2=9, so x=3 or x=-3 (both square to 9)
- Every other value of x gives a non-zero denominator, including x=0 and x=9
- Answer: for all x except x=3 and x=-3
Question 62 marks
\mathrm{f}(x)=\dfrac{x-4}{3}
The range of f is -3\leqslant \mathrm{f}(x)<1
Work out the domain of f.
Give your answer as an inequality.
Hint
Replace \mathrm{f}(x) with \dfrac{x-4}{3} in the inequality and solve it for x.
Worked solution
- -3\leqslant \dfrac{x-4}{3}<1
- Multiply through by 3: -9\leqslant x-4<3
- Add 4: -5\leqslant x<7
- The signs stay the same: -3 is in the range, 1 is not
- Answer: -5\leqslant x<7
Question 72 marks
\mathrm{h}(x)=2x^3+1 for -2\leqslant x<1
Work out the range of h.
Give your answer as an inequality.
Hint
2x^3+1 increases as x increases, so the least and greatest values come from the ends of the domain.
Worked solution
- x^3 increases as x increases, so h does too
- Least value: \mathrm{h}(-2)=2(-8)+1=-15
- x=-2 is in the domain, so -15 is reached: use \leqslant
- Greatest value: \mathrm{h}(1)=2+1=3
- x=1 is not in the domain (x<1), so 3 is not reached: use <
- Answer: -15\leqslant \mathrm{h}(x)<3
Question 82 marks
n is a number such that -6<n\leqslant 2
Work out the range of possible values of n^2
Give your answer as an inequality.
Hint
n can be negative, zero or positive, so think about the smallest value a square can take as well as the values at the ends.
Worked solution
- n=0 is allowed, and a square is never negative, so the least value of n^2 is 0
- At the ends: (-6)^2=36 and 2^2=4
- n=-6 is not allowed (-6<n), so 36 is not reached: use <
- Every value from 0 up to (but not including) 36 is possible
- Answer: 0\leqslant n^2<36
Question 92 marks
\mathrm{h}(x)=3^x-4 for x\leqslant 2
Work out the range of h.
Give your answer as an inequality.
Hint
Think about what happens to 3^x when x is a large negative number: it gets close to a value but never reaches it.
Worked solution
- 3^x increases as x increases, so the greatest value is at x=2
- \mathrm{h}(2)=9-4=5, and x=2 is in the domain: use \leqslant
- As x becomes a large negative number, 3^x gets closer and closer to 0 but is always positive
- So \mathrm{h}(x) gets closer to -4 but never equals it: use <
- Answer: -4<\mathrm{h}(x)\leqslant 5
Question 102 marks
\mathrm{f}(x)=\dfrac{12}{x} for x\geqslant 4
Work out the range of f.
Give your answer as an inequality.
Hint
Work out \mathrm{f}(4), then think about what happens to \dfrac{12}{x} as x gets larger and larger.
Worked solution
- \mathrm{f}(4)=\dfrac{12}{4}=3, and x=4 is in the domain
- As x increases, \dfrac{12}{x} decreases, so 3 is the greatest value
- \dfrac{12}{x} stays positive for positive x and never reaches 0
- Answer: 0<\mathrm{f}(x)\leqslant 3
Question 112 marks
\mathrm{f}(x)=x^2-6x+1 for 4<x\leqslant 7
Which of these is the range of f?
Hint
Find where the turning point of the graph is and check whether it lies inside the domain.
Worked solution
- x^2-6x+1=(x-3)^2-8, so the turning point is at x=3
- x=3 is not in the domain 4<x\leqslant 7, so -8 is not part of the range
- For x>3, f increases, so use the ends of the domain
- \mathrm{f}(4)=16-24+1=-7, but x=4 is not included: use <
- \mathrm{f}(7)=49-42+1=8, and x=7 is included: use \leqslant
- Answer: -7<\mathrm{f}(x)\leqslant 8
Question 122 marks
\mathrm{f}(x)=2x^2-12x+23
The domain of f is all real values of x.
Work out the range of f.
Give your answer as an inequality.
Hint
Write \mathrm{f}(x) in the form a(x+b)^2+c and think about the smallest value a square can take.
Worked solution
- 2x^2-12x+23=2(x^2-6x)+23
- =2(x-3)^2-18+23
- =2(x-3)^2+5
- (x-3)^2\geqslant 0, so \mathrm{f}(x)\geqslant 5, with \mathrm{f}(3)=5
- There is no upper limit because the domain is all real values
- Answer: \mathrm{f}(x)\geqslant 5
Question 132 marks
\mathrm{h}(x)=x^2-4x+7 for -1<x\leqslant 3
Work out the range of h.
Give your answer as an inequality.
Hint
Complete the square to find the turning point and check whether it lies inside the domain before using the end values.
Worked solution
- Complete the square: x^2-4x+7=(x-2)^2+3
- The minimum point is at x=2, which is inside the domain, so the least value is \mathrm{h}(2)=3 (and it is reached, so \leqslant).
- Check the ends: \mathrm{h}(-1)=1+4+7=12 and \mathrm{h}(3)=9-12+7=4
- The largest value would be 12, at x=-1, but x=-1 is not in the domain (-1<x), so use <.
- Answer: 3\leqslant \mathrm{h}(x)<12
Question 142 marks
\mathrm{f}(x)=x^2-2x for x>1
Solve \mathrm{f}(x)=15
Hint
Form a quadratic equation and solve it, then check each solution against the domain.
Worked solution
- x^2-2x=15
- x^2-2x-15=0
- (x-5)(x+3)=0, so x=5 or x=-3
- x=-3 is not in the domain (x>1), so reject it
- Answer: x=5
Question 153 marks
\mathrm{g}(x)=5x-x^2 for 1<x<4
Work out the range of g.
Give your answer as an inequality.
Hint
The graph of 5x-x^2 is an upside-down curve: find where its turning point is and whether it lies inside the domain.
Worked solution
- 5x-x^2=x(5-x) is zero at x=0 and x=5, so the turning point is halfway, at x=2.5
- x=2.5 is inside the domain, so the greatest value is \mathrm{g}(2.5)=12.5-6.25=6.25
- 6.25 is reached, so use \leqslant
- Ends: \mathrm{g}(1)=5-1=4 and \mathrm{g}(4)=20-16=4
- Neither end is in the domain, so 4 is never reached: use <
- Answer: 4<\mathrm{g}(x)\leqslant \dfrac{25}{4}
Question 16Challenge5 marks
\mathrm{f}(x)=ax+b for 1\leqslant x\leqslant 5
a and b are constants, and a<0
The range of f is -2\leqslant \mathrm{f}(x)\leqslant 10
Work out the value of a.
2 marks
Work out the value of b.
1 mark
Work out the values of x in the domain for which \mathrm{f}(x)>4
Give your answer as an inequality.
2 marks
Hint
As a is negative, f is decreasing, so the greatest value of \mathrm{f}(x) comes from the smallest value of x. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- a<0, so f is decreasing: the greatest output comes from the smallest x
- \mathrm{f}(1)=10: a+b=10
- \mathrm{f}(5)=-2: 5a+b=-2
- Subtract: 4a=-12
- Answer: a=-3
Part (b)
- a+b=10
- -3+b=10
- Answer: b=13
Part (c)
- 13-3x>4
- 9>3x, so x<3
- The domain starts at x=1 (included)
- Answer: 1\leqslant x<3
Question 17Challenge5 marks
\mathrm{g}(x)=a\times b^x, where a and b are constants and b>0
The points (-1,\ 20) and (1,\ 5) lie on the graph of y=\mathrm{g}(x)
Work out the value of b.
Give your answer as a fraction.
2 marks
Work out the value of a.
1 mark
The domain of g is -2<x\leqslant 3
Work out the range of g.
Give your answer as an inequality.
2 marks
Hint
Put each point into y=a\times b^x to get two equations, then divide one by the other to get rid of a. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- At (-1,\ 20): a\times b^{-1}=20, so \dfrac{a}{b}=20
- At (1,\ 5): ab=5
- Divide: ab\div\dfrac{a}{b}=b^2, so b^2=\dfrac{5}{20}=\dfrac{1}{4}
- b>0, so b=\dfrac{1}{2}
- Answer: b=\dfrac{1}{2}
Part (b)
- ab=5
- a\times\dfrac{1}{2}=5
- Answer: a=10
Part (c)
- \mathrm{g}(x)=10\times\left(\dfrac{1}{2}\right)^x, which decreases as x increases
- a\times b^x means a times b^x: work out the power first
- Greatest: \mathrm{g}(-2)=10\times 2^2=40, but x=-2 is not in the domain: use <
- Least: \mathrm{g}(3)=10\times\dfrac{1}{8}=\dfrac{5}{4}, and x=3 is in the domain: use \leqslant
- Answer: \dfrac{5}{4}\leqslant \mathrm{g}(x)<40
Question 18Challenge5 marks
\mathrm{f}(x)=8^x\qquad \mathrm{g}(x)=\sqrt{3x+k}, where k is a constant
\mathrm{f}\left(\dfrac{2}{3}\right)=\mathrm{g}(4)
Work out the value of k.
3 marks
The domain of g is all the values of x for which \mathrm{g}(x) can be worked out.
Work out the domain of g.
Give your answer as an inequality.
1 mark
For this part only, the domain of g is 0\leqslant x\leqslant 15
Work out the range of g.
Give your answer as an inequality.
1 mark
Hint
Work out 8^{\frac{2}{3}} by taking the cube root first and then squaring. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{f}\left(\dfrac{2}{3}\right)=8^{\frac{2}{3}}=\left(\sqrt[3]{8}\right)^2
- =2^2=4
- \mathrm{g}(4)=\sqrt{12+k}
- \sqrt{12+k}=4, so 12+k=16
- Answer: k=4
Part (b)
- \mathrm{g}(x)=\sqrt{3x+4}
- The square root of a negative number cannot be worked out, so 3x+4\geqslant 0
- 3x\geqslant -4
- Answer: x\geqslant -\dfrac{4}{3}
Part (c)
- \sqrt{3x+4} increases as x increases
- \mathrm{g}(0)=\sqrt4=2 and \mathrm{g}(15)=\sqrt{49}=7
- Both ends are in the domain: use \leqslant at both
- Answer: 2\leqslant \mathrm{g}(x)\leqslant 7
Question 19Challenge5 marks
\mathrm{f}(x)=x^2-2x+c for -2\leqslant x\leqslant k
c and k are constants, and k>1
The range of f is 2\leqslant \mathrm{f}(x)\leqslant 18
Work out the value of c.
2 marks
Work out the value of k.
3 marks
Hint
The lowest value of a quadratic on a domain is at its turning point if the turning point is inside the domain; the highest value is at one of the ends.
Worked solution
Part (a)
- Complete the square: x^2-2x+c=(x-1)^2+c-1
- The minimum point is at x=1, which is inside the domain because -2\leqslant 1\leqslant k (as k>1).
- So the least value of f is c-1, and this must equal 2.
- c-1=2
- Answer: c=3
Part (b)
- \mathrm{f}(x)=x^2-2x+3
- At the left end: \mathrm{f}(-2)=4+4+3=11, which is less than 18.
- So the greatest value, 18, must happen at the other end, x=k.
- k^2-2k+3=18
- k^2-2k-15=0
- (k-5)(k+3)=0, so k=5 or k=-3
- k>1, so k=5
- Answer: k=5
Question 20Challenge5 marks
\mathrm{f}(x)=x^3-12x for -1\leqslant x<5
The curve y=\mathrm{f}(x) has one stationary point for -1\leqslant x<5
Work out the coordinates of this stationary point.
3 marks
Work out the range of f.
Give your answer as an inequality.
2 marks
Hint
Differentiate to find where the gradient is zero, and check that each solution lies in the domain. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathrm{f}'(x)=3x^2-12
- At a stationary point 3x^2-12=0, so x^2=4
- x=2 or x=-2, and x=-2 is not in the domain
- \mathrm{f}(2)=8-24=-16
- Answer: (2,\ -16)
Part (b)
- \mathrm{f}''(x)=6x, and \mathrm{f}''(2)=12>0, so (2,\ -16) is a minimum
- It is the only stationary point in the domain, so the least value is -16 (reached)
- Ends: \mathrm{f}(-1)=-1+12=11 and \mathrm{f}(5)=125-60=65
- The greatest value would be 65, but x=5 is not in the domain: use <
- Answer: -16\leqslant \mathrm{f}(x)<65