2.7 - Linear and quadratic simultaneous equations

2.7 - Linear and quadratic simultaneous equations

Find every pair of values that satisfies a line and a quadratic equation together. Learn how substitution finds exact intersections, why brackets matter when squaring, and how to recognise one solution or no real solutions.

Substitution and solution pairs (Higher)

Can a straight line meet the same parabola twice, once or not at all? Start with y=x+2y=x+2 and y=x2y=x^2. At x=2x=2, both give y=4y=4. At x=−1x=-1, both give y=1y=1. There are already two shared points to explain.

You already know

Substitution replaces a variable by an equal expression. To solve a factorised quadratic equal to zero, set each factor equal to zero. An ordered pair (x,y)(x,y) gives the two coordinates in that order.

A shared point must use the same values in both equations. This is stronger than finding one point on each graph separately.

Simultaneous solution

A pair of values satisfying both equations at the same time. For y=x+2y=x+2 and y=x2y=x^2, (2,4)(2,4) is a solution; (2,1)(2,1) is not, because it fails both equations.

When both equations are written as y=…y=\dots, equate their right-hand sides. This removes yy and leaves one quadratic to solve. Then each root needs its own matching yy-value. The substitution method is not in the Higher formulae sheet: learn it. The quadratic formula is in that sheet if factorisation is inconvenient.

Worked example 1: finding both shared points

Question. Solve y=x+2y=x+2 and y=x2y=x^2.

Plan. Equate the expressions for yy, factorise, then find the matching coordinate for each root.

x2=x+2same yx2−x−2=0subtract x+2(x−2)(x+1)=0factorisex=2orx=−1zero productx=2:y=2+2=4substitute in the linex=−1:y=−1+2=1use the other root\begin{aligned} x^2&=x+2 &&\text{same }y\\ x^2-x-2&=0 &&\text{subtract }x+2\\ (x-2)(x+1)&=0 &&\text{factorise}\\ x&=2\quad\text{or}\quad x=-1 &&\text{zero product}\\ x=2&:\quad y=2+2=4 &&\text{substitute in the line}\\ x=-1&:\quad y=-1+2=1 &&\text{use the other root} \end{aligned}

Why equate the expressions? At a shared point, both expressions name the same height.

Answer. (x,y)=(2,4)(x,y)=(2,4) or (−1,1)(-1,1).

Check. 4=2+2=224=2+2=2^2 and 1=−1+2=(−1)21=-1+2=(-1)^2, so each pair satisfies both originals.

The diagram turns the algebraic answers into intersections. A sketch shows the possibilities; algebra establishes exact coordinates.

[DIAGRAM: asset_slug: m038-intersections; caption: The parabola y equals x squared meets three different lines twice, once and not at all; description: Three exact coordinate panels show y equals x squared with y equals x plus 2 intersecting at minus 1 comma 1 and 2 comma 4, y equals 2x minus 1 touching at 1 comma 1, and y equals 2x minus 3 with no real intersection; file: m038-intersections.png; recommended_method: matplotlib]
The parabola y equals x squared meets three different lines twice, once and not at all

Now change only the line's constant term. The parabola and the substitution decision stay the same.

Worked example 2: changing the line's height

Question. Solve y=x+6y=x+6 and y=x2y=x^2.

Plan. Equate, factorise and pair each root with its line value.

x2=x+6equate y-valuesx2−x−6=0collect terms(x−3)(x+2)=0factorisex=3orx=−2solve the factorsx=3:y=9use y=x+6x=−2:y=4use y=x+6\begin{aligned} x^2&=x+6 &&\text{equate }y\text{-values}\\ x^2-x-6&=0 &&\text{collect terms}\\ (x-3)(x+2)&=0 &&\text{factorise}\\ x&=3\quad\text{or}\quad x=-2 &&\text{solve the factors}\\ x=3&:\quad y=9 &&\text{use }y=x+6\\ x=-2&:\quad y=4 &&\text{use }y=x+6 \end{aligned}

Why calculate two heights separately? Each root identifies a different shared point.

Answer. (3,9)(3,9) and (−2,4)(-2,4).

Check. 9=3+6=329=3+6=3^2 and 4=−2+6=(−2)24=-2+6=(-2)^2.

Keep the pairing visible even when you have found all four coordinate values.

Watch out

The line “x=2,−1x=2,-1, y=4,1y=4,1, so (2,1)(2,1) is a solution” mismatches the coordinates. 1≠2+21\ne2+2. The correct pairing is (2,4)(2,4) and (−1,1)(-1,1).

Try another change to the line's constant. Give complete ordered pairs.

Substituting into squared terms (Higher)

When a variable is squared, replace it by the whole linear expression inside brackets. For y=3−xy=3-x, the expression y2y^2 becomes (3−x)2(3-x)^2. It does not become 9−x29-x^2.

Square of a difference

(a−b)2=a2−2ab+b2(a-b)^2=a^2-2ab+b^2

The middle term comes from both cross-products in (a−b)(a−b)(a-b)(a-b). Not in the Higher formulae sheet: learn it.

For example, (3−x)2=9−6x+x2(3-x)^2=9-6x+x^2. Preserve the original equations so that the final check can detect an expansion error.

Worked example 3: a squared coordinate

Question. Solve x+y=3x+y=3 and x2+y2=5x^2+y^2=5.

Plan. Write y=3−xy=3-x, substitute into the square, then solve and pair the roots.

x2+(3−x)2=5substitute the whole expressionx2+9−6x+x2=5expand the square2x2−6x+4=0collect termsx2−3x+2=0divide by 2(x−1)(x−2)=0factorisex=1orx=2zero product\begin{aligned} x^2+(3-x)^2&=5 &&\text{substitute the whole expression}\\ x^2+9-6x+x^2&=5 &&\text{expand the square}\\ 2x^2-6x+4&=0 &&\text{collect terms}\\ x^2-3x+2&=0 &&\text{divide by }2\\ (x-1)(x-2)&=0 &&\text{factorise}\\ x&=1\quad\text{or}\quad x=2 &&\text{zero product} \end{aligned}

Why use brackets? The square applies to every term replacing yy.

Answer. From y=3−xy=3-x, the solutions are (1,2)(1,2) and (2,1)(2,1).

Check. Both sums are 33; both sums of squares are 12+22=51^2+2^2=5.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account