P1 1.6 - Simultaneous equations

P1 1.6 - Simultaneous equations

Solve two equations by replacing one unknown with an equivalent expression. You will find exact intersection coordinates, then use a quadratic's discriminant to explain why a line and a curve can meet twice, once or not at all.

Linear substitution

How can one pair of numbers obey two different rules at the same time? If y=2x+1y=2x+1 and x+y=10x+y=10, choosing an xx fixes yy, but only one choice makes their sum 1010.

Simultaneous solution

A simultaneous solution is a set of values satisfying every given equation at the same time. For equations in xx and yy, write each solution as a paired coordinate (x,y)(x,y).

Substitution replaces an expression by another equal to it. Because y=2x+1y=2x+1, the equation x+y=10x+y=10 can be written x+(2x+1)=10x+(2x+1)=10. It now contains only xx. After finding xx, use either original equation to recover its matching yy.

Worked example 1: an isolated unknown

Question. Solve y=2x+1y=2x+1 and x+y=10x+y=10.

Plan. Replace yy in the second equation, solve for xx, then substitute back.

x+(2x+1)=10substitute for y3x=9collect and subtract 1x=3divide by 3y=2(3)+1=7use the first equation\begin{aligned} x+(2x+1)&=10 &&\text{substitute for }y\\ 3x&=9 &&\text{collect and subtract }1\\ x&=3 &&\text{divide by }3\\ y&=2(3)+1=7 &&\text{use the first equation} \end{aligned}

Answer. (x,y)=(3,7)(x,y)=(3,7).

Check. 7=2(3)+17=2(3)+1 and 3+7=103+7=10, so both original equations hold.

Change only the coefficient of yy in the second equation, from 11 to 22. The whole replacement expression must now be multiplied by 22; fractional answers are perfectly valid.

Worked example 2: substitution into a multiple

Question. Solve y=2x+1y=2x+1 and x+2y=10x+2y=10.

Plan. Put brackets around the expression replacing yy, then expand.

x+2(2x+1)=10replace both copies of y5x+2=10expand and collectx=85solve the linear equationy=2(85)+1=215find its partner\begin{aligned} x+2(2x+1)&=10 &&\text{replace both copies of }y\\ 5x+2&=10 &&\text{expand and collect}\\ x&=\frac85 &&\text{solve the linear equation}\\ y&=2\left(\frac85\right)+1=\frac{21}{5} &&\text{find its partner} \end{aligned}

Answer. (x,y)=(85,215)(x,y)=\left(\frac85,\frac{21}{5}\right).

Check. 85+2(215)=505=10\frac85+2\left(\frac{21}{5}\right)=\frac{50}{5}=10, and 215=2(85)+1\frac{21}{5}=2\left(\frac85\right)+1.

If neither equation has an isolated unknown, rearrange one first. For example, 3x+y=83x+y=8 becomes y=8−3xy=8-3x; this is often simpler than introducing a fraction by isolating xx.

Watch out

Substituting into 2y2y gives 2(2x+1)=4x+22(2x+1)=4x+2, not 4x+14x+1. The coefficient multiplies the entire expression.

Use both equations when checking your pair.

Line and quadratic intersections

When one equation is quadratic, substitution can leave a quadratic equation, so there may be two pairs of values.

A point on y=x2y=x^2 and y=x+2y=x+2 must have the same height on both graphs. Therefore x2=x+2x^2=x+2. Solving this equation gives the horizontal coordinates of the intersections; each still needs its own vertical coordinate.

You already know

A quadratic equation can be solved by factorisation, completing the square or the quadratic formula. Keep exact values during substitution; rounding a root early changes its matching coordinate.

The graph makes the pairing visible.

[DIAGRAM: asset_name: Two intersections of a line and a parabola; asset_slug: line-parabola-intersections; caption: Equal heights occur at two different x-values.; description: The parabola y equals x squared and line y equals x plus two intersect at minus one comma one and two comma four, both labelled, with vertical guide lines to the x-axis.]
Equal heights occur at two different x-values.

Worked example 3: two integer intersections

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

Plan. Equate the two expressions for yy, factorise, then calculate yy separately for each root.

x2=x+2equal heightsx2−x−2=0move all terms to one side(x−2)(x+1)=0factorisex=2 or −1one factor must be zero\begin{aligned} x^2&=x+2 &&\text{equal heights}\\ x^2-x-2&=0 &&\text{move all terms to one side}\\ (x-2)(x+1)&=0 &&\text{factorise}\\ x&=2\text{ or }-1 &&\text{one factor must be zero} \end{aligned}

