📘 CodingMarble Learn

Equations and Inequalities with a Parameter

A parameter is a letter such as a that stands for one fixed number, but we do not know which. We ask "for which a does the equation have 0, 1, 2 or more solutions?". The graph method moves a, writing the equation as f(x) = a and sliding the horizontal line y = a across the curve y = f(x).

🎬 Step-by-step story

  1. The equation is x² = a. Draw the curve y = x² and the orange line y = a. Each green dot where they meet is a solution. Now a = 4 and there are 2 dots.
  2. Slide the line down to a = 0. The line just touches the bottom of the curve. Only 1 dot is left.
  3. Slide below the curve, a = −2. The line misses the curve. No dots, so no solution.
  4. A new curve: y = |x² − 4|, shaped like a W. With a = 2 the line cuts it in 4 places.
  5. Raise the line to a = 4. It passes through the middle peak, so the dots are 3. The count changes at special values of a.
  6. Free play with |x − 1| + |x + 1| = a. Find the a where the line lies along a flat piece and gives infinitely many solutions.

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

🤔 Common doubts, cleared

What do the green dots mean?

Each green dot is a point where the line meets the curve. Its x value is a solution of the equation.

Is a touch one solution or two?

One solution. At a = 0 the line only touches the bottom of the bowl, so there is just one x.

What if the line is below the curve?

Then they never meet. The equation has no solution for that a.

Why does |x² − 4| = a give 4 solutions?

The W-shaped curve rises on both sides of each low point, so a line between 0 and 4 crosses four arms.

Why is a = 4 special?

At a = 4 the line goes through the middle peak where two arms meet, so two crossings merge into one. The count drops from 4 to 3.

Can an equation have infinitely many solutions?

Yes, if the line lies on a flat piece of the curve. Then every x on that piece is a solution.

What is a parameter?

In x² = 9 the number 9 is fixed. In x² = a the letter a is a parameter: one fixed number that we have not chosen yet. The unknown we solve for is still x.

So the answer is not one number. The answer says how the solutions depend on a. For example: "if a < 0 there is no solution; if a = 0 there is one; if a > 0 there are two".

The graph method: slide the line y = a

Graphical method in four moves:

  1. Move everything so the equation reads f(x) = a (a alone on one side).
  2. Draw the curve y = f(x) once. It does not depend on a.
  3. Draw the horizontal line y = a. Changing a slides it up or down.
  4. Count the meeting points for each position. Write the ranges of a where the count stays the same, and the special values where it changes.

Example: |x² − 4| = a. The curve is W-shaped with low points at (−2, 0), (2, 0) and a peak at (0, 4).

When a sits inside the formula: discriminant

For x² − 4x + a = 0 the number of roots depends on the discriminant D = b² − 4ac = 16 − 4a.

For "x² + 2ax + 4 > 0 for every x" we need no root and the parabola above the axis: D = 4a² − 16 < 0, so −2 < a < 2.

You can also draw it: x² − 4x = −a is the parabola with lowest point −4 and a line at height −a.

Inequalities and cases

In ax > 2 the sign of a decides the answer, so split into cases:

Always say what happens at a = 0 and at the special values you found. A full answer lists every case.

Try it: predict, then check

Open the 3D board on |x − 1| + |x + 1| = a. Before you slide, guess how many solutions a = 1 gives. Then slide to a = 1 and read it. Try a = 2 and a = 3. At home: fill a bowl with water and look at the water surface touching the wall. A deep bowl touches in two places; a bowl with a flat bottom can touch along a whole line. That is the same picture.

Key formulas and definitions

Worked examples

1. How many solutions does x² = a have?

Draw y = x² and the line y = a. If a < 0 the line is below the curve: 0 solutions. If a = 0 it touches at the bottom: 1 solution. If a > 0 it cuts twice: 2 solutions (x = ±√a).

2. For which a does x² − 4x + a = 0 have two different roots?

D = (−4)² − 4·1·a = 16 − 4a. Two different roots need D > 0, so 16 − 4a > 0, so a < 4.

3. Discuss |x| = a.

The curve y = |x| is a V with the point at (0, 0). a < 0: none. a = 0: one (x = 0). a > 0: two (x = ±a).

4. How many solutions does |x² − 4| = a have when a = 2?

x² − 4 = 2 gives x² = 6, x = ±√6. x² − 4 = −2 gives x² = 2, x = ±√2. Four different solutions.

5. Find the number of solutions of x² − 2x = a for each a.

x² − 2x = (x − 1)² − 1, a parabola with lowest point (1, −1). a < −1: none. a = −1: one (x = 1). a > −1: two.

6. Solve ax > 2 for all values of a.

a > 0: x > 2/a. a < 0: dividing by a flips the sign, x < 2/a. a = 0: 0 > 2 is false, so no solution.

7. For which a is x² + 2ax + 4 > 0 for every x?

The parabola opens up. It stays above the axis if it has no real root: D = (2a)² − 4·4 = 4a² − 16 < 0, so a² < 4, so −2 < a < 2.

8. For which a does |x − 1| + |x + 1| = a have exactly two solutions?

The curve is flat at height 2 between x = −1 and 1, then climbs with slope 2 on both sides. a < 2: none. a = 2: infinitely many. a > 2: two solutions x = ±a/2. So a > 2.

Common mistakes

Practice quiz

1. In x² = a, the letter a is called a:
2. x² = a has no real solution when:
3. |x| = a has exactly one solution when:
4. x² − 4x + a = 0 has one root when a =
5. In the graph method the line y = a is:

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 a parameter in maths?

A letter that stands for a fixed but unspecified number. We study how the answer changes when that number changes.

Is a parameter the same as a variable?

Not quite. We solve for the variable x. The parameter a is treated as a given number and the answer is written in terms of it.

When is the graph method better than the discriminant?

When the equation is not a simple quadratic, for example with absolute values or roots, the picture is usually easier.

Learn first

Learn next

Related lessons

All Maths lessons