2. Functions

Graphing Functions And Their Key Features

Graphing Functions and Their Key Features

Welcome, students, to a core skill in IB Mathematics Analysis and Approaches SL 📈. Graphing functions is more than drawing curves on paper. It is a way to understand how a relationship behaves, how quickly it changes, where it starts, where it is strongest, and where it is not defined. In this lesson, you will learn how to read and sketch graphs of common function types, identify important features, and connect those features to real-world situations.

What you need to know first

A function is a rule that assigns each input $x$ to exactly one output $y$. We often write this as $f(x)$. The graph of a function is the set of all points $(x, f(x))$ on the coordinate plane. When you graph a function carefully, you can see important information at a glance.

Your main objectives in this lesson are to:

  • understand the language used to describe graphs of functions,
  • identify key features such as intercepts, turning points, asymptotes, and domain and range,
  • sketch graphs of common function families,
  • and connect graphs to transformations, composite functions, and inverses.

A graph is like a visual summary of the function’s behavior. For example, a graph of a car’s distance from home over time can show when it moved away, stopped, or returned. This is why graphing is useful in science, economics, and everyday data analysis 🚗.

Key graph features and vocabulary

Before sketching, students, you need to know the language of graphs.

The domain is the set of allowed input values, written as $x$-values. The range is the set of possible output values, written as $y$-values.

An $x$-intercept is a point where the graph crosses the $x$-axis, so $f(x)=0$. A $y$-intercept is where the graph crosses the $y$-axis, found by evaluating $f(0)$ if it exists.

A maximum is the highest point on a graph, while a minimum is the lowest point. A turning point is where the graph changes from increasing to decreasing, or vice versa. For a quadratic, the turning point is the vertex.

A graph is increasing when $f(x)$ gets larger as $x$ increases, and decreasing when $f(x)$ gets smaller as $x$ increases. A graph is constant when all outputs are the same, such as $f(x)=3$.

An asymptote is a line that a graph approaches but does not usually touch. For many rational and exponential functions, asymptotes are essential features.

Example: For $f(x)=x^2-4$, the $y$-intercept is $f(0)=-4$, so the graph passes through $(0,-4)$. The $x$-intercepts come from solving $x^2-4=0$, which gives $x=oxed{-2}$ and $x=oxed{2}$.

Graphing linear and quadratic functions

Linear functions have the form $f(x)=mx+b$, where $m$ is the slope and $b$ is the $y$-intercept. Their graphs are straight lines. The slope tells you the rate of change. If $m>0$, the line rises from left to right; if $m<0$, it falls. If $m=0$, the graph is a horizontal line.

Example: Consider $f(x)=2x-3$. The $y$-intercept is $(0,-3)$. The slope is $2$, meaning that for every increase of $1$ in $x$, the value of $f(x)$ increases by $2$. Plotting a second point such as $(1,-1)$ gives a clear line.

Quadratic functions have the form $f(x)=ax^2+bx+c$, where $a\neq 0$. Their graphs are parabolas. If $a>0$, the parabola opens upward and has a minimum. If $a<0$, it opens downward and has a maximum.

The vertex can be found using $x=-\frac{b}{2a}$. Then substitute this value into the function to find the $y$-coordinate.

Example: For $f(x)=x^2-6x+5$, the vertex occurs at $x=-\frac{-6}{2(1)}=3$. Then $f(3)=9-18+5=-4$, so the vertex is $(3,-4)$. The $x$-intercepts come from factoring: $x^2-6x+5=(x-1)(x-5)$. So the graph crosses the $x$-axis at $(1,0)$ and $(5,0)$.

A good sketch of a quadratic should show the vertex, axis of symmetry, and intercepts. The axis of symmetry is the vertical line $x=3$ in this example.

Graphing rational and exponential functions

Rational functions are ratios of polynomials, often written as $f(x)=\frac{p(x)}{q(x)}$. A basic example is $f(x)=\frac{1}{x}$. Rational graphs often have asymptotes because the denominator can become zero.

For $f(x)=\frac{1}{x}$, the domain is all real numbers except $x=0$, because division by zero is undefined. The graph has a vertical asymptote at $x=0$ and a horizontal asymptote at $y=0$.

Example: For $f(x)=\frac{1}{x-2}+1$, the graph is shifted right by $2$ and up by $1$. This gives a vertical asymptote at $x=2$ and a horizontal asymptote at $y=1$. Such transformations make graphing much faster once you know the parent function.

Exponential functions have the form $f(x)=a\cdot b^x$, where $b>0$ and $b\neq 1$. If $b>1$, the function shows exponential growth. If $0<b<1$, it shows exponential decay.

