March 20, 2026
Kuina-chan
Kuina-chan Math Lesson 4 explains functions and mappings that connect numbers! It is assumed you have read Lesson 1.
Lesson 3 defined integers “
”. This time, we will explain rational numbers “
” and real numbers “
”, which are so-called decimals, as well as functions and mappings.
”. This time, we will explain rational numbers “
” and real numbers “
”, which are so-called decimals, as well as functions and mappings.1.Rational Numbers and Real Numbers
So far, we have dealt with integers, but from now on we will deal with more detailed “rational numbers” and “real numbers”. These are what we call “decimals”.
1.1Rational Numbers
A number that can be expressed as a fraction of “integer
integer” where the denominator is other than
is called a “rational number”. For example, “

”, “

”, and “


” are rational numbers. The decimal “





” is also a rational number because it can be expressed as the fraction “


”.
integer” where the denominator is other than
is called a “rational number”. For example, “

”, “

”, and “


” are rational numbers. The decimal “





” is also a rational number because it can be expressed as the fraction “


”.At this time, we denote the set of all rational numbers as “
”. That is, “
























”.
”. That is, “
























”.1.2Conversion from Decimal to Fraction
By the way, decimals where digits repeat like “












” can always be converted into “integer
integer” fractions, so they are rational numbers. “

” is also a rational number because it repeats as “





”.













” can always be converted into “integer
integer” fractions, so they are rational numbers. “

” is also a rational number because it repeats as “





”.The method for converting a repeating decimal like “












” into a fraction is as follows.













” into a fraction is as follows.- Let















. - Multiply both sides by a power of

so that one cycle of the repeating part of the decimal appears to the left of the decimal point. That is, 





















. - Subtract the original equation















from this equation. That is, 







. - Transforming the equation, we get

















, so 




















.
Any repeating decimal can be converted to a fraction using this method.
1.3Irrational Numbers
On the other hand, non-repeating decimals are called “irrational numbers”. Irrational numbers cannot be expressed as “integer
integer” fractions. Examples of irrational numbers include Pi “








” and the number that becomes
when squared, “









”.
integer” fractions. Examples of irrational numbers include Pi “








” and the number that becomes
when squared, “









”.Rational numbers and irrational numbers together are called “real numbers”. We denote the set of all real numbers as “
”.
”.Supplement
In this definition of “real numbers”, we used the vague term “decimal”, but it can be defined more rigorously. There are several ways to define it, but simply put, if you line up infinitely many rational numbers, they may approach something arbitrarily close. That number may not be a rational number, and we define that as an irrational number. Rational numbers and irrational numbers together are real numbers.
Now, all natural numbers are included in integers. Also, all integers are included in rational numbers. Therefore, the inclusion relationship of the numbers introduced so far is as follows.
Natural numbers
Integers
Rational numbers
Real numbers 
1.4Main Operations
For rational numbers and real numbers, just like integers, addition “

”, subtraction “

”, multiplication “

”, exponentiation “
”, and absolute value “

” are defined for two numbers 

. Also, for
not equal to
, division “

” is also defined. However, if
is
, for example “

”, it is undefined.


”, subtraction “

”, multiplication “

”, exponentiation “
”, and absolute value “

” are defined for two numbers 

. Also, for
not equal to
, division “

” is also defined. However, if
is
, for example “

”, it is undefined.Furthermore, “square root” is defined for real numbers. The “square root of
” is
that satisfies “


”. For example, the “square roots of
” are the two numbers “


” because “


” and “





” hold true. Similarly, the “square roots of
” are “


”.
” is
that satisfies “


”. For example, the “square roots of
” are the two numbers “


” because “


” and “





” hold true. Similarly, the “square roots of
” are “


”.Of the square roots, the one that is
or greater is called the “positive square root” and is represented by the symbol “
”. That is, “

” and “

”.
or greater is called the “positive square root” and is represented by the symbol “
”. That is, “

” and “

”.Extending this, the value of
satisfying “


” is called the “
-th root of
”. And the
-th root of
(where
is
or greater) is expressed as “
”. For example, since “



