Grade by GradeEssential student suppliesSign in
C. Content · Calculus 12: Functions, Limits, Derivatives, Integrals and Their Applications

Functions and Graphs: Parent, Piecewise and Inverse Trigonometric Functions

BC CALC 12: functions and graphs BC CALC 12: piecewise functionsAbout 70 minutes
Learning goals
  • I can state the domain, range and shape of the parent functions listed for Pre-calculus 12.
  • I can evaluate, graph and write piecewise functions, including absolute value as a piecewise function.
  • I can evaluate inverse trigonometric functions using their restricted ranges, in radians.

Words to know

parent function
The simplest function of a family, such as y = x^2 for all quadratics. Others come from it by transformations.
piecewise function
A function defined by different rules on different parts of its domain.
domain and range
The domain is the set of allowed inputs; the range is the set of outputs.
inverse trigonometric function
A function such as arcsin x that gives the angle (in a restricted interval) whose sine, cosine or tangent is x.
radian
The angle that cuts off an arc equal to the radius. A full turn is 2pi radians, so pi radians = 180 degrees.

Why start with functions?

Calculus is the mathematics of change. Before we can ask how fast something changes, we need to describe it, and functions are how we do that. The B.C. Calculus 12 content starts with functions and graphs: the parent functions from Pre-calculus 12, piecewise functions and inverse trigonometric functions.

Knowing the shape of each parent graph by heart pays off all year. When you see y = 3sqrt(x - 2) + 1, you should picture the square root curve moved right 2 and up 1 and stretched by 3, before doing any algebra.

Parent functionEquationDomainRangeKey feature
Lineary = xall real xall real yconstant slope 1
Quadraticy = x^2all real xy ≥ 0vertex at (0, 0)
Cubicy = x^3all real xall real ypoint of symmetry at (0, 0)
Absolute valuey = |x|all real xy ≥ 0sharp corner at (0, 0)
Square rooty = sqrt(x)x ≥ 0y ≥ 0starts at (0, 0)
Reciprocaly = 1/xx ≠ 0y ≠ 0asymptotes x = 0 and y = 0
Exponentialy = b^x (b > 0, b ≠ 1)all real xy > 0asymptote y = 0, passes (0, 1)
Logarithmicy = log_b xx > 0all real yasymptote x = 0, passes (1, 0)
Sine and cosiney = sin x, y = cos xall real x-1 ≤ y ≤ 1period 2pi
Tangenty = tan xx ≠ pi/2 + k·piall real yperiod pi, vertical asymptotes
The parent functions and their key features. In calculus, angles are in radians.

Piecewise functions

A piecewise function uses different formulas on different intervals. To evaluate one, first decide which interval the input belongs to, then use only that formula.

On a graph, a closed dot means the endpoint is included and an open dot means it is not. The graph below shows

f(x) = x + 3 if x < -1; f(x) = x^2 if -1 ≤ x ≤ 2; f(x) = 6 - x if x > 2.

Notice the jump at x = -1 (the pieces do not meet) and the smooth join at x = 2 (both pieces give 4). We will use this idea of pieces meeting, or not, when we study continuity.

xy-4-3-2-112345123456y = x + 3y = x^2y = 6 - x
The piecewise function f. At x = -1 the open dot at (-1, 2) is not on the graph; the closed dot at (-1, 1) is. At x = 2 the pieces meet at (2, 4).
Worked example

Example 1: Evaluating a piecewise function

For the function f above, find f(-3), f(-1), f(1.5) and f(5).

  1. x = -3 is less than -1, so use x + 3: f(-3) = 0.
  2. x = -1 is in -1 ≤ x ≤ 2, so use x^2: f(-1) = 1 (the closed dot).
  3. x = 1.5 is in -1 ≤ x ≤ 2: f(1.5) = 1.5^2 = 2.25.
  4. x = 5 is greater than 2, so use 6 - x: f(5) = 1.

f(-3) = 0, f(-1) = 1, f(1.5) = 2.25, f(5) = 1

Worked example

Example 2: Absolute value as a piecewise function

Write g(x) = |2x - 6| without absolute value bars.

  1. The expression inside, 2x - 6, is zero at x = 3.
  2. When x ≥ 3, 2x - 6 ≥ 0, so |2x - 6| = 2x - 6.
  3. When x < 3, 2x - 6 < 0, so |2x - 6| = -(2x - 6) = 6 - 2x.

