Lesson 11 of 42 · Algebra
Expressing one quantity as a function of others
Turn a description into a formula in one variable, eliminate the extra unknowns with the constraints, state the domain, and rearrange formulas.
About 20 minutes
In this lesson
- Translate a verbal or geometric situation into a formula for the requested quantity in terms of a chosen variable.
- Use a constraint to eliminate a second variable, and state the domain the context allows.
- Rearrange a formula to make another variable the subject, noting the values where it fails.
The idea
What the question is asking
A question of this type describes a situation and asks for one quantity as a function of another: "express the area as a function of the width", "write the profit in terms of the number of items sold". The answer is a formula with exactly one variable in it, the one named, plus fixed numbers. If your formula still contains a second letter, you are not finished.
A four-step method
- Name the variables. Write down what each letter means, with units: " = width in metres".
- Write the target quantity in whatever variables are natural: area , profit revenue cost.
- Use the constraint the problem gives (a fixed perimeter, a fixed total, a geometric relation) to write the extra variable in terms of the chosen one, and substitute.
- State the domain. Lengths are positive, counts are whole numbers, a square root needs a non-negative argument, and a denominator cannot be zero. The domain is part of the answer, and it often decides which option is right.
Common patterns
| Situation | Typical formula |
|---|---|
| Fixed charge plus a rate | (a straight line) |
| Price falls as quantity rises | revenue , often a quadratic |
| Profit | |
| Rectangle with fixed perimeter | width , length , area |
| Rectangle with fixed area | width , length , perimeter |
| Right triangle with hypotenuse | legs and |
| Time for a distance at a speed |
Two quantities are directly proportional when one is a fixed multiple of the other (), and inversely proportional when their product is fixed (). Doubling a rectangle's width at fixed area halves its length: inverse proportion.
Units
Check that every term has the same unit before adding. A taxi fare with a per-kilometre rate cannot have the distance in metres, and a speed in kilometres per hour needs a time in hours: 20 minutes is hour, not .
Rearranging a formula
Making another variable the subject is the same skill run backwards. Treat the other letters as fixed numbers and undo the operations in reverse order. When the variable you want appears in more than one place, collect all its terms on one side and factor it out:
The new formula has its own restriction (), because you divided by . Check the rearrangement with one number: gives , and .
Why the check matters
Pick one simple value of the variable, compute the quantity directly from the story, and compare it with your formula. A wrong formula often differs from the right one by a factor of 2, a sign, or a missing term, and one substitution tells them apart.
Worked examples
Example 1: Area at a fixed perimeter
A rectangle has perimeter 40 cm. Express its area as a function of its width , and give the domain. Which width gives the largest area?
The perimeter is , where is the length, so .
Area: .
Domain: both sides must be positive, and , so .
The parabola opens downwards with roots and ; its top is midway, at , where (a square).
Check with : the length is 15, the perimeter , and .
Answer
for , largest at cm with cm². Writing the length as uses the whole perimeter for one width and one length, instead of half of it.
Example 2: A geometric constraint
A right triangle has hypotenuse 10. Express its area as a function of one leg .
Call the other leg . By Pythagoras, , so (positive, as a length).
The legs are perpendicular, so the area is half their product: .
Domain: and , so .
Check with : and .
Answer
for . Writing is the trap: the legs do not add up to the hypotenuse.
Example 3: A linear cost and its inverse
A taxi charges €3.50 plus €1.20 per kilometre. Write the fare as a function of the distance in km, then express as a function of , and find the distance for a fare of €15.50.
Fixed charge plus rate: , for .
Rearrange: , so , for .
For : km. Check: .
Answer
and ; a fare of €15.50 covers 10 km. Dividing the whole fare by the rate ( km) forgets the fixed charge.
Common traps
Leaving a second variable in the answer
"Area as a function of " means no may remain. If a letter other than the named one is left, use the constraint to eliminate it.
Ignoring the domain
A width cannot be negative and a leg cannot exceed the hypotenuse. A formula may be defined for more values than the situation allows; state the domain the situation gives.
Using the whole perimeter for one side
With perimeter , width plus length is , not . The same slip with a fixed area is forgetting to double the length when writing the perimeter.
Mixing units
Convert before you build the formula: minutes to hours, metres to kilometres, cents to euros. A formula with mixed units is wrong even when its shape is right.
Check yourself
Answer each question before you open its answer.
Question 1: Perimeter at a fixed area
Algebra: expressing quantities
A rectangle has area 36. Which expression gives its perimeter as a function of its width (with )?
- A.
- B.
- C.
- D.
Show the answer
Answer: C.
Working
The length is , since width times length is 36. The perimeter is . Check with : the length is 9 and the perimeter is , while .
Why the other options are wrong
- A. This is width plus length, half the perimeter. The perimeter counts each side twice.
- B. This doubles the width but not the length .
- D. This takes the length as 36, the area, instead of .
What carries over
Use the constraint to write the second side in terms of the first, then build the target quantity.
Question 2: Profit as a function of quantity
Algebra: expressing quantities
A firm sells units at a price of euros each. Its total cost of producing units is euros. Which expression gives the profit as a function of ?
- A.
- B.
- C.
- D.
Show the answer
Answer: A.
Working
Revenue is units times price: . Profit is revenue minus cost: . Check with : the price is 40, revenue 200, cost 80, profit 120; the formula gives .
Why the other options are wrong
- B. The fixed cost 30 has been added instead of subtracted: subtracting subtracts both terms.
- C. This adds the variable cost to the revenue instead of subtracting it.
- D. This subtracts the cost from the price of one unit, , without multiplying the price by the number of units sold.
What carries over
Revenue is quantity times price; profit is revenue minus the whole cost.
Question 3: Making x the subject
Algebra: expressing quantities
If (with ), which expression gives in terms of ?
- A.
- B.
- C.
- D.
Show the answer
Answer: D.
Working
Multiply by : . Collect the terms: . Factor: , so for . Check: gives , and .
Why the other options are wrong
- A. This turns the fraction upside down. Undoing a formula is not taking its reciprocal: with it gives , not .
- B. The 2 changed sign when it moved across: from the right side after collecting terms is .
- C. This collects the terms as on one side without changing the sign of the other side. With it gives , not .
What carries over
When the variable appears twice, collect its terms on one side and factor it out; then check with one number.
Key points
A function of x has only x as a variable: use the constraint to eliminate every other unknown.
State the domain the situation allows: positive lengths, non-negative square-root arguments, non-zero denominators.
Revenue is quantity times price; profit is revenue minus all of the cost.
To rearrange, collect the wanted variable on one side, factor it out, divide, and check with one value.
All questions here are original and written for UniExamer; none comes from the test maker.
Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.