Functions: Introduction to Functions

Understand what a function is, explore real-world analogies, master function notation f(x), and learn to identify points and y-intercepts.

✔️Solved: 0

Learning Guide: The Coordinate System

Learning Guide: Introduction to Functions

A function is a mathematical rule or relationship that connects inputs to outputs. For every input, a function assigns exactly one output.

Real-World Analogies

  • Vending Machine: You input a code (like A1A1), and the machine outputs exactly one specific snack (like potato chips). If one code could output different items at random, it wouldn't work like a function!
  • Temperature Over Time: For any specific hour of the day (input), there is exactly one specific temperature (output).
  • Buying Apples: If apples cost 33 dollars per kilogram, the total price (output) depends on the weight (input). We can write this rule as: Price=3WeightPrice = 3 \cdot Weight.

Function Notation f(x)f(x)

We write functions using the notation:
f(x)=expressionf(x) = \text{expression}
  • ff is the name of the function.
  • xx is the input variable.
  • f(x)f(x) represents the output value (the result of the rule applied to xx).

    For example, if f(x)=2x+1f(x) = 2x + 1:
  • If we input 33, we substitute xx with 33: f(3)=2(3)+1=7f(3) = 2(3) + 1 = 7. The input 33 gives the output 77.
  • If we input 00, we substitute xx with 00: f(0)=2(0)+1=1f(0) = 2(0) + 1 = 1.

Functions and Graphs

When we draw a function on a coordinate system, the input (xx) corresponds to the horizontal position, and the output (f(x)f(x) or yy) corresponds to the vertical position. Each input-output pair gives us a point on the graph:
  • If f(3)=5f(3) = 5, it corresponds to the point (3,5)(3, 5) on the graph.
  • If f(0)=2f(0) = 2, it corresponds to the point (0,2)(0, 2) on the graph.
-4-4-2-222440xyf(x) = x + 2(3, 5) : f(3) = 5(0, 2) : f(0) = 2

Distinguishing Functions & the yy-axis Crossing

We can often distinguish functions by looking at where they cross the vertical yy-axis. The point where a function crosses the yy-axis is called the y-intercept. It is always found by setting the input to 00, which gives the point (0,f(0))(0, f(0)).

For example, look at the two lines in the graph below:
  • The blue line representing f(x)=x+1f(x) = x + 1 crosses the yy-axis at (0,1)(0, 1), because f(0)=1f(0) = 1.
  • The red line representing g(x)=x+3g(x) = -x + 3 crosses the yy-axis at (0,3)(0, 3), because g(0)=3g(0) = 3.
    Since f(0)g(0)f(0) \neq g(0), they cross the vertical axis at different heights, helping us tell them apart!
-4-4-2-222440xyf(x) = x + 1g(x) = -x + 3f(0) = 1g(0) = 3
Figure 1: Two functions f(x) = x + 1 (blue) and g(x) = -x + 3 (red), crossing the y-axis at f(0) = 1 and g(0) = 3 respectively.
Learning Topics

Frequently Asked Questions

Why does the x-coordinate always come first in an ordered pair?
By mathematical convention, coordinates are always written in alphabetical order as (x,y)(x, y). This standardized order ensures that anyone around the world can communicate and locate points on a coordinate plane consistently without ambiguity.
What makes a relation a function?
A relation is a function if and only if each input value is associated with exactly one output value. If a single input has multiple different outputs, it is not a function.
How do you find where a function crosses the y-axis?
To find where a function crosses the yy-axis, calculate f(0)f(0) by replacing xx with 00 in the function formula. The resulting point on the graph will be (0,f(0))(0, f(0)).