AL6 - Setting up equations in one unknown

AL6 - Setting up equations in one unknown

An equation turns a condition in a problem into something you can solve. You will choose one unknown, build linear, quadratic and cubic equations, and handle equations containing algebraic fractions. The final step is always to decide which mathematical solutions answer the original question.

Turning a condition into a linear equation

Cut equal squares from the corners of an 18 cm18\,\mathrm{cm} by 12 cm12\,\mathrm{cm} card, then fold up the sides to make an open box. Can two different cuts both give a volume of 160 cm3160\,\mathrm{cm^3}? We will return to that puzzle after practising how a sentence becomes an equation.

You already know

An unknown is a quantity to find. An equation states that two expressions are equal; solving it means finding the inputs for which that equality holds. Expand brackets and collect terms, keeping the equation balanced by applying the same operation to both sides.

Begin by defining the unknown with its units. Write an expression for each quantity in the condition, then connect them with an equals sign. In a linear equation the unknown appears only to the first power after simplification. Its solution may be positive, negative or zero mathematically, but the context may permit only some of those values.

For a tank starting with 1212 litres and gaining 44 litres each minute, the amount after tt minutes is 12+4t12+4t litres. The starting amount appears once; the rate is multiplied by the elapsed time. This constant-rate model is not on the formulae sheet: form it from the stated quantities.

Worked example 1: reaching a fixed amount

Question. A tank initially contains 1212 litres. Water enters at 44 litres per minute. Determine when the tank contains 5252 litres.

Plan. Let tt be the number of minutes and equate the amount in the tank to 5252.

12+4t=52starting amount plus inflow4t=40subtract 12t=10divide by 4\begin{aligned} 12+4t&=52 && \text{starting amount plus inflow}\\ 4t&=40 && \text{subtract }12\\ t&=10 && \text{divide by }4 \end{aligned}

Why multiply 44 by tt? Four litres arrive in every minute, so tt minutes supply 4t4t litres. The units are litres on both sides.

Answer. After 1010 minutes.

Check. 12+4(10)=5212+4(10)=52 litres; the time is positive as required.

Now change one feature: the target amount also changes with time. A second tank starts with 5252 litres and loses 11 litre per minute.

Worked example 2: two changing amounts

Question. Tank A starts with 1212 litres and gains 44 litres per minute. Tank B starts with 5252 litres and loses 11 litre per minute. Determine when the amounts are equal.

Plan. Use the same elapsed time tt for both tanks and equate their amounts.

12+4t=52−tequal amounts at the same time5t=40add t and subtract 12t=8divide by 5\begin{aligned} 12+4t&=52-t && \text{equal amounts at the same time}\\ 5t&=40 && \text{add }t\text{ and subtract }12\\ t&=8 && \text{divide by }5 \end{aligned}

Why use only one unknown? Once the elapsed time is chosen, both amounts are determined. Their different starting amounts do not require different time variables.

Answer. After 88 minutes.

Check. Tank A contains 12+32=4412+32=44 litres, and tank B contains 52−8=4452-8=44 litres. Neither tank is empty.

An equation with the unknown on both sides is still linear if both expressions contain only constants and first powers.

Watch out

Wrong: 12+4t=52+t12+4t=52+t for a tank losing water. The positive sign describes a gain. Right: use 52−t52-t. Decide what each term means before rearranging; correct algebra cannot rescue a model with the wrong sign.

Set up the same type of comparison with new rates.

Quadratic equations and admissible roots

Multiplying two lengths that both depend on the unknown often creates a quadratic equation.

For a rectangle of width xx and length x+5x+5, its area is x(x+5)x(x+5), not x2+5x^2+5. The rectangle's area rule follows from multiplying its side lengths; it is not separately printed on the formulae sheet: learn it. Because xx represents a length, only x>0x>0 is permitted here.

Once the equation is in the form ax2+bx+c=0ax^2+bx+c=0, choose a method that suits the coefficients:

Form of the equationUseful approach
Clear integer factorsFactorise, then set each factor equal to zero
A completed square is easy to form or already givenIsolate the square and take both square roots
No convenient factorisationUse the quadratic formula

The zero-product rule says that a product equals zero only if at least one factor is zero. It is not on the formulae sheet: learn it. Also remember that u2=du^2=d, for d>0d>0, gives both u=du=\sqrt d and u=−du=-\sqrt d. A negative dd gives no real solution.

Quadratic formula

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

For ax2+bx+c=0ax^2+bx+c=0, with a≠0a\ne0, there are real solutions when b2−4ac≥0b^2-4ac\ge0. Keep both signs before checking the context.
On the formulae sheet.