At x=2x=2, y=2+2=4y=2+2=4. At x=−1x=-1, y=−1+2=1y=-1+2=1.

Answer. (2,4)(2,4) and (−1,1)(-1,1).

Check. Their heights on the parabola are 22=42^2=4 and (−1)2=1(-1)^2=1, matching the line.

Change only the line's coefficient of xx, from 11 to 22. The substitution is unchanged, but the resulting quadratic no longer has integer roots.

Worked example 4: exact irrational intersections

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

Plan. Equate heights, complete the square, then use the linear equation for yy.

x2=2x+2substitute(x−1)2=3complete the squarex=1±3take both square rootsy=2(1±3)+2=4±23match the same sign\begin{aligned} x^2&=2x+2 &&\text{substitute}\\ (x-1)^2&=3 &&\text{complete the square}\\ x&=1\pm\sqrt3 &&\text{take both square roots}\\ y&=2(1\pm\sqrt3)+2=4\pm2\sqrt3 &&\text{match the same sign} \end{aligned}

Answer. (1+3,4+23)(1+\sqrt3,4+2\sqrt3) and (1−3,4−23)(1-\sqrt3,4-2\sqrt3).

Check. (1±3)2=4±23(1\pm\sqrt3)^2=4\pm2\sqrt3, so both points also lie on the parabola.

Substitution also works when the quadratic is not already y=⋯y=\cdots. For example, a line y=x+1y=x+1 in x2+y2=13x^2+y^2=13 gives x2+(x+1)2=13x^2+(x+1)^2=13; the squared bracket must be expanded in full.

Watch out

Do not list x=2,−1x=2,-1 and y=4,1y=4,1 without pairing them. The point (2,1)(2,1) satisfies neither pair of graph conditions. One root and its own back-substitution form one solution.

Keep the two coordinates together in your answer.

Interpreting no or repeated solutions

Two intersections are possible, but they are not guaranteed: the quadratic produced by substitution decides the number of real solutions.

For y=x2y=x^2 and y=2x+cy=2x+c, substitution gives x2−2x−c=0x^2-2x-c=0. Its discriminant is 4+4c4+4c. A positive value gives two distinct horizontal coordinates; zero gives one repeated coordinate; a negative value gives no real coordinate. A repeated root counts twice algebraically but locates only one point.

Tangent at an intersection

A line is a tangent to a smooth curve at a point when it has the curve's direction there. For a line and parabola, a repeated intersection root identifies a tangency: the line touches the parabola there without crossing it.

We can recognise this using algebra, without finding a gradient of the curve.

Worked example 5: a repeated solution

Question. Solve y=x2y=x^2 and y=2x−1y=2x-1, and interpret the result.

Plan. Reduce to a quadratic and inspect its factorisation.

x2=2x−1equate heights(x−1)2=0factorisex=1,y=1back-substitute\begin{aligned} x^2&=2x-1 &&\text{equate heights}\\ (x-1)^2&=0 &&\text{factorise}\\ x&=1,\qquad y=1 &&\text{back-substitute} \end{aligned}

Answer. The only intersection is (1,1)(1,1); the line is tangent to the parabola.

Check. The vertical difference is x2−(2x−1)=(x−1)2≥0x^2-(2x-1)=(x-1)^2\ge0. Equality occurs only at x=1x=1, so the curve stays on one side of the line.

Lower only the line's constant term, from −1-1 to −2-2. The gap now cannot become zero.

Worked example 6: no real solution

Question. Solve y=x2y=x^2 and y=2x−2y=2x-2 over the real numbers.

Plan. Complete the square in the equation for an intersection.

x2=2x−2  ⟹  x2−2x+2=0  ⟹  (x−1)2+1=0.x^2=2x-2\implies x^2-2x+2=0\implies(x-1)^2+1=0.

A real square is nonnegative, so the left side is at least 11.

Answer. There are no real solutions; the line and parabola do not intersect.

Check. The discriminant is (−2)2−4(1)(2)=−4<0(-2)^2-4(1)(2)=-4<0, confirming the conclusion independently.

Our opening question had one pair because substituting between two nonparallel linear equations left a linear equation. With a line and a parabola, the same method can reveal two pairs, one pair or none.

Watch out

A discriminant of zero does not mean x=0x=0. It means the quadratic has a repeated root; that root still has to be found.

Use the repeated factor to find the point, not just its existence.

Quick Recap

  • Substitute an equal expression to reduce two unknowns to one.
  • Recover and pair the second coordinate for every root.
  • Two distinct, repeated or non-real roots mean two, one or no real intersections.

The pair (3,7)(3,7) obeys both opening rules: y=2x+1y=2x+1 and x+y=10x+y=10.