Lesson 25 of 40 · Mathematics

Function domains, inverses and graph transformations

Track allowed inputs through a composition, decide when a function can be reversed and follow points through shifts and reflections.

About 20 minutes

In this lesson

  • Determine the domain and range of an elementary function.
  • Check whether an inverse exists on a given domain.
  • Distinguish changes to a function's input from changes to its output.

The idea

Follow a number through a rule

Think of a function (funzione) as a rule with a specified set of allowed inputs, its domain (dominio). Each allowed input produces exactly one output. Different inputs may share an output. The range (immagine) consists of the outputs that actually occur. For example, squaring every real number produces every nonnegative real number and never produces a negative one. Restrict the inputs to numbers between two and three, and the same formula now has outputs between four and nine, including the endpoints if the input interval includes them.

When finding a natural real domain, read an expression from the innermost operation outwards. The argument of a square root must be nonnegative. A denominator must differ from zero. These conditions combine if a square root appears below a fraction bar, since the root must exist and also have a nonzero value. Cancellation may give a shorter expression with the same values on its original domain, but the simplified formula alone can conceal an excluded input. Write restrictions beside the formula before simplifying it.

Compose and reverse

In a composition (composizione) the output of the inner rule becomes the input to the outer one. For f(g(x))f(g(x)) you need permission to use xx in gg and permission to use g(x)g(x) in ff. Suppose the inner operation subtracts five and the outer operation takes a square root. You can start with seven because the intermediate value is two. Starting with four fails at the second operation. Reversing the operations puts the initial restriction on the original input instead and gives a different final result.

An inverse function (funzione inversa) retraces the journey from an output to its unique input. You can draw a horizontal line at the proposed output value to count the inputs that produced it. If it crosses at two points, reversing the rule on that domain would give two answers for a single input. Restricting the domain to an increasing or decreasing branch can fix the problem. For the square function restricted to nonnegative inputs the inverse takes the positive square root or zero. Restrict it to nonpositive inputs instead and the inverse takes the negative of that root. Its domain in either case is the original range.

Move an individual point

Suppose the original graph contains the point (a,b)(a,b). This records f(a)=bf(a)=b. In y=f(x−h)+ky=f(x-h)+k the inner expression must equal aa to recover the same old output. Solve x−h=ax-h=a to find the new horizontal coordinate a+ha+h, then add kk to the output. The point moves to (a+h,b+k)(a+h,b+k). This argument works for an endpoint or a peak just as well as for an ordinary point. Following one recognisable point is often easier than redrawing a complete graph.

Absolute values give two different reflections depending on their position. With y=∣f(x)∣y=|f(x)|, every input stays put. A negative height becomes positive and the part already above the horizontal axis stays in place. With y=f(∣x∣)y=f(|x|) both positive and negative inputs ask for the old output at a nonnegative coordinate. Keep the original right-hand portion and reflect it across the vertical axis. Where the right-hand input was unavailable there will be no corresponding point on either side.

Test symmetry on the actual domain

An even function (pari) satisfies f(−x)=f(x)f(-x)=f(x) and reflects into itself across the vertical axis. An odd function (dispari) satisfies f(−x)=−f(x)f(-x)=-f(x) and its graph survives a half-turn about the origin. Both definitions require the domain to contain opposite pairs of inputs. A square restricted to positive inputs therefore lacks the full symmetry of the ordinary square function on the real line. One mismatching pair disproves a claimed symmetry. Matching values at just one pair are a clue for a sketch, but a proof must cover every input in the domain.

Worked examples

Example 1: Two restrictions at once

Find the real domain of u(x)=1/7−2xu(x)=1/\sqrt{7-2x}.

  1. The root exists for 7−2x≥07-2x\ge0. It sits in the denominator, so equality must be excluded.

  2. Solve 7−2x>07-2x>0 by moving 2x2x to the right and dividing by 2.

Answer

The domain is x<7/2x<7/2. The endpoint would make the denominator zero.

Example 2: Choosing an inverse branch

Find the inverse of f(x)=(x−1)2f(x)=(x-1)^2 on x≤1x\le1.

  1. Write y=(x−1)2y=(x-1)^2. Here x−1x-1 is nonpositive, so x−1=−yx-1=-\sqrt y.

  2. Solve for xx and exchange the variable names. The output of the original square ranges over all nonnegative numbers.

Answer

The inverse is f−1(x)=1−xf^{-1}(x)=1-\sqrt x on x≥0x\ge0.

Common traps

  • Inverting an unrestricted square

    A positive output of the square has two possible preimages on the whole real line. Check the specified input branch before choosing a root.

  • Moving a graph by reading an inner sign directly

    Set the new inner expression equal to a known old input. This equation determines the new location of the point.

Check yourself

Answer each question before you open its answer.

Question 1: Order of operations

Analytic geometry and functions

Let f(t)=t2+1f(t)=t^2+1 and g(t)=3tg(t)=3t. Find g(f(2))g(f(2)).

  1. A.37
  2. B.15
  3. C.13
  4. D.5
  5. E.36
Show the answer

Answer: B. 15

Working

The inner rule gives f(2)=5f(2)=5. Feeding 5 to gg gives 15.

Why the other options are wrong

  • A. This evaluates the composition in reverse order.
  • C. This triples the square before adding one.
  • D. This stops at the intermediate output.
  • E. This squares the tripled input and omits the added one.

What carries over

Evaluate the innermost rule first.

Question 2: Tracking a peak

Analytic geometry and functions

A function has its unique maximum at (2,7)(2,7). Where is the maximum of y=f(x+4)−3y=f(x+4)-3?

  1. A.(6, 4)
  2. B.(−2, 10)
  3. C.(6, 10)
  4. D.(−2, 4)
  5. E.(2, 4)
Show the answer

Answer: D. (−2, 4)

Working

Set x+4=2x+4=2, giving x=−2x=-2. The new height is 7−3=47-3=4.

Why the other options are wrong

  • A. This shifts right for an addition inside the input.
  • B. This reverses the output shift.
  • C. This reverses both shifts.
  • E. This ignores the horizontal shift.

What carries over

Track one marked point using the equation for its old input.

Question 3: Which old point supplies the height?

Analytic geometry and functions

A function has f(−3)=−2f(-3)=-2 and f(3)=5f(3)=5. What is f(∣−3∣)f(|-3|)?

  1. A.−2
  2. B.2
  3. C.3
  4. D.−5
  5. E.5
Show the answer

Answer: E. 5

Working

The inner value is ∣−3∣=3|-3|=3. The supplied height at 3 is 5.

Why the other options are wrong

  • A. This uses the original negative input.
  • B. This takes the absolute value of the old negative output.
  • C. This stops after evaluating the inner absolute value.
  • D. This negates the positive-input output without a rule to do so.

What carries over

An absolute value inside the brackets acts on the input.

Key points

  • A composition must permit every intermediate value.

  • Reverse a one-to-one branch and give the inverse its domain.

  • Track the coordinates of a known point through each operation.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Poćwicz ten temat

Nowe pytania z tej umiejętności, z rozwiązaniami. Ćwiczenia wymagają Single Exam Pass lub Plus.