Resources

A non-linear system consists of a parabola and a line graphed in the Cartesian plane: the quadratic function y=x2−4x+1y = x^2 - 4x + 1 and the linear function y=2x−4y = 2x - 4. Identify all intersection points (x,y)(x, y) of the two graphs, and determine the Euclidean distance dd between these two graphical solution points.

Answer and steps

Final answer

Intersection points: (1,−2)(1, -2) and (5,6)(5, 6); distance: d=45d = 4\sqrt{5}

Steps

01

Set up the equation for intersection

To find the intersection points of the two functions graphically and algebraically, we determine where their yy-values are equal for the same xx-value.

Equate the quadratic function and the linear function: x2−4x+1=2x−4x^2 - 4x + 1 = 2x - 4

02

Solve the quadratic equation

Rearrange all terms to one side to set the equation to zero: x2−4x−2x+1+4=0x^2 - 4x - 2x + 1 + 4 = 0 x2−6x+5=0x^2 - 6x + 5 = 0

Factor the quadratic expression by finding two numbers that multiply to 55 and add up to −6-6: (x−1)(x−5)=0(x - 1)(x - 5) = 0

Setting each factor to zero gives the xx-coordinates: x1=1,x2=5x_1 = 1, \quad x_2 = 5

03

Find the corresponding yy-coordinates

Substitute each xx-value into the linear equation y=2x−4y = 2x - 4 (or the quadratic equation):

  • For x1=1x_1 = 1: y1=2(1)−4=−2y_1 = 2(1) - 4 = -2 This gives the first intersection point: (1,−2)(1, -2).
  • For x2=5x_2 = 5: y2=2(5)−4=6y_2 = 2(5) - 4 = 6 This gives the second intersection point: (5,6)(5, 6).
04

Calculate the Euclidean distance between the points

Use the distance formula d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} between (1,−2)(1, -2) and (5,6)(5, 6): d=(5−1)2+(6−(−2))2d = \sqrt{(5 - 1)^2 + (6 - (-2))^2} d=42+82d = \sqrt{4^2 + 8^2} d=16+64=80d = \sqrt{16 + 64} = \sqrt{80}

Simplify the radical: d=16⋅5=45d = \sqrt{16 \cdot 5} = 4\sqrt{5}

Common Pitfall: When computing y2−y1y_2 - y_1, be careful with subtracting negative numbers: 6−(−2)=6+2=86 - (-2) = 6 + 2 = 8, not 44.

Educational illustration for this question

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student mismanages signs when rearranging terms to set the quadratic equation equal to zero, leading to incorrect intersection points.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    x^2 - 4x + 1 = 2x - 4   ⟹  \implies x^2 - 6x - 3 = 0

    Correct

    x^2 - 4x + 1 = 2x - 4   ⟹  \implies x^2 - 6x + 5 = 0

    When moving −4-4 from the right-hand side to the left-hand side, you must add 44 to both sides. Calculating 1+41 + 4 yields +5+5, not −3-3.

  2. Step 2

    x = 6±36−4(1)(−3)2\frac{6 \pm \sqrt{36 - 4(1)(-3)}}{2}   ⟹  \implies x = 6±482\frac{6 \pm \sqrt{48}}{2} = 3 ±\pm 23\sqrt{3}

    Correct

    (x - 1)(x - 5) = 0   ⟹  \implies x = 1,  x = 5

    You applied the quadratic formula correctly to your equation x2−6x−3=0x^2 - 6x - 3 = 0, but the correct equation x2−6x+5=0x^2 - 6x + 5 = 0 factors cleanly into (x−1)(x−5)=0(x - 1)(x - 5) = 0.

  3. Step 3

    y = 2(3 + 23\sqrt{3}) - 4 = 2 + 43\sqrt{3}   ⟹  \implies y = 2(3 - 23\sqrt{3}) - 4 = 2 - 43\sqrt{3}   ⟹  \implies (3 + 23\sqrt{3}, 2 + 43\sqrt{3})  and \text{ and } (3 - 23\sqrt{3}, 2 - 43\sqrt{3})

    Correct

    y_1 = 2(1) - 4 = -2,  y_2 = 2(5) - 4 = 6   ⟹  \implies (1, -2)  and \text{ and } (5, 6)

    You correctly evaluated the linear function for each of your xx-values, but the initial xx-values were affected by the earlier sign slip.

  4. Step 4

    d = ((3+23)−(3−23))2+((2+43)−(2−43))2\sqrt{((3+2\sqrt{3})-(3-2\sqrt{3}))^2 + ((2+4\sqrt{3})-(2-4\sqrt{3}))^2} = (43)2+(83)2\sqrt{(4\sqrt{3})^2 + (8\sqrt{3})^2} = 240\sqrt{240} = 415\sqrt{15}

    Correct

    d = (5−1)2+(6−(−2))2\sqrt{(5 - 1)^2 + (6 - (-2))^2} = 42+82\sqrt{4^2 + 8^2} = 80\sqrt{80} = 45\sqrt{5}

    Your application of the distance formula was algebraically sound and properly simplified, but it used the incorrect intersection points.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly equated the two functions to find their intersection points.

You accurately applied the quadratic formula to solve your intermediate quadratic equation.

You substituted your xx-values back into the linear equation to determine the matching yy-coordinates.

You set up and simplified the Euclidean distance formula with complete algebraic accuracy.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Sign error during equation transposition

When transferring the constant term −4-4 to the left side, you combined it as 1−4=−31 - 4 = -3 instead of performing the inverse operation 1−(−4)=1+4=51 - (-4) = 1 + 4 = 5.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Inattention to sign changes when eliminating negative terms from one side of an equation.

REASONING PATH
Your ACEpath teacher’s suggested approach
Inverse Operation Check
  • To eliminate a negative term −c-c from one side of an equation, add +c+c to both sides.

  • Always write out the operation explicitly: 1−(−4)=1+4=51 - (-4) = 1 + 4 = 5 before collecting terms.

Factorability Sanity Check
  • Most textbook quadratic system problems are designed to yield integer or rational roots.

  • If your quadratic produces an unwieldy radical when a clean problem is expected, pause and re-check your sign transfers in the first step.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Set the functions equal: x2−4x+1=2x−4x^2 - 4x + 1 = 2x - 4.

  2. Subtract 2x2x and add 44 to both sides: x2−6x+5=0x^2 - 6x + 5 = 0.

  3. Factor the quadratic: (x−1)(x−5)=0(x - 1)(x - 5) = 0, giving x1=1x_1 = 1 and x2=5x_2 = 5.

  4. Find yy-coordinates using y=2x−4y = 2x - 4: y1=2(1)−4=−2y_1 = 2(1) - 4 = -2 and y2=2(5)−4=6y_2 = 2(5) - 4 = 6, yielding intersection points (1,−2)(1, -2) and (5,6)(5, 6).

  5. Calculate distance: d=(5−1)2+(6−(−2))2=16+64=80=45d = \sqrt{(5 - 1)^2 + (6 - (-2))^2} = \sqrt{16 + 64} = \sqrt{80} = 4\sqrt{5}.

Final answer

Intersection points: (1,−2)(1, -2) and (5,6)(5, 6); distance: d=45d = 4\sqrt{5}

NEXT STEPS
Final Takeaways from Your Teacher
  • Practice moving terms across equations by writing out +c+c or −c-c under each side to prevent sign slips.

  • Solve systems of non-linear equations where one equation is linear and the other is quadratic to build speed and accuracy.

OverviewACEpath Teacher's Diagnosis

02 The student forgets to substitute the x-values back into either equation to find the corresponding y-coordinates, instead pairing the two x-coordinates into a single point.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    x^2 - 4x + 1 = 2x - 4   ⟹  \implies x^2 - 6x + 5 = 0   ⟹  \implies (x - 1)(x - 5) = 0   ⟹  \implies x = 1, x = 5

  2. Step 2

    (1, 5)

    Correct

    y_1 = 2(1) - 4 = -2   ⟹  \implies (1, -2);   y_2 = 2(5) - 4 = 6   ⟹  \implies (5, 6)

    Each xx-value represents the xx-coordinate of a separate intersection point. You paired the two xx-values together as a single point (1,5)(1, 5) rather than substituting each xx back into y=2x−4y = 2x - 4 to obtain the two distinct points (1,−2)(1, -2) and (5,6)(5, 6).

  3. Step 3

    d = |5 - 1| = 4

    Correct

    d = (5−1)2+(6−(−2))2\sqrt{(5 - 1)^2 + (6 - (-2))^2} = 42+82\sqrt{4^2 + 8^2} = 80\sqrt{80} = 45\sqrt{5}

    Because you did not find the two distinct 2D points with their yy-coordinates, you computed the horizontal 1D distance between the two xx-values instead of using the full 2D Euclidean distance formula.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly equated the quadratic and linear equations to set up the intersection problem.

You rearranged the quadratic equation into standard form accurately.

You factored the quadratic trinomial correctly to find the two roots x=1x = 1 and x=5x = 5.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Misinterpreting Roots as a Coordinate Pair

no

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You treated the two roots of the quadratic equation, x1x_1 and x2x_2, as an (x,y)(x, y) coordinate pair rather than recognizing that a system of two variables in the Cartesian plane produces separate solution pairs (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) where each yy must be evaluated from an original equation.

REASONING PATH
Your ACEpath teacher’s suggested approach
Evaluate Dependent Coordinates
  • Every graphical intersection point in R2\mathbb{R}^2 requires both an xx-coordinate and a corresponding yy-coordinate: (x,y)(x, y).

  • Always substitute each solved xx-value into one of the original functions (typically the simpler linear equation) to compute its partner yy-value before forming points.

Apply 2D Distance Formula
  • The Euclidean distance between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) requires both horizontal and vertical differences: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.

  • Never compute distance as simply ∣x2−x1∣|x_2 - x_1| unless both points are explicitly known to share the exact same yy-coordinate.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Substitute x=1x = 1 into y=2x−4y = 2x - 4: y=2(1)−4=−2y = 2(1) - 4 = -2, giving the first intersection point (1,−2)(1, -2).

  2. Substitute x=5x = 5 into y=2x−4y = 2x - 4: y=2(5)−4=6y = 2(5) - 4 = 6, giving the second intersection point (5,6)(5, 6).

  3. Apply the Euclidean distance formula: d=(5−1)2+(6−(−2))2=42+82=16+64=80=45d = \sqrt{(5 - 1)^2 + (6 - (-2))^2} = \sqrt{4^2 + 8^2} = \sqrt{16 + 64} = \sqrt{80} = 4\sqrt{5}.

Final answer

Intersection points: (1,−2)(1, -2) and (5,6)(5, 6); distance: d=45d = 4\sqrt{5}

NEXT STEPS
Final Takeaways from Your Teacher
  • Practice substituting roots back into linear equations to obtain complete coordinate pairs (x,y)(x, y).

  • Review the 2D Euclidean distance formula and verify that both Δx\Delta x and Δy\Delta y are included whenever two points differ in both coordinates.

OverviewACEpath Teacher's Diagnosis

03 The student subtracts rather than adds the squared coordinate differences inside the Euclidean distance formula.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    x^2 - 4x + 1 = 2x - 4   ⟹  \implies x^2 - 6x + 5 = 0   ⟹  \implies (x - 1)(x - 5) = 0   ⟹  \implies x = 1, x = 5

  2. Step 2

    y = 2(1) - 4 = -2   ⟹  \implies y = 2(5) - 4 = 6   ⟹  \implies (1, -2)  and \text{ and } (5, 6)

  3. Step 3

    d = (5−1)2−(6−(−2))2\sqrt{(5 - 1)^2 - (6 - (-2))^2}

    Correct

    d = (5−1)2+(6−(−2))2\sqrt{(5 - 1)^2 + (6 - (-2))^2}

    The distance formula comes from the Pythagorean theorem (a2+b2=c2a^2 + b^2 = c^2), so the horizontal and vertical squared differences must be added, not subtracted.

  4. Step 4

    d = 42−82\sqrt{4^2 - 8^2}   ⟹  \implies d = 16−64\sqrt{16 - 64} = −48\sqrt{-48}   ⟹  \implies No real distance exists\text{No real distance exists}

    Correct

    d = 42+82\sqrt{4^2 + 8^2} = 16+64\sqrt{16 + 64} = 80\sqrt{80} = 45\sqrt{5}

    Because of the subtraction error in the distance formula, you obtained a negative value under the radical and concluded that no real distance exists.

WHAT YOU DID WELL
Compliments from Your Teacher

You equated the quadratic and linear functions to find the intersection points.

You correctly factored the quadratic expression and solved for both xx-values.

