Function in Algebra- Complete Understanding Guide

What Is a Function in Algebra?

A function is a relationship where every input has exactly one output. That's it. That's the whole definition. If you put in a number and get more than one result, it's not a function.

Think of it like a machine. You drop something in one end, and it spits out one specific thing on the other end. You put in 5, you get one answer. You put in 5 again, you get the same answer. No exceptions.

Why Functions Matter

Functions are the backbone of algebra. They show up everywhere—in equations, graphs, real-world problems. If you're struggling with algebra, there's a good chance functions are tripping you up. Fix that, and everything else gets easier.

Function Notation: What the Weird f(x) Stuff Actually Means

When you see f(x), don't panic. It's just a way to say "a function named f, and x is the input."

f(x) = 2x + 3 means "take your input, multiply it by 2, then add 3."

You can name functions anything. g(x), h(x), k(x)—doesn't matter. The letter is just a label.

Reading Function Notation

Domain and Range: The Two Things Students Always Confuse

Domain = all possible inputs (x-values)
Range = all possible outputs (y-values)

Easy way to remember: D comes before R alphabetically. Input comes before output.

Finding Domain

For most basic algebra problems, domain is all real numbers unless there's a problem. Watch out for:

Example: f(x) = 1/(x-2)
Domain: all real numbers except x = 2. Because if x = 2, you're dividing by zero.

How to Evaluate Functions (With Examples)

Evaluating a function means plugging in a value and seeing what comes out.

Given: f(x) = x² - 4x + 1

Find f(3):
Replace every x with 3:
f(3) = (3)² - 4(3) + 1
f(3) = 9 - 12 + 1
f(3) = -2

That's it. Substitution and arithmetic. No tricks.

Evaluating at Expressions

Sometimes you'll evaluate at something like f(2h + 1). Same process—just distribute the substitution:

Given: f(x) = 3x - 5
Find f(2h + 1):
f(2h + 1) = 3(2h + 1) - 5
f(2h + 1) = 6h + 3 - 5
f(2h + 1) = 6h - 2

The Main Types of Functions You Need to Know

Here's a breakdown of the function types you'll encounter most:

Type Form Key Feature
Linear f(x) = mx + b Straight line, constant slope
Quadratic f(x) = ax² + bx + c U-shaped parabola
Polynomial f(x) = axⁿ + ... Any power of x, smooth curves
Absolute Value f(x) = |x| V-shape, always positive output
Radical f(x) = √x Curve that levels off
Rational f(x) = 1/x Hyperbola, asymptotes

Linear Functions

Linear functions graph as straight lines. The slope (m) tells you how steep it is. The y-intercept (b) tells you where it crosses the y-axis.

y = 2x + 5
Slope = 2. Go up 2 for every 1 you go right.
Y-intercept = 5. Crosses the y-axis at (0, 5).

Quadratic Functions

These graph as parabolas—U-shaped curves. They open up or down depending on whether the leading coefficient is positive or negative.

f(x) = x² - 4 opens upward
f(x) = -x² + 3 opens downward

Vertical Line Test: Is It a Function?

This is how you check if a graph represents a function. Draw vertical lines through the graph. If any vertical line touches the graph more than once, it's not a function.

Why? Because a function can't give you two different outputs for the same input. A vertical line at x = 3 represents one specific input. If it hits the graph twice, that input gives two different outputs.

Function Operations: Adding, Subtracting, Multiplying, Dividing

You can combine functions just like you combine numbers.

Addition and Subtraction

f(x) = 2x + 1
g(x) = x² - 3

(f + g)(x) = f(x) + g(x) = (2x + 1) + (x² - 3) = x² + 2x - 2

Multiplication

(f · g)(x) = f(x) · g(x) = (2x + 1)(x² - 3)

You'd multiply these out to get 2x³ + x² - 6x - 3

Composition of Functions

Composition means plugging one function into another. Written as (f ∘ g)(x) or f(g(x)).

f(x) = 3x + 2
g(x) = x - 1

f(g(x)) = f(x - 1) = 3(x - 1) + 2 = 3x - 3 + 2 = 3x - 1

Order matters. f(g(x)) is usually different from g(f(x)).

Inverse Functions: Working Backwards

An inverse function f⁻¹(x) undoes what f(x) does. If f takes you from A to B, the inverse takes you from B back to A.

How to Find an Inverse

  1. Replace f(x) with y
  2. Swap x and y
  3. Solve for y
  4. Replace y with f⁻¹(x)

Example: Find the inverse of f(x) = (2x + 1)/3

  1. y = (2x + 1)/3
  2. x = (2y + 1)/3
  3. 3x = 2y + 1
  4. 2y = 3x - 1
  5. y = (3x - 1)/2

f⁻¹(x) = (3x - 1)/2

Common Function Graphs You Should Recognize

Being able to identify graphs quickly saves time on tests:

Getting Started: Your Action Plan

If you're new to functions or still struggling, here's what to do:

  1. Master substitution first — being able to evaluate f(x) at a given value is foundational
  2. Memorize the basic function shapes — linear, quadratic, absolute value, square root
  3. Practice domain restrictions — spot what x-values cause problems before they trip you up
  4. Work with the vertical line test — it's the fastest way to check if something is a function
  5. Don't memorize—understand — if you get why things work, you won't forget

Quick Reference: Function Vocabulary

Term Meaning
f(x) Function notation, "f of x"
Domain All possible x-values (inputs)
Range All possible y-values (outputs)
Input The x-value you plug in
Output The y-value you get out
Slope Rate of change, rise over run
Y-intercept Where the graph crosses the y-axis
Inverse The function that reverses the original

Functions aren't complicated once you strip away the jargon. Input goes in, rule gets applied, output comes out. Everything else is details. Learn those details, practice them, and move on.