📘 CodingMarble Learn

Rational Graphs, Conics and Inequalities

To sketch y = (ax + b)/(cx + d), find where the bottom is zero (vertical asymptote), the value of a/c far away (horizontal asymptote) and the axis crossings. For a quadratic over a quadratic, set y = k and use the discriminant to find which values y can take. The conics y² = 4ax, x²/a² + y²/b² = 1 and x²/a² − y²/b² = 1 move and stretch by simple swaps (x → x − p, x → x/s). Rational and polynomial inequalities are solved with critical values and a sign check, never by multiplying by an unknown sign.

🎬 Step-by-step story

  1. y = (x + 1)/(x − 2): where the bottom is 0, the curve shoots off (x = 2). Far away it settles at y = 1.
  2. Solve (x + 1)/(x − 2) > 2 by looking where the curve is above the line y = 2: between 2 and 5.
  3. A parabola y² = 4ax: every point is the same distance from the focus (a, 0) and the line x = −a.
  4. An ellipse x²/a² + y²/b² = 1 crosses the axes at ±a and ±b. It has two foci inside.
  5. A hyperbola x²/a² − y²/b² = 1 has two branches that hug the lines y = ±(b/a)x.
  6. Your turn: shift and stretch a conic. Watch how each slider changes the equation.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why does the curve shoot off at x = 2?

Dividing by a number close to 0 gives a huge result. Step 1 shows the curve racing up and down beside the red line x = 2.

Why can't I just multiply by (x − 2) in an inequality?

On the left of x = 2 that number is negative and would flip the sign. Step 2 shows the curve is above y = 2 only between 2 and 5.

What is a focus for?

It is the point that defines the curve: every parabola point is as far from the focus as from the directrix. Step 3 checks this with the point (4, 4).

When is an ellipse a circle?

When a = b, so c = 0 and both foci meet at the centre. Step 4 shows the foci at ±c.

Does a hyperbola ever touch its asymptotes?

No. It gets closer and closer as x grows. Step 5 shows the dashed lines.

Why does (x − 3) move the graph right, not left?

To get the same value as the old graph at x = 0, you now need x = 3. Try p = 3 in the free play.

Graphs of rational functions and asymptotes

A rational function is one polynomial divided by another, like y = (x + 1)/(x − 2).

An asymptote is a line the curve gets closer and closer to but does not reach (far away).

Sketching checklist

  1. Asymptotes.
  2. Crossings: x = 0 gives the y-intercept; top = 0 gives x-intercepts.
  3. Behaviour near each vertical asymptote (sign of y just left and just right).
  4. Join smoothly, never crossing a vertical asymptote.

Quadratic over quadratic: range without calculus

For y = (x² + …)/(x² + …), the curve may not take every y value. To find which values it takes:

  1. Put y = k and multiply out: k(bottom) = top.
  2. Rearrange to a quadratic in x.
  3. A real x exists only if the discriminant ≥ 0 (b² − 4ac ≥ 0).
  4. Solve that inequality in k. This gives the range, and the end values are the turning points' y-values.

Example: y = x/(x² + 1). k(x² + 1) = x → kx² − x + k = 0. Discriminant 1 − 4k² ≥ 0 → −1/2 ≤ k ≤ 1/2. So the range is −½ ≤ y ≤ ½, with turning points at y = ±½.

Conics: parabola, ellipse, hyperbola

Slicing a cone at different angles gives the conic sections.

A focus is a special inside point. For the ellipse, foci are at (±c, 0) with c² = a² − b²; for the hyperbola c² = a² + b².

Graph transformations

Example: (x − 3)²/16 + (y + 1)²/4 = 1 is the ellipse x²/16 + y²/4 = 1 moved 3 right and 1 down. Its centre is (3, −1). Asymptotes, foci and vertices move with the curve.

Polynomial and rational inequalities

Never multiply both sides by something whose sign you don't know (like x − 2). Instead:

  1. Move everything to one side: f(x) > 0.
  2. Write as one fraction and factorise top and bottom.
  3. Find critical values: zeros of the top and of the bottom.
  4. Test the sign in each interval (or use a sketch).
  5. Choose the intervals you need. Bottom zeros are never included.

Another safe method: multiply both sides by (x − 2)², which is always positive.

Example: (x + 1)/(x − 2) > 2 → (x + 1 − 2x + 4)/(x − 2) > 0 → (5 − x)/(x − 2) > 0. Critical values 2 and 5. Positive between them: 2 < x < 5.

Try it: draw an ellipse with string

Push two pins into card about 8 cm apart. Tie a loop of string around them, pull it tight with a pencil and draw all the way round. You get an ellipse; the pins are the foci. Bring the pins closer: it becomes more like a circle. Then use the free play to stretch the ellipse with the slider.

Key formulas and definitions

Worked examples

1. State the asymptotes of y = (3x − 1)/(x + 4).

Bottom 0 at x = −4 → vertical asymptote x = −4. Leading coefficients 3/1 → horizontal asymptote y = 3.

2. Find where y = (2x − 6)/(x + 1) crosses the axes.

x = 0: y = −6/1 = −6, so (0, −6). Top = 0: x = 3, so (3, 0).

3. The parabola y² = 12x: find the focus and directrix.

4a = 12 → a = 3. Focus (3, 0), directrix x = −3.

4. Find the foci of x²/25 + y²/9 = 1.

a = 5, b = 3, c² = 25 − 9 = 16, c = 4. Foci (±4, 0).

5. Describe the transformation from x²/4 − y²/9 = 1 to (x + 2)²/4 − (y − 1)²/9 = 1, and give the new asymptotes.

Shift 2 left and 1 up. Old asymptotes y = ±(3/2)x become y − 1 = ±(3/2)(x + 2).

6. Find the range of y = (x² + 1)/(x² + x + 1) without calculus.

k(x² + x + 1) = x² + 1 → (k − 1)x² + kx + (k − 1) = 0. Discriminant k² − 4(k − 1)² ≥ 0 → (k − 2(k − 1))(k + 2(k − 1)) ≥ 0 → (2 − k)(3k − 2) ≥ 0 → 2/3 ≤ k ≤ 2. Range 2/3 ≤ y ≤ 2.

7. Solve x² − x − 6 < 0 and (x − 1)/(x + 3) ≤ 0.

(x − 3)(x + 2) < 0 → −2 < x < 3. For the fraction: critical values 1 and −3; negative between them, zero at x = 1 (included), x = −3 excluded → −3 < x ≤ 1.

Common mistakes

Practice quiz

1. The vertical asymptote of y = (x + 5)/(x − 3) is:
2. The focus of y² = 8x is:
3. The asymptotes of x²/16 − y²/9 = 1 are:
4. Replacing x by (x + 2) in an equation moves the graph:
5. To find the range of a quadratic over quadratic without calculus we use:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between an ellipse and a hyperbola equation?

Ellipse: x²/a² + y²/b² = 1 (plus sign, closed curve). Hyperbola: x²/a² − y²/b² = 1 (minus sign, two open branches).

How do I find the range of a rational function without calculus?

Set y = k, rearrange into a quadratic in x, and require the discriminant to be at least 0. Solve the resulting inequality in k.

Can a graph cross its horizontal asymptote?

Yes, it can cross for small x. The asymptote only describes what happens far away. It can never cross a vertical asymptote.

Where this is taught

England (GCSE, A level)Year 12D Further algebra and functions (part 1)

Learn first

Learn next

Related lessons

All Maths lessons