funkcje

Learn how functions assign values, how to describe their domains and graphs, and how to recognize key function families and their properties.

Inputs, outputs, and values

A function assigns exactly one output yy to each permitted input xx, and is written y=f(x)y=f(x). The input is the argument; f(x)f(x) is the function's value at that input.

, , and zeros

The is the set of inputs for which a function is defined. The is the set of values the function can take. For example, for f(x)=x2f(x)=x^2, the is R\mathbb{R} and the is [0,∞)[0,\infty).

To calculate a , substitute the specified input for xx. For example, if f(x)=2x+3f(x)=2x+3, then

f(2)=2⋅2+3=7.f(2)=2\cdot2+3=7.

A is an input for which f(x)=0f(x)=0. For example, solving 2x−6=02x-6=0 gives the zero x=3x=3.

Linear and quadratic functions

A has the form

f(x)=ax+b.f(x)=ax+b.

Its graph crosses the yy-axis at (0,b)(0,b). When a≠0a\ne0, its zero is x0=−bax_0=-\frac{b}{a}. The value of aa determines its : if a>0a>0, the function is increasing; if a<0a<0, it is decreasing; and if a=0a=0, it is constant.

A has the form

f(x)=ax2+bx+c,a≠0.f(x)=ax^2+bx+c,\qquad a\ne0.

Its graph is a parabola. The discriminant and vertex are calculated as follows:

Δ=b2−4ac,xW=−b2a,yW=−Δ4a.\Delta=b^2-4ac,\qquad x_W=-\frac{b}{2a},\qquad y_W=-\frac{\Delta}{4a}.

The discriminant determines the number of real zeros: Δ>0\Delta>0 gives two, Δ=0\Delta=0 gives one, and Δ<0\Delta<0 gives none. If a>0a>0, the parabola opens upward and has a minimum; if a<0a<0, it opens downward and has a maximum.

Reading signs and behavior from graphs

The can be read from its graph: above the xx-axis the function is positive, below it the function is negative, and on the axis its values are zero. Thus, the points where the graph meets the xx-axis correspond to zeros. A graph can also be used to read zeros, sign, and .

For , an increasing function has larger values as xx increases; a decreasing function has smaller values as xx increases; and a constant function's value does not change.

Transforming graphs

The following change a graph's position or orientation:

  • f(x)+2f(x)+2: shift upward by 22; f(x)−2f(x)-2: shift downward by 22.

  • f(x−2)f(x-2): shift right by 22; f(x+2)f(x+2): shift left by 22.

  • −f(x)-f(x): reflect across the xx-axis; f(−x)f(-x): reflect across the yy-axis.

Even and odd functions

An satisfies f(−x)=f(x)f(-x)=f(x), which means its graph is symmetric about the yy-axis. An satisfies f(−x)=−f(x)f(-x)=-f(x), which means its graph is symmetric about the origin.

Other function families

Several other common function forms are:

  • The : f(x)=∣x∣f(x)=|x|.

  • The : f(x)=xf(x)=\sqrt{x}.

  • : f(x)=axf(x)=\frac{a}{x}, where a≠0a\ne0.

  • The : f(x)=axf(x)=a^x, where a>0a>0 and a≠1a\ne1.

Checking allowed inputs

Use the function's form to determine which inputs are allowed. A polynomial has R\mathbb{R}. For a fraction, the denominator cannot be zero. For an even-degree root, the expression under the root must be at least zero; if that root is in a denominator, the expression under it must be greater than zero. A logarithm's argument must be greater than zero.