Algebra, functions, inverse operations
Rearranging Functions: Complete Guide to Changing the Subject
Rearranging functions means rewriting an equation so the variable you need is isolated. It is the algebra behind changing the subject, finding inverse functions, solving formula questions, transforming models, and checking whether a result is valid for the original domain.
Rearranging Functions Practice Tool
Choose a function type to see the standard rearrangement pattern. The tool is intentionally simple: it shows the algebraic structure students usually need before they start substituting numbers or exam-specific constants.
What Does Rearranging Functions Mean?
Rearranging a function means changing the subject of an equation. In a function such as \(y = 2x + 5\), the subject is \(y\) because \(y\) is isolated on one side. If the question asks you to make \(x\) the subject, you rewrite the same relationship as \(x = \frac{y - 5}{2}\). Nothing about the relationship has changed: every pair \((x,y)\) that satisfies the original equation also satisfies the rearranged equation, provided the algebraic steps used are valid.
Students often treat rearranging as a list of tricks, but it is better understood as a disciplined way of preserving equality. You take an equation, decide which variable you want alone, and then remove the operations that surround that variable. If the variable was multiplied, divide. If it had a number added, subtract. If it was squared, take a square root, but remember that square roots can introduce branches. If it was inside a logarithm, use an exponential. If it was in an exponent, use a logarithm. The action is always based on the operation that is currently blocking the variable.
Rearranging functions appears in several topics that seem separate at first: solving equations, inverse functions, formula manipulation, graph transformations, modelling, calculus, and applied mathematics. A student who can rearrange confidently has a much easier time with types of functions, properties of functions, and later work on inverse functions. The skill is also useful when a calculator gives a graph or table but the exam question asks for an exact algebraic expression.
The Principles That Keep Rearranging Valid
Good rearranging is not about moving terms across the equals sign as if they magically change sign. That shorthand can work for simple equations, but it becomes risky with fractions, powers, roots, and functions. The safer language is: perform the same legal operation to both sides. If the operation is reversible on the relevant domain, the equation remains equivalent. If the operation is not reversible everywhere, you must state or check restrictions.
The equality sign is a balance. If you add \(7\) to the left side, you add \(7\) to the right side. If you divide the left side by \(3\), you divide the right side by \(3\). If you apply a logarithm to one side, you apply the same logarithm to the other side, and the quantities inside the logarithm must be positive. This is why rearranging is both mechanical and thoughtful: the mechanics isolate the variable, while the thinking checks whether the steps make sense.
The most reliable process is:
- Identify the target variable or expression. In many questions the instruction is "make \(x\) the subject" or "write \(t\) in terms of \(v\)".
- Mark the operations affecting that target. Notice whether the variable is inside brackets, in a denominator, under a root, in an exponent, or inside a logarithm.
- Undo outside operations first. Remove addition or subtraction outside brackets, then division or multiplication, then powers, roots, logarithms, and exponentials as needed.
- Keep both sides grouped. If you divide by \(m\), the whole expression on the other side may need to be divided, not just the nearest term.
- State restrictions. Check denominators, square roots, even powers, logarithms, and any domain restrictions given in the question.
- Verify by substitution. Substitute a simple value or substitute the rearranged form back into the original equation.
This method works in basic algebra and in advanced courses because it is based on structure rather than memorized patterns. When the expressions become longer, the same process still applies. The difference is that you need cleaner notation and more patience.
Undoing Operations in Reverse Order
Function notation often hides the order of operations. For example, in \(y = 3(2x - 5) + 7\), the value of \(x\) is first multiplied by \(2\), then \(5\) is subtracted, then the result is multiplied by \(3\), then \(7\) is added. To make \(x\) the subject, undo those operations in reverse:
\[ y = 3(2x - 5) + 7 \] \[ y - 7 = 3(2x - 5) \] \[ \frac{y - 7}{3} = 2x - 5 \] \[ \frac{y - 7}{3} + 5 = 2x \] \[ x = \frac{\frac{y - 7}{3} + 5}{2} \]
You could simplify the final expression to \(x = \frac{y + 8}{6}\), but simplification is a separate step. In an exam, a correct unsimplified rearrangement may still earn method marks, while a badly simplified expression can lose accuracy. The priority is to isolate the variable correctly. Simplify only after the structure is correct.
A useful habit is to read the equation as a sequence of instructions. In the example above, the instructions from \(x\) to \(y\) are: multiply by \(2\), subtract \(5\), multiply by \(3\), add \(7\). The inverse instructions from \(y\) back to \(x\) are: subtract \(7\), divide by \(3\), add \(5\), divide by \(2\). This idea is the same one used when finding inverse functions, where the output is traced back to the input.
| Operation around the variable | Undo operation | Example | Check |
|---|---|---|---|
| Add \(a\) | Subtract \(a\) | \(y = x + a\) gives \(x = y - a\) | No special restriction |
| Subtract \(a\) | Add \(a\) | \(y = x - a\) gives \(x = y + a\) | No special restriction |
| Multiply by \(a\) | Divide by \(a\) | \(y = ax\) gives \(x = \frac{y}{a}\) | \(a \ne 0\) |
| Divide by \(a\) | Multiply by \(a\) | \(y = \frac{x}{a}\) gives \(x = ay\) | \(a \ne 0\) |
| Square | Take square root | \(y = x^2\) gives \(x = \pm \sqrt{y}\) | \(y \ge 0\), plus branch restrictions if a function is required |
| Square root | Square | \(y = \sqrt{x}\) gives \(x = y^2\) | \(x \ge 0\) and \(y \ge 0\) |
| Exponent \(b^x\) | Use logarithm base \(b\) | \(y = b^x\) gives \(x = \log_b(y)\) | \(b \gt 0\), \(b \ne 1\), \(y \gt 0\) |
| Logarithm \(\log_b(x)\) | Use exponent base \(b\) | \(y = \log_b(x)\) gives \(x = b^y\) | \(b \gt 0\), \(b \ne 1\), \(x \gt 0\) |
Rearranging Common Function Families
The same equality principles apply to every function, but each family has typical patterns. Learning those patterns makes rearranging faster and helps you notice restrictions before they become errors.
Linear Functions
A linear function has the form \(y = mx + c\). To make \(x\) the subject, first remove the constant \(c\), then remove the multiplier \(m\):
\[ y = mx + c \] \[ y - c = mx \] \[ x = \frac{y - c}{m} \]
The restriction is \(m \ne 0\). If \(m = 0\), the equation becomes \(y = c\), which is a horizontal line and does not determine \(x\). This small restriction matters because many students write a formula that divides by \(m\) without checking whether \(m\) can be zero.
Linear rearranging is the foundation for linear equations and linear functions. When a question looks more complicated, it often reduces to the same pattern after brackets are expanded or fractions are cleared.
Fractional Linear Functions
Some functions are linear inside a fraction, such as \(y = \frac{ax + b}{c}\). The target variable is in the numerator, so the first step is to clear the denominator:
\[ y = \frac{ax + b}{c} \] \[ cy = ax + b \] \[ cy - b = ax \] \[ x = \frac{cy - b}{a} \]
The restrictions are \(c \ne 0\) and \(a \ne 0\). Clearing fractions is often easier than trying to rearrange a rational expression term by term. It also reduces the risk of dividing only one part of a numerator by mistake.
Quadratic Functions
A simple quadratic rearrangement might begin with \(y = ax^2 + c\). Isolating \(x\) gives:
\[ y = ax^2 + c \] \[ y - c = ax^2 \] \[ \frac{y - c}{a} = x^2 \] \[ x = \pm \sqrt{\frac{y - c}{a}} \]
The symbol \(\pm\) is not decoration. It tells you that a squared value can come from a positive or negative input. For example, \(x^2 = 9\) gives \(x = 3\) or \(x = -3\). If the original question asks for an inverse function, a quadratic must usually be restricted to a branch such as \(x \ge h\) or \(x \le h\). Without a restriction, a full quadratic is not one-to-one and does not have an inverse function over all real numbers.
A shifted quadratic in vertex form is also common:
\[ y = a(x - h)^2 + k \] \[ y - k = a(x - h)^2 \] \[ \frac{y - k}{a} = (x - h)^2 \] \[ x = h \pm \sqrt{\frac{y - k}{a}} \]
This connects directly to quadratic functions, quadratic equations, and graph transformations. The algebraic rearrangement and the graph tell the same story: the vertex controls the minimum or maximum, and the two branches explain why a square root sign alone may not capture every solution.
Rational Functions
A rational function contains a variable in a denominator or a ratio of polynomial expressions. Consider:
\[ y = \frac{a}{x + b} \]
Clear the denominator first:
\[ y(x + b) = a \] \[ x + b = \frac{a}{y} \] \[ x = \frac{a}{y} - b \]
The restrictions are \(x \ne -b\), \(y \ne 0\), and any restrictions on constants such as \(a \ne 0\) if the expression is intended to behave as a genuine reciprocal model. Rational functions require special care because multiplying by a variable expression can hide a denominator restriction. You can clear the denominator to rearrange, but you cannot forget that the original denominator was never allowed to be zero.
For more advanced work, the same principle extends to expressions such as \(y = \frac{ax + b}{cx + d}\). Multiplying by \(cx + d\), collecting the \(x\)-terms on one side, and factorizing \(x\) is the usual path. This is a core skill for rational functions and for solving equations that contain algebraic fractions.
Radical Functions
A radical function contains a root, usually a square root in school algebra. For example:
\[ y = \sqrt{x + a} \]
Square both sides to remove the square root:
\[ y^2 = x + a \] \[ x = y^2 - a \]
The important restrictions are \(x + a \ge 0\) and \(y \ge 0\). The output of a principal square root is nonnegative. If you ignore \(y \ge 0\), the rearranged expression may appear to allow values that the original function could never produce. This is why checking a radical rearrangement by substitution is essential.
Radical equations can also create extraneous solutions. Suppose you square both sides of an equation to remove a root. Squaring is not one-to-one because both \(3\) and \(-3\) square to \(9\). A value that works after squaring may fail in the original equation. Rearranging a radical function is safe when restrictions are carried through, but solving radical equations needs a final substitution check.
Exponential Functions
Exponential functions place the variable in the exponent. A standard form is:
\[ y = ab^x \]
Divide by \(a\), then use a logarithm base \(b\):
\[ \frac{y}{a} = b^x \] \[ x = \log_b\left(\frac{y}{a}\right) \]
The restrictions are \(a \ne 0\), \(b \gt 0\), \(b \ne 1\), and \(\frac{y}{a} \gt 0\). If you use natural logarithms instead of base \(b\), the same result is:
\[ x = \frac{\ln\left(\frac{y}{a}\right)}{\ln(b)} \]
This is especially useful on calculators that have \(\ln\) and \(\log\) keys but not a direct \(\log_b\) key. Students working on exponential functions and exponential and logarithmic equations should be comfortable moving between these equivalent forms.
Logarithmic Functions
A logarithmic function is the inverse form of an exponential relationship. If:
\[ y = \log_a(x) \]
then the equivalent exponential form is:
\[ x = a^y \]
The restrictions are \(a \gt 0\), \(a \ne 1\), and \(x \gt 0\). If the logarithm contains a more complicated expression, such as \(y = \log_a(2x - 3)\), first convert to exponential form:
\[ a^y = 2x - 3 \] \[ x = \frac{a^y + 3}{2} \]
The domain restriction from the original function is \(2x - 3 \gt 0\), so \(x \gt \frac{3}{2}\). It is not enough to give only the rearranged formula; a complete answer identifies the values where the original logarithm is defined. For more practice, students can connect this section with logarithmic functions and the broader exponent-log functions topic.
Composite Functions
A composite function applies one function after another. Rearranging a composite expression means undoing the outer function first, then the inner function. If:
\[ y = f(g(x)) \]
then you cannot usually attack \(g(x)\) directly until \(f\) has been undone. For example:
\[ y = (2x - 1)^3 + 4 \] \[ y - 4 = (2x - 1)^3 \] \[ \sqrt[3]{y - 4} = 2x - 1 \] \[ x = \frac{\sqrt[3]{y - 4} + 1}{2} \]
The order matters. If you tried to divide by \(2\) before undoing the cube, you would be dividing the wrong expression. Composite rearranging is a strong preparation for composite functions in calculus, where the direction of operations affects derivatives as well as algebra.
Rearranging and Inverse Functions
Rearranging is the main algebraic step in finding an inverse function. If \(f(x)\) sends an input \(x\) to an output \(y\), the inverse function sends that output back to the original input. The usual process is:
- Write \(y = f(x)\).
- Swap \(x\) and \(y\).
- Rearrange the new equation to make \(y\) the subject.
- Write the result as \(f^{-1}(x)\), if the inverse is a function.
- State the domain and range restrictions when needed.
For example, let \(f(x) = 3x - 8\). First write:
\[ y = 3x - 8 \]
Swap \(x\) and \(y\):
\[ x = 3y - 8 \]
Rearrange for \(y\):
\[ x + 8 = 3y \] \[ y = \frac{x + 8}{3} \]
Therefore:
\[ f^{-1}(x) = \frac{x + 8}{3} \]
A useful check is composition:
\[ f(f^{-1}(x)) = 3\left(\frac{x + 8}{3}\right) - 8 = x \]
and:
\[ f^{-1}(f(x)) = \frac{(3x - 8) + 8}{3} = x \]
This check proves that the two functions reverse each other on the relevant domain. For a linear function with nonzero gradient, the inverse exists over all real numbers. For a quadratic, square root, reciprocal, exponential, or logarithmic function, you usually need to pay closer attention to the domain and range.
Domain, Range, and Restrictions
A rearranged formula can look correct but still be incomplete if it ignores restrictions. Restrictions are not optional notes added at the end; they decide whether the new formula truly represents the same relationship as the old one. The main sources of restrictions are denominators, square roots, even powers, logarithms, exponentials, and stated domains.
A denominator cannot be zero. In \(y = \frac{1}{x - 4}\), the original function is undefined when \(x = 4\). If rearranging gives \(x = 4 + \frac{1}{y}\), the new expression also requires \(y \ne 0\). The missing value \(y = 0\) is not a random technicality; it corresponds to a horizontal asymptote that the original reciprocal function never reaches.
A square root requires a nonnegative radicand when working in the real number system. In \(y = \sqrt{x - 2}\), the domain is \(x \ge 2\) and the range is \(y \ge 0\). The rearranged expression \(x = y^2 + 2\) must be read with \(y \ge 0\). Without that restriction, it incorrectly suggests that \(y = -3\) is allowed, even though \(\sqrt{x - 2}\) cannot equal \(-3\).
Even powers can lose sign information. The equation \(y = x^2\) does not have a one-to-one inverse over all real numbers because both \(x = 2\) and \(x = -2\) produce \(y = 4\). To get an inverse function, the domain must be restricted, for example \(x \ge 0\) or \(x \le 0\). This is why many textbooks define inverse functions only after discussing one-to-one functions or the horizontal line test.
Logarithms require positive inputs. If \(y = \log_2(x - 5)\), then \(x - 5 \gt 0\), so \(x \gt 5\). Rearranging gives \(x = 2^y + 5\), and this expression automatically produces values greater than \(5\), but the restriction should still be understood because it explains why the original expression was defined.
Exponential outputs are positive when the leading coefficient is positive. If \(y = 3(2^x)\), then \(y \gt 0\). The rearranged expression \(x = \log_2\left(\frac{y}{3}\right)\) only makes sense when \(\frac{y}{3} \gt 0\), again giving \(y \gt 0\). The range of the original function becomes the domain of the inverse relationship.
Worked Examples
The examples below are written slowly on purpose. The goal is not only to reach the final answer, but also to show how decisions are made at each step. In your own work, keep one algebraic action per line until the method is automatic.
Example 1: Make \(x\) the subject of a linear function
Rearrange \(y = 5x - 12\).
Add \(12\) to both sides:
\[ y + 12 = 5x \]
Divide by \(5\):
\[ x = \frac{y + 12}{5} \]
There are no special restrictions except that the divisor \(5\) is nonzero, which is already true.
Example 2: Rearrange a formula with brackets
Make \(x\) the subject of \(y = 4(3x + 2) - 9\).
Undo the outside subtraction first:
\[ y + 9 = 4(3x + 2) \]
Divide by \(4\):
\[ \frac{y + 9}{4} = 3x + 2 \]
Subtract \(2\):
\[ \frac{y + 9}{4} - 2 = 3x \]
Divide by \(3\):
\[ x = \frac{\frac{y + 9}{4} - 2}{3} \]
If you simplify:
\[ x = \frac{y + 1}{12} \]
The unsimplified version is often easier to check because it shows the reverse order of operations directly.
Example 3: Rearrange a quadratic with a branch condition
Make \(x\) the subject of \(y = 2(x - 3)^2 + 5\).
Subtract \(5\):
\[ y - 5 = 2(x - 3)^2 \]
Divide by \(2\):
\[ \frac{y - 5}{2} = (x - 3)^2 \]
Take square roots:
\[ x - 3 = \pm \sqrt{\frac{y - 5}{2}} \]
Add \(3\):
\[ x = 3 \pm \sqrt{\frac{y - 5}{2}} \]
If the original function is restricted to \(x \ge 3\), choose the positive branch:
\[ x = 3 + \sqrt{\frac{y - 5}{2}} \]
If it is restricted to \(x \le 3\), choose the negative branch:
\[ x = 3 - \sqrt{\frac{y - 5}{2}} \]
The range of the original function is \(y \ge 5\), so the expression under the square root is nonnegative.
Example 4: Rearrange a rational function
Make \(x\) the subject of \(y = \frac{3x - 1}{2x + 5}\).
Clear the denominator:
\[ y(2x + 5) = 3x - 1 \]
Expand:
\[ 2xy + 5y = 3x - 1 \]
Collect the \(x\)-terms on one side:
\[ 2xy - 3x = -1 - 5y \]
Factor out \(x\):
\[ x(2y - 3) = -1 - 5y \]
Divide:
\[ x = \frac{-1 - 5y}{2y - 3} \]
An equivalent form is:
\[ x = \frac{1 + 5y}{3 - 2y} \]
The original denominator requires \(2x + 5 \ne 0\), so \(x \ne -\frac{5}{2}\). The rearranged expression also requires \(2y - 3 \ne 0\), so \(y \ne \frac{3}{2}\). That value is the horizontal asymptote of the original rational function.
Example 5: Rearrange an exponential function
Make \(t\) the subject of \(P = 500(1.04)^t\).
Divide by \(500\):
\[ \frac{P}{500} = 1.04^t \]
Use logarithms:
\[ t = \log_{1.04}\left(\frac{P}{500}\right) \]
Or use natural logarithms:
\[ t = \frac{\ln\left(\frac{P}{500}\right)}{\ln(1.04)} \]
The model requires \(P \gt 0\). In a finance or population-growth question, this restriction usually makes practical sense because the quantity being modelled cannot be negative.
Example 6: Rearrange a logarithmic function
Make \(x\) the subject of \(y = 2\log_3(x - 4) + 7\).
Subtract \(7\):
\[ y - 7 = 2\log_3(x - 4) \]
Divide by \(2\):
\[ \frac{y - 7}{2} = \log_3(x - 4) \]
Convert to exponential form:
\[ 3^{\frac{y - 7}{2}} = x - 4 \]
Add \(4\):
\[ x = 3^{\frac{y - 7}{2}} + 4 \]
The original function requires \(x - 4 \gt 0\), so \(x \gt 4\). The rearranged expression automatically gives \(x \gt 4\) because \(3^{\frac{y - 7}{2}}\) is positive.
How to Check a Rearranged Function
Checking is where many algebra mistakes are caught. There are three practical checks: substitute a number, substitute symbolically, and inspect restrictions.
For a numerical check, choose a simple value of the original input, calculate the output, and then use the rearranged expression to recover the input. Suppose \(y = 2x + 5\) and the rearranged form is \(x = \frac{y - 5}{2}\). If \(x = 4\), then \(y = 13\). Substitute \(y = 13\) into the rearranged expression:
\[ x = \frac{13 - 5}{2} = 4 \]
The value returns to the original input, so the rearrangement passes this quick check.
For a symbolic check, substitute the rearranged expression back into the original equation. If the identity simplifies correctly, the algebra is sound. Symbolic checks are stronger than numerical checks because a single number might accidentally work even if the formula is not generally correct. However, a quick numerical check is still useful during exams because it catches sign errors, missing brackets, and mistaken denominators quickly.
For a restriction check, compare the domain and range of the original equation with the allowed values in the rearranged expression. This matters most for rational, radical, logarithmic, and quadratic functions. A formula can be algebraically correct but incomplete if the allowed values are not stated.
Rearranging in Formula Questions
Many formula questions are not written with \(x\) and \(y\). You might be asked to make \(r\), \(t\), \(v\), \(h\), \(C\), or \(P\) the subject. The letters change, but the algebra does not. A formula is just an equation that describes a relationship between quantities.
For example, the formula for the area of a circle is:
\[ A = \pi r^2 \]
To make \(r\) the subject:
\[ \frac{A}{\pi} = r^2 \] \[ r = \sqrt{\frac{A}{\pi}} \]
We use the positive square root because radius is a distance and cannot be negative. This is a good example of mathematics and context working together. Algebra might suggest a plus-or-minus value, but the real-world quantity restricts the answer.
Another example is the constant-speed formula:
\[ d = vt \]
If you need \(t\), divide by \(v\):
\[ t = \frac{d}{v} \]
This requires \(v \ne 0\). In a physics context, if the speed is zero, the formula cannot be rearranged to find a travel time from a nonzero distance. The algebraic restriction has practical meaning.
Formula rearranging is closely connected to formula sheets and topic-specific formula pages such as functions formulae for IB Mathematics AA and functions formulae for IB Mathematics AI. When revising from a formula sheet, do not only memorize the given version. Practise changing the subject so you can use the formula flexibly.
Common Mistakes When Rearranging Functions
Mistakes in rearranging are usually structural. A sign error is sometimes the visible problem, but the deeper issue is often that a student did not treat a whole expression as a grouped object. The following mistakes are especially common.
The best fix is a clean line-by-line layout. Do one operation per line, keep fractions tall enough to show their numerator and denominator, and check the final expression. If you are working digitally, MathJax notation such as \(\frac{y - c}{m}\), \(\sqrt{x + a}\), and \(\log_b(y)\) keeps the structure visible.
Choosing the Right Strategy
Not every rearrangement should be attacked in the same way. The right first step depends on where the target variable appears.
| Where the variable appears | Good first move | Reason |
|---|---|---|
| Inside brackets | Undo operations outside the brackets first | The bracketed expression behaves like one object until the outside operations are removed. |
| In a denominator | Multiply by the denominator, then collect variable terms | Clearing the fraction makes the equation easier to manage. |
| In two separate terms | Collect the variable terms on one side and factor | You cannot isolate the variable until it appears as one factor. |
| Under a square root | Isolate the root, then square both sides | Squaring before the root is isolated usually creates extra complicated terms. |
| In an exponent | Isolate the exponential term, then take logarithms | Logarithms undo exponentials. |
| Inside a logarithm | Isolate the logarithm, then rewrite in exponential form | Exponentials undo logarithms. |
Harder Rearranging Patterns Students Should Recognize
Once the basic families are comfortable, the next challenge is recognizing patterns that look unfamiliar but are still built from the same operations. Harder rearranging questions often do not require new algebra; they require better organization. The target variable may appear more than once, a parameter may need to be treated like a constant, or the expression may contain nested fractions. In these cases, a rushed "move it across" approach usually breaks down. A structured approach keeps the work manageable.
Collecting the Variable When It Appears Twice
If the target variable appears in more than one term, isolate all terms containing that variable on the same side, then factor. For example, make \(x\) the subject of:
\[ y = ax + bx + c \]
First subtract \(c\):
\[ y - c = ax + bx \]
Now factor \(x\):
\[ y - c = x(a + b) \]
Divide by the factor:
\[ x = \frac{y - c}{a + b} \]
The restriction is \(a + b \ne 0\). This example is simple, but the same pattern appears in rational functions, finance formulas, statistics formulas, and physics formulas. Whenever you see the target variable in several places, your instinct should be to collect, factor, and divide.
Factoring After Clearing a Denominator
A more exam-style example is:
\[ y = \frac{x + 2}{x - 3} \]
Clear the denominator:
\[ y(x - 3) = x + 2 \]
Expand:
\[ xy - 3y = x + 2 \]
Put \(x\)-terms on one side and non-\(x\) terms on the other:
\[ xy - x = 3y + 2 \]
Factor:
\[ x(y - 1) = 3y + 2 \]
Divide:
\[ x = \frac{3y + 2}{y - 1} \]
The original function requires \(x \ne 3\), and the rearranged expression requires \(y \ne 1\). Notice that \(y = 1\) is not just a denominator issue in the rearranged formula; it is the horizontal asymptote of the original function. This is why rational rearrangements are a good place to practise connecting algebra with graph behaviour.
Working With Parameters
Parameters are letters that behave like constants. In \(y = mx + c\), the letters \(m\) and \(c\) are parameters when the target variable is \(x\). Students sometimes hesitate because there are many letters, but the question decides which letter is being solved for. If the instruction says "make \(x\) the subject", every other letter is treated as a constant unless the question says otherwise.
For example, make \(m\) the subject of \(y = mx + c\). Now \(m\), not \(x\), is the target:
\[ y - c = mx \] \[ m = \frac{y - c}{x} \]
The restriction is \(x \ne 0\). The same equation gives different rearrangements depending on the subject. This is why reading the wording carefully matters. "Make \(x\) the subject" and "make \(m\) the subject" are different tasks, even though the starting formula is identical.
Nested Fractions
Nested fractions look harder than they are. The safest method is to clear the outside denominator first, then simplify. For example:
\[ y = \frac{1}{1 + \frac{1}{x}} \]
Take reciprocals carefully:
\[ \frac{1}{y} = 1 + \frac{1}{x} \]
Subtract \(1\):
\[ \frac{1}{y} - 1 = \frac{1}{x} \]
Combine the left side:
\[ \frac{1 - y}{y} = \frac{1}{x} \]
Take reciprocals again:
\[ x = \frac{y}{1 - y} \]
The restrictions come from the original expression and the reciprocal steps: \(x \ne 0\), \(1 + \frac{1}{x} \ne 0\), \(y \ne 0\), and \(y \ne 1\). In many school questions you may not need to list every restriction explicitly, but you should be aware of them when checking the answer.
Rearranging Before Substituting Numbers
In applied questions, it is usually better to rearrange the formula first and substitute numbers afterward. If you substitute too early, the algebra may become less clear and you may round too soon. Suppose a model is \(T = A(1 - e^{-kt})\) and the question asks for \(t\). Rearranging symbolically gives:
\[ \frac{T}{A} = 1 - e^{-kt} \] \[ 1 - \frac{T}{A} = e^{-kt} \] \[ \ln\left(1 - \frac{T}{A}\right) = -kt \] \[ t = -\frac{1}{k}\ln\left(1 - \frac{T}{A}\right) \]
Now the numbers can be inserted. The formula also makes the restrictions visible: \(A \ne 0\), \(k \ne 0\), and \(1 - \frac{T}{A} \gt 0\). If the context is a cooling, charging, or saturation model, that restriction has a real interpretation: the measured quantity must be within the range the model can produce.
When Rearranging Does Not Produce a Simple Formula
Some equations cannot be rearranged into an elementary closed-form expression. For example, an equation may contain \(x\) both inside and outside a logarithm, or both as a polynomial term and an exponential term. A simple case such as \(y = x + 2^x\) cannot be rearranged for \(x\) using ordinary school algebra operations. That does not mean the relationship is useless. It means solving for \(x\) may require numerical methods, graphing, or a special function beyond the course.
This distinction is important in modelling. A formula can define \(y\) in terms of \(x\) clearly, while the reverse direction may not have a neat expression. In exams, if the syllabus expects a rearrangement, the structure will usually be designed to allow it. If the expression resists every standard method, look for a different instruction: the question may ask for a numerical solution, an approximation, a graph, or a proof of existence rather than a symbolic rearrangement.
A practical diagnostic is to ask whether the target variable can be gathered into one place. If \(x\) appears once, the rearrangement is usually straightforward. If \(x\) appears in several places, you may need to collect terms and factor. If \(x\) appears in different kinds of operations at the same time, such as both \(x\) and \(e^x\), a simple rearrangement may not exist.
Study Path for Building Fluency
Start with ordinary algebraic equations, because rearranging functions uses the same equality rules. Then practise linear equations until moving constants and coefficients is automatic. After that, move into quadratic functions, rational functions, exponential functions, and logarithmic functions. Each family adds one new type of inverse operation.
Once the algebra is secure, connect the skill to the function language in the functions cheat sheet. That page helps place rearranging beside domain, range, composition, inverse functions, and transformations. If you need broader algebra revision, the algebra cheat sheet is a useful companion because it reinforces brackets, fractions, indices, and equation solving.
For practice generation and checking, a general math calculator can help with arithmetic after the algebra has been set up, and a math worksheet generator can provide extra equation practice. Use tools to build fluency, but do not skip the written steps: most exam marks for rearranging come from the method, not just the final expression.
Practice Questions
Try these without looking at the answers first. Write one operation per line and include restrictions where they matter.
Answers and Brief Working
1. \(y = 7x - 4\)
\[ y + 4 = 7x \] \[ x = \frac{y + 4}{7} \]
2. \(y = \frac{x + 6}{5}\)
\[ 5y = x + 6 \] \[ x = 5y - 6 \]
3. \(y = 3(x - 2)^2 + 1\)
\[ y - 1 = 3(x - 2)^2 \] \[ \frac{y - 1}{3} = (x - 2)^2 \] \[ x = 2 \pm \sqrt{\frac{y - 1}{3}} \] A branch restriction is needed if the result must be an inverse function.
4. \(y = \frac{4}{x - 1}\)
\[ y(x - 1) = 4 \] \[ x - 1 = \frac{4}{y} \] \[ x = 1 + \frac{4}{y} \] Restrictions: \(x \ne 1\) and \(y \ne 0\).
5. \(y = \sqrt{2x + 3}\)
\[ y^2 = 2x + 3 \] \[ x = \frac{y^2 - 3}{2} \] Restrictions include \(2x + 3 \ge 0\) and \(y \ge 0\).
6. \(y = 5(2^x)\)
\[ \frac{y}{5} = 2^x \] \[ x = \log_2\left(\frac{y}{5}\right) \] Equivalent form: \[ x = \frac{\ln\left(\frac{y}{5}\right)}{\ln(2)} \] Restriction: \(y \gt 0\).
7. \(y = \log_4(x + 9)\)
\[ 4^y = x + 9 \] \[ x = 4^y - 9 \] Restriction in the original equation: \(x \gt -9\).
8. \(f(x) = 2x + 11\)
Write \(y = 2x + 11\), swap \(x\) and \(y\), then rearrange: \[ x = 2y + 11 \] \[ y = \frac{x - 11}{2} \] Therefore: \[ f^{-1}(x) = \frac{x - 11}{2} \]
9. \(y = \frac{2x + 3}{x - 5}\)
\[ y(x - 5) = 2x + 3 \] \[ xy - 5y = 2x + 3 \] \[ xy - 2x = 5y + 3 \] \[ x(y - 2) = 5y + 3 \] \[ x = \frac{5y + 3}{y - 2} \] Restrictions include \(x \ne 5\) and \(y \ne 2\).
10. \(y = 6 - \sqrt{x - 4}\)
\[ y - 6 = -\sqrt{x - 4} \] \[ 6 - y = \sqrt{x - 4} \] \[ (6 - y)^2 = x - 4 \] \[ x = (6 - y)^2 + 4 \] Since the square root is nonnegative, \(6 - y \ge 0\), so \(y \le 6\).
Exam Checklist
Before you submit a rearranging-functions answer, check the following points. They are short, but they catch most mistakes.
- Have you made the requested variable the subject, not a different variable?
- Did you apply every operation to the whole side, not just the nearest term?
- Are brackets used wherever a numerator or denominator has more than one term?
- If you took a square root, did you include \(\pm\) or choose the correct branch from the domain?
- If you used logarithms, are the bases valid and are the inputs positive?
- If you multiplied by a denominator, did you record the value that makes that denominator zero?
- Can a quick substitution return the original input?
- Does the final expression answer the wording of the question?
Frequently Asked Questions
What is rearranging functions in simple words?
It means rewriting a function or equation so that a different variable is alone. For example, \(y = 2x + 5\) can be rearranged to \(x = \frac{y - 5}{2}\). The relationship is the same, but the equation is organized around \(x\) instead of \(y\).
How is rearranging different from solving?
Solving usually finds a value, such as \(x = 3\). Rearranging usually finds a formula, such as \(x = \frac{y - c}{m}\). The algebraic moves are similar, but the goal is different.
Why do I sometimes need plus-or-minus?
You need \(\pm\) when undoing an even power, such as a square, because positive and negative inputs can produce the same squared result. A domain restriction may allow only one branch.
When should I clear fractions?
Clear fractions early when the target variable is in a numerator or denominator. Multiplying through by the denominator often turns a complicated fractional equation into a simpler equation. Always keep denominator restrictions.
How do I rearrange when the variable appears twice?
Collect every term containing the variable on one side, move the other terms to the opposite side, then factor the variable. After that, divide by the remaining factor if it is nonzero.
Why does domain matter for inverse functions?
An inverse function must give one output for each input. If the original function is not one-to-one over its full domain, such as a full quadratic, the domain must be restricted before the inverse can be written as a function.
Can every function be rearranged?
No. Some relationships do not have a simple formula for the chosen variable using ordinary algebraic operations. In those cases, numerical methods, graphing, or approximation may be required.
Final Notes
Rearranging functions is one of the most useful algebra skills because it turns formulas into flexible tools. The method is consistent: identify the variable, undo operations in reverse, keep both sides balanced, and check restrictions. The difficulty comes from recognizing the structure of the expression, not from memorizing a new rule for every question.
If you are revising for exams, practise with a mix of linear, quadratic, rational, radical, exponential, logarithmic, and composite examples. Write your working clearly and check the final expression with substitution. Over time, you will begin to see each function as a chain of operations that can be reversed carefully and legally.
