2.3 The graph of a function

2.3 The graph of a function

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A point (a,b)(a,b) is on y=f(x)y=f(x) exactly when f(a)=bf(a)=b; use this to find unknown constants.
  • To find where y=f(x)y=f(x) meets y=cy=c, solve f(x)=cf(x)=c.
  • Describe a graph by its domain, end points, intercepts, maximum and minimum points and asymptotes.
  • On a GDC, set a sensible window and give answers to 3 s.f.; interpret them in context.
  • (f−g)(x)=0(f-g)(x)=0 where the graphs of ff and gg intersect.

Points on a graph

A point (a,b)(a,b) is on the graph of ff exactly when f(a)=bf(a)=b.

The graph of ff is all points (x,f(x))(x,f(x)). To test a point, substitute its xx-coordinate and compare with its yy-coordinate. If the graph passes through a known point, substituting gives an equation for an unknown constant: f(x)=x2−4x+kf(x)=x^2-4x+k through (1,2)(1,2) gives 1−4+k=21-4+k=2, so k=5k=5.

Watch signs: for x=−1x=-1, −4x=+4-4x=+4. Put negatives in brackets on your calculator.

−2−1123456−2246810121416xy(1, 2)y = x² − 4x + k
Move kk until the curve passes through (1,2)(1,2); it does at k=5k=5.

Worked example

Does (3,2)(3,2) lie on the graph of f(x)=x2−4x+5f(x)=x^2-4x+5?

The graph of y=x2+kx+3y=x^2+kx+3 passes through (2,1)(2,1). What is kk?

Describing a graph

Give its key features: domain and end points, intercepts, turning points, asymptotes, and whether it rises or falls.

A full description gives the domain and the coordinates of end points, the intercepts with the axes, any maximum or minimum points, any asymptotes, and where it is increasing or decreasing.

In a context, label what each axis means and use units. Tank V(t)=800−50tV(t)=800-50t, 0≤t≤160\le t\le16, is a straight segment from (0,800)(0,800) to (16,0)(16,0), falling at 50 litres per minute. The context sets the domain: the tank cannot hold negative water.

24681012141618200400600800xy(0, 800)(16, 0)V = 800 − 50t
Tank 1: V(t)=800−50tV(t)=800-50t litres, for 0≤t≤160\le t\le16.

Which domain fits V(t)=800−50tV(t)=800-50t for a tank that starts full and empties?

Graphing with a GDC

Enter the function, set a window, draw the graph, use a tool, then interpret the result.

A GDC finds zeros, maximum and minimum points and intersections. Choose a viewing window that fits the domain, such as 0≤x≤1000\le x\le100 for 100 lamps: a poor window can hide a turning point or a zero.

Give answers to 3 significant figures and say what you did. Then interpret: x=9.22x=9.22 lamps is impossible, so check values either side, P(9)<0P(9)<0 and P(10)>0P(10)>0.

  1. 1

    Enter the function

    Type it as y1=f(x)y_1=f(x)

  2. 2

    Set the window

    To fit the domain

  3. 3

    Draw

    Check the shape makes sense

  4. 4

    Use a tool

    Zero, maximum, minimum or intersect

  5. 5

    Interpret

    Units, rounding and domain

Using a GDC on a graph question

A GDC gives the zero of a profit function as x=9.22x=9.22, with P(9)<0P(9)<0 and P(10)>0P(10)>0. How many lamps must be made to start making a profit?

Sums and differences

Add or subtract functions pointwise: (f−g)(x)=f(x)−g(x)(f-g)(x)=f(x)-g(x).

(f+g)(x)=f(x)+g(x)(f+g)(x)=f(x)+g(x) and (f−g)(x)=f(x)−g(x)(f-g)(x)=f(x)-g(x). On a GDC enter y1=f(x)y_1=f(x), y2=g(x)y_2=g(x) and y3=y1−y2y_3=y_1-y_2.

Profit is revenue minus cost, P(x)=R(x)−C(x)P(x)=R(x)-C(x); use brackets: 60x−0.5x2−(400+12x)60x-0.5x^2-(400+12x). The gap d(t)=a(t)−b(t)d(t)=a(t)-b(t) is positive when aa is larger. And f(x)=g(x)f(x)=g(x) exactly where (f−g)(x)=0(f-g)(x)=0, so zeros of the difference give the intersections.

102030405060708090100−50050010001500xy(9.22, 511)(86.8, 1441)R(x)C(x)P(x)
R(x)R(x), C(x)C(x) and P(x)=R−CP(x)=R-C (dashed); P=0P=0 near 9.22 and 86.8.

Worked example

Find P(9)P(9) and P(10)P(10) for P(x)=60x−0.5x2−(400+12x)P(x)=60x-0.5x^2-(400+12x).

f(x)=3x+1f(x)=3x+1 and g(x)=x2g(x)=x^2. What is (f−g)(2)(f-g)(2)?

Try an exam question

A company makes lamps. The revenue is R(x)=60x−0.5x2R(x)=60x-0.5x^2 and the cost is C(x)=400+12xC(x)=400+12x, where xx is the number of lamps. Find the profit P(x)P(x), and by evaluating P(9)P(9) and P(10)P(10) find the least number of lamps needed to make a profit.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of kk.

1 mark, marked against the mark scheme

Revision notes