”, “![\sqrt[4]{16}](/m/sqrt_4_16.webp)

”.
satisfying “


” is called the “
-th root of
”. And the
-th root of
(where
is
or greater) is expressed as “
”. For example, since “



”, “![\sqrt[4]{16}](/m/sqrt_4_16.webp)

”.Here are some values of positive square roots.
| Positive Square Root |
|---|
![]() ![]() ![]() |
![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() ![]() |
If we graph the positive square root 

, it looks like the figure below. If
is less than
, there is no real number that becomes
when squared, so
is undefined.


, it looks like the figure below. If
is less than
, there is no real number that becomes
when squared, so
is undefined.
By the way,
is an irrational number. It is simple, so let’s prove it.
is an irrational number. It is simple, so let’s prove it.- Below, we show that if
were a rational number, it would lead to a contradiction, proving by elimination that
is an irrational number. - First, assume “
is a rational number”. Then, from the definition of rational numbers and 

, it can be expressed as “



” using certain positive integers 

. - Square both sides to get “






”. Multiply both sides by 
to get “




”. - Since


are positive integers, both sides of “




” are positive integers, and both sides can be prime factorized. If we prime factorize both sides respectively, by the uniqueness of prime factorization, the prime factors of both sides must match. - When


are squared, the number of each prime factor included doubles, so the number of
s among the prime factors of “
” and “
” is even respectively. Therefore, among the prime factors of “




”, the number of
s on the left side is odd, and on the right side is even, which do not match and is a contradiction. - Thus, the proposition “
is a rational number” is found to be false, so by the law of excluded middle, the proposition “
is not a rational number” is true. That is,
is an irrational number. (End of proof)
In this way, the proof method of “assuming 
holds to intentionally derive a contradiction, and proving
by elimination” is called “proof by contradiction”.

holds to intentionally derive a contradiction, and proving
by elimination” is called “proof by contradiction”.2.High-Degree Equations
2.1Linear Equations
Let’s try solving real number equations. First, here is a simple problem below.
Problem
Find all
that satisfy 




.
An equation of the form “




(where 

)” is called a “linear equation”. A linear equation can be easily solved simply by adding or multiplying the same number to both sides.





(where 

)” is called a “linear equation”. A linear equation can be easily solved simply by adding or multiplying the same number to both sides.- Add
to both sides of 




to get 


. - Divide both sides of



by
to get 

. - Therefore,
satisfying 




is
.
2.2Quadratic Equations
Next is a slightly more complex problem below.
Problem
Find all
that satisfy 








.
An equation of the form “








(where 

)” is called a “quadratic equation”. A quadratic equation can be easily solved if it can be transformed into the form “










”, so we aim for this form.









(where 

)” is called a “quadratic equation”. A quadratic equation can be easily solved if it can be transformed into the form “










”, so we aim for this form.First, expand the left side of the equation “










”. There is a rule “










”, so by repeatedly applying this to remove the parentheses, we can transform it to “















































”. We got closer to the equation in the problem.











”. There is a rule “










”, so by repeatedly applying this to remove the parentheses, we can transform it to “















































”. We got closer to the equation in the problem.Comparing this “












” with the problem equation “








”, we can see that if we fit
into “

” and 

into “
”, we can make the same equation. If we think of appropriate 

such that “



” and “




”, we find that “






”. Fitting them in, we get “



















”.













” with the problem equation “








”, we can see that if we fit
into “

” and 

into “
”, we can make the same equation. If we think of appropriate 

such that “



” and “




”, we find that “






”. Fitting them in, we get “



















”.So, from the results so far, we found that the problem equation “








” can be transformed into “



















”, and this can be transformed into “













”. In other words, instead of the problem equation, let’s find
that satisfies “










”. This means that multiplying “

” and “

” gives
, so at least one of them must be
.









” can be transformed into “



















”, and this can be transformed into “













”. In other words, instead of the problem equation, let’s find
that satisfies “










”. This means that multiplying “

” and “

” gives
, so at least one of them must be
.Considering the case where “

” is
, we find 


. Considering the case where “

” is
, we find 

. Both do not become
simultaneously. Therefore, these are all the solutions. That is,
satisfying 








is 




.


” is
, we find 


. Considering the case where “

” is
, we find 

. Both do not become
simultaneously. Therefore, these are all the solutions. That is,
satisfying 








is 




.2.3Quadratic Formula
By the way, the solution to a quadratic equation can also be solved by the following formula called the “quadratic formula”.
Indeed, we obtained the same solutions as before.
3.Mappings
Finally, we will solve functions and mappings.
A “mapping” is something that corresponds every element of a certain set to an element of a certain set, and is sometimes called a “function”. In the figure below, what corresponds to the collection of “arrows” connecting elements is the mapping.
A mapping
associating an element of set
with an element of set
is expressed as “



”. Also at this time, the element of set
corresponding to the element
of set
is expressed as “


”. For example, in this figure, since element 
is associated with element 
, it becomes 






.
associating an element of set
with an element of set
is expressed as “



”. Also at this time, the element of set
corresponding to the element
of set
is expressed as “


”. For example, in this figure, since element 
is associated with element 
, it becomes 






.When “



”, for any element
of set
, there exists exactly one corresponding element 


in set
. It is never the case that there is no destination or multiple destinations.




”, for any element
of set
, there exists exactly one corresponding element 


in set
. It is never the case that there is no destination or multiple destinations.Also, a mapping can associate between the same set. In other words, it can be “



”.




”.For example, for the set of all natural numbers
, “





” which doubles the element
of
becomes the mapping “



”.
, “





” which doubles the element
of
becomes the mapping “



”.
3.1Surjection, Injection, Bijection
In “



”, if the elements of
correspond to all elements of
without leaving any out,
is called a “surjection”. Strictly speaking, when the collection of 


for all elements
of the set
matches the set
,
is a surjection.




”, if the elements of
correspond to all elements of
without leaving any out,
is called a “surjection”. Strictly speaking, when the collection of 


for all elements
of the set
matches the set
,
is a surjection.Also, when the elements of
corresponding to each element of
have no duplicates,
is called an “injection”. Strictly speaking, for any two different elements 

of
, if 


and 


are always different,
is an injection.
corresponding to each element of
have no duplicates,
is called an “injection”. Strictly speaking, for any two different elements 

of
, if 


and 


are always different,
is an injection.When the mapping
is both surjective and injective,
is called a “bijection”. At this time, the elements of
and the elements of
correspond exactly one-to-one.
is both surjective and injective,
is called a “bijection”. At this time, the elements of
and the elements of
correspond exactly one-to-one.The images of surjection, injection, and bijection are summarized in the figure below.
3.2Inverse Mapping
The mapping with the direction of correspondence reversed of mapping
is called the “inverse mapping” of
and is expressed as “

”. Strictly speaking, although it is complicated to explain, when two mappings “



” and “



” always satisfy “







” for any element
of
and always satisfy “







” for any element
of
,
is the inverse mapping of
“



”.
is called the “inverse mapping” of
and is expressed as “

”. Strictly speaking, although it is complicated to explain, when two mappings “



” and “



” always satisfy “







” for any element
of
and always satisfy “







” for any element
of
,
is the inverse mapping of
“



”.For example, if we consider the mapping “



” defined by “






” and the mapping “



” defined by “






”, since the direction of correspondence is reversed, we can say that
is the inverse mapping of
“



”.




” defined by “






” and the mapping “



” defined by “






”, since the direction of correspondence is reversed, we can say that
is the inverse mapping of
“



”.
By the way, if the mapping
is not a bijection, the inverse mapping does not exist for
. Also, if
is a bijection, the inverse mapping 

of
always exists, and there is only one kind.
is not a bijection, the inverse mapping does not exist for
. Also, if
is a bijection, the inverse mapping 

of
always exists, and there is only one kind.We explained real numbers and mappings this time. Next time, we will explain various figures such as triangles and circles!









