A quadratic function is a function of the form f(x)=ax2+bx+c, where a=0. Its graph is a parabola.
If a>0 the parabola opens upward and the vertex has a minimum value.
If a<0 the parabola opens downward and the vertex has a maximum value.
The coefficientc is the intersection point with the y axis: the point (0,c).
y=x2−3 opens upward, y=−x2+2 opens downward.
The x-coordinate of the vertex, which is also the axis of symmetry of the parabola:
xv=−2ab,yv=f(xv)
The roots of the function are the solutions of f(x)=0. Their number is set by the discriminant:
Δ=b2−4ac,x1,2=2a−b±Δ
Δ>0 — two intersection points with the x axis.
Δ=0 — one point: the vertex lies on the x axis.
Δ<0 — no intersection points with the x axis.
The same function has three forms. Each immediately gives different information:
General form f(x)=ax2+bx+c — the y-intercept (0,c) is visible directly.
Vertex form f(x)=a(x−h)2+k — the vertex (h,k) is visible directly.
Factored form f(x)=a(x−x1)(x−x2) — the roots x1 and x2 are visible directly.
f(x) = 1x² − 2x − 3
Vertex
(1, -4)
Δ
16
Roots
-1, 3
The parabola opens
upward
Question types
1
Intersection points with the axes
Appears in almost every quadratic-function question, usually as the first part. These points are then needed for the graph, inequalities and area calculations.
Worked example
Find the intersection points of f(x)=x2−5x+6 with the axes.
Solution
IdeaOn the y-axis x=0 always, and on the x-axis y=0 always. So the y-intercept is a substitution, and the x-intercepts come from solving f(x)=0.
Intersection with the y-axis: f(0)=0−0+6=6, so the point is (0,6).
Why: Every point on the y-axis has the form (0,y).
Intersection with the x-axis: solve x2−5x+6=0.
Why: Every point on the x-axis has the form (x,0), that is, f(x)=0.
a=1,b=−5,c=6, so Δ=(−5)2−4⋅1⋅6=25−24=1.
Why: Δ>0, so there are two distinct roots.
x1,2=25±1=25±1, that is, x1=3 and x2=2.
Answer: (0,6), (2,0), (3,0).
CheckSubstitute the roots: f(2)=4−10+6=0 and f(3)=9−15+6=0. You can also check by factoring: x2−5x+6=(x−2)(x−3).
Common mistakeWriting only "x=2,x=3" instead of points, or swapping the order and writing (0,2) instead of (2,0). A point is always a pair (x,y).
What if…If c=0, the parabola passes through the origin and one of the roots is x=0 (see variant 1.1).
Variants of this type · 6
1.1No constant term (c=0)
When there is no constant term, factor out x — it is faster than the formula.
Worked example
Find the intersection points of f(x)=2x2−6x with the axes.
Solution
IdeaEvery term contains x, so factor: a product is zero when one of its factors is zero.
y-axis: f(0)=0, so the point is (0,0).
Why: Without a constant term the parabola always passes through the origin.
x-axis: 2x2−6x=0, so 2x(x−3)=0.
2x=0 or x−3=0, that is, x=0 or x=3.
Why: A product is zero only if at least one factor is zero.
Answer: (0,0) and (3,0).
Checkf(3)=2⋅9−18=0.
Common mistakeDividing the equation by x and getting only x=3. Dividing by x "loses" the solution x=0.
1.2No x term (b=0)
An equation of the form ax2+c=0 is solved by isolating x2, without the formula.
Worked example
Find the intersection points of f(x)=x2−9 with the axes. What changes for g(x)=x2+4?
Solution
IdeaIsolate x2 and take the root — with both signs.
y-axis: f(0)=−9, the point (0,−9).
x-axis: x2−9=0, that is, x2=9.
x=3 or x=−3. Points: (3,0) and (−3,0).
Why: Both 32 and (−3)2 equal 9.
For g: x2+4=0 gives x2=−4 — no solutions. g has no x-intercepts, and its y-intercept is (0,4).
Why: The square of a real number cannot be negative.
Checkf(−3)=9−9=0.
Common mistakeWriting only x=3 and forgetting x=−3.
1.3Double root (Δ=0)
The parabola only touches the x-axis at its vertex.
Worked example
Find the intersection points of f(x)=x2−6x+9 with the axes.
Solution
IdeaΔ=0 means exactly one root: the vertex lies exactly on the x-axis.
y-axis: f(0)=9, the point (0,9).
Δ=36−36=0.
x=26±0=3, a single point: (3,0).
Why: When Δ=0 the two roots coincide.
You can also see it as a perfect square: x2−6x+9=(x−3)2.
Checkf(3)=9−18+9=0, and also xv=−2−6=3 — the root coincides with the vertex.
Common mistakeWriting "two roots 3 and 3" and counting two intersection points. There is only one point.
1.4No intersection with the x-axis (Δ<0)
Worked example
Find the intersection points of f(x)=x2+2x+5 with the axes.
Solution
IdeaIf Δ<0, the equation f(x)=0 has no solutions, so there are no x-intercepts. A y-intercept always exists.
y-axis: f(0)=5, the point (0,5).
Δ=4−20=−16<0.
There are no x-intercepts.
Why: The parabola opens upward and its vertex is above the x-axis.
CheckVertex: xv=−1, f(−1)=1−2+5=4>0. The lowest point is above the axis, so the graph never reaches it.
Common mistakeContinuing with the formula and getting "−16". Once Δ<0, stop: there are no real roots.
1.5Negative or fractional coefficient
To solve f(x)=0 you may multiply the equation by a nonzero number — it simplifies the arithmetic.
Worked example
Find the intersection points of f(x)=−21x2+x+4 with the axes.
Solution
IdeaMultiply the equation f(x)=0 by −2 to get an equation with integer coefficients.
y-axis: f(0)=4, the point (0,4).
−21x2+x+4=0/⋅(−2), so x2−2x−8=0.
Why: Multiplying both sides by the same nonzero number does not change the solutions.
(x−4)(x+2)=0, that is, x=4 or x=−2.
Answer: (0,4), (4,0), (−2,0).
Checkf(4)=−8+4+4=0 and f(−2)=−2−2+4=0.
Common mistake"Multiplying the function" by −2 and then using it for the y-intercept: getting −8 instead of 4. Only the equation f(x)=0 may be multiplied, not the function itself.
1.6Function given in factored or vertex form
Don't expand brackets needlessly: read from each form what it shows directly.
Worked example
Find the intersection points with the axes for f(x)=−2(x+1)(x−3) and for g(x)=(x−2)2−9.
Solution
IdeaIn factored form the roots are written in the brackets. In vertex form, isolate the square and take the root.
f: roots x=−1 and x=3, that is, (−1,0) and (3,0).
Why: x+1=0 when x=−1 — the sign is opposite to the one in the bracket.
f(0)=−2⋅(1)⋅(−3)=6, the point (0,6).
g: (x−2)2=9, so x−2=3 or x−2=−3, that is, x=5 or x=−1.
g(0)=4−9=−5, the point (0,−5).
Checkg(5)=9−9=0 and g(−1)=9−9=0.
Common mistakeReading the root with the same sign as in the bracket: writing x=1 from (x+1).
2
Vertex, axis of symmetry, intervals of increase and decrease
The question asks about the vertex, the minimum or maximum value, the axis of symmetry, or the interval of increase and interval of decrease.
Worked example
For f(x)=2x2−8x+3, find the vertex, the axis of symmetry and the intervals of increase and decrease.
Solution
IdeaThe vertex is the turning point of the parabola. Both the axis of symmetry and the intervals depend on it: on one side of the vertex the function decreases, on the other it increases.
a=2,b=−8, so xv=−2⋅2−8=2.
Why: This is the formula for the x-coordinate of the vertex: xv=−2ab.
yv=f(2)=2⋅4−16+3=−5, the vertex is (2,−5).
Why: We get the y-coordinate by substituting xv into the function.
Axis of symmetry: the line x=2.
a>0, so the parabola opens upward and the vertex is a minimum point: the minimum value is −5.
Why: For a "smiling" parabola the vertex is the lowest point.
Decreasing: x<2. Increasing: x>2.
Why: To the left of the vertex the function goes down to it; to the right it goes up from it.
CheckPoints symmetric about the vertex have equal values: f(1)=2−8+3=−3 and f(3)=18−24+3=−3. ✓
Common mistakeComputing xv=4−8=−2: forgetting that the formula has a minus in front of b, while b itself is negative.
What if…If a were negative, the vertex would be a maximum and the intervals would swap: increasing to the left of the vertex and decreasing to the right (variant 2.1).
Variants of this type · 4
2.1Negative coefficient a — the vertex is a maximum
Worked example
For f(x)=−x2+4x+1, find the vertex and the intervals of increase and decrease.
Solution
IdeaSame vertex formula, but now a<0: the vertex is the highest point.
xv=−2⋅(−1)4=2.
yv=−4+8+1=5, vertex (2,5) — a maximum point.
Increasing: x<2. Decreasing: x>2.
Why: For a "sad" parabola the function rises up to the vertex and falls after it.
Checkf(0)=1 and f(4)=−16+16+1=1 — equal and symmetric about x=2. ✓
Common mistakeCopying the intervals from the a>0 case without thinking about the direction of opening.
2.2Function given in vertex form
Worked example
Find the vertex and the intervals of increase and decrease for f(x)=3(x+1)2−7.
Solution
IdeaIn the form a(x−h)2+k the vertex is (h,k), with no computation.
(x+1)2=(x−(−1))2, so h=−1, k=−7. Vertex: (−1,−7).
Why: Write the bracket as x−h to avoid a sign error.
a=3>0 — a minimum. Minimum value: −7.
Why: (x+1)2≥0 and equals 0 only at x=−1; therefore f(x)≥−7.
Decreasing: x<−1. Increasing: x>−1.
Checkf(−1)=3⋅0−7=−7.
Common mistakeReading the vertex as (1,−7).
2.3Function given in factored form
Worked example
Find the vertex of f(x)=(x−1)(x−7).
Solution
IdeaThe parabola is symmetric, so the vertex lies exactly midway between the roots.
Roots: x=1 and x=7.
xv=21+7=4.
Why: The axis of symmetry passes midway between two points with equal values — here both are at height 0.
yv=f(4)=(4−1)(4−7)=3⋅(−3)=−9. Vertex: (4,−9).
CheckExpanding: x2−8x+7, and xv=−2−8=4. ✓
Common mistakeExpanding and using the formula — not wrong, but slower and with more chances of an arithmetic slip.
2.4Two points with equal values — finding a coefficient
If f(x1)=f(x2), the axis of symmetry is x=2x1+x2.
Worked example
The parabola f(x)=x2+bx+c satisfies f(−1)=f(5). Find b.
Solution
IdeaTwo points at the same height are equally far from the axis of symmetry.
Axis of symmetry: x=2−1+5=2.
xv=−2b=2, so b=−4.
Why: The axis of symmetry is the x-coordinate of the vertex.
Checkf(−1)=1+4+c=5+c and f(5)=25−20+c=5+c — equal for any c. ✓
Common mistakeTrying to find c as well — but the data don't determine it, and that's fine.
What if…If we are also given f(0)=3, then c=3, and the function x2−4x+3 is fully known.
3
Range and maximum/minimum on an interval
The question asks for the range, the maximum or minimum value — on the whole line or only on an interval — or gives a word problem about a "maximum".
Worked example
Find the range of f(x)=x2−4x+1.
Solution
IdeaAn upward-opening parabola has a lowest point — the vertex. All values from yv upward are attained.
xv=2, yv=4−8+1=−3.
a=1>0, so −3 is the minimum value.
Why: The parabola grows without bound on both sides of the vertex.
Range: y≥−3.
Checkf(2)=−3 is attained, while for example f(x)=−4 gives x2−4x+5=0 with Δ=−4<0 — not attained. ✓
Common mistakeWriting the range in terms of x ("x≥2"). The range consists of y values.
Variants of this type · 4
3.1Downward-opening parabola
Worked example
Find the range of f(x)=−2x2+12x−10.
Solution
IdeaWhen a<0 the vertex is the highest point, and the range is "from yv downward".
xv=−−412=3.
yv=−18+36−10=8.
Range: y≤8.
Checkf(1)=−2+12−10=0≤8. ✓
Common mistakeWriting y≥8 out of habit.
3.2Maximum and minimum on an interval containing the vertex
Worked example
Find the maximum and minimum values of f(x)=x2−4x+1 on the interval 0≤x≤5.
Solution
IdeaOn an interval, check three candidates: the vertex (if it is inside the interval) and both endpoints.
xv=2 lies in the interval, f(2)=−3.
Why: So the vertex is the minimum on the interval.
Endpoints: f(0)=1, f(5)=25−20+1=6.
Maximum: 6 (at x=5). Minimum: −3 (at x=2).
Why: The maximum is at the endpoint farther from the vertex.
Check5 is 3 units from 2, while 0 is only 2 units away, so the endpoint x=5 is higher. ✓
Common mistakeAnswering "there is no maximum", as on the whole line. On an interval a maximum always exists.
3.3Interval not containing the vertex
Worked example
Find the maximum and minimum values of f(x)=x2−4x+1 on the interval 3≤x≤6.
Solution
IdeaIf the vertex is outside the interval, the function keeps increasing (or decreasing) on it — and the extremes are at the endpoints.
xv=2 is outside the interval, and on it x>2, so the function is increasing.
Why: To the right of the vertex of a parabola with a>0 — increasing.
Minimum: f(3)=9−12+1=−2.
Maximum: f(6)=36−24+1=13.
Checkf(4)=1 lies between −2 and 13. ✓
Common mistakeAnswering −3 as the minimum — but x=2 is not in the interval.
3.4Word problem: maximum of a product or an area
Worked example
The perimeter of a rectangle is 20 cm. What is the largest possible area?
Solution
IdeaBuild a quadratic function of one variable and find its vertex.
Let one side be x. Then the other side is 10−x.
Why: Half the perimeter is 10.
Area: S(x)=x(10−x)=−x2+10x.
a=−1<0, so the maximum is at the vertex: xv=−−210=5.
Why: Opens downward — the vertex is the highest point.
S(5)=5⋅5=25 cm². The rectangle is a 5×5 square.
CheckFor example, x=4: 4⋅6=24<25. ✓
Common mistakeAnswering "x=5" — but the question asked for the area, not the side length.
What if…If one side of the rectangle is along a wall (fence on three sides only, length 20): S=x(20−2x), xv=5, S=50.
4
Finding the function from given data
Given the vertex, roots or points on the graph, find the formula of the function.
Worked example
The vertex of a parabola is (2,−1), and the parabola passes through (0,3). Find the function.
Solution
IdeaChoose the form into which the data plug in directly. Given the vertex — vertex form, and only a remains.
f(x)=a(x−2)2−1.
Why: In vertex form with (h,k)=(2,−1) — only one unknown remains.
Substitute (0,3): 3=a⋅(0−2)2−1=4a−1.
Why: The point lies on the graph, so it satisfies the formula.
4a=4, so a=1.
f(x)=(x−2)2−1=x2−4x+3.
Checkf(0)=3 ✓, and xv=−2−4=2, f(2)=−1 ✓.
Common mistakeStarting from ax2+bx+c with three unknowns — possible, but much longer.
Variants of this type · 5
4.1Given two roots and one more point
Worked example
The roots of a parabola are −1 and 3, and it passes through (1,8). Find the function.
Solution
IdeaRoots are given — factored form a(x−x1)(x−x2).
f(x)=a(x+1)(x−3).
Substitute (1,8): 8=a⋅2⋅(−2)=−4a, so a=−2.
f(x)=−2(x+1)(x−3)=−2x2+4x+6.
Checkf(1)=−2+4+6=8 ✓, f(3)=−18+12+6=0 ✓.
Common mistakeWriting (x−1)(x+3) — signs opposite to the roots.
4.2Given three points
Worked example
A parabola passes through (0,1), (1,0) and (2,3). Find the function.
Solution
IdeaThree unknowns a,b,c — three equations. The point with x=0 immediately gives c.
(0,1): c=1.
Why: Always f(0)=c.
(1,0): a+b+1=0, that is, a+b=−1.
(2,3): 4a+2b+1=3, that is, 2a+b=1.
Subtract: (2a+b)−(a+b)=1−(−1), so a=2, and then b=−3.
Why: Subtracting the equations eliminates b.
f(x)=2x2−3x+1.
Checkf(1)=2−3+1=0 ✓, f(2)=8−6+1=3 ✓.
Common mistakeSubstituting a point the wrong way round: x=3,y=2 instead of x=2,y=3.
4.3Given the axis of symmetry and a point
Worked example
f(x)=x2+bx+c. The axis of symmetry is x=−3, and f(0)=5. Find b and c.
Solution
IdeaThe axis of symmetry is xv, and f(0) is c.
−2b=−3, so b=6.
c=f(0)=5.
f(x)=x2+6x+5.
Checkxv=−26=−3 ✓.
Common mistakeGetting b=−6 because of a sign error in −2ab.
4.4Tangent to the x-axis and passing through a point
Worked example
A parabola touches the x-axis at (4,0) and passes through (2,−8). Find the function.
Solution
Idea"Touches the x-axis" — the vertex is on the x-axis. It is also a double root.
f(x)=a(x−4)2.
Why: Vertex (4,0): vertex form with k=0.
−8=a⋅(2−4)2=4a, so a=−2.
f(x)=−2(x−4)2.
Checkf(2)=−2⋅4=−8 ✓, f(4)=0 ✓.
Common mistakeLooking for a "second root" — there isn't one: it's a double root.
4.5Finding the function from a graph
Worked example
In the graph the parabola crosses the x-axis at x=1 and x=5, and the y-axis at (0,−5). Find the function.
Solution
IdeaFrom the graph read the roots and one more point — then proceed as in variant 4.1.
f(x)=a(x−1)(x−5).
f(0)=a⋅(−1)(−5)=5a=−5, so a=−1.
f(x)=−(x−1)(x−5)=−x2+6x−5.
Checka<0, and the graph indeed opens downward; the vertex is at x=3: f(3)=−9+18−5=4.
Common mistakeForgetting a and writing (x−1)(x−5) — the graph would open upward and pass through (0,5).
5
Question with a parameter
Find the parameter for which the function has two roots, one or none; is always positive; or has its vertex at a given place.
Worked example
For which k does f(x)=x2−6x+k have two distinct roots? One root? No roots?
Solution
IdeaThe number of roots is determined by the sign of Δ. Compute Δ as an expression in k and solve the inequality.
Δ=(−6)2−4⋅1⋅k=36−4k.
Two roots: 36−4k>0, that is, k<9.
Why: Dividing by −4 flips the inequality sign.
One root: 36−4k=0, that is, k=9.
No roots: k>9.
Checkk=9: x2−6x+9=(x−3)2 — a double root ✓. k=0: x2−6x=x(x−6) — two roots ✓.
Common mistakeDividing by −4 without flipping the sign: getting k>9 for two roots.
Variants of this type · 5
5.1Parameter in the coefficient of x2
If the parameter is in a, consider the case a=0 separately — there the function is no longer quadratic.
Worked example
How many roots does f(x)=(m−1)x2+4x+1 have, depending on m?
Solution
IdeaTwo cases: a=0 (a linear function) and a=0 (check Δ).
m=1: f(x)=4x+1 — one root, x=−41.
Why: There is no x2 here, and the Δ formula does not apply.
m=1: Δ=16−4(m−1)=20−4m.
m<5 (and m=1): two roots. m=5: one root. m>5: no roots.
Checkm=5: 4x2+4x+1=(2x+1)2 — a double root ✓.
Common mistakeForgetting m=1 and answering "m<5: two roots" — but at m=1 there is only one root.
5.2Positive for all x
Worked example
For which k is f(x)=x2+2kx+9 positive for all x?
Solution
IdeaA parabola is always positive when it opens upward (a>0) and does not touch the x-axis (Δ<0).
a=1>0 ✓.
Δ=4k2−36<0, that is, k2<9.
−3<k<3.
Why: k2<9 means ∣k∣<3.
Checkk=3: (x+3)2 equals 0 at x=−3 — not strictly positive, so 3 is excluded ✓.
Common mistakeWriting only k<3 and missing that k=−5 also gives Δ>0.
5.3Negative for all x, with the parameter in a
Worked example
For which m is f(x)=mx2+4x+m negative for all x?
Solution
IdeaAlways negative — opens downward (a<0) and has no roots (Δ<0). Both conditions together.
a=m<0.
Δ=16−4m2<0, that is, m2>4: m<−2 or m>2.
Intersect with m<0: m<−2.
Why: Both conditions must hold at the same time.
Checkm=−3: −3x2+4x−3, Δ=16−36<0 and a<0 ✓.
Common mistakeAnswering "m<−2 or m>2" — but for m>2 the parabola opens upward.
5.4Vertex at a given place
Worked example
f(x)=x2−2(k+1)x+5. Find k if (a) the axis of symmetry is x=3; (b) the vertex lies on the x-axis.
Solution
Idea"Axis of symmetry" is a condition on xv. "Vertex on the x-axis" is a condition on yv, that is, Δ=0.
(a) xv=22(k+1)=k+1=3, so k=2.
(b) Δ=4(k+1)2−20=0, that is, (k+1)2=5.
Why: Vertex on the x-axis ⇔ a double root.
k+1=±5, so k=−1±5.
Check(a) k=2: x2−6x+5, xv=3 ✓.
Common mistakeIn (b), taking only +5.
5.5The graph passes through a given point
Worked example
The graph of f(x)=x2+kx−3 passes through (2,5). Find k and the points where the graph meets the x-axis.
Solution
IdeaA point on the graph — substitute it and get an equation in k.
5=4+2k−3, so k=2.
f(x)=x2+2x−3=(x+3)(x−1).
x-intercepts: (−3,0) and (1,0).
Checkf(2)=4+4−3=5 ✓.
Common mistakeSubstituting x=5,y=2.
6
Intersection of a parabola with a line or with another parabola
You need the intersection points of two graphs, a line tangent to a parabola, or the number of intersection points depending on a parameter.
Worked example
Find the intersection points of f(x)=x2−2x−3 with the line y=x+1.
Solution
IdeaAt an intersection point both graphs have the same x and y. Set the expressions equal and solve.
x2−2x−3=x+1.
x2−3x−4=0.
Why: Move everything to one side to get an ordinary quadratic equation.
(x−4)(x+1)=0, so x=4 or x=−1.
y from the line: x=4⇒y=5; x=−1⇒y=0.
Why: Substitute into the simpler expression — the line.
Points: (4,5) and (−1,0).
CheckIn the parabola: f(4)=16−8−3=5 ✓, f(−1)=1+2−3=0 ✓.
Common mistakeStopping after finding x and not computing y.
Variants of this type · 4
6.1Tangent line — finding the parameter
A line is tangent to a parabola when the intersection equation has exactly one solution: Δ=0.
Worked example
For which m is the line y=2x+m tangent to the parabola y=x2? What is the point of tangency?
Solution
IdeaThe intersection equation is quadratic; tangency = a single intersection point = Δ=0 of the intersection equation.
x2=2x+m, that is, x2−2x−m=0.
Δ=4+4m=0, so m=−1.
x=22=1, y=1. Point of tangency: (1,1).
Why: When Δ=0: x=−2ab.
Checkx2−2x+1=(x−1)2 — a double root ✓.
Common mistakeComputing Δ of the parabola x2 itself instead of the intersection equation.
6.2Number of intersection points depending on a parameter
Worked example
How many intersection points do the parabola y=x2+1 and the line y=kx have, depending on k?
Solution
IdeaNumber of solutions of the intersection equation = number of intersection points.
x2−kx+1=0, Δ=k2−4.
k<−2 or k>2: two points.
k=±2: one point (the line is tangent).
−2<k<2: no intersection.
Checkk=0: y=0 never meets x2+1≥1 ✓.
Common mistakeForgetting k=−2 (tangency on the negative side too).
6.3Intersection of two parabolas
Worked example
Find the intersection points of f(x)=x2−4 and g(x)=−x2+2x.
Solution
IdeaExactly as with a line: set equal, move to one side, solve.
x2−4=−x2+2x, so 2x2−2x−4=0.
x2−x−2=0, that is, (x−2)(x+1)=0.
Why: Divided by 2 to simplify.
x=2: f(2)=0. x=−1: f(−1)=−3.
Points: (2,0) and (−1,−3).
Checkg(2)=−4+4=0 ✓, g(−1)=−1−2=−3 ✓.
Common mistakeForgetting to move −x2 and getting a first-degree equation.
6.4Horizontal line y=k — number of solutions from the vertex
Worked example
How many solutions does x2−4x=k have, depending on k?
Solution
Ideay=k is a horizontal line. Move it up and down and compare with the height of the vertex.
Vertex of x2−4x: xv=2, yv=−4.
k>−4: two solutions. k=−4: one solution. k<−4: none.
Why: Opens upward: there are no values below the vertex.
CheckAlgebraically: x2−4x−k=0, Δ=16+4k, which is 0 at k=−4 ✓.
Common mistakeAnswering from Δ of x2−4x (which doesn't depend on k) instead of x2−4x−k.
Exam-style problems
One problem with several parts on the same data, as on the exam. Each part adds something to the drawing.