Skip to content
The Lumenary

Practice · Grades 9–12

Quadratic equations and functions

Quadratic equations and functions

Warm-upHuman

Compute the discriminant of 3x2−5x+23x^2 - 5x + 2.

Quadratic equations and functions

Warm-upHuman

Solve x2−x−12=0x^2 - x - 12 = 0. Enter the solutions as a set, for example {1, 2}.

Write elements separated by commas. Order and repeats don’t matter — just like in a set!

Quadratic equations and functions

CoreHuman

How many different real roots does 4x2−12x+94x^2 - 12x + 9 have?

Quadratic equations and functions

CoreHuman

Kofi solves x2=3xx^2 = 3x by dividing both sides by xx and gets x=3x = 3. What is wrong?

Choose one

Quadratic equations and functions

CoreHuman

A goat pen is built against a straight wall using 6060 m of fencing for the other three sides. What is the largest possible area of the pen, in square metres?

Quadratic equations and functions

CoreHuman

Without solving, find the sum and the product of the roots of 2x2−7x+3=02x^2 - 7x + 3 = 0.

Choose one

Quadratic equations and functions

StretchHuman

Find the positive number kk for which x2+kx+16=0x^2 + kx + 16 = 0 has exactly one real root.

Quadratic equations and functions

StretchFormal

In Mathlib, Real.sqrt of a negative number is defined to be 0. The theorem Lumenary.Quadratics.quadratic_formula has the hypothesis hΔ : 0 ≤ b ^ 2 - 4 * a * c. What would happen if we deleted it?

Choose one

Quadratic equations and functions

StretchComputational

Write real_roots(a, b, c) that returns the sorted list of the different real roots of ax2+bx+cax^2 + bx + c (with a≠0a \ne 0): two roots if Δ>0\Delta > 0, one if Δ=0\Delta = 0, and the empty list if Δ<0\Delta < 0. Use math.sqrt.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.