Do the algebra for all roots first; use the physical meaning to select the admissible ones afterwards.

Worked example 3: an area equation that factorises

Question. A rectangle has length 5 cm5\,\mathrm{cm} greater than its width and area 84 cm284\,\mathrm{cm^2}. Determine its dimensions.

Plan. Let the width be x cmx\,\mathrm{cm}, form the area equation, solve it and keep the positive width.

x(x+5)=84length times widthx2+5x−84=0expand and collect(x+12)(x−7)=0factorisex=−12 or 7zero-product rule\begin{aligned} x(x+5)&=84 && \text{length times width}\\ x^2+5x-84&=0 && \text{expand and collect}\\ (x+12)(x-7)&=0 && \text{factorise}\\ x&=-12\text{ or }7 && \text{zero-product rule} \end{aligned}

Why reject −12-12? It solves the algebraic equation but cannot represent a physical width. The permitted root is 77, so the length is 7+57+5.

Answer. Width 7 cm7\,\mathrm{cm}, length 12 cm12\,\mathrm{cm}.

Check. 7×12=847\times12=84 and 12−7=512-7=5, satisfying both conditions.

Now change only the area to 20 cm220\,\mathrm{cm^2}. There are no integer factors, so use a method that keeps the roots exact.

Worked example 4: exact dimensions from the formula

Question. A rectangle has length 5 cm5\,\mathrm{cm} greater than its width and area 20 cm220\,\mathrm{cm^2}. Determine its exact dimensions.

Plan. Form the same area equation with the new area, then use the quadratic formula.

x(x+5)=20model the areax2+5x−20=0standard quadratic formx=−5±25+802a=1, b=5, c=−20=−5±1052keep exact roots\begin{aligned} x(x+5)&=20 && \text{model the area}\\ x^2+5x-20&=0 && \text{standard quadratic form}\\ x&=\frac{-5\pm\sqrt{25+80}}2 && a=1,\ b=5,\ c=-20\\ &=\frac{-5\pm\sqrt{105}}2 && \text{keep exact roots} \end{aligned}

Why retain the root containing +105+\sqrt{105}? Since 105>25105>25, 105>5\sqrt{105}>5, making this width positive. The other root is negative.

Answer. Width 105−52 cm\frac{\sqrt{105}-5}{2}\,\mathrm{cm}, length 105+52 cm\frac{\sqrt{105}+5}{2}\,\mathrm{cm}.

Check. Their product is 105−254=20\frac{105-25}{4}=20, and their difference is 102=5\frac{10}{2}=5.

For a purely mathematical equation, a negative root may be perfectly valid. Reject a root only for a stated restriction or a clear contextual reason, such as a negative length or an undefined original fraction.

Watch out

Wrong: from (x+12)(x−7)=0(x+12)(x-7)=0, cancelling x+12x+12 and reporting only x=7x=7 as the algebraic solution. The cancelled factor could itself be zero. Right: find both roots first, then explain why the context excludes one.

Use either completing the square or the quadratic formula to find the next exact dimensions.

Equations containing algebraic fractions

Clearing denominators turns a fraction equation into a polynomial equation, provided you first exclude inputs that make an original denominator zero.

For 1x−2−1x=14\frac1{x-2}-\frac1x=\frac14, exclude x=2x=2 and x=0x=0. Multiplying by 4x(x−2)4x(x-2) is then reversible, because that multiplier is non-zero on the permitted inputs. It removes all denominators at once. Alternatively, combine the left-hand fractions first. Both routes must lead to the same polynomial equation.

A fraction equal to zero

N(x)D(x)=0⟺N(x)=0 and D(x)≠0\frac{N(x)}{D(x)}=0 \quad\Longleftrightarrow\quad N(x)=0\text{ and }D(x)\ne0

The denominator cannot be zero. A fraction is zero because its numerator is zero, not because its numerator and denominator are equal.
Not on the formulae sheet: learn it.

This is why you return to the original restrictions after solving. Clearing denominators can produce candidates that the original equation never allowed.

Worked example 5: clearing three denominators

Question. In this question you must show detailed reasoning. Solve 1x−2−1x=14\frac1{x-2}-\frac1x=\frac14.

Plan. Exclude 00 and 22, multiply every term by 4x(x−2)4x(x-2), then solve and check the resulting quadratic.

4x−4(x−2)=x(x−2)clear all denominators8=x2−2xexpand both sidesx2−2x−8=0collect on one side(x−4)(x+2)=0factorisex=4 or −2both are permitted\begin{aligned} 4x-4(x-2)&=x(x-2) && \text{clear all denominators}\\ 8&=x^2-2x && \text{expand both sides}\\ x^2-2x-8&=0 && \text{collect on one side}\\ (x-4)(x+2)&=0 && \text{factorise}\\ x&=4\text{ or }-2 && \text{both are permitted} \end{aligned}

