Beginner Topic 5 of 51 Math for Computing
Functions and Graphs
Visualizing relationships between quantities.
How it works
A function assigns each input in its domain exactly one output in its range, and its graph plots the input-output pairs. Key families are linear, quadratic and polynomial, exponential and logarithmic, trigonometric and piecewise functions. Properties include domain and range, intercepts, increasing or decreasing behavior, symmetry, asymptotes, continuity and transformations such as shifts, stretches and reflections. Composition and inverses combine and undo functions.
Where it is used
Plotting data, modeling relationships, analyzing growth rates of algorithms, activation functions in neural networks and defining mappings in programs use functions and graphs.
Common pitfall
Confusing a function with its formula ignores domain restrictions, such as division by zero. The vertical line test is needed to see if a curve is a function. Wrong scales, such as linear instead of log axes, hide behavior. Composition order matters: f of g is not g of f. Sketch graphs, check special points and test values on both sides of critical points.
Where it fits in the course
Functions and Graphs is topic 5 of 51 in Math for Computing, rated Beginner. It follows Summations and Series. The next topic is Vectors.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
- Explore the Graph Traversal visualizer: BFS, DFS and Dijkstra on a weighted graph.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Functions and Graphs?
Where do people use Functions and Graphs?
What is the most common mistake with Functions and Graphs?
What should I learn before this topic?
How can I practice it?
Is Functions and Graphs hard to learn?
How long does it take to learn Functions and Graphs?
Which topics are related to Functions and Graphs?
What should I study after Functions and Graphs?
Related topics
- Summations and Series (Math for Computing)
- Vectors (Math for Computing)
- Exponents and Logarithms (Math for Computing)
- Dot Product (Math for Computing)
- Functions and Relations (Theory & Discrete Math)
- Functions (Programming Fundamentals)
- Aggregate Functions (Databases)