Advanced Mathematics

Functions and Their Graphs

Functions as rules from inputs to outputs, with their domain, range, graph, transformations, compositions and inverses.

Ready to learn

A function takes each allowed input to exactly one output, and its graph shows the whole rule at once. Knowing a few basic shapes (x2x^2, 1x\frac{1}{x}, x\sqrt{x}, ∣x∣|x|) and how af(b(x−c))+daf(b(x-c)) + d stretches and shifts them lets you sketch most functions you meet. Composition chains functions together, and an inverse undoes one; both return in the chain rule, in logarithms and in every neural network.

Where it shows up: A neural network is a long composition of simple functions, and training it means adjusting that composition; the chain rule is how you differentiate it.

How to hold it: In your head

Sketch a function from a few basic shapes and the shifts and stretches in af(b(x−c))+daf(b(x-c))+d, and read its domain and range off the picture.

What knowing it looks like

  • State the domain and range of a function such as 4−x2\sqrt{4 - x^2} or 1x−2\frac{1}{x-2}.
  • Sketch y=af(b(x−c))+dy = af(b(x-c)) + d from the graph of y=f(x)y = f(x) and say what each of a,b,c,da, b, c, d does.
  • Compose two functions, find an inverse, and say when an inverse exists.

Test yourself

Let f(x)=1x−2+1f(x) = \frac{1}{x-2} + 1. Give its domain, its range and its asymptotes, and find f−1(x)f^{-1}(x).
Show the worked answer
This is y=1xy = \frac{1}{x} moved 2 right and 1 up. Domain: x≠2x \ne 2. Range: y≠1y \ne 1, since 1x−2\frac{1}{x-2} is never 00. Asymptotes: x=2x = 2 and y=1y = 1. Inverse: from y−1=1x−2y - 1 = \frac{1}{x-2} get x=2+1y−1x = 2 + \frac{1}{y-1}, so f−1(x)=2+1x−1f^{-1}(x) = 2 + \frac{1}{x-1}, defined for x≠1x \ne 1. The domain and range swap, as they must.

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Functions and Their Graphs" (Bridge tier): Functions as rules from inputs to outputs, with their domain, range, graph, transformations, compositions and inverses.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Let $f(x) = \frac{1}{x-2} + 1$. Give its domain, its range and its asymptotes, and find $f^{-1}(x)$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended