Skip to content

The graph of a function: zeros, sign, rising and falling

The graph of a function: zeros, sign, rising and falling

A function and its graph

A function gives every x\displaystyle x in its domain one value of y\displaystyle y. Its graph is all the points (x,f(x))\displaystyle (x,f(x)).

  • So every vertical line meets the graph of a function at one point at most.
  • The line x=3\displaystyle {x}={3} is not the graph of a function: every value of y\displaystyle y goes with x=3\displaystyle {x}={3} on it.
  • The circle x2+y2=25\displaystyle {x^2+y^2}={25} is not the graph of a function either: both y=4\displaystyle {y}={4} and y=−4\displaystyle {y}={-4} go with x=3\displaystyle {x}={3} on it.
What a graph tells

The graph of a function tells five things:

  • The points where it meets the axes: the x\displaystyle x-axis – the points where f(x)=0\displaystyle {f(x)}={0} (the zeros); the y\displaystyle y-axis – the point (0,f(0))\displaystyle (0,f(0)).
  • Where it is positive: where the graph is above the x\displaystyle x-axis, f(x)>0\displaystyle f(x)>0. Where it is negative: where it is below it, f(x)<0\displaystyle f(x)<0.
  • Where it rises: where y\displaystyle y grows as x\displaystyle x grows. Where it falls: where y\displaystyle y gets smaller.
  • A maximum point: a point where the function goes from rising to falling. A minimum point: from falling to rising. Both are extremum points.

On the graph below, of f(x)=x(x−3)2\displaystyle {f(x)}={x(x-3)^2}:

f(x)=x(x−3)2\displaystyle f(x)=x(x-3)^{2}
A=(1,4)\displaystyle A=(1,4)
B=(3,0)\displaystyle B=(3,0)
  • The points where it meets the axes: (0,0)\displaystyle (0,0) and (3,0)\displaystyle (3,0).
  • Positive where 0<x<3\displaystyle 0<x<3 and where x>3\displaystyle x>3; negative where x<0\displaystyle x<0.
  • Rises where x<1\displaystyle x<1 and where x>3\displaystyle x>3; falls where 1<x<3\displaystyle 1<x<3.
  • (1,4)\displaystyle (1,4) – a maximum point; (3,0)\displaystyle (3,0) – a minimum point.

At x=3\displaystyle {x}={3} the graph touches the x\displaystyle x-axis without crossing it, so the function is positive on both sides of 3.

The linear function

The graph of f(x)=mx+b\displaystyle {f(x)}={mx+b} is a straight line: m\displaystyle m is its slope, and b\displaystyle b where it meets the y\displaystyle y-axis.

  • m>0\displaystyle m>0: the function rises everywhere. m<0\displaystyle m<0: it falls everywhere. m=0\displaystyle {m}={0}: it is constant.
  • Its zero is the solution of mx+b=0\displaystyle {mx+b}={0}; on one side of it the function is positive, on the other negative.
  • A linear function with m≠0\displaystyle m\neq0 has no extremum points.
The quadratic function

The graph of f(x)=ax2+bx+c\displaystyle {f(x)}={ax^2+bx+c} is a parabola. Everything the graph tells can be worked out:

  • The zeros: solve ax2+bx+c=0\displaystyle {ax^2+bx+c}={0} by factoring or by the quadratic formula.
  • The vertex is the only extremum point, and its x\displaystyle x-coordinate is x=−b2a\displaystyle {x}={\frac{-b}{2a}}.
  • a>0\displaystyle a>0: the parabola opens upwards, the vertex is a minimum, and the function is negative only between its zeros.
  • a<0\displaystyle a<0: the parabola opens downwards, the vertex is a maximum, and the function is positive only between its zeros.

The example below reads f(x)=x2−2x−8\displaystyle {f(x)}={x^2-2x-8} this way:

  • x2−2x−8=(x−4)(x+2)\displaystyle {x^2-2x-8}={(x-4)(x+2)}, so the zeros are x=−2\displaystyle {x}={-2} and x=4\displaystyle {x}={4}.
  • x=22=1\displaystyle {x}={\frac{2}{2}}={1} and f(1)=1−2−8=−9\displaystyle {f(1)}={1-2-8}={-9}: the vertex (1,−9)\displaystyle (1,-9) is a minimum point.
f(x)=x2−2x−8\displaystyle f(x)=x^{2}-2x-8
V=(1,−9)\displaystyle V=(1,-9)
  • a=1>0\displaystyle {a}={1>0}, so the function is negative where −2<x<4\displaystyle -2<x<4, and positive where x<−2\displaystyle x<-2 and where x>4\displaystyle x>4.
  • It falls where x<1\displaystyle x<1, and rises where x>1\displaystyle x>1.
Exercise 1

The board below shows the graph of f(x)=−(x+1)2(x−2)\displaystyle {f(x)}={-(x+1)^2(x-2)}.

a

Mark on the graph the points where it meets the x\displaystyle x-axis, and the extremum points.

f(x)=−(x+1)2(x−2)\displaystyle f(x)=-(x+1)^{2}(x-2)

b

Write where f\displaystyle f is positive and where it is negative.
Write where f\displaystyle f rises and where it falls.

Exercise 2

The function is f(x)=−x2+6x−5\displaystyle {f(x)}={-x^2+6x-5}.

a

Find the zeros of f\displaystyle f.

    b

    The x\displaystyle x-coordinate of the vertex is x=−6−2=3\displaystyle {x}={\frac{-6}{-2}}={3}.
    Work out its y\displaystyle y-coordinate.

    f(x)=−x2+6x−5\displaystyle f(x)=-x^{2}+6x-5

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c

      Solve the inequality f(x)>0\displaystyle f(x)>0: where is f\displaystyle f positive?

        d

        Mark the zeros and the vertex on the graph, and check your answers.

        f(x)=−x2+6x−5\displaystyle f(x)=-x^{2}+6x-5

        Exercise 3

        The function is f(x)=−2x+6\displaystyle {f(x)}={-2x+6}.

        a

        Find the zero of f\displaystyle f.

          b

          Solve the inequality f(x)<0\displaystyle f(x)<0: where is f\displaystyle f negative?

            c

            Does f\displaystyle f rise or fall?
            Explain by its slope.

            Exercise 4

            The functions are f(x)=x2−1\displaystyle {f(x)}={x^2-1} and g(x)=x+1\displaystyle {g(x)}={x+1}.

            a

            Mark on the board the points where the two graphs meet.

            f(x)=x2−1\displaystyle f(x)=x^{2}-1
            g(x)=x+1\displaystyle g(x)=x+1

            b

            Work out the x\displaystyle x-coordinates of the meeting points.

              c

              Solve the inequality f(x)<g(x)\displaystyle f(x)<g(x).
              Check on the board: where is the parabola below the line?

                Exercise 5

                Which of these lines is the graph of a function?
                Explain each answer.

                • y=x2−4\displaystyle {y}={x^2-4}
                • x=−2\displaystyle {x}={-2}
                • x2+y2=9\displaystyle {x^2+y^2}={9}
                • y=5\displaystyle {y}={5}