g(x) = 2x - 6 if x ≥ 3, and g(x) = 6 - 2x if x < 3

Inverse trigonometric functions

Sine is not one-to-one: sin x = 1/2 for x = pi/6, 5pi/6, 13pi/6 and so on. To get an inverse function, we restrict sine to an interval where it takes each value once. The inverse functions give one answer, called the principal value.

The notation sin^(-1) x means arcsin x, the inverse function. It does not mean 1/sin x (that is csc x).

FunctionDomainRange (the answer is always here)
y = arcsin x (sin^(-1) x)-1 ≤ x ≤ 1-pi/2 ≤ y ≤ pi/2
y = arccos x (cos^(-1) x)-1 ≤ x ≤ 10 ≤ y ≤ pi
y = arctan x (tan^(-1) x)all real x-pi/2 < y < pi/2
Restricted ranges of the three main inverse trigonometric functions.
xy-4-224-11y = pi/2y = -pi/2y = arctan x
The graph of y = arctan x rises from the asymptote y = -pi/2 to the asymptote y = pi/2. Its domain is all real numbers.
Worked example

Example 3: Exact values

Find (a) arcsin(1/2), (b) arccos(-1/2), (c) arctan(-1), (d) arcsin(sin(5pi/6)).

  1. (a) Which angle in [-pi/2, pi/2] has sine 1/2? pi/6.
  2. (b) Which angle in [0, pi] has cosine -1/2? The reference angle is pi/3 and cosine is negative in quadrant II: 2pi/3.
  3. (c) Which angle in (-pi/2, pi/2) has tangent -1? -pi/4.
  4. (d) sin(5pi/6) = 1/2, and arcsin(1/2) = pi/6, not 5pi/6, because 5pi/6 is outside the range of arcsin.

pi/6, 2pi/3, -pi/4, pi/6

Radians, always

Set your calculator to radian mode for all of Calculus 12. Derivative rules such as d/dx sin x = cos x are only true when x is in radians.

Hands-on activity

Design a two-step rate

Many bills use piecewise pricing. Suppose (a made-up example, not a real price list) a utility charges $0.10 per kWh for the first 1000 kWh in a billing period and $0.15 per kWh after that.

  1. Write the cost C(k) for k kWh as a piecewise function. (C(k) = 0.10k if 0 ≤ k ≤ 1000; C(k) = 100 + 0.15(k - 1000) if k > 1000.)
  2. Find C(800) and C(1400). ($80 and $160.)
  3. Graph C. Do the pieces meet at k = 1000? Why would a company want them to?
  4. Look at a real bill at home with an adult and compare its structure.
Just for fun

Puzzle: with a calculator in radian mode, add arctan 1 + arctan 2 + arctan 3. You get 3.14159..., which is exactly pi. Can you see why? (Hint: draw the three angles on grid paper as slopes 1, 2 and 3.)

Your turn

1

State the domain and range of y = sqrt(x - 4) + 1.

2

g(x) = 2x if x < 1, and g(x) = x^2 + 1 if x ≥ 1. Find g(0), g(1) and g(3).

3

Find arccos(sqrt(3)/2).

4

Find arctan(sqrt(3)).

5

Find arcsin(-sqrt(2)/2).

6

Write |x + 4| as a piecewise function.

7

State the range of y = 3 - 2^x.

More practice

1

Evaluate arcsin(2), or explain why you can't.

2

Find arccos(cos(-pi/3)).

3

h(x) = x^2 if x ≤ 2, and h(x) = k - x if x > 2. Find k so the two pieces meet at x = 2.

4

State the domain of y = log(x + 5).

5

Find the exact value of cos(arcsin(3/5)).

Check your understanding

Quiz

1.

For f(x) = x + 3 if x < -1, x^2 if -1 ≤ x ≤ 2, and 6 - x if x > 2, what is f(-1)?

2.

What is arccos(-1/2)?

3.

What does sin^(-1) x mean?

4.

What is the domain of y = 1/x?

5.

Which is the range of y = arctan x?

For parents and teachers

How to help: Ask your teen to sketch each parent function from memory and name its domain and range; quick sketches are a great warm-up. For piecewise functions, ask: "Which rule applies to this input, and why?"

Common mistakes:

  • Using the wrong piece at a boundary (check < versus ≤).
  • Reading sin^(-1) x as 1/sin x.
  • Giving an inverse trig answer outside the restricted range (for example arcsin(1/2) = 5pi/6).
  • Leaving the calculator in degree mode.