Nepedia
Back to Discover
Independent Reader
🔢

Partial function

math Maturity 7-9 Next article →

In math, a rule often links one set of things to another. We call this a function. Most rules work for every item in the first set. These are called total functions.

Total function
Total function

But some rules have gaps. They might not work for every item. These are called partial functions. A partial function only works for some parts of the set. This part is called the domain of definition.

Partial function
Partial function

Think about finding a square root. You can find the square root of four. But you cannot find the square root of a negative number using real numbers. This makes the rule a partial function. Another example is subtraction. If you subtract a large number from a small one, you might leave the set of natural numbers.

Computers use partial functions too. Sometimes a computer program might loop forever. Or it might stop and show an error. This happens when a rule is not defined. Scientists use these ideas to study complex shapes. They use small patches of math to describe big things. This helps them map out very large structures.

179 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Partial function.svg
Partial function.svg
File:Total function.svg
Total function.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.