Graphs and Transformations AA SL

The graph of a function can be read, moved, stretched and reflected using a short list of rules. This page shows how to state the domain and range of a function and find its intercepts and turning points, how each transformation changes a graph and its key points, and how to find the asymptotes and intercepts of a reciprocal or rational function, with worked examples and exam-style questions.

Formulas at a glance

None of the rules on this page is printed in the formula booklet. The transformation rules, the domain and range of a function and the asymptotes of a rational function are facts you are expected to know and use.

Vertical translation, bb units up

y=f(x)+by=f(x)+b

Not in the booklet

Horizontal translation, aa units right

y=f(x−a)y=f(x-a)

Not in the booklet

Reflection in the xx-axis

y=−f(x)y=-f(x)

Not in the booklet

Reflection in the yy-axis

y=f(−x)y=f(-x)

Not in the booklet

Vertical stretch, scale factor pp

y=pf(x)y=pf(x)

Not in the booklet

Horizontal stretch, scale factor 1q\tfrac1q

y=f(qx)y=f(qx)

Not in the booklet

Which method to use

Decide whether the question is about reading a function, transforming a graph, or a rational function.

The question asks forUseNotes
The largest possible domainExclude every value that makes a denominator zero or puts a negative number under a square rootFor 2x−5\sqrt{2x-5} solve 2x−5≥02x-5\ge0
The rangeThe lowest or highest output, from the vertex or from the behaviour of the functionA quadratic opening downwards has a maximum, so the range is f(x)≤f(x)\le that value
The yy-intercept, or the xx-intercepts and zerosEvaluate f(0)f(0) for the yy-intercept, and solve f(x)=0f(x)=0 for the zerosf(0)f(0) is one number. f(x)=0f(x)=0 is an equation and can have several solutions
A maximum, a minimum or a vertexCompleted-square form, the axis of symmetry, or the calculator's maximum and minimum toolFor f(x)=a(x−h)2+kf(x)=a(x-h)^2+k the vertex is (h,k)(h,k)
A translation: f(x)+bf(x)+b or f(x−a)f(x-a)Add bb to every yy-value. Add aa to every xx-valueThe sign inside the bracket works the opposite way: f(x−3)f(x-3) moves the graph right
A reflection: −f(x)-f(x) or f(−x)f(-x)Change the sign of every yy-value, or of every xx-value−f(x)-f(x) is a reflection in the xx-axis. f(−x)f(-x) is a reflection in the yy-axis
A stretch: pf(x)pf(x) or f(qx)f(qx)Multiply every yy-value by pp, or every xx-value by 1q\dfrac1qPoints on the axis that stays fixed do not move
Several transformations in a rowApply them one at a time, in the order statedA stretch followed by a translation is not the same as a translation followed by a stretch
The asymptotes of ax+bcx+d\dfrac{ax+b}{cx+d}Vertical: denominator =0=0, so x=−dcx=-\dfrac dc. Horizontal: y=acy=\dfrac acFor px−h+k\dfrac{p}{x-h}+k they are x=hx=h and y=ky=k
The intercepts of a rational functionSubstitute x=0x=0 for the yy-intercept. Set the numerator equal to zero for the xx-interceptCheck the denominator is not zero at that value of xx

Section 1 of 3 SL2.2

Function notation, domain and range

A function gives each input xx in its domain exactly one output f(x)f(x), and the set of all outputs is the range. Working with functions means stating the largest possible domain and the range, and finding intercepts and zeros from an equation or a graph. The notation f(3)f(3) records an output, and f−1(x)f^{-1}(x) records the inverse function.

Reading a function

Neither of these is a formula-booklet entry - they're definitions and a checklist of features you're expected to extract from an equation on sight.

Function notation

f(x)f(x)

f(x)f(x) is the output of ff for input xx. f(0)f(0) gives the yy-intercept; solving f(x)=0f(x)=0 gives the xx-intercept(s). The domain is every valid input; the range is every value the output can take.

Key features to find

Intercepts, turning points, asymptotes

