2.10 BETA

Graphs of functions

8 learning objectives 2 core 6 extended

1. Overview

Graphs of functions are visual representations of mathematical relationships, showing how the output (yy-value) changes with the input (xx-value). Understanding graphs allows you to solve equations, identify key features like maximum and minimum points, and model real-world situations. This topic covers plotting graphs from equations, recognizing common graph shapes, and using graphs to solve equations.

Key Definitions

  • Function: A mathematical relationship where each input (xx) has a unique output (yy).
  • Gradient: The steepness of a line, calculated as Change in yChange in x\frac{\text{Change in } y}{\text{Change in } x}.
  • Intercept: The point where a graph crosses an axis (y-intercept is where x=0x=0; x-intercept/root is where y=0y=0).
  • Root: The xx-value(s) where the graph crosses the x-axis (i.e., where f(x)=0f(x) = 0).
  • Asymptote: A line that a graph approaches but never actually touches or crosses (common in reciprocal and exponential graphs).
  • Stationary Point: A point on a curve where the gradient is zero (a maximum or minimum).

Core Content

3.1 Constructing Tables and Drawing Graphs

To draw any graph, you must first create a table of values.

  1. Choose or use the given range of xx-values.
  2. Substitute each xx into the function to find yy.
  3. Plot the (x,y)(x, y) coordinates on a Cartesian plane.
  4. Join the points: use a ruler for linear graphs (ax+bax + b) and a smooth curve for all others.

3.2 Common Graph Shapes (Core)

  • Linear (y=ax+by = ax + b): A straight line. aa is the gradient, bb is the y-intercept.
    • Linear graph y equals ax plus b showing straight line through y-intercept b with gradient triangle
  • Quadratic (y=x2+ax+by = x^2 + ax + b): A U-shaped curve called a parabola.
    • Quadratic graph showing U-shaped parabola with vertex and axis of symmetry
  • Reciprocal (y=kxy = \frac{k}{x}): Two separate curves in opposite quadrants. It never touches x=0x=0 or y=0y=0.
    • Reciprocal graph y equals k over x showing hyperbola curves approaching the axes as asymptotes

3.3 Solving Equations Graphically

To solve f(x)=kf(x) = k:

  1. Draw the graph of y=f(x)y = f(x).
  2. Draw the horizontal line y=ky = k.
  3. The solutions (roots) are the xx-coordinates where the two lines intersect.

Worked example 1 — Solving a quadratic graphically

Question: Draw the graph of y=x22x3y = x^2 - 2x - 3 for 2x4-2 \leq x \leq 4 and use it to solve x22x3=0x^2 - 2x - 3 = 0.

Step 1: Table of values

xx -2 -1 0 1 2 3 4
yy 5 0 -3 -4 -3 0 5

Calculation for x=2x = -2: y=(2)22(2)3y = (-2)^2 - 2(-2) - 3 y=4+43=5y = 4 + 4 - 3 = 5

Step 2: Plot and Solve Plot the points and join with a smooth curve. To solve x22x3=0x^2 - 2x - 3 = 0, look at where the graph crosses the x-axis (y=0y=0). Solutions: x=1x = -1 and x=3x = 3.

Worked example 2 — Solving a linear equation graphically

Question: Draw the graph of y=2x1y = 2x - 1 for 1x3-1 \leq x \leq 3. Use your graph to solve 2x1=32x - 1 = 3.

Step 1: Table of values

xx -1 0 1 2 3
yy -3 -1 1 3 5

Calculation for x=1x = -1: y=2(1)1y = 2(-1) - 1 y=21=3y = -2 - 1 = -3

Step 2: Plot the graph Plot the points and join them with a straight line using a ruler.

Step 3: Solve 2x1=32x - 1 = 3 Draw the horizontal line y=3y = 3 on the same graph. Find the x-coordinate of the point where the line y=3y = 3 intersects the line y=2x1y = 2x - 1.

Solution: x=2x = 2


Extended Content (Extended Only)

4.1 Advanced Power Functions (axnax^n)

You must recognize shapes for various values of nn:

  • n=3n = 3 (Cubic): y=x3y = x^3. An S-shaped curve passing through the origin.
  • n=12n = \frac{1}{2} (Square Root): y=xy = \sqrt{x}. Only exists for x0x \geq 0.
  • n=1n = -1 (Reciprocal): y=1xy = \frac{1}{x}. (See Core).
  • n=2n = -2 (Inverse Square): y=1x2y = \frac{1}{x^2}. Both parts of the curve are above the x-axis.
    • Exponential graph y equals a to the power x showing growth and decay curves always above the x-axis

Worked example 3 — Sketching an inverse square function

Question: Sketch the graph of y=2x2y = \frac{2}{x^2}.

Step 1: Consider the behavior as x approaches 0 As xx gets closer to 0, yy becomes very large. The y-axis is a vertical asymptote.

Step 2: Consider the behavior as x approaches infinity As xx gets very large (positive or negative), yy approaches 0. The x-axis is a horizontal asymptote.

Step 3: Note the symmetry Since xx is squared, the function is symmetrical about the y-axis.

Step 4: Sketch the graph Draw a curve in the first quadrant that approaches both axes but never touches them. Draw a symmetrical curve in the second quadrant. Both curves should be above the x-axis.

4.2 Exponential Graphs (abx+cab^x + c)

Used for growth (b>1b > 1) or decay (0<b<10 < b < 1).

  • The graph y=2xy = 2^x increases rapidly as xx increases.
  • The line y=cy = c is the horizontal asymptote.

Worked example 4 — Finding the intersection of an exponential and a linear function

Question: Find the intersection of y=2xy = 2^x and y=3xy = 3 - x.

Step 1: Table of values for y=2xy = 2^x

xx -1 0 1 2
yy 0.5 1 2 4

Step 2: Table of values for y=3xy = 3 - x

xx -1 0 1 2
yy 4 3 2 1

Step 3: Plot both functions Draw the curve for y=2xy = 2^x and the straight line for y=3xy = 3 - x. The intersection point is approximately x=1x = 1, y=2y = 2. Solution: x1x \approx 1.

4.3 Determining the Nature of Stationary Points

If asked to prove if a point is a maximum or minimum:

  1. Find the second derivative d2ydx2\frac{d^2y}{dx^2}.
  2. Substitute the xx-value of the stationary point.
  3. If d2ydx2>0\frac{d^2y}{dx^2} > 0, it is a Minimum.
  4. If d2ydx2<0\frac{d^2y}{dx^2} < 0, it is a Maximum.

Worked example 5 — Determining the nature of a stationary point

Question: The function y=x33x2+2y = x^3 - 3x^2 + 2 has a stationary point at x=0x = 0. Determine whether this point is a maximum or a minimum.

Step 1: Find the first derivative dydx=3x26x\frac{dy}{dx} = 3x^2 - 6x

Step 2: Find the second derivative d2ydx2=6x6\frac{d^2y}{dx^2} = 6x - 6

Step 3: Substitute the x-value of the stationary point Substitute x=0x = 0 into the second derivative: d2ydx2=6(0)6=6\frac{d^2y}{dx^2} = 6(0) - 6 = -6

Step 4: Determine the nature of the stationary point Since d2ydx2=6<0\frac{d^2y}{dx^2} = -6 < 0, the stationary point at x=0x = 0 is a Maximum.


Key Equations

Linear Gradient: m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1} (Not on formula sheet)

Linear Equation: y=mx+cy = mx + c (Not on formula sheet)

Quadratic Form: y=ax2+bx+cy = ax^2 + bx + c (Not on formula sheet)

Exponential Growth/Decay: y=Abxy = Ab^x (Not on formula sheet)

Note: These formulas are NOT provided on the IGCSE formula sheet; they must be memorized.


Common Mistakes to Avoid

  • Incorrect Gradient Calculation: Calculating the gradient by simply counting squares on the graph without considering the scale of the axes.
    • Correct Gradient Calculation: Use the coordinates of two points on the line and the formula m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}, paying close attention to the scale on each axis. For example, if each square on the x-axis represents 0.5 units and each square on the y-axis represents 2 units, account for this in your calculation.
  • Joining Non-Linear Points with a Ruler: Drawing a quadratic or cubic graph by connecting the plotted points with straight lines.
    • Drawing Smooth Curves: Join the points with a smooth, continuous curve. The curve should pass through all the points and not have any sharp corners.
  • Ignoring the Negative Sign in Substitution: Incorrectly substituting negative values into a function, especially when squaring. For example, calculating (2)2(-2)^2 as 4-4 instead of 44.
    • Using Brackets for Negative Numbers: Always use brackets when substituting negative numbers into a function, especially when using a calculator. For example, write (2)2(-2)^2 to ensure the calculator squares the entire negative number.
  • Incorrectly Identifying Roots: Reading the roots of the equation f(x)=kf(x) = k as the y-coordinates of the intersection points instead of the x-coordinates.
    • Correctly Identifying Roots: Remember that the roots are the x-values where the graph of y=f(x)y = f(x) intersects the line y=ky = k.

Exam Tips

  • Command Words:
    • "Plot": Precisely place points and join them.
    • "Sketch": Draw the general shape and label intercepts (no grid needed).
  • Calculator Tip: Use the "Table" mode on your scientific calculator to generate yy-values quickly for a given function. This prevents manual calculation errors.
  • Scale: Check the scale of the axes carefully. Sometimes 1 unit is 2cm on the x-axis but 1cm on the y-axis.
  • Real-world Context: Expect exponential graphs in questions about bacteria growth, compound interest, or radioactive decay. The y-intercept usually represents the "initial amount."
  • Accuracy: When solving graphically, your answer should be within ±0.1\pm 0.1 of the exact value. Always draw the construction lines (the dashed lines from the graph to the axes) to show the examiner where your answer came from.

Test Your Knowledge

Ready to check what you've learned? Practice with 9 flashcards covering key definitions and concepts from Graphs of functions.

Study Flashcards

Frequently Asked Questions: Graphs of functions

What is Function in Graphs of functions?

Function: A mathematical relationship where each input (x) has a unique output (y).

What is Gradient in Graphs of functions?

Gradient: The steepness of a line, calculated as \frac{\text{Change in } y}{\text{Change in } x}.

What is Intercept in Graphs of functions?

Intercept: The point where a graph crosses an axis (y-intercept is where x=0; x-intercept/root is where y=0).

What is Root in Graphs of functions?

Root: The x-value(s) where the graph crosses the x-axis (i.e., where f(x) = 0).

What is Asymptote in Graphs of functions?

Asymptote: A line that a graph approaches but never actually touches or crosses (common in reciprocal and exponential graphs).

What is Stationary Point in Graphs of functions?

Stationary Point: A point on a curve where the gradient is zero (a maximum or minimum).