Back to Mathematics syllabus

Graph of a Function

Sketch functions using shifts, scaling, and reflections. Sine and rational-function examples explain intercepts and when graphs can cross asymptotes.

Before planning this topic, check the CSCA Exam Guide 2026 for exam dates, registration, fees, and subject requirements.

Syllabus Alignment

This study guide is organized around the publicly available CSCA syllabus for international undergraduate applicants.

Who It Is For

International students preparing for CSCA Math, Physics, Chemistry, or Chinese exams.

Related Practice

CSCA Practice · Go to questions

Past papers and worked video solutions · Timed mock exams · All subject video lessons

Practice by Topic

Jump from this tutorial to filtered practice questions for the same knowledge point.

Related formulas, concepts, and glossary terms

Mathematics Formula & Concept Reference

Mathematics Exam Glossary

Tutorial Content

Graph of a Function

The graph of ff is the set of points (x,y)(x,y) in the coordinate plane that satisfy y=f(x)y=f(x). When reading a graph, check:

  • Domain and range: the input and output values actually represented, including any gaps or open endpoints.
  • Monotonicity: the intervals on which the function increases or decreases.
  • Symmetry: an even function has symmetry about the yy-axis; an odd function has symmetry about the origin. In either case, the domain must also be symmetric about zero.
  • Zeros and intercepts: zeros are the input values satisfying f(x)=0f(x)=0, corresponding to the graph's xx-intercepts. If 00 is in the domain, the yy-intercept is (0,f(0))(0,f(0)).

1. Plotting points and transforming graphs

Plotting points

List and plot useful points, then use the function's properties to determine how the graph connects them. Useful points may include zeros, local extrema, inflection points, and domain endpoints. Check continuity before joining points; do not draw a connection across a gap in the domain.

Key points and coordinates on a function graph

Transforming a familiar graph

Start with a familiar graph, such as y=x2y=x^2, y=sin⁡xy=\sin x, or y=exy=e^x, and apply shifts, stretches, compressions, or reflections.

For the shifts below, hh and kk are positive:

  • y=f(x+h)y=f(x+h) shifts the graph left by hh; y=f(x−h)y=f(x-h) shifts it right by hh.
  • y=f(x)+ky=f(x)+k shifts the graph up by kk; y=f(x)−ky=f(x)-k shifts it down by kk.
  • y=Af(x)y=Af(x) stretches the graph vertically when A>1A>1 and compresses it when 0<A<10<A<1.
  • y=f(ωx)y=f(\omega x) multiplies the horizontal coordinates by 1/ω1/\omega. It compresses the graph horizontally when ω>1\omega>1 and stretches it when 0<ω<10<\omega<1.
  • y=−f(x)y=-f(x) reflects the graph across the xx-axis; y=f(−x)y=f(-x) reflects it across the yy-axis.
  • y=∣f(x)∣y=|f(x)| leaves points on or above the xx-axis unchanged and reflects the parts below it upward.

The scaling rules above assume A,ω>0A,\omega>0. Negative factors introduce the corresponding reflections as well.

Illustration of shifts, scaling, and reflections

2. Worked examples

Example 1: Transform a sine graph

Sketch y=2sin⁡(3x−π2)+1y=2\sin(3x-\frac{\pi}{2})+1.

First factor the coefficient inside the sine:

y=2sin⁡[3(x−π6)]+1.y=2\sin\left[3\left(x-\frac{\pi}{6}\right)\right]+1.

Starting with y=sin⁡xy=\sin x:

  1. Multiply the horizontal coordinates by 1/31/3 to obtain y=sin⁡(3x)y=\sin(3x), with period 2π/32\pi/3.
  2. Shift right by π/6\pi/6 to obtain y=sin⁡[3(x−π/6)]y=\sin[3(x-\pi/6)].
  3. Stretch vertically by a factor of 22, making the amplitude 22.
  4. Shift up by 11 to obtain the required graph.

The midline is y=1y=1, and the range is [−1,3][-1,3]. The horizontal shift is π/6\pi/6, not the π/2\pi/2 that appears in the original expression.

The sine graph after scaling and translation

Example 2: Graph a rational function

Sketch f(x)=x+1x−2f(x)=\frac{x+1}{x-2}.

Rewrite it as

f(x)=1+3x−2,x≠2.f(x)=1+\frac{3}{x-2},\qquad x\ne2.

Shift the graph of y=3/xy=3/x right by 22 and up by 11.

  • The vertical asymptote is x=2x=2. This input is excluded from the domain, and the function tends to negative infinity from the left and positive infinity from the right.
  • The horizontal asymptote is y=1y=1, since 3/(x−2)→03/(x-2)\to0 as x→+∞x\to+\infty or x→−∞x\to-\infty.
  • The yy-intercept is (0,−1/2)(0,-1/2), and the xx-intercept is (−1,0)(-1,0).

In this example, 3/(x−2)3/(x-2) can never equal zero, so the graph does not meet its horizontal asymptote y=1y=1. This is a property of this particular function, not a rule for all graphs.

The rational function's two branches and asymptotes

3. Can a graph cross an asymptote?

Horizontal and slant asymptotes describe end behavior; they are not boundaries that a graph is forbidden to cross. A graph may meet them at finite input values.

For example,

g(x)=xx2+1g(x)=\frac{x}{x^2+1}

approaches zero as x→±∞x\to\pm\infty, so y=0y=0 is a horizontal asymptote. Yet g(0)=0g(0)=0, with opposite signs on either side of zero. The graph therefore crosses that asymptote.

For the rational functions considered here, a vertical asymptote x=ax=a occurs at an input excluded from the domain. Do not join the branches through x=ax=a. A zero denominator does not always produce a vertical asymptote: a canceled factor may instead leave a hole, so check the function's behavior nearby.

4. Before you finish a sketch

  • Find the domain before deciding which points belong to the graph.
  • Read the structure of f(ω(x−h))f(\omega(x-h)) before identifying the horizontal shift. Do not use the constant in the expanded expression without accounting for ω\omega.
  • Check whether asymptotes exist and draw them as dashed lines. To decide whether the graph meets a horizontal or slant asymptote, solve the relevant equation instead of assuming that intersections are impossible.

Sources and review

Content reviewed: 12 September 2026.