A function fails to be one‑to‑one when at least two different \$x\$‑values give the same \$y\$‑value. Example:
\[
f(x)=x^{2},\qquad \text{Domain } \mathbb R.
\]
Both \$x=2\$ and \$x=-2\$ give \$f(x)=4\$, so \$f\$ is not one‑to‑one and \$f^{-1}\$ does not exist on \$\mathbb R\$. Restricting the domain to \$x\ge0\$ (or \$x\le0\$) makes \$f\$ one‑to‑one, and then \$f^{-1}(x)=\sqrt{x}\$ (or \$-\sqrt{x}\$).
In general \$f\circ g\neq g\circ f\$. Example:
\[
f(x)=2x-1,\qquad g(x)=\sqrt{x+3}.
\]
\[
(f\circ g)(x)=2\sqrt{x+3}-1,\qquad (g\circ f)(x)=\sqrt{2x-1+3}=\sqrt{2x+2}.
\]
The two composites have different domains and different expressions, illustrating that the order of composition is essential.
| \$f(x)\$ | value of \$f\$ at \$x\$ |
| \$f^{-1}(x)\$ | inverse of \$f\$ (if it exists) |
| \$f\circ g\$ | composition of \$f\$ after \$g\$ |
| \$\displaystyle f:x\mapsto 2x+3\$ | function definition using an arrow |
Domain \$=\mathbb R\$, Range \$=\mathbb R\$, one‑to‑one.
Inverse: \$f^{-1}(x)=\dfrac{x-3}{2}\$.
Domain \$x\ge2\$, Range \$y\ge0\$.
Inverse: \$g^{-1}(x)=x^{2}+2\$ (valid for \$x\ge0\$).
The graph of a function and its inverse are mirror images in the line \$y=x\$. A sketch of \$y=2x+3\$ together with its inverse \$y=\frac{x-3}{2}\$ illustrates this symmetry.
A quadratic equation is written as
\[
ax^{2}+bx+c=0\qquad(a\neq0),
\]
where \$a,b,c\in\mathbb R\$.
The discriminant \$D=b^{2}-4ac\$ determines the nature of the roots:
| \$D\$ | Roots | Geometric meaning (parabola \$y=ax^{2}+bx+c\$) |
|---|---|---|
| \$D>0\$ | Two distinct real roots | Parabola cuts the \$x\$‑axis at two points (secant) |
| \$D=0\$ | One real double root | Parabola is tangent to the \$x\$‑axis |
| \$D<0\$ | No real roots (complex conjugates) | Parabola does not meet the \$x\$‑axis |
Completing the square rewrites the quadratic as
\[
a\bigl(x-h\bigr)^{2}+k=0\quad\text{with}\quad
h=-\frac{b}{2a},\;k=\frac{4ac-b^{2}}{4a}.
\]
The point \$(h,k)\$ is the vertex. If \$a>0\$, \$k\$ is a minimum; if \$a<0\$, \$k\$ is a maximum. The sign of \$D\$ tells whether the vertex lies above, on, or below the \$x\$‑axis.
Best used when the quadratic can be expressed as a product of two linear factors with integer or simple rational coefficients.
Applicable to any quadratic.
\[
x=\frac{-b\pm\sqrt{D}}{2a},\qquad D=b^{2}-4ac.
\]
Useful for deriving the vertex form, solving when \$a\neq1\$, or when factorisation is inconvenient.
Two common approaches:
Example: Solve \$x^{2}-5x+6\ge0\$.
If a polynomial \$P(x)\$ is divided by \$(x-a)\$, the remainder is \$P(a)\$.
Example: \$P(x)=x^{3}-4x^{2}+x+6\$, find the remainder on division by \$(x-2)\$.
\[
P(2)=2^{3}-4\cdot2^{2}+2+6=8-16+2+6=0,
\]
so the remainder is \$0\$; consequently \$(x-2)\$ is a factor.
If \$P(a)=0\$, then \$(x-a)\$ is a factor of \$P(x)\$. Repeated use allows us to factor higher‑degree polynomials.
For \$P(x)\$ divided by \$(x-a)\$:
Worked example: Factor \$x^{3}-6x^{2}+11x-6\$.
\[
x^{3}-6x^{2}+11x-6=(x-1)(x-2)(x-3).
\]
Four standard forms (with \$a>0\$):