xx-intercepts (f(x)=0f(x)=0), yy-intercept (f(0)f(0)), turning points (from a completed square or f′(x)=0f'(x)=0), and any vertical or horizontal asymptotes.

Key terms

What are the domain and range?

The domain is the set of input values xx that the function can accept. The range is the set of output values f(x)f(x) that result.

e.g. f(x)=x2f(x)=x^2 has domain all real numbers and range f(x)≥0f(x)\ge0.

How do you find the largest possible domain?

Start with all real numbers and exclude any value that makes a denominator zero or puts a negative number under a square root.

e.g. f(x)=1x−4f(x)=\dfrac{1}{x-4} has domain x≠4x\neq4, while g(x)=x−4g(x)=\sqrt{x-4} has domain x≥4x\ge4.

What is a zero of a function?

A zero, also called a root, is a value of xx for which f(x)=0f(x)=0. It is the xx-coordinate of a point where the graph meets the xx-axis.

e.g. f(x)=x2−9f(x)=x^2-9 has zeros x=3x=3 and x=−3x=-3, so its graph crosses the xx-axis at (3,0)(3,0) and (−3,0)(-3,0).

What does f−1(x)f^{-1}(x) mean?

It is the inverse function, which reverses what ff does, and its graph is the reflection of y=f(x)y=f(x) in the line y=xy=x. It does not mean 1f(x)\dfrac{1}{f(x)}.

e.g. If f(2)=7f(2)=7, then f−1(7)=2f^{-1}(7)=2.

Worked example, step by step

The question No calculator needed [6 marks]

Let f(x)=2x−5+1f(x)=\sqrt{2x-5}+1.

(a) Find the largest possible domain of ff.

(b) Write down the range of ff.

(c) Find f−1(6)f^{-1}(6).

Worked solution: worked example

Answer: (a) x≥52x\ge\tfrac52. (b) f(x)≥1f(x)\ge1. (c) f−1(6)=15f^{-1}(6)=15.

Step 1 - Find the largest possible domain.

The expression under the square root cannot be negative, so 2x−5≥0⇒x≥52.2x-5\ge0\quad\Rightarrow\quad x\ge\tfrac52. The domain is x≥52x\ge\tfrac52. M1 - Use 2x−5≥02x-5\ge0 A1 - x≥52x\ge\tfrac52

Why? Unless the question says otherwise, the domain is every real number for which the function is defined. For a square root, that means the expression underneath must be zero or positive.

Step 2 - Find the range.

A square root is never negative, so 2x−5≥0\sqrt{2x-5}\ge0. It equals 00 when x=52x=\tfrac52 and grows without limit after that. Adding 11 gives f(x)≥1.f(x)\ge1. R1 - 2x−5≥0\sqrt{2x-5}\ge0, so the smallest value of ff comes from adding 11 to 00 A1 - f(x)≥1f(x)\ge1

Why? The range is the set of outputs. Work out the smallest output first, then say whether the outputs continue upwards. The +1+1 lifts every output by one unit.

Step 3 - Turn the inverse into an equation.

f−1(6)f^{-1}(6) is the input that ff sends to 66, so solve f(x)=6f(x)=6: 2x−5+1=6⇒2x−5=5.\sqrt{2x-5}+1=6\quad\Rightarrow\quad\sqrt{2x-5}=5. M1 - Set f(x)=6f(x)=6 and isolate the square root: 2x−5=5\sqrt{2x-5}=5

Why? The inverse function undoes ff. Asking for f−1(6)f^{-1}(6) is the same as asking which input gives the output 66. You do not need to find a formula for f−1f^{-1}.

Step 4 - Solve for x.

Square both sides: 2x−5=252x-5=25, so 2x=302x=30 and x=15.x=15. Therefore f−1(6)=15f^{-1}(6)=15. A1 - 1515

Why? Squaring both sides removes the square root. Because the root was isolated first, there is only one value to find.

Step 5 - Check.

15≥5215\ge\tfrac52, so 1515 is in the domain. Also f(15)=30−5+1=25+1=6f(15)=\sqrt{30-5}+1=\sqrt{25}+1=6, which is the output you started from.

Why? Putting the answer back into ff confirms the inverse value, and checking it against the domain makes sure it is a valid input.

Marks (6):
M1 Use 2x−5≥02x-5\ge0
A1 x≥52x\ge\tfrac52
R1 2x−5≥0\sqrt{2x-5}\ge0, so the smallest value of ff comes from adding 11 to 00
A1 f(x)≥1f(x)\ge1
M1 Set f(x)=6f(x)=6 and isolate the square root: 2x−5=5\sqrt{2x-5}=5
A1 1515

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Easy
No calc
[4 marks]
A function ff has graph with the following properties:
• passes through (−3,0)(-3,0), (0,3)(0,3), and (1,0)(1,0)
• has a maximum at (−1,4)(-1,\,4)
(a) Write down all the xx-intercepts.
[2]
(b) Write down the yy-intercept.
[1]
(c) State the range if the domain is R\mathbb{R} and the function is a downward parabola.
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[4 marks]
Let f(x)=−2x2+8x−3f(x)=-2x^2+8x-3.
(a) Find the coordinates of the vertex.
[2]
(b) Hence state the range of ff.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
Calculator
[4 marks]
Let f(x)=x3−3x2−x+3f(x)=x^3-3x^2-x+3.
(a) Find all the xx-intercepts.
[2]
(b)(i) Write down the coordinates of the local maximum.
[1]
(b)(ii) Write down the coordinates of the local minimum.
[1]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 12 marks

Common mistakes

  • Mixing up f(0)f(0) and f(x)=0f(x)=0. f(0)f(0) is a single number - the yy-intercept. Solving f(x)=0f(x)=0 is a whole equation that can have several solutions - the xx-intercept(s). Students regularly solve the wrong one under time pressure.
  • Misreading the vertex from completed-square form. If f(x)=(x−h)2+kf(x)=(x-h)^2+k, the turning point is (h,k)(h,k), not (−h,k)(-h,k) - the sign inside the bracket flips when you read off the coordinate.
  • Assuming every function looks the same. A quadratic has at most one turning point and two roots; a cubic can have two turning points and up to three roots. Don't force a cubic's key features into a parabola-shaped mental template.

Try some questions on function notation, domain and range

Section 2 of 3 SL2.11

Transformations of graphs

A transformation changes the graph of y=f(x)y=f(x) in a fixed way: y=f(x)+by=f(x)+b and y=f(x−a)y=f(x-a) translate it, y=−f(x)y=-f(x) and y=f(−x)y=f(-x) reflect it, and y=pf(x)y=pf(x) and y=f(qx)y=f(qx) stretch it. Each rule moves every point predictably, so you can transform key points without knowing the equation. Composite transformations are applied one at a time, in order.

Building composite transformations

These are prior-knowledge relationships rather than formula-booklet entries - the booklet won't state them, so you need to know them cold.

Composite transformations

y=x2⟶y=3x2+2y=x^2 \;\longrightarrow\; y=3x^2+2

Apply transformations in the order the function is built: stretch by 3, then translate 2 up.

Not in the formula booklet - prior knowledge

The four single moves

y=f(x)+b, y=f(x−a), y=−f(x), y=pf(x)y=f(x)+b,\ y=f(x-a),\ y=-f(x),\ y=pf(x)

Translate up/down, translate left/right, reflect in the xx-axis, and stretch vertically by scale factor pp.

Key terms

What is a translation?

A translation slides the graph without changing its shape or size. The graph of y=f(x)+by=f(x)+b moves vertically by bb, and the graph of y=f(x−a)y=f(x-a) moves horizontally by aa.

e.g. If (2,5)(2,5) lies on y=f(x)y=f(x), then (2,9)(2,9) lies on y=f(x)+4y=f(x)+4 and (5,5)(5,5) lies on y=f(x−3)y=f(x-3).

What is a reflection?

The graph of y=−f(x)y=-f(x) is the reflection of y=f(x)y=f(x) in the xx-axis, and the graph of y=f(−x)y=f(-x) is its reflection in the yy-axis.

e.g. If (3,−2)(3,-2) lies on y=f(x)y=f(x), then (3,2)(3,2) lies on y=−f(x)y=-f(x) and (−3,−2)(-3,-2) lies on y=f(−x)y=f(-x).

What is a vertical stretch?

The graph of y=pf(x)y=pf(x) is a vertical stretch with scale factor pp: every yy-coordinate is multiplied by pp and the xx-coordinates do not change. Points on the xx-axis stay where they are.

e.g. If (4,−1)(4,-1) lies on y=f(x)y=f(x), then (4,−3)(4,-3) lies on y=3f(x)y=3f(x).

What is a horizontal stretch?

The graph of y=f(qx)y=f(qx) is a horizontal stretch with scale factor 1q\tfrac1q: every xx-coordinate is multiplied by 1q\tfrac1q and the yy-coordinates do not change. Points on the yy-axis stay where they are.

e.g. If (6,5)(6,5) lies on y=f(x)y=f(x), then (3,5)(3,5) lies on y=f(2x)y=f(2x), because f(2×3)=f(6)=5f(2\times3)=f(6)=5.

Worked example, step by step

The question No calculator needed [5 marks]

The graph of y=f(x)y=f(x) has a local maximum at (6,4)(6,4) and passes through (−2,0)(-2,0). The graph of y=g(x)y=g(x) is obtained from y=f(x)y=f(x) by a horizontal stretch with scale factor 12\tfrac12, followed by a translation 33 units down.

(a) Find g(x)g(x) in terms of ff.

(b) Find the coordinates of the local maximum of gg.

(c) The graph of y=h(x)y=h(x) is the reflection of y=f(x)y=f(x) in the yy-axis. Find the image of (−2,0)(-2,0) on y=h(x)y=h(x).

Worked solution: worked example

Answer: (a) g(x)=f(2x)−3g(x)=f(2x)-3. (b) (3,1)(3,1). (c) (2,0)(2,0).

Step 1 - Write the stretch.

A horizontal stretch with scale factor 1q\tfrac1q is y=f(qx)y=f(qx). Here 1q=12\tfrac1q=\tfrac12, so q=2q=2 and the stretch is y=f(2x).y=f(2x). M1 - Use f(2x)f(2x) for a horizontal stretch with scale factor 12\tfrac12

Why? A horizontal stretch works on the xx inside the brackets, and it works the opposite way to what you might expect: the scale factor is 1q\tfrac1q, so multiplying xx by 22 halves every xx-coordinate.

Step 2 - Add the translation.

Moving the graph 33 units down subtracts 33 from every output of the stretched function: g(x)=f(2x)−3.g(x)=f(2x)-3. A1 - g(x)=f(2x)−3g(x)=f(2x)-3

Why? The order matters. The stretch comes first, so the translation is applied to the whole stretched function. Writing f(2x−3)f(2x-3) would describe a different graph.

Step 3 - Transform the maximum.

Apply the same steps to (6,4)(6,4). The stretch halves the xx-coordinate and leaves yy alone: (6,4)→(3,4)(6,4)\to(3,4). The translation lowers yy by 33: (3,4)→(3,1)(3,4)\to(3,1). The local maximum of gg is (3,1)(3,1). M1 - Halve the xx-coordinate and subtract 33 from the yy-coordinate A1 - (3,1)(3,1)

Why? Every point on the graph follows the same two moves, in the same order. A stretch with a positive scale factor keeps a maximum as a maximum, so the transformed point is still a local maximum.

Step 4 - Reflect in the y-axis.

The reflection in the yy-axis is h(x)=f(−x)h(x)=f(-x). It changes the sign of every xx-coordinate and keeps yy, so (−2,0)→(2,0).(-2,0)\to(2,0). A1 - (2,0)(2,0)

Why? A reflection in the yy-axis swaps left and right. Points on the yy-axis do not move, and a point with y=0y=0 stays on the xx-axis.

Step 5 - Check.

Use the original point in gg: g(3)=f(2×3)−3=f(6)−3=4−3=1g(3)=f(2\times3)-3=f(6)-3=4-3=1. This agrees with the point (3,1)(3,1).

Why? Substituting the new xx-value into gg should take you back to the old xx-value inside ff. If it does, the stretch was applied the right way round.

Marks (5):
M1 Use f(2x)f(2x) for a horizontal stretch with scale factor 12\tfrac12
A1 g(x)=f(2x)−3g(x)=f(2x)-3
M1 Halve the xx-coordinate and subtract 33 from the yy-coordinate
A1 (3,1)(3,1)
A1 (2,0)(2,0)

Now you try: enter your answers to be marked

1
Easy
No calc
[2 marks]
The point (2,5)(2,5) lies on y=f(x)y=f(x).

Find its image on y=f(x−1)+4y=f(x-1)+4.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[2 marks]
The function y=f(x)y=f(x) is transformed by a vertical stretch factor 2, then a translation (−13)\begin{pmatrix}-1\\3\end{pmatrix}.
Write the equation of the image in terms of ff.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
No calc
[5 marks]
The graph of y=f(x)y=f(x) is transformed to y=3f(x)−2y=3f(x)-2. The point (4,−1)(4,-1) is on y=f(x)y=f(x).
(a) Find the image of (4,−1)(4,-1).
[2]
(b) If ff has a minimum value of −1-1, find the minimum value of 3f(x)−23f(x)-2.
[3]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 9 marks

Common mistakes

  • Applying transformations in the wrong order. y=3f(x)+2y=3f(x)+2 means "stretch by 3, then translate up 2" - doing the translation first gives a different (wrong) graph.
  • Getting the direction of a horizontal translation backwards. y=f(x−a)y=f(x-a) shifts the graph right by aa when a>0a>0, not left - the sign inside the bracket is the opposite of the direction of movement.
  • Confusing y=pf(x)y=pf(x) with y=f(px)y=f(px). The first stretches vertically by factor pp; the second stretches horizontally by factor 1p\tfrac1p - multiplying xx inside the brackets compresses the graph when p>1p>1, it doesn't stretch it.

Try some questions on transformations of graphs

Section 3 of 3 SL2.8

Reciprocal and rational graphs

The reciprocal function f(x)=1x, x≠0f(x)=\dfrac1x,\ x\neq0, has a graph in two separate branches that approach the axes without touching them. A rational function f(x)=ax+bcx+df(x)=\dfrac{ax+b}{cx+d} has the same type of graph, with vertical asymptote x=−dcx=-\dfrac dc and horizontal asymptote y=acy=\dfrac ac. To sketch one, mark both asymptotes, then the intercepts, and draw a branch in each region.

Asymptotes of a shifted reciprocal

Neither result below is a formula-booklet entry - both follow from the general transformation rules.

Shifted reciprocal

y=ax−h+ky=\dfrac{a}{x-h}+k

Vertical asymptote x=hx=h (denominator zero); horizontal asymptote y=ky=k (the value the graph tends to as x→±∞x\to\pm\infty).

Key terms

What is a vertical asymptote?

A vertical asymptote is a vertical line that the graph approaches but never reaches. For a rational function it occurs where the denominator is zero.

e.g. f(x)=2x+1x−3f(x)=\dfrac{2x+1}{x-3} has the vertical asymptote x=3x=3.

What does self-inverse mean for f(x)=1xf(x)=\dfrac1x?

A self-inverse function is its own inverse, so f−1(x)=f(x)f^{-1}(x)=f(x). Its graph is symmetrical about the line y=xy=x.

e.g. f(4)=14f(4)=\dfrac14 and f(14)=4f\left(\dfrac14\right)=4, so applying ff twice returns the original input.

How do you find the horizontal asymptote of ax+bcx+d\dfrac{ax+b}{cx+d}?

For large values of xx, the constants bb and dd become negligible, so the fraction approaches axcx\dfrac{ax}{cx}. The horizontal asymptote is therefore y=acy=\dfrac ac.

e.g. f(x)=4x−12x+5f(x)=\dfrac{4x-1}{2x+5} has the horizontal asymptote y=42=2y=\dfrac42=2 and the vertical asymptote x=−52x=-\dfrac52.

How do you find the intercepts of a rational graph?

For the yy-intercept, substitute x=0x=0. For the xx-intercept, set the numerator equal to zero, provided the denominator is not zero at that value.

e.g. For f(x)=2x−6x+1f(x)=\dfrac{2x-6}{x+1}, f(0)=−6f(0)=-6 gives the point (0,−6)(0,-6), and 2x−6=02x-6=0 gives the point (3,0)(3,0).

Worked example, step by step

The question No calculator needed [6 marks]

Consider the function f(x)=3x+62x−8f(x)=\dfrac{3x+6}{2x-8}.

(a) Find the equation of the vertical asymptote of the graph of ff.

(b) Find the equation of the horizontal asymptote.

(c) Find the coordinates of the point where the graph crosses the yy-axis, and of the point where it crosses the xx-axis.

Worked solution: worked example

Answer: (a) x=4x=4. (b) y=32y=\tfrac32. (c) yy-intercept (0,−34)\left(0,-\tfrac34\right); xx-intercept (−2,0)(-2,0).

Step 1 - Find the vertical asymptote.

The function is undefined when the denominator is zero: 2x−8=0⇒x=4.2x-8=0\quad\Rightarrow\quad x=4. The vertical asymptote is x=4x=4. M1 - Set the denominator equal to zero: 2x−8=02x-8=0 A1 - x=4x=4

Why? The graph cannot have a point where the function is undefined, and the values of ff grow without limit as xx gets close to 44. That is a vertical asymptote. In general it is x=−dcx=-\dfrac dc.

Step 2 - Find the horizontal asymptote.

For very large |x||x|, the constants 66 and −8-8 matter very little, so f(x)f(x) is close to 3x2x\dfrac{3x}{2x}. The horizontal asymptote is y=32.y=\tfrac32. A1 - y=32y=\tfrac32

Why? The horizontal asymptote is the value that f(x)f(x) approaches as xx becomes very large in either direction. For ax+bcx+d\dfrac{ax+b}{cx+d} it is y=acy=\dfrac ac, the ratio of the coefficients of xx.

Step 3 - Find the y-intercept.

Substitute x=0x=0: f(0)=6−8=−34f(0)=\dfrac{6}{-8}=-\dfrac34. The graph crosses the yy-axis at (0,−34)\left(0,-\dfrac34\right). A1 - (0,−34)\left(0,-\tfrac34\right)

Why? Every point on the yy-axis has x=0x=0, so the yy-intercept is always the value of f(0)f(0).

Step 4 - Find the x-intercept.

The graph meets the xx-axis where f(x)=0f(x)=0, which needs the numerator to be zero: 3x+6=0⇒x=−2.3x+6=0\quad\Rightarrow\quad x=-2. At x=−2x=-2 the denominator is 2(−2)−8=−122(-2)-8=-12, which is not zero, so the graph crosses the xx-axis at (−2,0)(-2,0). M1 - Set the numerator equal to zero: 3x+6=03x+6=0 A1 - (−2,0)(-2,0)

Why? A fraction is zero only when its numerator is zero. Always confirm that the denominator is not also zero at that value, because then the function would be undefined there, not zero.

Step 5 - Check.

Divide to rewrite f(x)=32+9x−4f(x)=\dfrac32+\dfrac{9}{x-4}, since 32+9x−4=3(x−4)+182(x−4)=3x+62x−8\dfrac32+\dfrac{9}{x-4}=\dfrac{3(x-4)+18}{2(x-4)}=\dfrac{3x+6}{2x-8}. In this form the asymptotes are x=4x=4 and y=32y=\dfrac32, as found, and f(0)=32−94=−34f(0)=\dfrac32-\dfrac94=-\dfrac34.

Why? The shifted form px−h+k\dfrac{p}{x-h}+k shows the asymptotes straight away: x=hx=h and y=ky=k. Agreement between the two methods is a strong check.

Marks (6):
M1 Set the denominator equal to zero: 2x−8=02x-8=0
A1 x=4x=4
A1 y=32y=\tfrac32
A1 (0,−34)\left(0,-\tfrac34\right)
M1 Set the numerator equal to zero: 3x+6=03x+6=0
A1 (−2,0)(-2,0)

Now you try: enter your answers to be marked

1
Easy
No calc
[3 marks]
State the domain of f(x)=52x+6.f(x)=\dfrac{5}{2x+6}.
[3]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[2 marks]
State the range of f(x)=2x−3+1.f(x)=\dfrac{2}{x-3}+1.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
No calc
[3 marks]
Find the xx-intercept of f(x)=4x+1−2.f(x)=\dfrac{4}{x+1}-2.
[3]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 8 marks

Common mistakes

  • Getting the sign of the vertical asymptote backwards. For y=ax−h+ky=\dfrac{a}{x-h}+k, the asymptote is x=hx=h, not x=−hx=-h - find it by setting the denominator to zero and solving, not by reading off the sign in the bracket.
  • Forgetting the horizontal asymptote shifts too. Adding a constant kk outside the fraction moves the horizontal asymptote from y=0y=0 to y=ky=k - it's easy to state y=0y=0 out of habit even after a vertical shift.
  • Not checking the denominator at the x-intercept. The x-intercept comes from setting the numerator equal to zero, but only if the denominator is not zero at that value. If it is, the function is undefined there and there is no intercept at that point.

Try some questions on reciprocal and rational graphs

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Find a maximum, minimum or zero of a graph (stationary points)

Used in: Function notation, domain and range

How to find a maximum, minimum or zero on a TI-84 Plus CE

Graph the function and use the CALC menu

Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=.

Plot1 Plot2 Plot3
\Y1=X^3-6X²+5X+4
\Y2=

Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis.

WINDOW
Xmin=-2
Xmax=6
Xscl=1
Ymin=-15
Ymax=10
Yscl=1

For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph.

The screen shows Maximum with x=0.472x = 0.472 and y=5.13y = 5.13.

Maximum X=0.472475 Y=5.128451

For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum.

The screen shows Minimum with x=3.528x = 3.528 and y=−9.13y = -9.13.

Minimum X=3.527525 Y=-9.128451

For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings.

The zero between x=1x = 1 and x=2x = 2 is x=1.711x = 1.711, with y=0y = 0.

Zero X=1.710831 Y=0

Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.

The full guide: Find a maximum, minimum or zero of a graph (stationary points)

Enter a function and draw its graph

Used in: Function notation, domain and range, Transformations of graphs, Reciprocal and rational graphs

How to enter a function and draw its graph on a TI-84 Plus CE

Enter the function in Y= and draw it

Press Y=. If there are old functions, move to each one with ▲ or ▼ and press clear to erase it. A function is only drawn while the = sign beside it is highlighted.

Plot1 Plot2 Plot3
\Y1=
\Y2=
\Y3=

With the cursor next to Y1=, type X,T,θ,n x² − 4 X,T,θ,n + 3. The calculator uses X,T,θ,n for xx.

Plot1 Plot2 Plot3
\Y1=X²-4X+3
\Y2=
\Y3=

Press window and set Xmin = −2, Xmax = 6, Ymin = −2, Ymax = 8, leaving Xscl and Yscl as 1. For a negative number use the (−) key, not the subtraction key.

WINDOW
Xmin=-2
Xmax=6
Xscl=1
Ymin=-2
Ymax=8
Yscl=1

Press graph.

The curve is an upward-opening parabola. It meets the yy-axis at y=3y = 3.

Draw more than one function, or hide one

Type the next function next to Y2= (press ▼ to reach it) and press graph again: every function whose = sign is highlighted is drawn. To keep a function but not draw it, move onto its = sign with ◀ and press enter, so the highlight disappears. Press enter again to turn it back on.

If the graph is blank or cut off

Press zoom and choose 6:ZStandard to draw with the standard window, or choose 0:ZoomFit, which keeps your Xmin and Xmax and sets Ymin and Ymax so the whole curve fits. Choosing a window by hand is in set a good viewing window.

For a graph that contains sin, cos or tan, check the angle mode first: press mode and see switching between degrees and radians.

If the graph does not appear, the cause is usually the window, not the function. Look at the window values before you retype anything.

The full guide: Enter a function and draw its graph

Set a good viewing window (and zoom)

Used in: Reciprocal and rational graphs

How to set a good viewing window on a TI-84 Plus CE

Type the window yourself

Press Y=, clear any old functions with clear, and type 2 0 0 × 1 . 1 5 ^ X,T,θ,n next to Y1=. Press graph: the standard window shows nothing, because every value of the curve is above the top of the screen.

Decide the window from the question. Here 0≤t≤200 \le t \le 20, so Xmin is 0 and Xmax is 20. The largest value of the curve is a little over 3 000, so Ymax is 3 500 and Ymin is 0.

Press window. Type a value for each line and press enter (or ▼) after each: Xmin = 0, Xmax = 20, Xscl = 5, Ymin = 0, Ymax = 3500, Yscl = 500. Xmin must be less than Xmax and Ymin less than Ymax, or the graph will not draw. For a negative number use the (−) key, not the subtraction key.

WINDOW
Xmin=0
Xmax=20
Xscl=5
Ymin=0
Ymax=3500
Yscl=500

Press graph. The whole curve now shows, from the start of the domain to its end.

Let the calculator choose the y-range

Press window and set only Xmin = 0 and Xmax = 20 (the domain from the question). Then press zoom and choose 0:ZoomFit. The calculator recalculates Ymin and Ymax so that the highest and lowest points of the graph between Xmin and Xmax fit on the screen, and redraws the graph. It does not change Xmin or Xmax.

Zoom, reset and square

Press zoom and choose 6:ZStandard to go back to the standard window, with x and y both from −10 to 10. This is a quick reset when a graph has gone off the screen.

To zoom in on part of the graph, press zoom, choose 1:ZBox, move the cursor to one corner of the part you want and press enter, then move to the opposite corner and press enter again. The box becomes the new window.

For a graph of a circle to look like a circle, or a gradient to look true, press zoom and choose 5:ZSquare. For a graph of a trigonometric function press zoom and choose 7:ZTrig, after checking the angle mode.

Type the domain from the question into Xmin and Xmax first, then use ZoomFit to find the y-range. If the graph is blank, look at WINDOW before you doubt the function.

The full guide: Set a good viewing window (and zoom)

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL2.2Concept of a function, domain, range and graph. Function notation, for example f(x)f(x), v(t)v(t), C(n)C(n). The concept of a function as a mathematical model. Informal concept that an inverse function reverses or undoes the effect of a function. Inverse function as a reflection in the line y=xy=x, and the notation f−1(x)f^{-1}(x). The domain will be the largest possible domain for which a function is defined unless otherwise stated.
SL2.3The graph of a function; its equation y=f(x)y=f(x). Creating a sketch from information given or a context, including transferring a graph from screen to paper. Using technology to graph functions including their sums and differences.
SL2.4Determine key features of graphs. Maximum and minimum values; intercepts; symmetry; vertex; zeros of functions or roots of equations; vertical and horizontal asymptotes using graphing technology. Finding the point of intersection of two curves or lines using technology.
SL2.8The reciprocal function f(x)=1x, x≠0f(x)=\tfrac1x,\ x\neq0: its graph and self-inverse nature. Rational functions of the form f(x)=ax+bcx+df(x)=\dfrac{ax+b}{cx+d} and their graphs. Equations of vertical and horizontal asymptotes. Vertical asymptote: x=−dcx=-\tfrac dc; horizontal asymptote: y=acy=\tfrac ac.
SL2.11Transformations of graphs. Translations: y=f(x)+by=f(x)+b; y=f(x−a)y=f(x-a). Reflections (in both axes): y=−f(x)y=-f(x); y=f(−x)y=f(-x). Vertical stretch with scale factor pp: y=pf(x)y=pf(x). Horizontal stretch with scale factor 1q\tfrac1q: y=f(qx)y=f(qx). Composite transformations. Example: using y=x2y=x^2 to sketch y=3x2+2y=3x^2+2. Not required at SL: transformations of the form f(ax+b)f(ax+b).

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Quick questions

What does f(x) actually mean?

f(x)f(x) is the output (yy-value) that the function ff produces for the input xx. Writing f(3)=7f(3)=7 means the point (3,7)(3,7) lies on the graph of y=f(x)y=f(x).

How do I know which way a horizontal translation moves the graph?

y=f(x−a)y=f(x-a) shifts the graph right by aa when aa is positive, and left when aa is negative - the movement is opposite to the sign inside the bracket.

How do I find the asymptotes of a shifted reciprocal graph?

For y=ax−h+ky=\dfrac{a}{x-h}+k, the vertical asymptote is x=hx=h (where the denominator is zero) and the horizontal asymptote is y=ky=k (the value the graph approaches as x→±∞x\to\pm\infty).

What is the difference between the x-intercept and the y-intercept?

The yy-intercept is found by evaluating f(0)f(0). The xx-intercept(s) are found by solving f(x)=0f(x)=0. They use the same equation in opposite directions, so mixing them up is one of the most common exam errors.

What is the difference between y = pf(x) and y = f(px)?

y=pf(x)y=pf(x) stretches the graph vertically by scale factor pp. y=f(px)y=f(px) stretches it horizontally by scale factor 1p\tfrac1p - multiplying xx inside the brackets compresses the graph when pp is greater than 1.

Why must I check the denominator when finding the x-intercept of a rational function?

The x-intercept comes from setting the numerator equal to zero. If the denominator is also zero at that value, the function is undefined there, so there is no x-intercept at that point.

How can I tell from a graph whether it shows a function?

Imagine vertical lines through the graph. If every vertical line meets the graph at most once, each input has only one output, so the graph shows a function.

In what order are composite transformations applied?

Apply them in the order stated. For y=3f(x)−2y=3f(x)-2, stretch vertically by scale factor 33 first and then translate down 22 units. Translating first would give y=3(f(x)−2)y=3(f(x)-2), which is a different graph.

Why does the graph of y=1xy=\dfrac1x never touch the axes?

The value x=0x=0 is not in the domain, so the graph never meets the yy-axis. Also, 1x\dfrac1x is never equal to 00, so the graph never meets the xx-axis.

How do I find f(−3)f(-3) for a given function?

Replace every xx with −3-3, using brackets to protect the sign. For f(x)=x2−5x+6f(x)=x^2-5x+6, f(−3)=(−3)2−5(−3)+6=9+15+6=30f(-3)=(-3)^2-5(-3)+6=9+15+6=30.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.