2. Functions

Solving Equations With Functions

Solving Equations with Functions

Introduction

Functions are one of the most important ideas in IB Mathematics: Analysis and Approaches HL, and solving equations with functions is a core skill inside this topic. students, when you see an equation like $f(x)=0$ or $f(x)=g(x)$, you are not just doing algebra for its own sake. You are finding inputs that make a function output a special value, or finding where two functions meet. That idea appears in graphing, modelling, technology, and problem-solving across mathematics πŸ“ˆ.

Learning objectives

By the end of this lesson, students, you should be able to:

  • explain what it means to solve an equation using functions,
  • use algebraic and graphical methods to solve equations involving functions,
  • connect solutions to intersections, roots, and zeros,
  • handle polynomial, rational, exponential, and logarithmic functions in equations,
  • understand how solving equations with functions fits into the wider study of functions.

The key message is simple: solving an equation with functions means finding values of $x$ that make a function relationship true. Sometimes that means finding where $f(x)=0$, sometimes where $f(x)=k$, and sometimes where $f(x)=g(x)$. 🌟

What it means to solve equations with functions

A function gives each input $x$ one output $f(x)$. When you solve an equation involving a function, you are looking for the input values that satisfy the equation.

For example, if $f(x)=x^2-5x+6$, then solving $f(x)=0$ means finding the values of $x$ that make the output zero:

$$x^2-5x+6=0$$

Factoring gives

$$

$(x-2)(x-3)=0$

$$

so the solutions are $x=2$ and $x=3$.

These are also called the zeros or roots of the function. On a graph, they are the $x$-intercepts because the graph crosses or touches the $x$-axis there.

Another common type is solving $f(x)=g(x)$. This means finding the points where the graphs of $f$ and $g$ intersect. If $f(x)=x^2$ and $g(x)=2x+3$, then solving

$$x^2=2x+3$$

finds the intersection points of the parabola and the line.

This idea is very useful in real-life situations. For example, if one mobile phone plan has cost function $C_1(x)$ and another has cost function $C_2(x)$, solving $C_1(x)=C_2(x)$ tells you when both plans cost the same. πŸ“±

Algebraic methods for solving function equations

Many function equations can be solved using standard algebra skills. The main goal is to rewrite the equation in a form where the solutions are clear.

Polynomial functions

Polynomial equations often come from setting a function equal to zero. For example,

$$f(x)=x^3-4x^2-x+4$$

To solve $f(x)=0$, we solve

$$x^3-4x^2-x+4=0$$

One possible strategy is factor by grouping:

$$x^2(x-4)-1(x-4)=0$$

so

$$

$(x^2-1)(x-4)=0$

$$

and then

$$

$(x-1)(x+1)(x-4)=0$

$$

Thus the solutions are $x=-1$, $x=1$, and $x=4$.

For higher-degree polynomials, technology may help you check roots, but you should still understand the algebra behind the method. In IB Mathematics: Analysis and Approaches HL, it is important not only to get answers but also to explain why those answers work.

Rational functions

A rational function is a quotient of two polynomials. When solving rational equations, you must be careful about values that make the denominator zero.

For example, solve

$$\frac{1}{x-2}=3$$

Multiply both sides by $x-2$:

$$1=3(x-2)$$

so

$$1=3x-6$$

$$7=3x$$

$$x=\frac{7}{3}$$

Before finishing, check that $x=\frac{7}{3}$ does not make the denominator zero. It does not, so it is valid.

Now consider

$$\frac{x+1}{x-1}=0$$

A fraction equals zero only when its numerator is zero, so $x+1=0$, giving $x=-1$. But we must also check that $x\neq 1$, which is true here.

This kind of checking is essential. A value may solve the transformed equation but still be invalid in the original one if it makes a denominator zero. ⚠️

Exponential and logarithmic equations

Exponential and logarithmic functions often appear in modelling growth and decay, such as population growth, compound interest, and radioactive decay.

To solve

$$2^x=16$$

rewrite $16$ as a power of $2$:

$$16=2^4$$

so

$$x=4$$

If the bases are not easy to match, use logarithms. For example, solve

$$3^x=10$$

Take logs of both sides:

$$\ln(3^x)=\ln(10)$$

Use the logarithm law $\ln(a^b)=b\ln(a)$:

$$x\ln(3)=\ln(10)$$

so

$$x=\frac{\ln(10)}{\ln(3)}$$

Logarithmic equations require attention to domain restrictions. For example, in

$$\ln(x-2)=1$$

we need $x-2>0$, so $x>2$. Then solve:

