Reviewed by CalcMulti Editorial Team·Last updated: ·← Algebra Hub
A function f(x) is a rule that assigns exactly one output to each valid input. Function notation f(a) means: substitute x = a into the rule and compute the result. Functions are the language of mathematics and science — they model everything from population growth and compound interest to the trajectory of a projectile.
This calculator evaluates a function at any given value, computes arithmetic combinations (f+g, f−g, f·g, f/g), and finds function compositions such as f(g(x)) and g(f(x)). Enter your function expression and the calculator substitutes, simplifies, and shows every step so you understand not just the answer but the process.
f(a) = substitute x=a | (f∘g)(x) = f(g(x)) | (f+g)(x) = f(x)+g(x)
Evaluate, compose, or combine functions.
f(x) = ax² + bx + c
| Function f(x) | Evaluate at | Substitution | f(x) = |
|---|---|---|---|
| x² − 3x + 2 | x = 4 | (4)² − 3(4) + 2 = 16 − 12 + 2 | 6 |
| 2x + 5 | x = −3 | 2(−3) + 5 = −6 + 5 | −1 |
| x³ − 1 | x = 2 | (2)³ − 1 = 8 − 1 | 7 |
| 3x² − 2x + 1 | x = 0 | 3(0)² − 2(0) + 1 | 1 |
| (x+1)² | x = 5 | (5+1)² = (6)² | 36 |
| −x² + 4 | x = 3 | −(3)² + 4 = −9 + 4 | −5 |
| f(x) | g(x) | f(g(x)) | g(f(x)) | Equal? |
|---|---|---|---|---|
| x + 1 | 2x | 2x + 1 | 2x + 2 | No |
| 3x | x − 2 | 3x − 6 | 3x − 2 | No |
| x² | √x | x (for x≥0) | x (for x≥0) | Yes (inverses) |
| eˣ | ln(x) | x (for x>0) | x (for all) | Yes (inverses) |
| 2x + 3 | (x−3)/2 | x | x | Yes (inverses) |
Find f⁻¹(x) with step-by-step solutions
Domain and Range CalculatorFind the domain and range of any function
Linear Equation CalculatorSolve linear equations in one or two variables
Functions and Relations ExplainedDomain, range, types of functions & mapping
Domain and Range ExplainedHow to find domain and range for any function type
Exponential Equations CalculatorSolve aˣ = b — a core type of function
Algebra HubAll algebra calculators and guides
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.