Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
FunctionSurjective
  • See Also
    • FunctionInjective
    • FunctionBijective
    • FunctionDomain
    • FunctionRange
    • Solve
    • Resolve
  • Related Guides
    • Properties of Mathematical Functions & Sequences
    • See Also
      • FunctionInjective
      • FunctionBijective
      • FunctionDomain
      • FunctionRange
      • Solve
      • Resolve
    • Related Guides
      • Properties of Mathematical Functions & Sequences

FunctionSurjective[f,x]

tests whether has at least one solution x in TemplateBox[{}, Reals] for each y∈Reals.

FunctionSurjective[f,x,dom]

tests whether has at least one solution x∈dom for each y∈dom.

FunctionSurjective[{f1,f2,…},{x1,x2,…},dom]

tests whether has at least one solution x1,x2,…∈dom for each y1,y2,…∈dom.

FunctionSurjective[{funs,xcons,ycons},xvars,yvars,dom]

tests whether has at least one solution with xvars∈dom restricted by the constraints xcons for each yvars∈dom restricted by the constraints ycons.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Options  
Assumptions  
GenerateConditions  
PerformanceGoal  
Applications  
Basic Applications  
Solving Equations and Inequalities  
Probability & Statistics  
Properties & Relations  
Possible Issues  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • FunctionInjective
    • FunctionBijective
    • FunctionDomain
    • FunctionRange
    • Solve
    • Resolve
  • Related Guides
    • Properties of Mathematical Functions & Sequences
    • See Also
      • FunctionInjective
      • FunctionBijective
      • FunctionDomain
      • FunctionRange
      • Solve
      • Resolve
    • Related Guides
      • Properties of Mathematical Functions & Sequences

FunctionSurjective

FunctionSurjective[f,x]

tests whether has at least one solution x in TemplateBox[{}, Reals] for each y∈Reals.

FunctionSurjective[f,x,dom]

tests whether has at least one solution x∈dom for each y∈dom.

FunctionSurjective[{f1,f2,…},{x1,x2,…},dom]

tests whether has at least one solution x1,x2,…∈dom for each y1,y2,…∈dom.

FunctionSurjective[{funs,xcons,ycons},xvars,yvars,dom]

tests whether has at least one solution with xvars∈dom restricted by the constraints xcons for each yvars∈dom restricted by the constraints ycons.

Details and Options

  • A surjective function is also known as onto or an onto mapping.
  • A function is surjective if for every there is at least one such that .
  • If funs contains parameters other than xvars, the result is typically a ConditionalExpression.
  • Possible values for dom are Reals and Complexes. If dom is Reals, then all variables, parameters, constants and function values are restricted to be real.
  • The domain of funs is restricted by the condition given by FunctionDomain.
  • xcons and ycons can contain equations, inequalities or logical combinations of these.
  • FunctionSurjective[{funs,xcons,ycons},xvars,yvars,dom] returns True if the mapping is surjective, where is the solution set of xcons and is the solution set of ycons.
  • The following options can be given:
  • Assumptions $Assumptionsassumptions on parameters
    GenerateConditions Truewhether to generate conditions on parameters
    PerformanceGoal $PerformanceGoalwhether to prioritize speed or quality
  • Possible settings for GenerateConditions include:
  • Automaticnongeneric conditions only
    Trueall conditions
    Falseno conditions
    Nonereturn unevaluated if conditions are needed
  • Possible settings for PerformanceGoal are "Speed" and "Quality".

Examples

open all close all

Basic Examples  (4)

Test surjectivity of a univariate function over the reals:

Test surjectivity over the complexes:

Test surjectivity of a polynomial mapping over the reals:

Test surjectivity of a polynomial with symbolic coefficients:

Scope  (12)

Surjectivity over the reals:

Each value is attained at least once:

Surjectivity over a subset of the reals:

For positive , some values are not attained:

Surjectivity onto a subset of the reals:

Each positive value is for some positive :

Surjectivity over the complexes:

The value zero is not attained:

Surjectivity onto a subset of complexes:

Surjectivity over the integers:

Surjectivity of linear mappings:

