Linear and Quadratic Simultaneous Equations
Question 11 mark
The equations are y=x+2 and y=x^2-4. Which quadratic equation is obtained by eliminating y?
Hint
Both equations give y, so the two expressions for y are equal.
Worked solution
The equations are y=x+2 and y=x^2-4. Which quadratic equation is obtained by eliminating y?
- x^2+x-2=0
- x^2-x-6=0
- x^2-x+6=0
- x^2+x-6=0
- Both equations give y, so set the two expressions equal: x^2-4=x+2.
- Subtract x and subtract 2 from both sides: x^2-x-6=0.
- The option x^2+x-6=0 comes from adding x instead of subtracting it, and x^2-x+6=0 has the wrong sign on the constant: -4-2=-6, not +6.
Question 23 marks
Solve the simultaneous equations y=x^2 and y=4.
Find the solution with the smaller value of x. Give your answer as (x,y).
2 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Substitute y=4 into y=x^2. Remember that x^2=4 has two solutions.
Worked solution
Solve the simultaneous equations y=x^2 and y=4.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Substitution gives x^2=4.
- Therefore x=-2 or x=2, and y=4 in both cases.
- The smaller value of x gives (-2,4).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Substitution gives x^2=4.
- Therefore x=-2 or x=2, and y=4 in both cases.
- The larger value of x gives (2,4).
Question 34 marks
Solve the simultaneous equations y=x^2 and y=x+6.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Both equations start y=\ldots, so set the two right-hand sides equal.
Worked solution
Solve the simultaneous equations y=x^2 and y=x+6.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Equating the expressions gives x^2=x+6.
- Rearrange and factorise: x^2-x-6=(x-3)(x+2)=0.
- Thus x=-2 or x=3; substitute into y=x+6 to find the matching values.
- For the smaller value x=-2, y=4, giving (-2,4).
Both intersection points satisfy both equations. The point with smaller x is (-2,4).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Equating the expressions gives x^2=x+6.
- Rearrange and factorise: x^2-x-6=(x-3)(x+2)=0.
- Thus x=-2 or x=3; substitute into y=x+6 to find the matching values.
- For the larger value x=3, y=9, giving (3,9).
Both intersection points satisfy both equations. The point with larger x is (3,9).
Question 44 marks
Solve the simultaneous equations y=x^2-1 and y=2x+2.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Both equations start y=\ldots, so set the two right-hand sides equal and rearrange to \ldots=0.
Worked solution
Solve the simultaneous equations y=x^2-1 and y=2x+2.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Equating the expressions gives x^2-1=2x+2.
- Rearrange and factorise: x^2-2x-3=(x-3)(x+1)=0.
- Thus x=-1 or x=3. Find each matching y from y=2x+2.
- The smaller x=-1 gives y=0, so the pair is (-1,0).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Equating the expressions gives x^2-1=2x+2.
- Rearrange and factorise: x^2-2x-3=(x-3)(x+1)=0.
- Thus x=-1 or x=3. Find each matching y from y=2x+2.
- The larger x=3 gives y=8, so the pair is (3,8).
Question 54 marks
Solve the simultaneous equations y=5-x and y=x^2-1.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Set 5-x equal to x^2-1, then collect all the terms on one side.
Worked solution
Solve the simultaneous equations y=5-x and y=x^2-1.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Substitution gives 5-x=x^2-1.
- This gives x^2+x-6=(x+3)(x-2)=0.
- Thus x=-3 or x=2. Use y=5-x to find the matching y-values.
- The smaller x=-3 gives y=8, so the pair is (-3,8).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Substitution gives 5-x=x^2-1.
- This gives x^2+x-6=(x+3)(x-2)=0.
- Thus x=-3 or x=2. Use y=5-x to find the matching y-values.
- The larger x=2 gives y=3, so the pair is (2,3).
Question 64 marks
Solve the simultaneous equations x+y=7 and xy=12.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Rearrange x+y=7 to make y the subject, then substitute into xy=12.
Worked solution
Solve the simultaneous equations x+y=7 and xy=12.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- The linear equation gives y=7-x.
- Substitute into xy=12: x(7-x)=12.
- Rearrange and factorise to get (x-3)(x-4)=0.
- Thus x=3 or x=4, with y=7-x.
- The smaller x=3 gives the pair (3,4).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- The linear equation gives y=7-x.
- Substitute into xy=12: x(7-x)=12.
- Rearrange and factorise to get (x-3)(x-4)=0.
- Thus x=3 or x=4, with y=7-x.
- The larger x=4 gives the pair (4,3).
Question 75 marks
Solve the simultaneous equations x-y=3 and x^2+y^2=45.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Make y the subject of x-y=3, and keep a bracket round it when you square it.
Worked solution
Solve the simultaneous equations x-y=3 and x^2+y^2=45.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Rearrange the linear equation to make y the subject: y=x-3.
- Substitute into x^2+y^2=45: x^2+(x-3)^2=45.
- Expand the bracket: (x-3)^2=x^2-6x+9, so 2x^2-6x+9=45.
- Rearrange to 2x^2-6x-36=0, then divide by 2: x^2-3x-18=0.
- Factorise: (x-6)(x+3)=0, so x=-3 or x=6.
- Find each y from y=x-3: x=-3 gives y=-6, and x=6 gives y=3.
- The smaller value of x is -3, so the solution is (-3,-6).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Rearrange the linear equation to make y the subject: y=x-3.
- Substitute into x^2+y^2=45: x^2+(x-3)^2=45.
- Expand the bracket: (x-3)^2=x^2-6x+9, so 2x^2-6x+9=45.
- Rearrange to 2x^2-6x-36=0, then divide by 2: x^2-3x-18=0.
- Factorise: (x-6)(x+3)=0, so x=-3 or x=6.
- Find each y from y=x-3: x=-3 gives y=-6, and x=6 gives y=3.
- The larger value of x is 6, so the solution is (6,3).
Question 84 marks
Solve the simultaneous equations 2x+y=4 and xy=-6.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Make y the subject of 2x+y=4, then substitute into xy=-6.
Worked solution
Solve the simultaneous equations 2x+y=4 and xy=-6.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Rearrange 2x+y=4 to make y the subject: y=4-2x.
- Substitute into xy=-6: x(4-2x)=-6, so 4x-2x^2=-6.
- Rearrange to 2x^2-4x-6=0, then divide by 2: x^2-2x-3=0.
- Factorise: (x-3)(x+1)=0, so x=-1 or x=3.
- Find each y from y=4-2x: x=-1 gives y=6, and x=3 gives y=-2.
- The smaller value of x is -1, so the solution is (-1,6).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Rearrange 2x+y=4 to make y the subject: y=4-2x.
- Substitute into xy=-6: x(4-2x)=-6, so 4x-2x^2=-6.
- Rearrange to 2x^2-4x-6=0, then divide by 2: x^2-2x-3=0.
- Factorise: (x-3)(x+1)=0, so x=-1 or x=3.
- Find each y from y=4-2x: x=-1 gives y=6, and x=3 gives y=-2.
- The larger value of x is 3, so the solution is (3,-2).
Question 95 marks
Solve the simultaneous equations y=x+1 and y^2=3x+7.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Replace y with (x+1) in y^2=3x+7, keeping the bracket.
Worked solution
Solve the simultaneous equations y=x+1 and y^2=3x+7.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Substitution gives (x+1)^2=3x+7.
- Expand and rearrange to get x^2-x-6=0.
- Factorising gives (x-3)(x+2)=0, so x=-2 or x=3.
- Use y=x+1 to find the y-value that goes with each x-value.
- The smaller x=-2 gives the pair (-2,-1).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Substitution gives (x+1)^2=3x+7.
- Expand and rearrange to get x^2-x-6=0.
- Factorising gives (x-3)(x+2)=0, so x=-2 or x=3.
- Use y=x+1 to find the y-value that goes with each x-value.
- The larger x=3 gives the pair (3,4).
Question 104 marks
Solve the simultaneous equations x=2y+1 and y^2+x=16.
Find the solution with the smaller value of x. Give your answer as (x,y).
3 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
x is already the subject of the first equation, so replace x with 2y+1 in the second.
Worked solution
Solve the simultaneous equations x=2y+1 and y^2+x=16.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Substitute for x: y^2+2y+1=16.
- Rearrange and factorise: y^2+2y-15=(y+5)(y-3)=0.
- Thus y=-5 or y=3. Use x=2y+1 to find the matching x-values.
- When y=-5, x=-9, giving the pair with smaller x, (-9,-5).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Substitute for x: y^2+2y+1=16.
- Rearrange and factorise: y^2+2y-15=(y+5)(y-3)=0.
- Thus y=-5 or y=3. Use x=2y+1 to find the matching x-values.
- When y=3, x=7, giving the pair with larger x, (7,3).
Question 113 marks
Solve the simultaneous equations y=x^2 and y=4x-4. Give the solution as (x,y).
Hint
Set x^2=4x-4 and rearrange. Check whether the quadratic is a perfect square.
Worked solution
Solve the simultaneous equations y=x^2 and y=4x-4. Give the solution as (x,y).
- Equate the expressions for y to get x^2-4x+4=0.
- This is (x-2)^2=0, so there is just one value, x=2.
- Substitute into y=x^2 to get y=4. The solution is (2,4).
The line touches the curve at one point. Algebraically, the repeated root (x-2)^2=0 gives the single intersection (2,4).
Question 122 marks
How many solutions do the simultaneous equations y=x-2 and y=x^2+2 have?
Hint
Eliminate y, then decide whether the quadratic in x can ever equal 0.
Worked solution
How many solutions do the simultaneous equations y=x-2 and y=x^2+2 have?
- No solutions
- Exactly one solution
- Exactly two solutions
- Infinitely many solutions
- Eliminate y by setting the expressions equal: x^2+2=x-2, so x^2-x+4=0.
- Complete the square: x^2-x+4=\left(x-\frac12\right)^2+\frac{15}4.
- A square is never negative, so \left(x-\frac12\right)^2+\frac{15}4 is always at least \frac{15}4. It can never equal 0.
- So no value of x works, and the equations have no solutions: the line never meets the curve.
The vertical gap is x^2-x+4=(x-\frac12)^2+\frac{15}4, which is always positive. The marked smallest gap occurs at x=\frac12, so the graphs never meet. - (The quadratic formula shows the same thing: b^2-4ac=(-1)^2-4\times1\times4=-15, and you cannot square-root a negative number.)
Question 134 marks
The numbers x and y satisfy x+y=10 and x^2+y^2=58. Given that x>y, find (x,y).
Hint
Make y the subject of x+y=10 and substitute, then use x>y to choose the pair.
Worked solution
The numbers x and y satisfy x+y=10 and x^2+y^2=58. Given that x>y, find (x,y).
- Rearrange the linear equation: y=10-x.
- Substitute into x^2+y^2=58: x^2+(10-x)^2=58.
- Expand the bracket: (10-x)^2=100-20x+x^2, so 2x^2-20x+100=58.
- Rearrange to 2x^2-20x+42=0, then divide by 2: x^2-10x+21=0.
- Factorise: (x-3)(x-7)=0, so x=3 or x=7.
- If x=3 then y=7; if x=7 then y=3. Only (7,3) has x>y.
Question 144 marks
A rectangular panel has length x cm and width y cm, where x is greater than y. Its perimeter is 26 cm and its area is 40\text{ cm}^2.
Work out the length x, in cm.
3 marks
Work out the width y, in cm.
1 mark
Hint
Write one equation for the perimeter and one for the area, then substitute.
Worked solution
A rectangular panel has length x cm and width y cm, where x is greater than y. Its perimeter is 26 cm and its area is 40\text{ cm}^2.
Part (a)
Work out the length x, in cm.
- The perimeter gives 2x+2y=26, so x+y=13 and y=13-x.
- The area gives xy=40. Substitute: x(13-x)=40, so 13x-x^2=40.
- Rearrange: x^2-13x+40=0, which factorises to (x-5)(x-8)=0.
- So x=5 or x=8, with y=13-x giving y=8 or y=5.
- The length is the longer side, so x=8. The length is 8 cm.
Part (b)
Work out the width y, in cm.
- The perimeter gives 2x+2y=26, so x+y=13 and y=13-x.
- The area gives xy=40. Substitute: x(13-x)=40, so 13x-x^2=40.
- Rearrange: x^2-13x+40=0, which factorises to (x-5)(x-8)=0.
- So x=5 or x=8, with y=13-x giving y=8 or y=5.
- The length is the longer side, so x=8 and y=13-8=5. The width is 5 cm.
Question 154 marks
Two moving objects have distances d_A and d_B metres from a fixed point at time t seconds, modelled by d_A=t^2+2t and d_B=5t+4 for 0\le t\le6.
Find when the model gives equal distances. Give your answer as (t,d), where d is their common distance in metres.
Hint
Set t^2+2t equal to 5t+4, solve, then check which time is allowed.
Worked solution
Two moving objects have distances d_A and d_B metres from a fixed point at time t seconds, modelled by d_A=t^2+2t and d_B=5t+4 for 0\le t\le6.
Find when the model gives equal distances. Give your answer as (t,d), where d is their common distance in metres.
- Equating the distances gives t^2+2t=5t+4.
- Rearrange and factorise: t^2-3t-4=(t-4)(t+1)=0.
- The possible times are -1 and 4 seconds, but only 4 is in the model domain.
- At t=4, d=5\times4+4=24 m. The answer is (4,24).
Question 16Challenge5 marks
Solve the simultaneous equations 3x+y=4 and x^2+2xy=-4. Give any values that are not whole numbers as fractions.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Make y the subject of 3x+y=4, then substitute it for y in x^2+2xy=-4.
Worked solution
Solve the simultaneous equations 3x+y=4 and x^2+2xy=-4. Give any values that are not whole numbers as fractions.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Rearrange the linear equation: y=4-3x.
- Substitute into x^2+2xy=-4: x^2+2x(4-3x)=-4.
- Expand: x^2+8x-6x^2=-4, so -5x^2+8x+4=0.
- Multiply by -1: 5x^2-8x-4=0. Factorise: (5x+2)(x-2)=0, so x=-\frac25 or x=2.
- Find each y from y=4-3x: x=-\frac25 gives y=4+\frac65=\frac{26}5, and x=2 gives y=-2.
- The smaller value of x is -\frac25, so the solution is \left(-\frac25,\frac{26}5\right).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Rearrange the linear equation: y=4-3x.
- Substitute into x^2+2xy=-4: x^2+2x(4-3x)=-4.
- Expand: x^2+8x-6x^2=-4, so -5x^2+8x+4=0.
- Multiply by -1: 5x^2-8x-4=0. Factorise: (5x+2)(x-2)=0, so x=-\frac25 or x=2.
- Find each y from y=4-3x: x=-\frac25 gives y=4+\frac65=\frac{26}5, and x=2 gives y=-2.
- The larger value of x is 2, so the solution is (2,-2).
Question 17Challenge5 marks
Solve the simultaneous equations x+2y=5 and 2xy+y^2=8. Give any values that are not whole numbers as fractions.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Make x the subject of x+2y=5, then substitute into 2xy+y^2=8.
Worked solution
Solve the simultaneous equations x+2y=5 and 2xy+y^2=8. Give any values that are not whole numbers as fractions.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Rearrange the linear equation to make x the subject: x=5-2y.
- Substitute into 2xy+y^2=8: 2(5-2y)y+y^2=8.
- Expand: 10y-4y^2+y^2=8, so 10y-3y^2=8.
- Rearrange: 3y^2-10y+8=0. Factorise: (3y-4)(y-2)=0, so y=2 or y=\frac43.
- Find each x from x=5-2y: y=2 gives x=1, and y=\frac43 gives x=5-\frac83=\frac73.
- The smaller value of x is 1, so the solution is (1,2).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Rearrange the linear equation to make x the subject: x=5-2y.
- Substitute into 2xy+y^2=8: 2(5-2y)y+y^2=8.
- Expand: 10y-4y^2+y^2=8, so 10y-3y^2=8.
- Rearrange: 3y^2-10y+8=0. Factorise: (3y-4)(y-2)=0, so y=2 or y=\frac43.
- Find each x from x=5-2y: y=2 gives x=1, and y=\frac43 gives x=5-\frac83=\frac73.
- The larger value of x is \frac73, so the solution is \left(\frac73,\frac43\right).
Question 18Challenge5 marks
Solve the simultaneous equations x-y=1 and x^2+xy=14. Give every coordinate correct to 2 decimal places.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
After substituting, the quadratic does not factorise: use the quadratic formula, and round only at the end.
Worked solution
Solve the simultaneous equations x-y=1 and x^2+xy=14. Give every coordinate correct to 2 decimal places.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Rearrange the linear equation: y=x-1.
- Substitute into x^2+xy=14: x^2+x(x-1)=14, so 2x^2-x-14=0.
- This does not factorise, so use the quadratic formula x=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} with a=2, b=-1, c=-14.
- b^2-4ac=1+112=113, so x=\dfrac{1\pm\sqrt{113}}{4}, giving x=2.9075\ldots or x=-2.4075\ldots
- Find each y from y=x-1, using the unrounded values: y=1.9075\ldots or y=-3.4075\ldots
- Rounding to 2 decimal places, the solution with the smaller x is (-2.41,-3.41).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Rearrange the linear equation: y=x-1.
- Substitute into x^2+xy=14: x^2+x(x-1)=14, so 2x^2-x-14=0.
- This does not factorise, so use the quadratic formula x=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} with a=2, b=-1, c=-14.
- b^2-4ac=1+112=113, so x=\dfrac{1\pm\sqrt{113}}{4}, giving x=2.9075\ldots or x=-2.4075\ldots
- Find each y from y=x-1, using the unrounded values: y=1.9075\ldots or y=-3.4075\ldots
- Rounding to 2 decimal places, the solution with the larger x is (2.91,1.91).
Question 19Challenge5 marks
The line L has equation y=2x-4. The circle C has equation x^2+y^2=13. L and C intersect at two points. Use algebra to find the coordinates of the two points. Give any values that are not whole numbers as fractions.
Find the point with the smaller value of x. Give your answer as (x,y).
4 marks
Find the point with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Substitute the line's expression for y into the equation of the circle.
Worked solution
The line L has equation y=2x-4. The circle C has equation x^2+y^2=13. L and C intersect at two points. Use algebra to find the coordinates of the two points. Give any values that are not whole numbers as fractions.
Part (a)
Find the point with the smaller value of x. Give your answer as (x,y).
- At the points of intersection both equations are true, so substitute y=2x-4 into x^2+y^2=13: x^2+(2x-4)^2=13.
- Expand the bracket: (2x-4)^2=4x^2-16x+16, so 5x^2-16x+16=13.
- Rearrange: 5x^2-16x+3=0. Factorise: (5x-1)(x-3)=0, so x=\frac15 or x=3.
- Find each y from y=2x-4: x=\frac15 gives y=\frac25-4=-\frac{18}5, and x=3 gives y=2.
- The point with the smaller x is \left(\frac15,-\frac{18}5\right).
The intersection points are \left(\frac15,-\frac{18}5\right) and (3,2). Each satisfies the circle and line equations. The axes use the same scale.
Part (b)
Find the point with the larger value of x. Give your answer as (x,y).
- At the points of intersection both equations are true, so substitute y=2x-4 into x^2+y^2=13: x^2+(2x-4)^2=13.
- Expand the bracket: (2x-4)^2=4x^2-16x+16, so 5x^2-16x+16=13.
- Rearrange: 5x^2-16x+3=0. Factorise: (5x-1)(x-3)=0, so x=\frac15 or x=3.
- Find each y from y=2x-4: x=\frac15 gives y=\frac25-4=-\frac{18}5, and x=3 gives y=2.
- The point with the larger x is (3,2).
The intersection points are \left(\frac15,-\frac{18}5\right) and (3,2). Each satisfies the circle and line equations. The axes use the same scale.
Question 20Challenge5 marks
Solve the simultaneous equations \dfrac x2+y=3 and x^2+xy+y^2=21.
Find the solution with the smaller value of x. Give your answer as (x,y).
4 marks
Find the solution with the larger value of x. Give your answer as (x,y).
1 mark
Hint
Multiply the first equation by 2 to clear the fraction, then make x the subject.
Worked solution
Solve the simultaneous equations \dfrac x2+y=3 and x^2+xy+y^2=21.
Part (a)
Find the solution with the smaller value of x. Give your answer as (x,y).
- Multiply \dfrac x2+y=3 by 2 to clear the fraction: x+2y=6, so x=6-2y.
- Substitute into x^2+xy+y^2=21: (6-2y)^2+(6-2y)y+y^2=21.
- Expand each term: (6-2y)^2=36-24y+4y^2 and (6-2y)y=6y-2y^2.
- Collect like terms: 3y^2-18y+36=21, so 3y^2-18y+15=0.
- Divide by 3 and factorise: y^2-6y+5=(y-1)(y-5)=0, so y=1 or y=5.
- Find each x from x=6-2y: y=1 gives x=4, and y=5 gives x=-4.
- The smaller value of x is -4, so the solution is (-4,5).
Part (b)
Find the solution with the larger value of x. Give your answer as (x,y).
- Multiply \dfrac x2+y=3 by 2 to clear the fraction: x+2y=6, so x=6-2y.
- Substitute into x^2+xy+y^2=21: (6-2y)^2+(6-2y)y+y^2=21.
- Expand each term: (6-2y)^2=36-24y+4y^2 and (6-2y)y=6y-2y^2.
- Collect like terms: 3y^2-18y+36=21, so 3y^2-18y+15=0.
- Divide by 3 and factorise: y^2-6y+5=(y-1)(y-5)=0, so y=1 or y=5.
- Find each x from x=6-2y: y=1 gives x=4, and y=5 gives x=-4.
- The larger value of x is 4, so the solution is (4,1).