Why does the second numerator become −4(x−2)-4(x-2)? The original −1x-\frac1x loses its denominator xx, leaving the multiplier's other factors, with its minus sign still attached.

Answer. x=4x=4 or x=−2x=-2.

Check. At 44, 12−14=14\frac12-\frac14=\frac14. At −2-2, −14−(−12)=14-\frac14-(-\frac12)=\frac14. Neither input is excluded.

Now change only the sign of the right-hand side. The same denominator work produces a quadratic with no real root, which is a possible outcome rather than an algebraic failure.

Worked example 6: a fraction equation with no real solution

Question. Solve 1x−2−1x=−14\frac1{x-2}-\frac1x=-\frac14 for real xx.

Plan. Clear the denominators as before, then complete the square to decide whether real roots exist.

4x−4(x−2)=−x(x−2)x≠0, 28=−x2+2xexpandx2−2x+8=0collect terms(x−1)2+7=0complete the square(x−1)2=−7isolate the square\begin{aligned} 4x-4(x-2)&=-x(x-2) && x\ne0,\ 2\\ 8&=-x^2+2x && \text{expand}\\ x^2-2x+8&=0 && \text{collect terms}\\ (x-1)^2+7&=0 && \text{complete the square}\\ (x-1)^2&=-7 && \text{isolate the square} \end{aligned}

Why does this end the calculation? A real square cannot be negative, so no real input can satisfy the transformed equation.

Answer. No real solution.

Check. The quadratic formula gives b2−4ac=4−32=−28<0b^2-4ac=4-32=-28<0, confirming that there are no real roots.

In a word problem, take one extra step before this algebra: express the fractions from the quantities. For example, travelling 12 km12\,\mathrm{km} at v km h−1v\,\mathrm{km\,h^{-1}} takes 12v\frac{12}{v} hours. “The slower trip takes one hour longer” translates into slower time minus faster time equal to 11. The GCSE relationship time equals distance divided by speed is not on the formulae sheet: learn it.

Watch out

Wrong: x−3x+1=0\frac{x-3}{x+1}=0, therefore x−3=x+1x-3=x+1. Equality of top and bottom would make the fraction 11. Right: set x−3=0x-3=0, giving x=3x=3, and check that x+1≠0x+1\ne0. OCR reports this numerator-equals-denominator error in fraction equations.

Write the complete denominator-clearing line before expanding in the next detailed reasoning question.

Cubic equations from volumes

Multiplying three lengths that depend on one unknown can create a cubic equation, and the context decides which of its roots describe real objects.

The general rule, volume of a prism equals cross-sectional area times length, is on the formulae sheet. For a cuboid, applying it to a rectangular cross-section gives V=lwhV=lwh: multiply the three perpendicular dimensions. This cuboid form is an application of the given rule, rather than a separately printed formula. Write each dimension as an expression in the same unknown, and state the range that makes every length positive.

To solve the resulting cubic, use the factor theorem and division to obtain a linear factor times a quadratic. Solve both factors when possible. No general cubic-solving formula is needed or supplied on the formulae sheet.

Worked example 7: three increasing dimensions

Question. A cuboid has dimensions x cmx\,\mathrm{cm}, (x+1) cm(x+1)\,\mathrm{cm} and (x+2) cm(x+2)\,\mathrm{cm}. Its volume is 120 cm3120\,\mathrm{cm^3}. Determine its dimensions.

Plan. Form the volume equation with x>0x>0, find an integer root, and factorise to check for any further real roots.

x(x+1)(x+2)=120multiply the dimensionsx3+3x2+2x−120=0expand and collectf(4)=64+48+8−120=0factor theoremx3+3x2+2x−120≡(x−4)(x2+7x+30)divide by x−4\begin{aligned} x(x+1)(x+2)&=120 && \text{multiply the dimensions}\\ x^3+3x^2+2x-120&=0 && \text{expand and collect}\\ \mathrm{f}(4)&=64+48+8-120=0 && \text{factor theorem}\\ x^3+3x^2+2x-120&\equiv(x-4)(x^2+7x+30) && \text{divide by }x-4 \end{aligned}

The quadratic factor is (x+72)2+714(x+\frac72)^2+\frac{71}{4}, which is positive for every real xx. It gives no additional real solution.

Why examine the quotient? Finding one root does not prove it is the only root. Here the positive completed square rules out every other real candidate.

