Skip to content

Equations, the graph, shifts and reflection

Equations, the graph, shifts and reflection

The graph of a function shows the solutions of its equations, and a change in the function moves its graph:

  • f(x)=k\displaystyle {f(x)}={k} – where the graph meets the horizontal line y=k\displaystyle {y}={k};
  • f(x)+k\displaystyle f(x)+k and f(x−b)\displaystyle f(x-b) – the graph shifted up or down, right or left;
  • −f(x)\displaystyle -f(x) – the graph reflected in the x\displaystyle x-axis.
The equation f(x)=k\displaystyle {f(x)}={k}
A solution is a value of x\displaystyle x: x=2\displaystyle {x}={2}, not the point (2,4)\displaystyle (2,4).

The solutions of f(x)=4\displaystyle {f(x)}={4} are the x\displaystyle x values of the points where the graph of f\displaystyle f meets the line y=4\displaystyle {y}={4} (dashed). Here there are two, A\displaystyle A and B\displaystyle B, so the equation has two solutions: x=−4\displaystyle {x}={-4} and x=2\displaystyle {x}={2}.

f(x)=−14x3+3x\displaystyle f(x)=-\frac{1}{4}x^{3}+3x
y=4\displaystyle y=4
A=(−4,4)\displaystyle A=(-4,4)
B=(2,4)\displaystyle B=(2,4)
The number of solutions

The number of solutions of f(x)=k\displaystyle {f(x)}={k} is the number of meeting points of the graph and the line y=k\displaystyle {y}={k}. Moving the line up or down on the graph above:

  • f(x)=6\displaystyle {f(x)}={6} – one solution;
  • f(x)=0\displaystyle {f(x)}={0} – three solutions (one of them is x=0\displaystyle {x}={0});
  • f(x)=4\displaystyle {f(x)}={4} – two solutions: at B\displaystyle B the line only touches the graph.
Exercise 1

Answer from the graph of f\displaystyle f above.

  • Solve the equation f(x)=−4\displaystyle {f(x)}={-4}.
  • How many solutions has the equation f(x)=2\displaystyle {f(x)}={2}? And f(x)=−6\displaystyle {f(x)}={-6}?
  • For which values of k\displaystyle k has the equation f(x)=k\displaystyle {f(x)}={k} exactly two solutions?
