Posts

Showing posts with the label beginner maths

A Gentle Introduction to Function Notation

A Gentle Introduction to Function Notation Understanding f : A → B — the language of modern mathematics. One of the most powerful ideas in mathematics is the concept of a function . We usually meet it in the form f(x) = 2x + 1 , but the structure behind this idea is far richer. The notation f : A → B captures the entire architecture of a function in a single line. In this article, we unpack this notation and explain exactly what it means, why it matters, and how it connects to the familiar expression f(x) = y . 1. What does f : A → B mean? When we write f : A → B we are saying: f is a function, A is the domain — the set of inputs the function accepts, B is the codomain — the set in which all outputs must lie. In words: A function assigns to every element of the domain A exactly one output in the codomain B . Two rules always hold for genuine functions: Every input must have an output. No input may have more than one output. D...

Function Composition: A Simple Way to Organise Your Mathematics

Image
Function Composition: A Simple Way to Organise Your Mathematics Function composition is one of the most useful tools in mathematics. It allows us to combine several steps into a single process, keeping our work neat, organised, and easy to reuse. Rather than performing one operation after another by hand, composition lets us build those steps into a single function. Once you become comfortable with function composition, you never want to go back to doing everything manually. It reduces clutter, helps you work systematically, and allows you to achieve remarkable results with only a few lines of equations. What Is Function Composition? A function takes an input, performs an operation, and produces an output. Function composition takes this idea further: it links functions together so that the output of one becomes the input of the next. We write this as: (f ∘ g)(x) = f(g(x)) This means that g acts first, then f . The circle symbol ∘ simply means “do one funct...