Rational function graphs

Rational function graphs

Spec D12 · AQA A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • y=ax+bcx+dy=\frac{ax+b}{cx+d} is a hyperbola: vertical asymptote x=−dcx=-\frac dc, horizontal asymptote y=acy=\frac ac.
  • For quadratic over quadratic, the horizontal asymptote is y=ady=\frac ad (same degree) or y=0y=0 (lower degree on top).
  • Find intercepts: numerator =0=0 for the xx-axis, x=0x=0 for the yy-axis.
  • Never multiply an inequality by q(x)q(x): it may be negative. Combine into one fraction and test signs.
  • For the range, form a quadratic in xx and require the discriminant ≥0\ge0.

Linear over linear

The graph is a hyperbola with two branches around a vertical and a horizontal asymptote.

A rational function is a ratio of polynomials. For y=ax+bcx+dy=\frac{ax+b}{cx+d} the graph is a hyperbola, drawn around two asymptotes.

  • Vertical asymptote: x=−dcx=-\frac dc.
  • Horizontal asymptote: y→acy\to\frac ac as x→±∞x\to\pm\infty (not bd\frac bd, which is the yy-intercept).
  • Intercepts: xx-axis where ax+b=0ax+b=0; yy-axis at y=bdy=\frac bd.

Example: y=2x+1x−3=2+7x−3y=\frac{2x+1}{x-3}=2+\frac{7}{x-3} is above y=2y=2 for x>3x>3 and below it for x<3x<3.

−6−4−2246810−8−6−4−224681012xyx = 3y = 2(-1/2, 0)(0, -1/3)y = (2x + 1)/(x − 3)
y = (2x + 1)/(x − 3) with asymptotes x = 3 and y = 2.

Worked example

Find the asymptotes and intercepts of y=3x−1x+2y=\frac{3x-1}{x+2}.

What is the horizontal asymptote of y=5x+12x−7y=\frac{5x+1}{2x-7}?

Quadratic over quadratic

Factorise, then find the vertical asymptotes from the denominator, the horizontal asymptote from the leading terms, and the intercepts.

For y=ax2+bx+cdx2+ex+fy=\frac{ax^2+bx+c}{dx^2+ex+f}, factorise where you can.

  • Vertical asymptotes at each real root of the denominator (check it is not also a root of the numerator).
  • Horizontal asymptote y=ady=\frac ad when both degrees are 2; y=0y=0 when the numerator has lower degree.
  • Intercepts: numerator =0=0, and x=0x=0.

A curve can cross its horizontal asymptote: solve y=ady=\frac ad. A squared factor in the numerator makes the curve touch the axis (a repeated factor).

−8−6−4−22468−4−224xyx = 1x = -3y = 1(0, 0)(3/2, 1)y = x² / ((x − 1)(x + 3))
Three asymptotes; the curve crosses y = 1 at x = 3/2.

What is the horizontal asymptote of y=3x2+1x2−4y=\frac{3x^2+1}{x^2-4}?

Intersections with lines

Equate the expressions, multiply by the denominator, and solve the quadratic; its discriminant counts the intersections.

To find where a curve meets a straight line, equate the two expressions and multiply through by the denominator. The result is usually a quadratic whose roots are the xx-coordinates of the intersections.

The discriminant b2−4acb^2-4ac tells you how many: >0>0 gives two, =0=0 gives one (a tangent), <0<0 gives none.

Substitute back to get the yy-coordinates, and do not divide by xx or you lose the root x=0x=0.

−2−1123456−10−5510xyx = 2y = 1(1, -4)(3, 6)y = (x + 3)/(x − 2)y = 5x − 9
The curve and the line meet at (1, −4) and (3, 6).

Worked example

Find where y=x+3x−2y=\frac{x+3}{x-2} meets y=5x−9y=5x-9.

For what value of kk does x2−4x+k=0x^2-4x+k=0 have exactly one root (a tangent)?

Associated inequalities

Move everything to one side, combine into a single fraction, find the critical values and test the sign.

To solve p(x)q(x)>g(x)\frac{p(x)}{q(x)}>g(x), never multiply by q(x)q(x): it may be negative.

Either multiply by q(x)2q(x)^2, which is always positive, or move everything to one side and combine into a single fraction. Then find the critical values (zeros of the numerator and of the denominator) and test the sign in each interval.

Asymptote values are never included in the solution, because the function is undefined there.

−4−3.5−3−2.5−2−1.5−1−0.500.511.522.53-201

Worked example

Solve 3xx+2<x\frac{3x}{x+2}<x.

In the example above, is x=−2x=-2 part of the solution?

Range and stationary points

Rearrange into a quadratic in xx with yy in the coefficients and require the discriminant to be non-negative.

To find the range, write y=p(x)q(x)y=\frac{p(x)}{q(x)}, rearrange into a quadratic in xx with yy in the coefficients, and require the discriminant to be non-negative so that a real xx exists.

The values of yy at the boundary give repeated roots, which are the stationary points.

If the coefficient of x2x^2 contains yy, such as (y−1)x2(y-1)x^2, check separately the value of yy that makes it zero.

−8−6−4−22468−0.2−0.10.10.20.30.40.50.6xy(1, 1/2)(-3, -1/6)y = (x + 1)/(x² + 3)
The curve stays between −1/6 and 1/2.

Worked example

Find the range of y=x+1x2+3y=\frac{x+1}{x^2+3} and its stationary points.

Why must the discriminant be non-negative?

Try an exam question

Find the equations of the asymptotes of y=2x−1x+3y=\frac{2x-1}{x+3} and the coordinates of the points where the curve meets the axes.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which line is the vertical asymptote of CC?

1 mark, marked against the mark scheme

Revision notes