A linear mapping is surjective iff the rank of its matrix is equal to the dimension of its codomain:

Surjectivity of polynomial mappings :

Each value is attained at least once:

This mapping is not surjective:

Some values are not attained:

Surjectivity of polynomial mappings :

Surjectivity of polynomial mappings :

Surjectivity of a real polynomial with symbolic parameters:

Surjectivity of a real polynomial mapping with symbolic parameters:

Options  (4)

Assumptions  (1)

FunctionSurjective gives a conditional answer here:

This checks the surjectivity for the remaining real values of :

GenerateConditions  (2)

By default, FunctionSurjective may generate conditions on symbolic parameters:

With GenerateConditionsNone, FunctionSurjective fails instead of giving a conditional result:

This returns a conditionally valid result without stating the condition:

By default, all conditions are reported:

With GenerateConditionsAutomatic, conditions that are generically true are not reported:

PerformanceGoal  (1)

Use PerformanceGoal to avoid potentially expensive computations:

The default setting uses all available techniques to try to produce a result:

Applications  (11)

Basic Applications  (7)

Check surjectivity of :

is surjective because it attains each value at least once:

Check surjectivity of :

is not surjective because the value is not attained:

is not surjective because it does not attain negative values:

The value is not attained:

is surjective as a function from TemplateBox[{}, NonNegativeReals] to TemplateBox[{}, NonNegativeReals]:

Each non-negative value is attained:

is surjective:

Each value is attained at least once:

TemplateBox[{x}, CosIntegral] is not surjective:

Some values, e.g. , are not attained:

A function is surjective if any horizontal line intersects its graph at least once:

If a horizontal line does not intersect the graph, the function is not surjective:

is bounded:

Bounded functions are not surjective:

If is continuous on and , then is surjective onto :

Use FunctionContinuous to check that is continuous in :

By the intermediate value theorem, restricted to is surjective onto :

An affine mapping is surjective if the rank of is equal to the number of rows of :

Solving Equations and Inequalities  (1)

A function is surjective if the equation has at least one solution for any :

For each real , there is at least one real solution for :

Use Resolve to check the condition expressed using quantifiers:

Probability & Statistics  (3)

A CDF for a continuous distribution is surjective onto the interval of probabilities (0,1) over its domain:

A SurvivalFunction for a continuous distribution is surjective onto the interval of probabilities (0,1) over its domain:

The quantile function Quantile for a distribution is surjective onto the domain of the distribution:

Properties & Relations  (3)

is surjective iff the equation has at least one solution for each :

Use Solve to find the solutions:

A real continuous function on an interval is surjective iff the limits at endpoints are and :

Use Limit to compute the limits:

A function is surjective if its FunctionRange is True:

Possible Issues  (1)

FunctionSurjective determines the real domain of functions using FunctionDomain:

is not surjective onto in the real domain reported by FunctionDomain:

is real valued over the whole reals and is surjective onto :

All subexpressions of need to be real valued for a point to belong to the real domain of :

See Also

FunctionInjective  FunctionBijective  FunctionDomain  FunctionRange  Solve  Resolve

Related Guides

    ▪
  • Properties of Mathematical Functions & Sequences

History

Introduced in 2020 (12.2)

Wolfram Research (2020), FunctionSurjective, Wolfram Language function, https://reference.wolfram.com/language/ref/FunctionSurjective.html.

Text

Wolfram Research (2020), FunctionSurjective, Wolfram Language function, https://reference.wolfram.com/language/ref/FunctionSurjective.html.

CMS

Wolfram Language. 2020. "FunctionSurjective." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FunctionSurjective.html.

APA

Wolfram Language. (2020). FunctionSurjective. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FunctionSurjective.html

BibTeX

@misc{reference.wolfram_2025_functionsurjective, author="Wolfram Research", title="{FunctionSurjective}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/FunctionSurjective.html}", note=[Accessed: 01-May-2026]}

BibLaTeX

@online{reference.wolfram_2025_functionsurjective, organization={Wolfram Research}, title={FunctionSurjective}, year={2020}, url={https://reference.wolfram.com/language/ref/FunctionSurjective.html}, note=[Accessed: 01-May-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English