Ripetizioni di Analisi
EN

Theory

Functions, domains and graph transformations

From finding domains and reading graphs to composing, inverting and transforming functions.

On this page
  1. From an input to the value of a function
  2. The real domain of a formula

From an input to the value of a function

1. Domain, codomain and images

A function assigns to each element of exactly one element of . The set is the domain, the set of allowed inputs. The set is the codomain, the set from which outputs are drawn. The value is the image of . The set of all images is written and is contained in .

Reading a table in both directions

Let and . The following table describes the function on .

The image of is because . To find the preimages of , start in the second row. The value occurs under two inputs, so the equation has two solutions in . The only outputs in the table are and , so . The numbers and belong to the codomain but lie outside the range.

Substituting a negative number

To evaluate at , replace each with . This gives

The square applies to the entire number. The factor also multiplies the entire number, so the linear term contributes . On the graph, the result appears at the point .

2. Graphs and vertical lines

The graph of a real-valued function of a real variable is the set of pairs with . For a fixed horizontal coordinate , the vertical line meets the graph exactly once if belongs to the domain. If a vertical line meets a curve at two points, one input has two outputs, so the curve can describe only a relation.

One horizontal coordinate with two vertical coordinates

Setting in the circle gives . The vertical line therefore meets the circle at and . If the relation is restricted to , each has just one vertical coordinate, . The upper semicircle is therefore the graph of a function.

Graph of a piecewise function

Let for and for . The domain is because the two intervals cover every point from to . The second condition includes , so . The first piece, which applies only for , approaches the point . On the graph, is marked with an open circle and with a filled dot. The vertical line thus meets the graph exactly once.

To find the preimages of , solve an equation for each piece. The first gives , or , which lies in . The second gives , or , which lies in . The set of preimages is therefore .

x y -3-2-1123-2-1123 O
y=x+2y=x+2y=1−xy=1-x
At input , the piece that includes the endpoint supplies the value.

A curve, its domain and a vertical line

The relation gives the vertical coordinates satisfying the equation at each input. At we get , so the line meets the curve at two points. The dashed segment highlights that the inputs agree and the outputs differ. If we keep only the half-plane , the same input retains just the value . At input , however, the two candidates coincide at , so the boundary point also belongs to the upper semicircle. To the right of , a vertical line does not even meet the circle, since the equation would require a negative square. This reading gives the right endpoint of the function’s domain.

x y -3-2-1123-3-2-1123 O AB
x2+y2=4x^2+y^2=4
The line contains both outputs of the circle at that input.

A restriction keeps part of the graph

Given on , the restriction of to a subset uses the same rule at every point of and permits only the inputs in . For example, on has the same output as the full graph wherever both are defined. The output is attained on the full graph and absent from the restricted one. The output remains in the range, although it loses one of its two preimages. Thus restricting the domain can change the range and the number of solutions to an equation .

The real domain of a formula

Conditions for a formula to be defined

To find the largest real domain of a formula, every operation in the formula must be defined. A denominator must be nonzero, the radicand of an even root must be greater than or equal to zero, and the argument of a logarithm must be strictly positive. When several conditions apply, the domain is the intersection of their solution sets.

A domain specified in the question may be smaller. For example, can be evaluated at every real , but if counts the number of days since a trial began, the allowed values may be only the integers from to .

A square root in the numerator

For , the radicand must be nonnegative and the denominator must be nonzero. Both requirements must hold at the same time.

At the numerator is zero and the denominator is , so belongs to the domain. The point lies in the interval allowed by the square root, but it is excluded because it makes the denominator zero.

A square root in the denominator

For , the square root must exist and have a nonzero value. The square root of a nonnegative number is zero only when the number is zero, so the two conditions are equivalent to . Thus .

For , the entire quotient is under the square root. It is defined for and is nonnegative when and have the same sign or the numerator is zero. Therefore .

Simplifying can conceal an excluded point

For , . In the original formula, makes the denominator zero, so it remains excluded after simplification. The formula gives the values at the points in the domain and can be used to draw the graph. The point must be left open.

x y -4-3-2-112345-3-11357 O
y=x+2y = x + 2
The point is excluded from the graph of the quotient.

Square roots in the same sum

Let . Both square roots must exist, so and . The first condition gives and the second gives . The domain is the closed interval . At the left endpoint, the first square root is zero and the second is . The reverse happens at the right endpoint, so both ends have the same output. A square root in the denominator would impose a strict condition at the corresponding endpoint. For example, for , the point would be excluded, while would remain in the domain.

Square root of a fraction and boundary checks

For , the intervals are bounded by and . In the middle piece, for instance at , the quotient is , so no point in that piece is allowed. On the left, at the quotient is , while on the right, at it is . Each factor keeps its sign within each interval, so the two positive results identify both branches. The boundary is included because the quotient is zero. The boundary is excluded because the denominator is zero.

x y -5-4-3-2-112345-112345 O
y=x−2x+1y=\sqrt{\dfrac{x-2}{x+1}}
The square root has points in both domain intervals and includes input .

End of the free preview

The theory of this topic continues with 7 more sections

  1. Zeros, intercepts and sign
  2. Symmetry about the axis and the origin
  3. Composing two functions
  4. Recovering the input with the inverse function
  5. Shifting and reflecting a graph
  6. Range, monotonicity and extrema
  7. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Maths 3rd year · €29

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents