Ratio and Algebra
On this page
How to find a ratio from an equation, form an equation from a ratio, and find a ratio when the equation has squares in it.
Builds on: Writing and Simplifying Ratios, Factorising Harder Quadratics
Key facts
a:b=3:5 means a=3k and b=5k, with the same k
5a=3b means a:b=3:5: the numbers swap sides
- A ratio is a fraction: a:b=3:5 means \dfrac ab=\dfrac35, so 5a=3b.
- Coefficients stay in: 3a:2c=5:4 means \dfrac{3a}{2c}=\dfrac54, so 12a=10c and a:c=5:6, not 5:4.
- For positive x and y, x^2:y^2=9:25 gives x:y=3:5.
Worked example 1: A ratio from an equation
6m+5n=2m+11n
Find the ratio m:n
- Collect the m terms on one side and the n terms on the other: 4m=6n
- Divide both sides by n, then by 4: \dfrac mn=\dfrac64=\dfrac32
- m:n=3:2
- Check with m=3, n=2: both sides are 28.
- 4m=6n does not give m:n=4:6: the numbers swap sides. This reversed answer is the commonest lost mark.
- A formula works the same way: h=4r means r:h=1:4.
Now try this
4a+9b=10a+b
Find the ratio a:b in its simplest form.
- 8b=6a, so \dfrac ab=\dfrac86=\dfrac43
- a:b=4:3
Worked example 2: An equation from a ratio
Given that x^2:(5x+2)=1:3
find the possible values of x.
- Write the ratio as a fraction: \dfrac{x^2}{5x+2}=\dfrac13
- Multiply both sides by 3(5x+2): 3x^2=5x+2
- 3x^2-5x-2=0
- (3x+1)(x-2)=0
- x=2 or x=-\frac13
- The 3 multiplies x^2, because x^2 goes with the 1: x^2=3(5x+2) is the wrong way round. Give both values: trying numbers finds one at most.
Now try this
Given that x^2:(x+4)=2:1
find the possible values of x.
- \dfrac{x^2}{x+4}=\dfrac21, so x^2=2(x+4)
- x^2-2x-8=0
- (x-4)(x+2)=0
- x=4 or x=-2
Worked example 3: Amounts in terms of x
A box contains only blue pens and black pens.
number of blue pens : number of black pens =5:3
There are x blue pens in the box.
Find an expression, in terms of x, for the total number of pens in the box. Give your answer in its simplest form.
- \dfrac{\text{black}}{x}=\dfrac35, so black =\dfrac{3x}{5}
- Total =x+\dfrac{3x}{5}=\dfrac{8x}{5}
- Check with x=5: 3 black pens and 8 pens in all.
- A ratio of two expressions is rearranged the same way: (y+x):(y-x)=3:1 means y+x=3(y-x)so y=2x.
Now try this
At an animal rescue centre there are only cats and dogs.
number of cats : number of dogs =7:2
There are x cats.
Find an expression, in terms of x, for the total number of animals. Give your answer in its simplest form.
- \dfrac{\text{dogs}}{x}=\dfrac27, so dogs =\dfrac{2x}{7}
- Total =x+\dfrac{2x}{7}=\dfrac{9x}{7}
Worked example 4: Adding the same amount to both
The heights of two plants, A and B, are in the ratio 4:3
Each plant grows 10 cm.
The ratio of their heights is now 5:4
Work out the height of each plant before it grew.
- Before: A =4k and B =3k. After: 4k+10 and 3k+10
- \dfrac{4k+10}{3k+10}=\dfrac54
- 4(4k+10)=5(3k+10)
- 16k+40=15k+50so k=10
- A was 40 cm and B was 30 cm. Check: 50:40=5:4
- Add the 10 to the amounts, never to the ratio numbers. With no ratio given before the change, use two letters, write an equation for each new ratio and solve them simultaneously.
Now try this
length of rope P : length of rope Q =5:2
12 cm is cut off each rope.
The ratio of their lengths is now 3:1
Work out the length of rope P before it was cut.
- Before: 5k and 2k. After: \dfrac{5k-12}{2k-12}=\dfrac31
- 5k-12=3(2k-12)
- 5k-12=6k-36so k=24
- Rope P was 5\times24=120 cm. Check: 108:36=3:1
Worked example 5: Squares in a ratio
Given that \dfrac{x^2+3y^2}{3x^2-y^2}=\dfrac{31}{3} where x>0 and y>0
find, in its simplest form, the ratio x:y
- Multiply both sides by 3(3x^2-y^2): 3x^2+9y^2=93x^2-31y^2
- 40y^2=90x^2
- \dfrac{x^2}{y^2}=\dfrac{40}{90}=\dfrac49
- x and y are positive, so \dfrac xy=\dfrac23 and x:y=2:3
- Take the square root before writing the ratio: 4:9 is x^2:y^2.
Now try this
Given that \dfrac{x^2+y^2}{2x^2-3y^2}=\dfrac{13}{6} where x>0 and y>0
find, in its simplest form, the ratio x:y
- 6x^2+6y^2=26x^2-39y^2, so 45y^2=20x^2
- \dfrac{x^2}{y^2}=\dfrac{45}{20}=\dfrac94so x:y=3:2
Worked example 6: A quadratic in x and y
4x^2=5xy+6y^2 where x>0 and y>0
Find the ratio x:y
- Make one side 0: 4x^2-5xy-6y^2=0
- Factorise: (4x+3y)(x-2y)=0
- x and y are positive, so 4x+3y cannot be 0. So x-2y=0
- x=2yso x:y=2:1
- Check with x=2, y=1: both sides are 16.
Now try this
10x^2+3xy=y^2 where x>0 and y>0
Find the ratio x:y
- 10x^2+3xy-y^2=0, so (5x-y)(2x+y)=0
- 2x+y cannot be 0, so 5x-y=0
- y=5xso x:y=1:5
Next: Ratio Problems - Higher, Probability Equations
More on this topic: Ratio and Algebra worksheet with full solutions