f(x)=2\displaystyle {f(x)}={2}

    / – 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

    f(x)=−6\displaystyle {f(x)}={-6}

      / – 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

      Vertical shift: f(x)+k\displaystyle f(x)+k

      The dashed graph, h(x)+2\displaystyle h(x)+2, is the graph of the function h\displaystyle h (solid) moved 2 up: every point (x,y)\displaystyle (x,y) becomes (x,y+2)\displaystyle (x,y+2). The minimum points (−2,−4)\displaystyle (-2,-4) and (2,−4)\displaystyle (2,-4) become (−2,−2)\displaystyle (-2,-2) and (2,−2)\displaystyle (2,-2), and the maximum point (0,0)\displaystyle (0,0) becomes (0,2)\displaystyle (0,2).

      h(x)=14x4−2x2\displaystyle h(x)=\frac{1}{4}x^{4}-2x^{2}
      y=14x4−2x2+2\displaystyle y=\frac{1}{4}x^{4}-2x^{2}+2

      In general, f(x)+k\displaystyle f(x)+k moves the graph k\displaystyle k up when k>0\displaystyle k>0, and down when k<0\displaystyle k<0: f(x)−3\displaystyle f(x)-3 is 3 down.

      Horizontal shift: f(x−b)\displaystyle f(x-b)
      Careful: f(x+3)\displaystyle f(x+3) moves the graph 3 to the left, since x+3=x−(−3)\displaystyle {x+3}={x-(-3)}.

      The graph of g(x)=h(x−2)\displaystyle {g(x)}={h(x-2)} (dashed) is the graph of h\displaystyle h moved 2 to the right. The reason: g(4)=h(2)\displaystyle {g(4)}={h(2)} – g\displaystyle g takes at x=4\displaystyle {x}={4} the value h\displaystyle h takes at x=2\displaystyle {x}={2}, two places to the left. Every point (x,y)\displaystyle (x,y) becomes (x+2,y)\displaystyle (x+2,y): the maximum point (0,0)\displaystyle (0,0) becomes (2,0)\displaystyle (2,0).

      h(x)=14x4−2x2\displaystyle h(x)=\frac{1}{4}x^{4}-2x^{2}
      g(x)=14(x−2)4−2(x−2)2\displaystyle g(x)=\frac{1}{4}(x-2)^{4}-2(x-2)^{2}
      • f(x−b)\displaystyle f(x-b) with b>0\displaystyle b>0: b\displaystyle b to the right.
      • f(x+b)\displaystyle f(x+b) with b>0\displaystyle b>0: b\displaystyle b to the left.
      Reflection in the x\displaystyle x-axis: −f(x)\displaystyle -f(x)

      The graph of −h(x)\displaystyle -h(x) (dashed) is the graph of h\displaystyle h reflected in the x\displaystyle x-axis – flipped over it, as in a mirror: every point (x,y)\displaystyle (x,y) becomes (x,−y)\displaystyle (x,-y).

      h(x)=14x4−2x2\displaystyle h(x)=\frac{1}{4}x^{4}-2x^{2}
      y=−14x4+2x2\displaystyle y=-\frac{1}{4}x^{4}+2x^{2}
      • A minimum point becomes a maximum point: (−2,−4)\displaystyle (-2,-4) becomes (−2,4)\displaystyle (-2,4).
      • Increasing becomes decreasing, and positive becomes negative.
      • The intersection points with the x\displaystyle x-axis stay where they are.
      The properties in a shift: kept and changed

      A shift moves the whole graph without changing its shape, so the number and the kind of the extremum points stay. The rest:

      Propertyf(x)+k\displaystyle f(x)+kf(x−b)\displaystyle f(x-b)
      extremum pointsy\displaystyle y changes by k\displaystyle kx\displaystyle x changes by b\displaystyle b
      maximum and minimum valueschange by k\displaystyle kthe same
      increasing and decreasing domainsthe samemove by b\displaystyle b
      intersection points with the axeschangechange
      Exercise 2

      The function f\displaystyle f has a minimum point (−1,−3)\displaystyle (-1,-3) and a maximum point (2,5)\displaystyle (2,5).
      It is increasing for −1<x<2\displaystyle -1<x<2, and decreasing for x<−1\displaystyle x<-1 and for x>2\displaystyle x>2.
      Write the extremum points and the increasing and decreasing domains of:

      a

      f(x)+4\displaystyle f(x)+4

      b

      f(x−3)\displaystyle f(x-3)

      c

      f(x+1)\displaystyle f(x+1)

      d

      −f(x)\displaystyle -f(x)

      Exercise 3

      The solid graph is the function f\displaystyle f from the start of the page, with its extremum points A\displaystyle A and B\displaystyle B.
      The dashed graph is a function g\displaystyle g: the graph of f\displaystyle f shifted.

      • Write g(x)\displaystyle g(x) with f\displaystyle f.
      • How many solutions has the equation g(x)=2\displaystyle {g(x)}={2}?
      f(x)=−14x3+3x\displaystyle f(x)=-\frac{1}{4}x^{3}+3x
      g(x)= ?\displaystyle g(x)=\,?
      A=(−2,−4)\displaystyle A=(-2,-4)
      B=(2,4)\displaystyle B=(2,4)
      C=(−3,−6)\displaystyle C=(-3,-6)
      D=(1,2)\displaystyle D=(1,2)
      g(x)=2\displaystyle {g(x)}={2}

        / – 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

        Exercise 4

        Sketch the graph of h(x)−4\displaystyle h(x)-4 for the function h\displaystyle h above (its minimum points (−2,−4)\displaystyle (-2,-4) and (2,−4)\displaystyle (2,-4), its maximum point (0,0)\displaystyle (0,0)).
        Then, on another grid, sketch h(x+3)\displaystyle h(x+3).