Algebra with k: quadratics, discriminants and surd equations
What this lesson covers
- The exam uses unknown constants so the graphing calculator cannot do the algebra.
- Squaring both sides can create false solutions, so every solution must be checked in the original equation.
Why the exam uses k
- Solve for x in terms of k.
- A calculator cannot solve with k in it.
- 2025: too much reliance on the calculator.
2x² − 3kx + k² = 0
- Treat k as a number.
- The discriminant is k².
- Check by substituting.
- a = 2, b = −3k, c = k²k is a number
- b² − 4ac = (−3k)² − 4(2)(k²)
- = 9k² − 8k² = k²
- x = (3k ± √(k²))/4the formula
- = (3k ± k)/4± covers the sign
- x = 4k/4 or x = 2k/4
- x = k or x = k/2
- 2k² − 3k(k) + k² = 0x = k
Try it: one value of k at a time
Completing the square with k
- Spot (z − k)².
- The root of −4 is 2i.
- Keep the ±.
- z² − 2kz + k² + 4 = 0
- (z − k)² + 4 = 0first three terms
- (z − k)² = −4
- z − k = ±√−4 = ±2i√−4 = 2i
- z = k ± 2i
- (k + 2i − k)² = (2i)² = −4
The discriminant with k
- Find b² − 4ac in k.
- Then = 0, ≥ 0 or < 0.
- K ≠ 0: still a quadratic.
- a = k, b = 6, c = k
- b² − 4ac = 36 − 4k²
- 36 − 4k² = 0equal roots
- k² = 9, so k = ±3
- 36 − 4k² ≥ 0, so k² ≤ 9real roots
- −3 ≤ k ≤ 3, k ≠ 0else not quadratic
- 36 − 4k² < 0, so k² > 9non-real roots
- k < −3 or k > 3
Try it: which k give real roots?
Read what is asked
- Asked: x in terms of k.
- Not k in terms of x.
- asked: x in terms of k
- x = k or x = k/2answers it
- k² − 3xk + 2x² = 0a quadratic in k
- (k − x)(k − 2x) = 0factorise
- k = x or k = 2xwrong way round
Two surds: the 2025 error
- Not term by term.
- (a − b)² is not a² − b².
- √(2x) − √(x + 1) = 1
- 2x − (x + 1) = 1squared each term
- x = 2
- √4 − √3 ≈ 0.27not 1, so wrong
- (a − b)² = a² − 2ab + b²not a² − b²
Isolate one surd, then square
- Get one surd alone.
- Expand the square in full.
- √(2x) = 1 + √(x + 1)isolate one surd
- 2x = (1 + √(x + 1))²square both sides
- = 1 + 2√(x + 1) + x + 1expand in full
- 2x = x + 2 + 2√(x + 1)collect
- x − 2 = 2√(x + 1)take x + 2 off
Square again, then solve
- Square again.
- Two answers to check.
- x − 2 = 2√(x + 1)
- (x − 2)² = 4(x + 1)square again
- x² − 4x + 4 = 4x + 4expand
- x² − 8x = 0
- x(x − 8) = 0factorise
- x = 0 or x = 8both to check
Check both in the original
- X = 8 works.
- X = 0 gives −1: reject it.
- Say why you reject it.
- √(2x) − √(x + 1) = 1
- x = 8: √16 − √9substitute
- = 4 − 3 = 1
- x = 0: √0 − √1 = −1−1 is not 1
- x = 8
Where false answers come from
- 1 and −1 have the same square.
- A square root has two values.
- Include or reject each one.
Graphing calculator
Set out every line
- Keep k as a letter to the end.
- Keep surds exact.
- Cross out working you reject.
Where the marks are
- Achieved: formula, square, discriminant.
- Merit: surd equations, checked.
- Excellence: harder surds, new strategies.
What to take away
- Treat k as a number, isolate before squaring, and check every answer.
| Formula | with k as a number |
| Complete square | then square root, ± |
| Discriminant | equation or inequality |
| Read it | x in terms of k |
| Two surds | isolate one, then square |
| Every answer | check in the original |
Common mistakes
- √(2x) − √(x + 1) = 1, square each term: 2x − (x + 1) = 1, so x = 2(a − b)² is not a² − b². Isolate one surd first, √(2x) = 1 + √(x + 1), then square and expand in full.
- x(x − 8) = 0, so the answers are x = 0 and x = 8.Squaring can add false answers. Check in the original: x = 0 gives √0 − √1 = −1, not 1, so x = 8 only.
- Solve 2x² − 3kx + k² = 0 for x: k = x or k = 2xThe question asks for x in terms of k: treat k as a number in the formula to get x = k or x = k/2.
- kx² + 6x + k = 0 has real roots for −3 ≤ k ≤ 3.k = 0 makes it linear, not a quadratic, so the answer is −3 ≤ k ≤ 3 with k ≠ 0.
Your turn: four questions
- Question 2: expect complex roots.
- Question 4: check both answers.
| Given | Find | |
|---|---|---|
| 1 | x² + 2kx − 8k² = 0 | x in terms of k |
| 2 | z² + 6z + k = 0, k > 9 | z in terms of k |
| 3 | x² + kx + 16 = 0 | k, for equal roots |
| 4 | √(x + 4) − √(2x + 1) = 1 | x |
Show answer
1. Discriminant 36k², so x = 2k or x = −4k. 2. (z + 3)² = 9 − k, which is negative, so z = −3 ± i√(k − 9). 3. k² − 64 = 0, so k = ±8. 4. Isolate and square twice: x² − 12x = 0. x = 0 checks; x = 12 gives −1, so reject it. x = 0.
The answers: questions 1 to 3
- 1. b² − 4ac = 4k² + 32k² = 36k²
- x = (−2k ± 6k)/2
- x = 2k or x = −4k
- 2. (z + 3)² − 9 + k = 0complete the square
- (z + 3)² = 9 − k < 0k > 9
- z + 3 = ±i√(k − 9)
- z = −3 ± i√(k − 9)
- 3. b² − 4ac = k² − 64 = 0equal roots
- k² = 64, so k = ±8
The answers: question 4
- 4. √(x + 4) = 1 + √(2x + 1)isolate
- x + 4 = 1 + 2√(2x + 1) + 2x + 1square, expand
- 2 − x = 2√(2x + 1)tidy up
- 4 − 4x + x² = 8x + 4square again
- x² − 12x = 0, x = 0 or 12factorise
- x = 12: √16 − √25 = −1−1 is not 1
- x = 0: √4 − √1 = 1
- x = 0
Sample question: Achieved
Solve x² − 2kx − 3k² = 0 for x in terms of k.
Hint
Treat k as a number: a = 1, b = −2k, c = −3k². Then use the quadratic formula.
Answer
x = 3k or x = −k
Step by step
- We want x in terms of k, so treat k as if it were a plain number.
- Read off the coefficients: a = 1, b = −2k and c = −3k².
- Work out the discriminant first: b² − 4ac = (−2k)² − 4(1)(−3k²) = 4k² + 12k² = 16k².
- The square root of 16k² is 4k. The ± in the formula covers the sign, so we do not need to worry whether k is negative.
- x = 2k ± 4k2. With + this is 6k2 = 3k. With − it is −2k2 = −k.
- Check x = 3k: 9k² − 6k² − 3k² = 0. Correct.
Full working
- a = 1, b = −2k, c = −3k²k is just a number
- b² − 4ac = 4k² + 12k² = 16k²
- x = 2k ± 4k2quadratic formula, √(16k²) = 4k
- x = 3k or x = −k
Sample questions: Merit
The equation kx² − 4x + (k − 3) = 0 has two equal roots. Find the possible values of k, and the repeated root for each one.
Hint
Equal roots means the discriminant is zero. The repeated root is then x = −b2a.
Answer
k = 4, with root x = 12; or k = −1, with root x = −2
Step by step
- Recall the rule: a quadratic has two equal roots exactly when b² − 4ac = 0.
- Here a = k, b = −4 and c = k − 3. Keep k as a letter.
- b² − 4ac = 16 − 4k(k − 3) = 16 − 4k² + 12k.
- Set it to zero: 16 − 4k² + 12k = 0. Divide by −4 to get k² − 3k − 4 = 0.
- Factorise: (k − 4)(k + 1) = 0, so k = 4 or k = −1. Neither is 0, so the equation really is a quadratic.
- When the discriminant is zero, the formula gives one root: x = −b2a = 42k = 2k.
- k = 4 gives x = 24 = 12. k = −1 gives x = 2−1 = −2.
- A classic mistake is to stop after finding k. The question also asks for the roots.
- Check k = 4: 4x² − 4x + 1 = (2x − 1)², which is zero only at x = 12. Correct.
Full working
- a = k, b = −4, c = k − 3
- b² − 4ac = 16 − 4k(k − 3) = 0equal roots
- k² − 3k − 4 = 0divide by −4
- (k − 4)(k + 1) = 0, so k = 4 or k = −1
- x = −b2a = 2kthe repeated root
- k = 4: x = 12; k = −1: x = −2check: 4x² − 4x + 1 = (2x − 1)²
- k = 4, x = 12 or k = −1, x = −2
Solve √(x + 2) − √(3x − 5) = 1.
Hint
Get one surd on its own, square both sides, and expand the bracket in full. Then isolate the other surd and square again.
Answer
x = 2
Step by step
- We cannot square each term separately: (a − b)² is a² − 2ab + b², not a² − b².
- So first isolate one surd: √(x + 2) = 1 + √(3x − 5).
- Square both sides. The right side is (1 + √(3x − 5))² = 1 + 2√(3x − 5) + 3x − 5.
- So x + 2 = 3x − 4 + 2√(3x − 5). Tidy up: 6 − 2x = 2√(3x − 5), which is 3 − x = √(3x − 5).
- Square again: (3 − x)² = 3x − 5, so 9 − 6x + x² = 3x − 5.
- Collect terms: x² − 9x + 14 = 0, which factorises to (x − 2)(x − 7) = 0.
- Squaring can create false answers, so test both in the original equation.
- x = 2: √4 − √1 = 2 − 1 = 1. This works.
- x = 7: √9 − √16 = 3 − 4 = −1, not 1. Reject it: it came from squaring, since −1 and 1 have the same square.
- So the only solution is x = 2.
Full working
- √(x + 2) = 1 + √(3x − 5)isolate one surd
- x + 2 = 1 + 2√(3x − 5) + 3x − 5square, expand in full
- 3 − x = √(3x − 5)tidy and divide by 2
- 9 − 6x + x² = 3x − 5square again
- (x − 2)(x − 7) = 0
- x = 2: √4 − √1 = 1works
- x = 7: √9 − √16 = −1reject
- x = 2
Sample questions: Excellence
For k > 0, solve √(x + k) = x − k for x in terms of k. Show which solution is valid for every k > 0.
Hint
Square both sides and use the quadratic formula with k as a number. Then remember that a square root is never negative, so x − k must be at least 0.
Answer
x = 2k + 1 + √(8k + 1)2
Step by step
- Square both sides to remove the surd: x + k = (x − k)² = x² − 2kx + k².
- Rearrange into a quadratic in x: x² − (2k + 1)x + k² − k = 0.
- Here a = 1, b = −(2k + 1) and c = k² − k. Keep k as a letter.
- Discriminant: (2k + 1)² − 4(k² − k) = 4k² + 4k + 1 − 4k² + 4k = 8k + 1. This is positive for k > 0.
- So x = 2k + 1 ± √(8k + 1)2. Squaring may have added a false answer, so we must test each one.
- The left side, √(x + k), is never negative. So a valid answer needs x − k ≥ 0.
- Work out x − k for each answer: x − k = 1 ± √(8k + 1)2.
- With +, this is 1 + √(8k + 1)2, which is positive. Valid.
- With −: for k > 0, √(8k + 1) > 1, so 1 − √(8k + 1)2 is negative. Reject it, for every k > 0.
- So x = 2k + 1 + √(8k + 1)2.
- Check with k = 1: x = 3 + 32 = 3, and √(3 + 1) = 2 = 3 − 1. Correct.
Full working
- x + k = x² − 2kx + k²square both sides
- x² − (2k + 1)x + k² − k = 0
- b² − 4ac = (2k + 1)² − 4(k² − k) = 8k + 1
- x = 2k + 1 ± √(8k + 1)2
- x − k = 1 ± √(8k + 1)2need x − k ≥ 0, since √ ≥ 0
- √(8k + 1) > 1 for k > 0, so the − sign gives x − k < 0reject
- k = 1: x = 3, √4 = 2 = 3 − 1check
- x = 2k + 1 + √(8k + 1)2
Consider kx² + 2(k + 1)x + (k + 4) = 0. Find the value of k that gives two equal roots, and the root. Then find all values of k for which the equation is a quadratic with two distinct real roots, and explain what happens when k = 0.
Hint
Simplify b² − 4ac carefully: the k² terms cancel. Then remember a quadratic needs a ≠ 0.
Answer
k = 12 gives the root x = −3. Two distinct real roots for k < 12, k ≠ 0. At k = 0 the equation is 2x + 4 = 0, a linear equation with one root, x = −2.
Step by step
- Here a = k, b = 2(k + 1) and c = k + 4.
- Discriminant: b² − 4ac = 4(k + 1)² − 4k(k + 4).
- Expand: 4(k² + 2k + 1) − 4k² − 16k = 4k² + 8k + 4 − 4k² − 16k = 4 − 8k.
- Equal roots: 4 − 8k = 0, so k = 12.
- The repeated root is −b2a. With k = 12, b = 2(32) = 3 and 2a = 1, so x = −3.
- Two distinct real roots: 4 − 8k > 0, so k < 12.
- But k = 0 is in that range, and then the x² term disappears. The equation becomes 2x + 4 = 0, which is linear, not a quadratic.
- A linear equation has just one root, x = −2, so k = 0 must be left out.
- So the answer is k < 12 with k ≠ 0.
- Check k = 12: multiply the equation by 2 to get x² + 6x + 9 = (x + 3)². One repeated root, −3. Correct.
Full working
- b² − 4ac = 4(k + 1)² − 4k(k + 4)
- = 4 − 8kthe k² terms cancel
- 4 − 8k = 0, so k = 12equal roots
- x = −b2a = −3 ÷ 1 = −3x² + 6x + 9 = (x + 3)²
- 4 − 8k > 0, so k < 12distinct real roots
- k = 0: 2x + 4 = 0, linear, x = −2not a quadratic
- k = 12, x = −3; distinct real roots for k < 12, k ≠ 0
Practise this
Report a mistake
More in AS 91577
Complex arithmetic, conjugates and equating parts9 min
Polar form by hand: modulus, argument and quadrants10 min
De Moivre's theorem: powers and roots of complex numbers11 min
Complex roots of polynomials: factor theorem and conjugates11 min
Algebra with k: quadratics, discriminants and surd equations10 min
Complex loci, purely real conditions and proofs11 min
Complex arithmetic: 7 exam questions solved step by step11 min
Polar form: 7 exam questions solved step by step11 min
De Moivre's theorem: 7 exam questions solved step by step12 min
Complex polynomials: 7 exam questions solved step by step12 min
Algebra with constants: 7 exam questions solved step by step12 min
Complex loci and proof: 7 exam questions solved step by step12 minIs your child on track?
Take the free placement test