Differential Calculus 201-SN2-RE • CEGEP, Montreal
Corrected exercises: functions, domains and operations (201-SN2-RE)
This is the corrected exercise set on functions, their domains and their operations for Differential Calculus, 201-SN2-RE (formerly 201-NYA): the first chapter of the course, and the one students rush through because it looks like review. That is a costly misjudgement. A domain that is set up wrong makes every limit of the next chapter wrong, every asymptote of curve sketching wrong, and every optimization answer that falls outside the admissible interval wrong.
Exercises 0.1 and 0.2 open the set with direct calculations, as in textbook drill lists: twelve domains to write in interval notation, from a polynomial to x2−2x−8, 12+x−x23, ln(x2+3x−10), ln(x+2)1 and arcsin(3−2x), then ten compositions and inverses to evaluate at a point, from (f∘g)(2) to f−1(−1) for a square root and g−1(1) for a logarithm, each with an answer to type in and checked as you go.
Part A builds the reflexes: building a domain from the only three restrictions, writing an absolute value piecewise, composing two functions and deducing the domain in two steps, reading a transformed graph. Part B moves up to exam level with inverse functions, the trigonometry of the unit circle, and two modelling problems where the physical domain is half the mark.
This set is written for CEGEP students in the Science program (Sciences de la nature) who are starting Differential Calculus, 201-SN2-RE.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Three restrictions, and only three: a denominator cannot be zero, a radicand with an EVEN index is greater than or equal to zero, the argument of a logarithm is strictly positive. Everything else in R is allowed.
•A root IN the denominator combines the first two restrictions: the radicand must be strictly positive, the inequality becomes strict and the endpoints leave the domain.
•dom(f+g)=dom(f⋅g)=domf∩domg, and dom(gf) is that intersection WITHOUT the zeros of g.
•dom(f∘g)={x∈domg:g(x)∈domf}: two conditions, in that order, never just one.
•x2=∣x∣, and ∣x−a∣ reads “the distance from x to a”. An equation with absolute values is solved piece by piece, checking that each solution lies in its piece.
•Transformations: in y=af(b(x−c))+d, what touches x acts the opposite way (c>0 shifts to the right, b>1 compresses), what is outside acts the natural way. A negative a REVERSES the range interval.
•f has an inverse if and only if it is one-to-one. Then domf−1=rangef and rangef−1=domf: the two sets swap.
•Trigonometry: reference angle first, then the sign given by the quadrant. tan and sec exist where cosx=0, cot and csc where sinx=0.
Calculations: domains to find
Exercise 0.1: Find the domain: twelve direct calculations
For each function, find the domain and write it in interval notation. When the domain is the union of two intervals, give the left interval then the right one; when it is R minus a few values, give those excluded values.
One method for all twelve lines: spot each of the three restrictions present (a zero denominator, an EVEN root of a negative number, a logarithm of a number that is not strictly positive), write the condition each one imposes, solve it, then take the intersection of all the conditions. A root in the denominator makes the inequality strict; a cube root restricts nothing.
a) f(x)=4x3−x+7
b) f(x)=10−4x
c) f(x)=x2+x−122x−1
d) f(x)=∣x∣−3x
e) f(x)=3x−7x+2
f) f(x)=x2−2x−8
g) f(x)=12+x−x23
h) f(x)=x−1x+5
i) f(x)=ln(x2+3x−10)
j) f(x)=ln(x+2)1
k) f(x)=e2x−4ex+31
l) f(x)=arcsin(3−2x)
Show the solution
Answers
a)(−∞,+∞)
b)(−∞,25]
c)R∖{−4,3}
d)R∖{−3,3}
e)R∖{7}
f)(−∞,−2]∪[4,+∞)
g)(−3,4)
h)[−5,1)∪(1,+∞)
i)(−∞,−5)∪(2,+∞)
j)(−2,−1)∪(−1,+∞)
k)R∖{0,ln3}, ln3≈1.099
l)[1,2]
The move that decides everything: write the CONDITION before solving it, one per restriction, and never forget one. x−1x+5 carries two, x+5≥0 and x−1=0; so does ln(x+2)1, x+2>0 and ln(x+2)=0. The domain is what satisfies them ALL.
a)
A polynomial has no restriction: domf=R=(−∞,+∞).
b)
10−4x≥0⟺−4x≥−10⟺x≤25, the inequality flips because we divide by −4. domf=(−∞,25], endpoint included since 0 exists. Pitfall: keeping the direction and writing x≥25.
c)
x2+x−12=(x+4)(x−3)=0: x=−4 and x=3. domf=R∖{−4,3}. The numerator plays no role.
d)
∣x∣−3=0⟺∣x∣=3⟺x=±3. domf=R∖{−3,3}. Pitfall: excluding only x=3, forgetting that ∣−3∣=3 as well.
e)
A CUBE root accepts negatives: only the denominator matters, x=7. domf=R∖{7}. Pitfall: imposing x−7x+2≥0 as for a square root, which would wrongly remove the whole interval (−2,7).
f)
x2−2x−8=(x+2)(x−4)≥0: the quadratic is positive outside its roots. domf=(−∞,−2]∪[4,+∞), endpoints included.
g)
The root is in the denominator: 12+x−x2>0, STRICTLY. Now 12+x−x2=−(x−4)(x+3), positive BETWEEN the roots. domf=(−3,4). Pitfall: using square brackets, when at −3 and at 4 we would divide by 0.
h)
Two conditions: x+5≥0, that is x≥−5, and x−1=0, that is x=1. domf=[−5,1)∪(1,+∞). Pitfall: forgetting to remove 1, which does belong to the domain of the root.
i)
x2+3x−10=(x+5)(x−2)>0, strictly, outside the roots. domf=(−∞,−5)∪(2,+∞). Pitfall: using square brackets, when ln0 does not exist.
j)
Two conditions: x+2>0, that is x>−2, and ln(x+2)=0, that is x+2=1, so x=−1. domf=(−2,−1)∪(−1,+∞). Pitfall: writing ln(x+2)=0⟺x=−2, confusing the zero of the logarithm (u=1) with its boundary (u=0).
k)
Let u=ex: u2−4u+3=(u−1)(u−3)=0, so ex=1 and ex=3, that is x=0 and x=ln3≈1.099. domf=R∖{0,ln3}. Pitfall: answering x=1 and x=3, which are values of ex, not of x.
l)
arcsin only accepts [−1,1]: −1≤3−2x≤1⟺−4≤−2x≤−2⟺2≥x≥1. domf=[1,2]. Pitfall: dividing by −2 without reversing both inequalities, which gives the empty interval [2,1].
Check: evaluate f on the calculator at a point just inside and just outside each endpoint, for example at 3.999 and at 4.001 on line g); the calculator must answer “error” exactly on the excluded side, and at the excluded values themselves.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Calculations: compositions and inverses to evaluate
Exercise 0.2: Compose two functions and invert: ten direct calculations
For each line, compute the value asked for: a composition at a point, (f∘g)(a)=f(g(a)), or the value of an inverse at a point, f−1(b). When a value does not exist, say so.
A composition is computed from the inside out: first evaluate the function written to the RIGHT of the circle, then feed the result to the one on the left. For f−1(b), there is no need to write the formula of the inverse: look for the number x such that f(x)=b, then check that it belongs to the domain of f, or of its restriction. If no x works, b is not in the range of f and f−1(b) does not exist.
a) f(x)=3x−1 and g(x)=x2+2: (f∘g)(2), then (g∘f)(2).
b) f(x)=5−2x: (f∘f)(3).
c) f(x)=x and g(x)=x2−7: (f∘g)(4), then (g∘f)(4).
d) f(x)=x1 and g(x)=2x+3: (f∘g)(21), then (g∘f)(21).
e) f(x)=∣x−4∣ and g(x)=x2−3x: (f∘g)(1), then (g∘f)(1).
f) f(x)=4x+7: f−1(−5).
g) f(x)=x−13x+2: f−1(5).
h) f(x)=2x+5: f−1(3), then f−1(−1).
i) f(x)=x2−6 restricted to [0,+∞): f−1(10).
j) f(x)=3⋅2x: f−1(24); then g(x)=ln(x−2): g−1(1).
Show the solution
Answers
a)(f∘g)(2)=17; (g∘f)(2)=27
b)(f∘f)(3)=f(−1)=7
c)(f∘g)(4)=3; (g∘f)(4)=−3
d)(f∘g)(21)=41; (g∘f)(21)=7
e)(f∘g)(1)=6; (g∘f)(1)=0
f)f−1(−5)=−3
g)f−1(5)=27
h)f−1(3)=2; f−1(−1) does not exist
i)f−1(10)=4
j)f−1(24)=3; g−1(1)=2+e≈4.718
The move that decides everything: read (f∘g)(a) from RIGHT to LEFT, g first, and read f−1(b) as an EQUATION, f(x)=b, never as a reciprocal f(b)1. The two traps of the chapter fit in these two readings.
a)
(f∘g)(2)=f(g(2))=f(6)=17; (g∘f)(2)=g(f(2))=g(5)=27. The two results differ: composition is not commutative. Pitfall: computing g last for (f∘g).
b)
(f∘f)(3)=f(f(3))=f(−1)=5+2=7. Pitfall: (f∘f)(3) is not (f(3))2=1; we compose, we do not multiply.
c)
(f∘g)(4)=f(16−7)=f(9)=3; (g∘f)(4)=g(2)=4−7=−3.
d)
(f∘g)(21)=f(1+3)=f(4)=41; (g∘f)(21)=g(2)=7.
e)
(f∘g)(1)=f(1−3)=f(−2)=∣−6∣=6; (g∘f)(1)=g(∣1−4∣)=g(3)=9−9=0. Pitfall: dropping the absolute value and answering −6.
f)
4x+7=−5⟺4x=−12⟺x=−3, so f−1(−5)=−3. Check: f(−3)=−12+7=−5. Pitfall: f−1(−5)=f(−5)1=−131, which confuses the inverse function with the reciprocal.
g)
x−13x+2=5⟺3x+2=5x−5⟺7=2x⟺x=27, and 27=1 is in the domain. f−1(5)=27. Check: f(27)=2.512.5=5. Pitfall: computing f(5)=417.
h)
2x+5=3⟺2x+5=9⟺x=2, so f−1(3)=2. On the other hand, a square root is never negative: the range of f is [0,+∞), −1 is not in it, and f−1(−1) does not exist. Pitfall: squaring, 2x+5=1, and answering x=−2, when f(−2)=1=−1.
i)
x2−6=10⟺x2=16⟺x=±4, but the restriction requires x≥0: f−1(10)=4. Pitfall: answering −4, or both; an inverse gives ONE value, taken in the domain of the restriction.
j)
3⋅2x=24⟺2x=8⟺x=3, so f−1(24)=3. Then ln(x−2)=1⟺x−2=e⟺x=2+e≈4.718, so g−1(1)=2+e. Pitfall: writing x−2=1, when ln(x−2)=1 means x−2=e1.
Check: for an inverse, substitute the value found into f and you must get b back; for a composition, redo the calculation by first writing the formula of f∘g, for example (f∘g)(x)=3(x2+2)−1=3x2+5 on line a), which does give 17 at x=2.
Part A: domain, operations and composition (/50)
Exercise 1: The domain: the only three restrictions
Find the domain of each of these functions, and write it in interval notation.
a) f(x)=x2−4x+3
b) g(x)=6−2x
c) h(x)=x−4x2−x−6
d) k(x)=9−x21. Compare its domain with that of 9−x2 and explain the difference.
Show the solution
Answers
a)R∖{−2,2}
b)(−∞,3]
c)(−∞,−2]∪[3,4)∪(4,+∞)
d)(−3,3) versus [−3,3]: root in the denominator
a)
A quotient forbids a zero denominator, and that is the only restriction here. x2−4=(x−2)(x+2) is zero at x=2 and x=−2. So domf=(−∞,−2)∪(−2,2)∪(2,+∞), which can also be written R∖{−2,2}. The numerator plays NO role in the domain: a solution that excludes x=−3 because the numerator vanishes there confuses a zero of the function with a forbidden value.
b)
A root with an EVEN index requires a radicand greater than or equal to zero: 6−2x≥0, that is x≤3. So domg=(−∞,3]. The bracket is square at 3 because 0=0 exists: that is exactly the difference with part d).
c)
Two restrictions add up. First the root: x2−x−6=(x−3)(x+2)≥0. The sign chart of the quadratic, positive outside its roots, gives x≤−2 or x≥3. Then the denominator: x=4. Combining the two conditions, domh=(−∞,−2]∪[3,4)∪(4,+∞), with a parenthesis that is always used on the side of infinity. Quick check: h(0) requires −6, so 0 must be outside the domain ✓, and h(5)=114 exists ✓.
d)
Here the root is in the DENOMINATOR, so it must be defined AND nonzero: 9−x2>0, a STRICT inequality, that is −3<x<3 and domk=(−3,3). For 9−x2, the inequality is not strict and the domain is [−3,3]. The two endpoints ±3 belong to the second domain and not to the first, because there the radicand is 0, a perfectly acceptable value under a root but forbidden in a denominator. This is the most profitable distinction of the chapter: it decides the domain, hence the vertical asymptotes, hence the limits you will have to compute in the next chapter.
Exercise 2: Absolute value and piecewise-defined function
Let f(x)=∣x−1∣+∣x+2∣.
a) Write f without absolute values, as a piecewise-defined function.
b) Sketch the graph of f and give its range.
c) Solve f(x)=7.
d) Interpret f(x) as a sum of distances, and explain where the flat part comes from.
Show the solution
Answers
a)−2x−1 if x<−2; 3 if −2≤x<1; 2x+1 if x≥1
b)Range [3,+∞)
c){−4,3}
d)Sum of the distances to 1 and to −2: flat part at height 3
a)
The two absolute values change definition at x=1 and at x=−2: these are the breakpoints, and they split R into three pieces. If x<−2, then x−1<0 and x+2<0, so f(x)=−(x−1)−(x+2)=−2x−1. If −2≤x<1, then x−1<0 but x+2≥0, so f(x)=−(x−1)+(x+2)=3. If x≥1, both are positive and f(x)=(x−1)+(x+2)=2x+1. The move to remember: do not guess the signs, place the two breakpoints on a number line and read each interval.
b)
The graph is made of three pieces: a ray of slope −2 up to (−2,3), a horizontal segment at height 3 between x=−2 and x=1, then a ray of slope 2 starting from (1,3). The pieces join continuously: −2(−2)−1=3 and 2(1)+1=3. The range is [3,+∞): the value 3 is reached on a whole segment, not at a single point, and nothing below it is reached.
c)
Solve piece by piece, checking each time that the solution really belongs to the piece. On x<−2: −2x−1=7 gives x=−4, which does satisfy −4<−2 ✓. On −2≤x<1: 3=7 is impossible, no solution. On x≥1: 2x+1=7 gives x=3, which satisfies 3≥1 ✓. The solution set is {−4,3}. Check: f(−4)=∣−5∣+∣−2∣=5+2=7 ✓ and f(3)=∣2∣+∣5∣=2+5=7 ✓. Forgetting to check that a solution belongs to its piece is the classic error: it produces extraneous solutions that cost a mark each.
d)
∣x−1∣ is the distance from x to the point 1, and ∣x+2∣=∣x−(−2)∣ is the distance from x to the point −2. So f(x) is the sum of the distances from x to two points that are 3 apart. When x is BETWEEN them, this sum equals exactly the gap, that is 3, whatever the position: that is the flat part. When x leaves the interval, each extra step moves it away from TWO points at once, hence the slopes ±2. This reading gives the graph and the minimum without any calculation, and it generalizes: ∣x−a∣+∣x−b∣ has minimum ∣b−a∣, reached on the whole segment [a,b].
Exercise 3: Operations on functions: the domain does not simply carry over
Let f(x)=x+1 and g(x)=4−x.
a) Give domf and domg.
b) Give dom(f+g), dom(f⋅g) and dom(gf), and state precisely what sets the third apart from the first two.
c) Compute (f+g)(0) and (f+g)(3).
d) Show that (f⋅g)(x)=(x+1)(4−x) and find its maximum without differentiating.
Show the solution
Answers
a)[−1,+∞) and (−∞,4]
b)[−1,4], [−1,4] and [−1,4)
c)(f+g)(0)=(f+g)(3)=3
d)Maximum 25 at x=23
a)
domf=[−1,+∞) because x+1≥0, and domg=(−∞,4] because 4−x≥0.
b)
The general rule: the domain of a sum, a difference or a product is the INTERSECTION of the domains, because both functions must exist. Here dom(f+g)=dom(f⋅g)=[−1,+∞)∩(−∞,4]=[−1,4]. For the quotient one condition is added, and only one: the denominator must not be zero. Now g(x)=0 for x=4. So dom(gf)=[−1,4). This is the point that regularly costs a mark on the exam: remove the zeros of the DENOMINATOR, never those of the numerator, and remove them from an intersection that has already been computed.
c)
(f+g)(0)=1+4=1+2=3. (f+g)(3)=4+1=2+1=3 as well, which is no coincidence: the sum is symmetric about the midpoint of [−1,4], that is x=1.5, since swapping x+1 and 4−x amounts to reflecting about that point.
d)
(f⋅g)(x)=x+1⋅4−x=(x+1)(4−x): the product of two roots is the root of the product, provided both radicands are nonnegative, which is exactly the domain found in part b). The radicand (x+1)(4−x)=−x2+3x+4 is a quadratic with a negative leading coefficient, so a parabola opening downward, whose vertex is at x=−2(−1)3=23. Since the square root is increasing, it reaches its maximum at the same place as its radicand: (f⋅g)(23)=(25)(25)=25. No derivative was needed, and the argument “the square root is increasing, so it preserves extrema” is used throughout the course.
Exercise 4: Composition, and the domain that is not the one you expect
Let f(x)=x−21 and g(x)=x.
a) Write (f∘g)(x) and give its domain.
b) Write (g∘f)(x) and give its domain.
c) Are these two functions equal? Support your answer with a numerical counterexample.
d) Decompose h(x)=x2+31 into a composition of three simple functions.
Show the solution
Answers
a)x−21, domain [0,4)∪(4,+∞)
b)x−21, domain (2,+∞)
c)No: −3.732 versus 1 at x=3
d)h=w∘v∘u with u=x2+3, v=t, w=s1
a)
(f∘g)(x)=f(x)=x−21. The domain is built in TWO steps, never in one. First step: x must belong to the domain of g, so x≥0. Second step: g(x) must belong to the domain of f, so x=2, that is x=4. Conclusion: dom(f∘g)=[0,4)∪(4,+∞). Reading the domain off the simplified expression x−21 would give the right result here by luck, but the two-step method is the only safe one.
b)
(g∘f)(x)=g(x−21)=x−21. First step: x=2. Second step: x−21≥0, which requires x−2>0, that is x>2. Conclusion: dom(g∘f)=(2,+∞). The two domains are therefore radically different, which is already enough to settle part c).
c)
No. Two functions are equal when they have the same domain AND the same value at every point, and here the first condition already fails: 0 belongs to dom(f∘g) and not to dom(g∘f). A numerical counterexample at a point common to both domains, x=3: (f∘g)(3)=3−21≈−3.732, while (g∘f)(3)=11=1. Composition is NOT commutative, and the reading order is from the inside out: in f∘g, it is g that acts first.
d)
Read h from the inside out, which is exactly the order in which a calculator would evaluate it. Square and add 3: u(x)=x2+3. Take the root: v(t)=t. Take the reciprocal: w(s)=s1. Then h=w∘v∘u. Check at x=1: u(1)=4, v(4)=2, w(2)=21, and h(1)=41=21 ✓. This decomposition is not a pointless exercise: it is exactly the order in which the chain rule will differentiate h in the chapter on the derivative, one layer after another, starting from the outside.
Exercise 5: Reading a transformed graph
The figure shows the parabola y=x2 and the graph of a function g obtained from it by transformations.
a) Identify the transformations and give the expression of g.
b) In what order must the transformations of y=−2f(x−1)+3 be applied? Justify that the order matters.
c) If (a,b) is a point on the graph of f, which point on the graph of y=−2f(x−1)+3 corresponds to it?
d) f has domain [−2,6] and range [0,5]. Give the domain and the range of y=−2f(x−1)+3.
The vertex of y=x2 is at (0,0); that of the second curve is read at (1,−4). The two curves have the same opening, so there is no vertical stretch: it is a translation of 1 to the right and 4 down, that is g(x)=(x−1)2−4. Check on a second point: g(3)=4−4=0 ✓, and the curve does cross the x-axis at x=3, as well as at x=−1.
b)
The order is that of the operations on x, then on y: first the horizontal translation x↦x−1, then the vertical stretch by a factor of 2, then the reflection in the x-axis, and finally the vertical translation of +3. The order matters because these transformations do not commute: reflecting then moving up 3 gives −f(x)+3, while moving up 3 then reflecting gives −(f(x)+3)=−f(x)−3, two curves 6 units apart. The reading rule that never fails: what is ATTACHED to x acts the opposite way and first, what is outside acts the natural way and last.
c)
x−1=a gives x=a+1, and the y-coordinate becomes −2b+3. The image point is therefore (a+1,−2b+3). The shift goes in the direction OPPOSITE to the one written in the parentheses, which is the most frequent source of error: f(x−1) shifts to the RIGHT.
d)
Domain: each x-coordinate is increased by 1, so [−2+1,6+1]=[−1,7]. Range: apply b↦−2b+3 to the values of [0,5]. Since the function b↦−2b+3 is DECREASING, it swaps the endpoints: b=0 gives 3 and b=5 gives −7. The range is therefore [−7,3], and not [3,−7], which means nothing. Writing the range interval in the wrong order, or forgetting the reversal caused by the negative coefficient, costs the whole mark for the question.
Part B: inverses, models and reasoning (/50)
Exercise 6: Inverse functions: existence, domain and range
Let f(x)=x+32x−1.
a) Give the domain and the range of f.
b) Find f−1 and give its domain and its range.
c) Check that f(f−1(x))=x at a point of your choice, then in general.
d) Let g(x)=x2−4x. Why does g have no inverse on R? Give the inverse of its restriction to [2,+∞), then that of its restriction to (−∞,2].
Show the solution
Answers
a)Domain R∖{−3}, range R∖{2}
b)f−1(x)=2−x3x+1, domain R∖{2}, range R∖{−3}
c)f−1(5)=−316 and f(f−1(x))=x
d)Not one-to-one; 2+x+4 and 2−x+4 on [−4,+∞)
a)
domf=R∖{−3}. For the range, look for the values y that are reached: y=x+32x−1 is equivalent to y(x+3)=2x−1, that is x(y−2)=−1−3y. This equation has a solution in x for every y=2, and none for y=2, since it would become 0=−7. So the range is R∖{2}. We recognize 2 as the ratio of the coefficients of x, which is the horizontal asymptote of this rational function.
b)
From x(y−2)=−1−3y we get x=y−2−1−3y=2−y3y+1. So f−1(x)=2−x3x+1. Its domain is the range of f, that is R∖{2}, and its range is the domain of f, that is R∖{−3}. This swap is not a coincidence to be checked case by case: it is the very definition of an inverse, and stating it earns the justification mark.
c)
At x=5: f−1(5)=−316=−316, then f(−316)=−316+3−332−1=−37−335=5 ✓. In general: f(2−x3x+1)=2−x3x+1+32⋅2−x3x+1−1=2−x3x+1+3(2−x)2−x6x+2−(2−x)=77x=x ✓. Multiplying top and bottom by (2−x) clears the stacked fractions in one line: that is the manipulation to know, and it will come back with every rational function of this type.
d)
g is not one-to-one on R: g(0)=0 and g(4)=0, two inputs for the same output, so no function can send 0 back to both at once. Graphically, a horizontal line cuts the parabola at two points. Completing the square, g(x)=(x−2)2−4, which gives the two natural restrictions on either side of the vertex x=2. On [2,+∞): y=(x−2)2−4 gives x−2=y+4, the POSITIVE root since x≥2, hence g−1(x)=2+x+4, with domain [−4,+∞). On (−∞,2]: x−2=−y+4, hence g−1(x)=2−x+4, with the same domain. The sign in front of the root is ALWAYS dictated by the chosen restriction, never by habit.
Exercise 7: The unit circle and periodic functions
All angle measures are in radians.
a) Give the exact values of sin65π, cos65π, tan47π and cos34π.
b) Solve 2cosx=3 on [0,2π).
c) For h(x)=3sin(2x−3π)+1, give the amplitude, the period, the phase shift and the range.
d) Give the domain of tan and that of sec, and say what these domains have in common.
Show the solution
Answers
a)21; −23; −1; −21
b)6π and 611π
c)Amplitude 3, period π, phase shift 6π, range [−2,4]
d)x=2π+kπ for both
a)
Bring each angle back to its reference angle and read the sign from the quadrant. 65π is in the second quadrant, with reference angle 6π: sine is positive there and cosine negative, so sin65π=21 and cos65π=−23. 47π is in the fourth quadrant, with reference angle 4π: tangent is negative there, so tan47π=−1. 34π is in the third quadrant, with reference angle 3π: cosine is negative there, so cos34π=−21. The method “reference angle, then sign from the quadrant” beats memorizing a table of twenty-four values.
b)
2cosx=3 gives cosx=23. The reference angle is 6π, and cosine is positive in the first and fourth quadrants. On [0,2π), the solutions are therefore x=6π and x=2π−6π=611π. Giving only one solution is the most frequent error and costs half the question: a trigonometric equation always has two families of solutions per turn, except at the extreme values ±1.
c)
Read it in the form asin(b(x−c))+d. Here 3sin(2x−3π)+1=3sin(2(x−6π))+1: you must FACTOR OUT b before reading the phase shift, otherwise you announce 3π instead of 6π. Amplitude ∣a∣=3; period ∣b∣2π=π; phase shift 6π to the right; vertical shift 1. Since sin runs through [−1,1], the range is [3(−1)+1,3(1)+1]=[−2,4].
d)
tanx=cosxsinx and secx=cosx1: both have the same denominator, hence the same domain, {x∈R:x=2π+kπ,k∈Z}. What they have in common is precisely the zeros of cosine, which produce a vertical asymptote at each of these values. Remembering this link saves learning two domains: tan, sec and their squares all live where cosx=0, and cot, csc where sinx=0.
Exercise 8: Five statements to correct
Each statement is false. Say in one sentence why, then write the correct statement.
a) “The domain of gf is the intersection of the domains of f and g.”
b) “The domain of f∘g is the domain of g.”
c) “x2=x.”
d) “Every function has an inverse function: you just have to isolate x.”
e) “The domain of x2−4 is [2,+∞).”
Show the solution
Answers
a)Remove the zeros of g
b)x∈domg and g(x)∈domf
c)x2=∣x∣
d)Inverse if and only if f is one-to-one
e)(−∞,−2]∪[2,+∞)
a)
FALSE, a condition is missing. The intersection guarantees that both functions exist, but a quotient also requires that the denominator not be zero. Correct statement: “dom(gf)=(domf∩domg)∖{x:g(x)=0}.” With f(x)=x and g(x)=x−1, the intersection is R but the domain of the quotient is R∖{1}.
b)
FALSE, a condition is missing here too, on the other side. We need x to be in domg AND g(x) to be in domf. Correct statement: “dom(f∘g)={x∈domg:g(x)∈domf}.” With f(t)=t−21 and g(x)=x, the domain of g is [0,+∞) but that of the composition also excludes x=4.
c)
FALSE for every negative x. 4=2, yet (−2)2=4=2=−2. Correct statement: “x2=∣x∣.” This is the identity that will produce two horizontal asymptotes in the chapter on limits, and forgetting it there systematically costs half a question.
d)
FALSE. Isolating x is not enough: each y must also have ONLY ONE input, that is, f must be one-to-one. f(x)=x2 gives x=±y, two values, so no function. Correct statement: “A function has an inverse if and only if it is one-to-one; otherwise we restrict it to an interval where it is strictly monotonic.” That is what forces the choice of [0,+∞) to define the square root, and of [−2π,2π] to define arcsin.
e)
FALSE, half of the domain is missing. x2−4≥0 is equivalent to ∣x∣≥2, that is, to x≤−2 OR x≥2. Correct statement: “dom=(−∞,−2]∪[2,+∞).” Immediate check: (−3)2−4=5 does exist. A quadratic with a positive leading coefficient is positive OUTSIDE its roots, and that is the sentence to repeat to yourself before writing an interval.
Exercise 9: Problem: setting up the equation and finding the physical domain
A square of side x is cut from each of the four corners of a rectangular sheet of cardboard measuring 30 cm by 40 cm, then the sides are folded up to form an open box. The figure below shows the situation.
a) Express the volume V of the box as a function of x, and give the physically admissible domain.
b) Compute V(5) and V(12).
c) The formula gives V(16)=−256. What should you conclude about the formula and about the domain?
d) Express the area of cardboard actually used as a function of x, and say on which domain this second function makes sense.
Show the solution
Answers
a)V(x)=x(30−2x)(40−2x) on (0,15)
b)3000 cm³ and 1152 cm³
c)x=16 is outside the domain
d)S(x)=1200−4x2 on (0,15)
a)
After cutting and folding, the height is x, the length 40−2x and the width 30−2x, because a square is removed at EACH end of each dimension. So V(x)=x(30−2x)(40−2x). Domain: we need x>0 for there to be a height, 30−2x>0, that is x<15, and 40−2x>0, that is x<20. The most restrictive condition wins: dom=(0,15). The rule is general: the physical domain is the intersection of ALL the constraints, and it is the smallest one that decides.
b)
V(5)=5×20×30=3000 cm3. V(12)=12×6×16=1152 cm3. The second is smaller even though the cut is larger: the height gained no longer makes up for the base lost, which signals a maximum somewhere between the two and prepares the chapter on optimization.
c)
The formula can still be computed at x=16 because a polynomial is defined on all of R, but it gives 16×(−2)×8=−256, a negative volume, which makes no sense. Conclusion: the algebraic expression and the function of the problem are NOT the same object. The function of the problem is the polynomial RESTRICTED to (0,15), and it is the domain, not the formula, that carries the physics. An exam marker takes marks off an optimization answer whose value falls outside the admissible domain, even if the derivative is computed flawlessly.
d)
The area used is the area of the cardboard minus the four squares cut out: S(x)=1200−4x2. It makes sense on the same domain (0,15), to which we may add x=0 here, which corresponds to the intact cardboard of area 1200 cm2 but gives no box. Check: S(15)=1200−900=300 cm2, that is the two long flaps of 15 cm by 10 cm: this is the degenerate case where the width 30−2x is zero and the box no longer has a bottom. Comparing the two functions teaches something useful: two quantities from the same problem can have very similar domains without them being identical.
Exercise 10: Problem: a piecewise-defined electricity rate
A utility bills the first 1200 kilowatt-hours of a billing period at 0.065 dollars per kilowatt-hour, then each additional kilowatt-hour at 0.10 dollars. Let q be the consumption for the period, in kilowatt-hours, and C(q) the bill, in dollars.
a) Write C as a piecewise-defined function, and give its domain.
b) Compute C(900) and C(1500).
c) Show that the graph of C has no jump at the 1200 kWh threshold, and describe what a rate with a jump would look like.
d) A customer receives a bill of 150 dollars. What was the consumption? State the question in terms of an inverse function.
Show the solution
Answers
a)0.065q if q≤1200; 78+0.10(q−1200) otherwise; domain [0,+∞)
b)58.50 dollars and 108 dollars
c)78 on both sides: no jump
d)C−1(150)=1920 kWh
a)
Below the threshold, the bill is proportional: C(q)=0.065q for 0≤q≤1200. Beyond it, the customer pays the whole first block, that is 0.065×1200=78 dollars, PLUS the excess at the higher rate: C(q)=78+0.10(q−1200) for q>1200. The domain is [0,+∞). The classic error is to write 0.10q in the second piece, which bills the first 1200 kilowatt-hours at the higher rate and inflates the bill by 42 dollars: the second piece bills the EXCESS, hence the q−1200.
b)
900≤1200, so we are in the first piece: C(900)=0.065×900=58.50 dollars. 1500>1200, so in the second: C(1500)=78+0.10×300=78+30=108 dollars. Choosing the piece BEFORE computing, by comparing q with the threshold, is the whole method.
c)
Compare the two expressions AT the threshold. From the left, 0.065×1200=78. From the right, 78+0.10(1200−1200)=78. Both equal 78: the pieces join up, the graph is continuous, and that is exactly what you expect from a fair rate, where using one more kilowatt-hour costs a few cents more and not several dollars at once. A rate with a jump would be, for example, an extra 20 dollar fee triggered when the threshold is crossed: the bill would then jump suddenly from 78 to 98 dollars, and the customer would have every reason to stay below the threshold. Reading this junction is precisely the continuity question of the next chapter, here on an example where the stakes are concrete.
d)
The question asks for the INPUT that C sends to 150, that is C−1(150). Since 150>78, we are in the second piece: 78+0.10(q−1200)=150 gives 0.10(q−1200)=72, then q−1200=720 and q=1920 kWh. Check: C(1920)=78+0.10×720=150 ✓. The complete inverse is C−1(y)=0.065y for 0≤y≤78, and C−1(y)=1200+10(y−78) for y>78: a piecewise function has a piecewise inverse, and the thresholds swap, 1200 on the horizontal axis becoming 78 on the vertical axis. This inverse exists because C is strictly increasing, which is no detail: a non-monotonic sliding-scale rate would have no inverse.
Part C: the classics (/50)
Exercise 11: The sign chart: when the domain calls for an inequality
Find the domain of each of these functions, in interval notation.
a) f(x)=x−2(x+3)(x−1)
b) g(x)=3x+1x−5
c) h(x)=ln(∣x∣−1)
d) k(x)=ex−21
e) Compare the domain of p(x)=x⋅x−2 with that of q(x)=x(x−2).
Show the solution
Answers
a)[−3,1]∪(2,+∞)
b)R∖{−1}
c)(−∞,−1)∪(1,+∞)
d)R∖{ln2}, ln2≈0.693
e)[2,+∞) versus (−∞,0]∪[2,+∞)
a)
Two conditions: the radicand is greater than or equal to zero, and the denominator is not zero. The sign of the quotient is read from a chart with three factors, whose zeros −3, 1 and 2 split R into four intervals. For x<−3: (−)(−)(−), negative. For −3<x<1: (−)(+)(−), positive. For 1<x<2: (−)(+)(+), negative. For x>2: positive. The quotient is zero at −3 and at 1, which are kept, and does not exist at 2, which is excluded. So domf=[−3,1]∪(2,+∞). Check: f(0)=−23×(−1)=1.5 exists, and f(1.5) would require the root of −0.54.5×0.5=−4.5.
b)
A root with an ODD index accepts a negative radicand: 3−8=−2. The only constraint comes from the denominator, x=−1. So domg=R∖{−1}. Copying the condition “nonnegative radicand” here would lose the whole interval (−1,5), where g does exist.
c)
The argument of the logarithm must be STRICTLY positive: ∣x∣−1>0, that is ∣x∣>1, so x<−1 or x>1. So domh=(−∞,−1)∪(1,+∞). The endpoints are excluded because ln0 does not exist.
d)
The only restriction is ex−2=0, that is ex=2 and x=ln2≈0.693. So domk=R∖{ln2}. The exponential itself is defined everywhere: it is not what removes a value, the denominator is.
e)
For p, each root requires its own nonnegative radicand: x≥0 AND x≥2, that is domp=[2,+∞). For q, only the PRODUCT must be nonnegative: x(x−2)≥0, that is x≤0 or x≥2, and domq=(−∞,0]∪[2,+∞). The two expressions agree on [2,+∞) but not elsewhere: q(−1)=3 exists while −1⋅−3 has no meaning in R. The identity ab=ab only holds for a≥0 and b≥0, and “simplifying” p into q enlarges the domain without warning.
Exercise 12: Logarithm and exponential: the domain, then the inverse
Consider the functions u(x)=ln(2x−6), v(x)=ln(4−xx+1), w(x)=lnx and p(x)=3+e2x−1.
a) Give the domain of u and that of v.
b) Give the domain of w.
c) Give the domain and the range of p.
d) Find p−1 and give its domain.
e) Solve p(x)=5 exactly, then give the solution to three decimal places.
Show the solution
Answers
a)(3,+∞) and (−1,4)
b)[1,+∞)
c)Domain R, range (3,+∞)
d)p−1(x)=21+ln(x−3) on (3,+∞)
e)x=21+ln2≈0.847
a)
For u: 2x−6>0, that is x>3, and domu=(3,+∞). For v: the quotient must be strictly positive. The numerator changes sign at −1, the denominator at 4; the quotient is positive between them, negative outside, zero at −1 and undefined at 4. So domv=(−1,4), open on both sides: at −1 we would have ln0.
b)
Two layers, two conditions, in order from the inside out. The logarithm requires x>0. The root then requires lnx≥0, that is x≥1. The second condition contains the first: domw=[1,+∞). Stopping at x>0 is the typical error: w(0.5) would require ln0.5=−0.693.
c)
The exponential is defined on R, so domp=R. As x runs through R, so does 2x−1, and e2x−1 takes every value in (0,+∞), never 0. Adding 3: rangep=(3,+∞), endpoint excluded. The line y=3 is a horizontal asymptote that the curve never reaches.
d)
p is strictly increasing, hence one-to-one. Isolate x in y=3+e2x−1: e2x−1=y−3, possible only if y>3, then 2x−1=ln(y−3) and x=21+ln(y−3). So p−1(x)=21+ln(x−3), with domain (3,+∞), which is indeed the range of p: domain and range swap. Check at x=0.5: p(0.5)=3+e0=4 and p−1(4)=21+ln1=0.5.
e)
3+e2x−1=5 gives e2x−1=2, so 2x−1=ln2 and x=21+ln2≈0.847. This is exactly p−1(5): solving p(x)=5 and evaluating the inverse at 5 are one and the same operation. Check: p(0.847)=3+e0.694≈3+2.00=5.
Exercise 13: Inverse trigonometric functions: domain, range and the arcsin(sin x) trap
All angle measures are in radians. Recall that arcsin is the inverse of the restriction of sin to [−2π,2π], arccos that of cos restricted to [0,π], and arctan that of tan restricted to (−2π,2π).
a) Give the domain and the range of arcsin and of arccos.
b) Compute arcsin(−21), arccos(−21) and arctan3.
c) Give the domain of f(x)=arcsin(2x−1) and that of g(x)=arccos(1−x2).
d) Compute arcsin(sin65π) and sin(arcsin0.3).
e) For which values of x do we have arcsin(sinx)=x?
Show the solution
Answers
a)arcsin: [−1,1]→[−2π,2π]; arccos: [−1,1]→[0,π]
b)−6π; 32π; 3π
c)[0,1] and [−2,2]
d)6π and 0.3
e)x∈[−2π,2π]
a)
The inverse swaps the domain and the range of the RESTRICTION. sin restricted to [−2π,2π] takes its values in [−1,1]: domarcsin=[−1,1] and rangearcsin=[−2π,2π]. Likewise, domarccos=[−1,1] and rangearccos=[0,π]. The two ranges differ because the restrictions differ: that is the source of half the errors of the chapter.
b)
arcsin(−21) is the unique angle in [−2π,2π] whose sine is −21: −6π. arccos(−21) is the unique angle in [0,π] whose cosine is −21: 32π, and not −3π or 34π, which lie outside the range. arctan3=3π.
c)
The argument of arcsin must be in [−1,1]: −1≤2x−1≤1 gives 0≤x≤1, that is domf=[0,1]. For g: −1≤1−x2≤1. The right-hand inequality, x2≥0, is always true; the left-hand one gives x2≤2, that is −2≤x≤2. So domg=[−2,2], with 2≈1.414.
d)
sin65π=21, and arcsin21=6π. So arcsin(sin65π)=6π, and not 65π: arcsin always returns an angle in [−2π,2π], and 65π is not in it. In the other order, 0.3 is in the domain of arcsin, and sin(arcsin0.3)=0.3 exactly.
e)
arcsin(sinx)=x first requires x to be a possible value of arcsin, so x∈[−2π,2π], and on this interval the identity holds since sin there is the function that was inverted. Conclusion: [−2π,2π]. On the other hand, sin(arcsinx)=x holds for every x in [−1,1]. The rule: f(f−1(x))=x on the domain of f−1, but f−1(f(x))=x only on the chosen restriction.
Exercise 14: Problem: the spreading slick, composing two models
A leak forms a circular slick on the surface of a lake; its radius, in metres, is r(t)=2+3t, where t is the time in hours since the first measurement. The leak is sealed after 8 hours and the model then stops applying. The area of a disk of radius r is A(r)=πr2. The figure below shows the situation.
a) Which of the two compositions, A∘r or r∘A, gives the area of the slick at time t? Write it and give its domain in context.
b) Compute the area of the slick after 2 hours.
c) Give the range of A∘r on its domain.
d) At what moment does the area reach 400 m2?
e) Justify that A∘r has an inverse on its domain, write it and give its domain.
Show the solution
Answers
a)(A∘r)(t)=π(2+3t)2 on [0,8]
b)64π≈201 m²
c)[4π,676π]≈[12.57,2124]
d)t≈3.09 h
e)t=31(πS−2) on [4π,676π]
a)
We first know the radius at time t, and from it we get the area: r acts first, A second, and that is A∘r. (A∘r)(t)=π(2+3t)2. The other composition, r(A(x))=2+3πx2, makes no sense here: it would treat an area as a time. The domain comes from the context, not from the formula: t∈[0,8], whereas the polynomial is defined on R.
b)
r(2)=8 m, so A(8)=64π≈201 m2.
c)
On [0,8], r increases from r(0)=2 to r(8)=26, and A is increasing for r≥0: the area increases from 4π≈12.57 m2 to 676π≈2124 m2. The range is [4π,676π]. Careful, the area does not start at 0: at t=0, the slick already has a 2 m radius.
d)
π(2+3t)2=400 gives (2+3t)2=π400, and since 2+3t>0, 2+3t=π400≈11.284. So t=311.284−2≈3.09 hours, about 3 h 6 min. Only the positive root is kept: the negative root would give a negative radius, and a negative time outside the domain.
e)
On [0,8], A∘r is strictly increasing, as a composition of two functions that are increasing on the sets involved: it is one-to-one, hence invertible. Isolating t in S=π(2+3t)2: t=31(πS−2). Its domain is the range found in c), [4π,676π]≈[12.57,2124]. This inverse answers the practical question “how long since the first measurement, given the surface area seen from a plane?”, and part d) was a special case of it.
Exercise 15: Problem: the arched tunnel, transformations and clearance
The vault of a tunnel has the profile of the parabola y=6−0.24x2, in metres, where x is the horizontal distance from the axis of the tunnel and the ground is at y=0. The figure shows this profile and a truck 3 m wide centred in the tunnel.
a) Give the width of the tunnel at ground level, then the domain and the range of the function that describes the vault.
b) A truck 4 m high goes through the tunnel. What width of roadway is left at that height?
c) The roadway is resurfaced and rises by 0.3 m. Write the height of the vault above the new roadway, its domain, and the width available at a height of 4 m.
d) To widen the tunnel, the original vault is replaced by its horizontal stretch by a factor of 1.2, with the height at the centre unchanged. Write the new profile and its width at ground level.
e) In the original tunnel, what is the maximum height of a truck 3 m wide driving in the centre?
Show the solution
Answers
a)10 m; domain [−5,5], range [0,6]
b)5.77 m
c)h(x)=5.7−0.24x2 on [−4.87,4.87]; 5.32 m
d)y=6−6x2; 12 m at ground level
e)5.46 m
a)
The vault meets the ground when 6−0.24x2=0, that is x2=25 and x=±5: the tunnel is 10 m wide at ground level. The function of the vault only has physical meaning between its two feet: domain [−5,5]. On this domain, the height goes from 0 at the feet to 6 at the centre: range [0,6].
b)
Find where the vault is at 4 m: 6−0.24x2=4 gives x2=0.242≈8.333 and x≈±2.887. The width available at that height is 2×2.887≈5.77 m. Answering 2.89 m, the half-width, is the most frequent error: x is measured from the axis.
c)
Everything happens as if the vault came down by 0.3 m: it is a vertical translation, h(x)=5.7−0.24x2. New domain: 0.24x2≤5.7, that is x2≤23.75 and ∣x∣≤4.873, so [−4.87,4.87] to two decimal places. A VERTICAL translation has changed the domain, because the domain is defined here by the condition h≥0. At 4 m: 0.24x2=1.7, x2≈7.083, ∣x∣≈2.661, that is a width of 5.32 m. Thirty centimetres of asphalt cost almost half a metre of usable width.
d)
A horizontal stretch by a factor of 1.2 replaces x with 1.2x: y=6−0.24(1.2x)2=6−1.440.24x2=6−6x2. At ground level, x2=36 and x=±6: the width becomes 12 m, that is 10×1.2. Writing 6−0.24(1.2x)2 would COMPRESS the tunnel: what touches x acts the opposite way.
e)
The truck occupies x∈[−1.5,1.5]. Since the vault is lower at the sides, the constraint is read at the edge of the truck: 6−0.24×1.52=6−0.54=5.46 m. A truck 3 m wide must be less than 5.46 m high, and not 6 m, a height that only holds at the centre, over a width of zero.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.
Get in touch for a first session. We go back over the chapter on functions at the level CEGEP expects, domains included, because that is what decides half the marks lost later in the semester.