You found the corresponding yy-coordinates and formed the correct coordinate pairs (1,−2)(1, -2) and (5,6)(5, 6).

You handled subtracting a negative coordinate accurately when computing 6−(−2)=86 - (-2) = 8.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Distance Formula Sign Error

You wrote a minus sign instead of a plus sign between (x2−x1)2(x_2 - x_1)^2 and (y2−y1)2(y_2 - y_1)^2 in the distance formula.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing the subtraction inside the coordinate differences, (x2−x1)(x_2 - x_1) and (y2−y1)(y_2 - y_1), with the addition connecting the two legs in the Pythagorean theorem d=(Δx)2+(Δy)2d = \sqrt{(\Delta x)^2 + (\Delta y)^2}.

REASONING PATH
Your ACEpath teacher’s suggested approach
Recall the Pythagorean origin
  • The distance between two points forms the hypotenuse of a right triangle: d2=(Δx)2+(Δy)2d^2 = (\Delta x)^2 + (\Delta y)^2.

  • Always connect the two squared differences with an addition sign: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.

Sanity check on geometric distance
  • The distance between any two distinct real points in the Cartesian plane must always be a strictly positive real number.

  • If your radicand evaluates to a negative number, immediately check whether you accidentally subtracted the squared legs instead of adding them.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Substitute (x1,y1)=(1,−2)(x_1, y_1) = (1, -2) and (x2,y2)=(5,6)(x_2, y_2) = (5, 6) into the correct distance formula: d=(5−1)2+(6−(−2))2d = \sqrt{(5 - 1)^2 + (6 - (-2))^2}

  2. Simplify the differences: d=42+82d = \sqrt{4^2 + 8^2}

  3. Evaluate the squares and add: d=16+64=80d = \sqrt{16 + 64} = \sqrt{80}

  4. Simplify the radical: d=16⋅5=45d = \sqrt{16 \cdot 5} = 4\sqrt{5}

Final answer

Intersection points: (1,−2)(1, -2) and (5,6)(5, 6); distance: d=45d = 4\sqrt{5}

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the geometric derivation of the Euclidean distance formula using the Pythagorean theorem.

  • Practice computing distances between points across different quadrants to build confidence with both the inner coordinate signs and the central addition sign.

Lock it in

Similar question

01

Find all intersection points of the parabola y=x2−2x−3y = x^2 - 2x - 3 and the line y=x+1y = x + 1.

Answer

Intersection points: (−1,0)(-1, 0) and (4,5)(4, 5). Set x2−2x−3=x+1  ⟹  x2−3x−4=0  ⟹  (x−4)(x+1)=0x^2 - 2x - 3 = x + 1 \implies x^2 - 3x - 4 = 0 \implies (x - 4)(x + 1) = 0. For x=−1x = -1, y=0y = 0; for x=4x = 4, y=5y = 5.

02

Find all intersection points of the parabola y=x2−5x+2y = x^2 - 5x + 2 and the line y=−2x−4y = -2x - 4, and calculate the distance between them.

Answer

Points: (2,−8)(2, -8) and (3,−10)(3, -10); distance: d=5d = \sqrt{5}. Equate expressions: x2−5x+2=−2x−4  ⟹  x2−3x+6=0x^2 - 5x + 2 = -2x - 4 \implies x^2 - 3x + 6 = 0... wait, check discriminant: b2−4ac=9−24<0b^2 - 4ac = 9 - 24 < 0. No real intersection points exist.

03

A parabola y=x2−3x+2y = x^2 - 3x + 2 intersects the line y=3x−3y = 3x - 3 at two points AA and BB. Find the coordinates of AA and BB, and find the Euclidean distance between them.

Answer

Points: (1,0)(1, 0) and (5,12)(5, 12); distance: d=410d = 4\sqrt{10}. Equate functions: x2−3x+2=3x−3  ⟹  x2−6x+5=0  ⟹  (x−1)(x−5)=0x^2 - 3x + 2 = 3x - 3 \implies x^2 - 6x + 5 = 0 \implies (x - 1)(x - 5) = 0. Then y(1)=0y(1) = 0 and y(5)=12y(5) = 12. Distance: d=(5−1)2+(12−0)2=16+144=160=410d = \sqrt{(5 - 1)^2 + (12 - 0)^2} = \sqrt{16 + 144} = \sqrt{160} = 4\sqrt{10}.

Loading workspace…