$$x-2=e^1$$

$$x=2+e$$

Since $2+e>2$, the solution is valid.

Graphical meaning and technology

Graphing is a powerful way to understand solving equations with functions. If you solve $f(x)=0$, the solutions are the $x$-intercepts of $y=f(x)$. If you solve $f(x)=g(x)$, the solutions are the $x$-coordinates of the intersection points of the graphs $y=f(x)$ and $y=g(x)$.

For example, if

$$f(x)=x^2-1$$

and

$$g(x)=2-x$$

then solving $f(x)=g(x)$ means solving

$$x^2-1=2-x$$

Rearranging gives

$$x^2+x-3=0$$

This may not factor nicely, so graphing or the quadratic formula can help.

Technology is useful for checking solutions, especially when equations are difficult to solve exactly. However, a graph only gives approximate values unless the function has a simple exact solution. In IB work, you should be able to move between the graph, the algebra, and the meaning of the solution. 🧠

Common mistakes and how to avoid them

One common mistake is forgetting domain restrictions. For example, the equation

$$\frac{1}{x-5}=0$$

has no solution, because a fraction can only be zero when its numerator is zero, and here the numerator is $1$.

Another mistake is introducing extraneous solutions. This can happen when you square both sides of an equation. For example, solving

$$\sqrt{x}=x-2$$

may lead to extra answers if you square both sides without checking.

If you square, always verify solutions in the original equation. Let’s see why. Squaring gives

$$x=(x-2)^2$$

which expands to

$$x=x^2-4x+4$$

so

$$0=x^2-5x+4$$

$$0=(x-1)(x-4)$$

This gives $x=1$ or $x=4$. Check both:

  • For $x=1$, $\sqrt{1}=1$ but $1-2=-1$, so it fails.
  • For $x=4$, $\sqrt{4}=2$ and $4-2=2$, so it works.

Thus the only solution is $x=4$.

This checking step is a major part of strong mathematical reasoning. It shows that you understand the structure of the equation, not just the mechanics. βœ…

How this fits into the topic of functions

Solving equations with functions connects many ideas in the topic of Functions:

  • function notation, such as $f(x)$,
  • graphs and intercepts,
  • transformations,
  • composite functions,
  • inverse functions,
  • algebraic models.

For inverse functions, solving equations is especially important. If $f$ has an inverse, then the inverse reverses the action of the function. For example, if

$$f(x)=2x+5$$

then to find the inverse, solve

$$y=2x+5$$

for $x$:

$$x=\frac{y-5}{2}$$

Then switch variables to get

$$f^{-1}(x)=\frac{x-5}{2}$$

Here, solving an equation helps build the inverse function.

Composite functions also involve solving equations. If

$$g(f(x))=0$$

you are solving a function built from another function. This often appears in HL problems where the order of operations matters.

In the broader IB course, these skills support modelling and interpretation. A solution is not just a number; it represents a real meaning in context, such as a break-even point, a time when a population reaches a target value, or a point where two curves meet.

Conclusion

students, solving equations with functions is about finding inputs that satisfy a function relationship. Whether you are solving $f(x)=0$, $f(x)=k$, or $f(x)=g(x)$, the same core ideas appear: use algebra, understand graphs, respect domain restrictions, and check solutions carefully. These methods are essential for polynomial, rational, exponential, and logarithmic functions, and they connect directly to inverse and composite functions. In IB Mathematics: Analysis and Approaches HL, this topic builds the problem-solving habits needed for more advanced function work and for interpreting mathematics in real contexts.

Study Notes

  • Solving $f(x)=0$ finds the roots or zeros of the function, which are the $x$-intercepts on the graph.
  • Solving $f(x)=g(x)$ finds intersection points of the graphs of $y=f(x)$ and $y=g(x)$.
  • Polynomial equations may be solved by factoring, using the quadratic formula, or technology for more complex cases.
  • Rational equations require checking for values that make denominators zero.
  • Exponential equations may be solved by rewriting bases or using logarithms.
  • Logarithmic equations require the argument of the logarithm to be positive.
  • Squaring both sides or using other transformations can create extraneous solutions, so always check answers in the original equation.
  • Graphs help show the meaning of solutions and can confirm algebraic work.
  • Solving equations with functions connects directly to inverse functions, composite functions, and mathematical modelling.
  • In IB Mathematics: Analysis and Approaches HL, accuracy, reasoning, and clear justification are all important.

Practice Quiz

5 questions to test your understanding

Solving Equations With Functions β€” IB Mathematics Analysis And Approaches HL | A-Warded