Solving Nonlinear Systems of Equations
A nonlinear system can miss, touch, or cross — so it can have zero, one, or several solutions, one for each real point where the graphs meet. Substitution turns the messy geometry into a quadratic you already know how to solve.
By the end you'll be able to solve a line-and-curve system by substitution and read the number of real solutions straight off the resulting quadratic's discriminant.
Predict: what's the maximum number of intersections of a line and a parabola? Drag the line to explore.
The curve is the fixed parabola \(y = x^2\); the line \(y = mx + b\) is yours to drag with the sliders. Substituting the line into the parabola gives \(x^2 - mx - b = 0\) — a quadratic whose discriminant tells you the number of intersections before you even solve for them: negative means 0, zero means 1 (tangent), positive means 2.
\(x^2 - 2.0x + 1.0 = 0\); discriminant = 0.00 → 1 intersection (tangent).
A nonlinear system's solutions are exactly the real points where its graphs cross — substitute one equation into the other, and the geometry question becomes an algebra question you already know how to answer.
Solve the linear equation for one variable, substitute it into the nonlinear one, and you're usually left with a single quadratic. Solve that quadratic (factor, complete the square, or use the quadratic formula), then plug each root back into either original equation to recover the matching second coordinate — a solution point always needs both.
Picture the parabola sitting still and the line sweeping through it. As the line moves, it can pass entirely below or above the curve (0 crossings), graze it at exactly one point (1 crossing, the tangent case), or cut through it twice (2 crossings) — that's everything a straight line can do to a parabola, since it can never wrap around and cross a third time.
A ball thrown along a parabolic path and a laser line-of-sight, or a company's parabolic cost curve versus a competitor's linear price line — both are nonlinear systems. Substitution tells you exactly where (and whether) the two meet, without ever plotting a single point.
Solve \(x^2 + y^2 = 25\) and \(y = x + 1\) (a line meeting a circle). Substitute: \(x^2 + (x+1)^2 = 25 \Rightarrow 2x^2 + 2x - 24 = 0 \Rightarrow x^2 + x - 12 = 0 \Rightarrow (x+4)(x-3) = 0\), so \(x = -4\) or \(x = 3\). Matching y from \(y = x+1\): \(x=-4 \to y=-3\), giving \((-4,-3)\); \(x=3 \to y=4\), giving \((3,4)\). Check \((3,4)\): \(3^2+4^2 = 9+16=25\). ✓ Two real roots, two intersection points.
Solve \(y = x^2\) and \(y = 2x + 3\). Substitute: \(x^2 = 2x + 3 \Rightarrow x^2 - 2x - 3 = 0 \Rightarrow (x-3)(x+1) = 0\), so \(x = 3\) or \(x = -1\). At \(x = 3\): \(y = 2(3)+3 = 9\), giving \((3, 9)\). Now finish it: at \(x = -1\), \(y = 2(-1)+3 = \) ____, giving the second solution point ____.
Reveal the answer
\(y = 2(-1)+3 = 1\), so the second solution point is \((-1, 1)\). Check on the parabola: \((-1)^2 = 1\). ✓ Set m = 2, b = 3 on the sliders above and confirm two intersections at \((3,9)\) and \((-1,1)\).
More info — why the discriminant predicts the intersection count
Substituting a line \(y=mx+b\) into \(y=x^2\) gives \(x^2 - mx - b = 0\), a quadratic in standard form with \(a=1\), coefficients \(-m\) and \(-b\). Its discriminant \(m^2 + 4b\) is exactly the discriminant \(B^2-4AC\) from the quadratic formula applied to this equation — a negative value means two complex (non-real) roots, so zero real intersections; zero means one repeated real root, the tangent point; a positive value means two distinct real roots, two crossings. Every line-parabola system reduces to this same check. See the Paul's Online Notes link in Dive deeper for systems built from circles and other curves.
Check your understanding
Solve the system \(y = x^2\) and \(y = 3x - 2\). What are the solution points?
What is the maximum number of real solutions a system made of one line and one parabola can have, and why?
For the system \(y = x^2\) and \(y = 4x - 4\), substitution gives \(x^2 - 4x + 4 = 0\). How many real solutions does the system have, and what does that mean graphically?
You substitute a line into a parabola and get \(x^2 + 2x + 5 = 0\). Using the discriminant from the quadratic formula, how many real intersection points does the system have?
Recap
- A nonlinear system's solutions are the real points where its graphs intersect — zero, one, or several of them.
- Solve by substitution: solve the simpler equation for one variable, substitute into the other, and solve the resulting quadratic.
- Always compute the matching second coordinate — a solution point needs both.
- A line and a parabola meet at most twice, since substitution always leaves a quadratic, which has at most two real roots.
- The resulting quadratic's discriminant tells you the count before solving: negative → 0 solutions, zero → 1 (tangent), positive → 2.
Dive deeper
- Paul's Online Notes — Nonlinear Systems Study substitution on line-circle and ellipse-hyperbola systems.
- Khan Academy — Non-linear systems of equations Watch a line-and-curve system solved step by step.
Sources
- Solving Nonlinear Systems of Equations