Example: For $f(x)=3\cdot 2^x$, the $y$-intercept is $f(0)=3\cdot 2^0=3$. As $x$ increases, the outputs grow rapidly. The graph approaches $y=0$ as $x\to -\infty$, so the horizontal asymptote is $y=0$.

A real-world example is population growth. If a bacteria culture doubles every hour, the model may look like $N(t)=N_0\cdot 2^t$, where $N_0$ is the starting amount and $t$ is time in hours. This kind of graph rises slowly at first, then very quickly 📊.

Graphing logarithmic functions and interpreting inverses

Logarithmic functions are the inverse of exponential functions. The basic form is $f(x)=\log_b(x)$, where $b>0$ and $b\neq 1$. The domain is $x>0$, because logarithms are only defined for positive inputs.

The graph of $f(x)=\log_b(x)$ has a vertical asymptote at $x=0$. It passes through $(1,0)$ because $\log_b(1)=0$. If $b>1$, the graph increases; if $0<b<1$, it decreases.

Example: For $f(x)=\log_{10}(x)$, the points $(1,0)$, $(10,1)$, and $(0.1,-1)$ are useful reference points. The graph gets closer and closer to the $y$-axis, but never touches it.

Understanding inverses helps you connect graphs. If $f(x)$ and $f^{-1}(x)$ are inverse functions, then their graphs are reflections of each other across the line $y=x$. This is a powerful visual check when working with inverse relationships.

For example, if $f(x)=2^x$, then $f^{-1}(x)=\log_2(x)$. The exponential graph and the logarithmic graph mirror each other across $y=x$. This connection is often tested in IB because it shows deep understanding of functions, not just memorization.

Transformations and composite ideas from graphs

A function can be transformed by shifting, reflecting, stretching, or compressing its graph. These transformations are written using expressions such as $f(x)+k$, $f(x-h)$, $-f(x)$, and $af(x)$.

  • $f(x)+k$ shifts the graph up by $k$ units.
  • $f(x)-k$ shifts the graph down by $k$ units.
  • $f(x-h)$ shifts the graph right by $h$ units.
  • $f(x+h)$ shifts the graph left by $h$ units.
  • $-f(x)$ reflects the graph in the $x$-axis.
  • $f(-x)$ reflects the graph in the $y$-axis.
  • $af(x)$ stretches or compresses vertically.

Example: If $f(x)=x^2$, then $g(x)=(x-2)^2+3$ is the same parabola shifted right $2$ and up $3$. So the vertex moves from $(0,0)$ to $(2,3)$.

Composite and inverse ideas also matter in graphing. A composite function such as $(f\circ g)(x)=f(g(x))$ means you apply one function after another. On a graph, this can change how quickly outputs are produced. For instance, if $g(x)=x+1$ and $f(x)=x^2$, then $(f\circ g)(x)=(x+1)^2$.

To sketch and analyze graphs well, always ask: What is the parent function? What transformation happened? What features stayed the same, and what changed? These questions help you reason like an IB mathematician.

Conclusion

students, graphing functions is a major part of understanding the language of mathematics. A graph reveals domain, range, intercepts, symmetry, turning points, asymptotes, and how a function behaves overall. By learning the main families of functions—linear, quadratic, rational, exponential, and logarithmic—you can recognize patterns quickly and sketch accurately.

This lesson also connects to transformations, composite functions, and inverse functions, showing that graphs are not isolated pictures. They are visual evidence of mathematical relationships. Strong graphing skills support later work in modelling, calculus, and problem solving across the IB course.

Study Notes

  • A function assigns each input $x$ exactly one output $f(x)$.
  • The graph of a function is the set of points $(x,f(x))$.
  • The domain is the allowed set of $x$-values; the range is the set of possible $y$-values.
  • An $x$-intercept satisfies $f(x)=0$; a $y$-intercept is found by evaluating $f(0)$.
  • Linear functions have the form $f(x)=mx+b$ and graph as straight lines.
  • Quadratic functions have the form $f(x)=ax^2+bx+c$ and graph as parabolas.
  • The vertex of $f(x)=ax^2+bx+c$ occurs at $x=-\frac{b}{2a}$.
  • Rational functions often have vertical and horizontal asymptotes.
  • Exponential functions have the form $f(x)=a\cdot b^x$ and show growth or decay.
  • Logarithmic functions have domain $x>0$ and are inverses of exponential functions.
  • Inverse function graphs are reflections across the line $y=x$.
  • Transformations change graphs by shifting, reflecting, stretching, or compressing.
  • Composite functions use the rule $(f\circ g)(x)=f(g(x))$.
  • Always identify the parent function first, then describe transformations and key features.
  • Clear graphing helps connect algebraic rules to real-world behaviour.

Practice Quiz

5 questions to test your understanding

Graphing Functions And Their Key Features — IB Mathematics Analysis And Approaches SL | A-Warded