Answer. x=4x=4, giving dimensions 4 cm4\,\mathrm{cm}, 5 cm5\,\mathrm{cm} and 6 cm6\,\mathrm{cm}.

Check. 4×5×6=120 cm34\times5\times6=120\,\mathrm{cm^3}, and the dimensions have the stated differences.

Now change the way the dimensions depend on xx: cutting and folding makes two dimensions decrease as the height increases. This is why the opening puzzle can have more than one physically valid answer.

[DIAGRAM: asset_name: Cutting a card to form a box; asset_slug: cut-card-box-model; caption: Cutting squares of side x leaves base dimensions 18 minus 2x and 12 minus 2x; description: A flat 18 cm by 12 cm rectangle has a square of side x marked in clay at every corner and a pale blue central base rectangle. Dashed fold lines separate the base from the four side panels. The central base is labelled 18 minus 2x horizontally and 12 minus 2x vertically. External dimension arrows label 18 cm and 12 cm. One corner carries two separate x dimension labels. Text states that folding makes the height x and requires 0 less than x less than 6.]
Cutting squares of side x leaves base dimensions 18 minus 2x and 12 minus 2x

Worked example 8: two boxes with the same volume

Question. Squares of side x cmx\,\mathrm{cm} are cut from each corner of an 18 cm18\,\mathrm{cm} by 12 cm12\,\mathrm{cm} card. The sides are folded up to make an open box of volume 160 cm3160\,\mathrm{cm^3}. Determine all possible values of xx.

Plan. Use height xx, base dimensions 18−2x18-2x and 12−2x12-2x, and restrict xx so all lengths are positive.

0<x<6positive height and base sidesx(18−2x)(12−2x)=160volume condition4x3−60x2+216x−160=0expand and collectx3−15x2+54x−40=0divide by 4g(1)=1−15+54−40=0find a linear factorg(x)≡(x−1)(x2−14x+40)divide out x−1≡(x−1)(x−4)(x−10)factorise the quadratic\begin{aligned} 0&<x<6 && \text{positive height and base sides}\\ x(18-2x)(12-2x)&=160 && \text{volume condition}\\ 4x^3-60x^2+216x-160&=0 && \text{expand and collect}\\ x^3-15x^2+54x-40&=0 && \text{divide by }4\\ \mathrm{g}(1)&=1-15+54-40=0 && \text{find a linear factor}\\ \mathrm{g}(x)&\equiv(x-1)(x^2-14x+40) && \text{divide out }x-1\\ &\equiv(x-1)(x-4)(x-10) && \text{factorise the quadratic} \end{aligned}

Why subtract 2x2x from each card dimension? A square is cut from both ends of that dimension. Subtracting only xx would leave a base too large.

Answer. The algebraic roots are 11, 44 and 1010. Only x=1 cmx=1\,\mathrm{cm} and x=4 cmx=4\,\mathrm{cm} lie between 00 and 66, so these are the two possible cuts.

Check. A 1 cm1\,\mathrm{cm} cut gives volume 1×16×10=1601\times16\times10=160. A 4 cm4\,\mathrm{cm} cut gives 4×10×4=1604\times10\times4=160. A 10 cm10\,\mathrm{cm} cut would give negative base dimensions and cannot form this box.

The opening puzzle is answered: the taller box can have the same volume because its base is smaller. An algebraic model keeps both effects in the same equation and finds both possibilities.

Watch out

Wrong: x(18−x)(12−x)=160x(18-x)(12-x)=160 for the cut-card box. Each base dimension loses a square at both ends. Right: x(18−2x)(12−2x)=160x(18-2x)(12-2x)=160, with 0<x<60<x<6. A root outside that range cannot describe the box, even if it satisfies the cubic.

The model and its restrictions work together: one translates the volume, and the other describes which algebraic inputs the construction permits.

Problem-solving

State the unknown and its restrictions before expanding. After solving, return to the original lengths, times or denominators; a root answers the equation, but it answers the problem only if those quantities are valid.

Use the same cut-card model with a smaller card. Find every permitted cut, rather than stopping at the first successful root.

Quick Recap

  • Define one unknown, including its units, and translate the condition into an equation before rearranging.
  • Solve quadratics by factorising, completing the square or using the quadratic formula; keep exact roots when asked.
  • Exclude zero denominators before clearing fractions, then check every candidate in the original equation.
  • A volume model can produce a cubic. Find a factor, divide, solve the remaining quadratic and apply the contextual restrictions.

The opening box has two valid cut sizes: 1 cm1\,\mathrm{cm} and 4 cm4\,\mathrm{cm}, both giving exactly 160 cm3160\,\mathrm{cm^3}.