Skip to main content
Biology LibreTexts

B: Mathematical Basics

  • Page ID
    77770
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Squares and Other Powers

    An exponent, or a power, is mathematical shorthand for repeated multiplications. For example, the exponent “2” means to multiply the base for that exponent by itself (in the example here, the base is “5”):

    \[5^2=5×5=25\]

    The exponent is “2” and the base is the number “5.” This expression (multiplying a number by itself) is also called a square. Any number raised to the power of 2 is being squared. Any number raised to the power of 3 is being cubed:

    \[5^3=5×5×5=125\]

    A number raised to the fourth power is equal to that number multiplied by itself four times, and so on for higher powers. In general:

    \[n^x=n×n^{x−1}\]

    Calculating Percents

    A percent is a way of expressing a fractional amount of something using a whole divided into 100 parts. A percent is a ratio whose denominator is 100. We use the percent symbol, %, to show percent. Thus, 25% means a ratio of \(\frac{25}{100}\), 3% means a ratio of \(\frac{3}{100}\), and 100% percent means \(\frac{100}{100}\), or a whole.

    Converting Percents

    A percent can be converted to a fraction by writing the value of the percent as a fraction with a denominator of 100 and simplifying the fraction if possible.

    \[25\%=\dfrac{25}{100}=\dfrac{1}{4}\]

    A percent can be converted to a decimal by writing the value of the percent as a fraction with a denominator of 100 and dividing the numerator by the denominator.

    \[10\%=\dfrac{10}{100}=0.10\]

    To convert a decimal to a percent, write the decimal as a fraction. If the denominator of the fraction is not 100, convert it to a fraction with a denominator of 100, and then write the fraction as a percent.

    \[0.833=\dfrac{833}{1000}=\dfrac{83.3}{100}=83.3\%\]

    To convert a fraction to a percent, first convert the fraction to a decimal, and then convert the decimal to a percent.

    \[\dfrac{3}{4}=0.75=\dfrac{75}{100}=75\%\]

    Suppose a researcher finds that 15 out of 23 students in a class are carriers of Neisseria meningitides. What percentage of students are carriers? To find this value, first express the numbers as a fraction.

    \[\mathrm{\dfrac{carriers}{total\: students}}=\dfrac{15}{23}\]

    Then divide the numerator by the denominator.

    \[\dfrac{15}{23}=15\div 23 \approx 0.65\]

    Finally, to convert a decimal to a percent, multiply by 100.

    \[0.65 \times 100=65\%\]

    The percent of students who are carriers is 65%.

    You might also get data on occurrence and non-occurrence; for example, in a sample of students, 9 tested positive for Toxoplasma antibodies, while 28 tested negative. What is the percentage of seropositive students? The first step is to determine the “whole,” of which the positive students are a part. To do this, sum the positive and negative tests.

    \[\mathrm{positive+negative=9+28=37}\]

    The whole sample consisted of 37 students. The fraction of positives is:

    \[\mathrm{\dfrac{positive}{total\: students}=\dfrac{9}{37}}\]

    To find the percent of students who are carriers, divide the numerator by the denominator and multiply by 100.

    \[\dfrac{9}{37}=9 \div 37 \approx 0.24\\
    0.24 \times 100=24\%\]

    The percent of positive students is about 24%.

    Another way to think about calculating a percent is to set up equivalent fractions, one of which is a fraction with 100 as the denominator, and cross-multiply. The previous example would be expressed as:

    \[\dfrac{9}{37}=\dfrac{x}{100}\]

    Now, cross multiply and solve for the unknown:

    \[\begin{align}
    9 \times 100 &=37 x & & \nonumber\\[5pt]
    \frac{9 \times 100}{37} &=x & & \text{Divide both sides by 37} \nonumber\\[5pt]
    \frac{900}{37} &=x & & \text{Multiply} \nonumber\\[5pt]
    24 & \approx x & & \text{Divide}\nonumber
    \end{align}\]

    The answer, rounded, is the same.

    Multiplying and Dividing by Tens

    In many fields, especially in the sciences, it is common to multiply decimals by powers of 10. Let’s see what happens when we multiply 1.9436 by some powers of 10.

    \[\begin{align}
    1.9436(10)&=19.436\nonumber\\
    1.9436(100)&=194.36\nonumber\\
    1.9436(1000)&=1943.6\nonumber
    \end{align}\]

    The number of places that the decimal point moves is the same as the number of zeros in the power of ten. Table \(\PageIndex{1}\) summarizes the results.

    Table \(\PageIndex{1}\)
    Multiply by Zeros Decimal point moves . . .
    10 1 1 place to the right
    100 2 2 places to the right
    1,000 3 3 places to the right
    10,000 4 4 places to the right

    We can use this pattern as a shortcut to multiply by powers of ten instead of multiplying using the vertical format. We can count the zeros in the power of 10 and then move the decimal point that same number of places to the right.

    So, for example, to multiply 45.86 by 100, move the decimal point 2 places to the right.

    An equation reads 45.86 × 100 = 4586. An arrow shows the decimal point moving two places to the right.

    Sometimes when we need to move the decimal point, there are not enough decimal places. In that case, we use zeros as placeholders. For example, let’s multiply 2.4 by 100. We need to move the decimal point 2 places to the right. Since there is only one digit to the right of the decimal point, we must write a 0 in the hundredths place.

    An equation reads 2.4 × 100 = 240. An arrow shows the decimal point moving two places to the right.

    When dividing by powers of 10, simply take the opposite approach and move the decimal to the left by the number of zeros in the power of ten.

    Let’s see what happens when we divide 1.9436 by some powers of 10.

    \[\begin{align}
    1.9436 \div 10&=0.19436\nonumber\\
    1.9436 \div 100&=0.019436\nonumber\\
    1.9436 \div 1000&=0.0019436\nonumber
    \end{align}\]

    If there are insufficient digits to move the decimal, add zeroes to create places.

    Scientific Notation

    Scientific notation is used to express very large and very small numbers as a product of two numbers. The first number of the product, the digit term, is usually a number not less than 1 and not greater than 10. The second number of the product, the exponential term, is written as 10 with an exponent. Some examples of scientific notation are given in Table \(\PageIndex{2}\).

    Table \(\PageIndex{2}\)
    Standard Notation Scientific Notation
    1000 1 × 103
    100 1 × 102
    10 1 × 101
    1 1 × 100
    0.1 1 × 10−1
    0.01 1 × 10−2

    Scientific notation is particularly useful notation for very large and very small numbers, such as 1,230,000,000 = 1.23 × 109, and 0.00000000036 = 3.6 × 10−10.

    Expressing Numbers in Scientific Notation

    Converting any number to scientific notation is straightforward. Count the number of places needed to move the decimal next to the left-most non-zero digit: that is, to make the number between 1 and 10. Then multiply that number by 10 raised to the number of places you moved the decimal. The exponent is positive if you moved the decimal to the left and negative if you moved the decimal to the right. So

    \[2386=2.386\times1000=2.386\times10^3\]

    and

    \[0.123=1.23\times0.1=1.23\times10^{-1}\]

    The power (exponent) of 10 is equal to the number of places the decimal is shifted.

    Logarithms

    The common logarithm (log) of a number is the power to which 10 must be raised to equal that number. For example, the common logarithm of 100 is 2, because 10 must be raised to the second power to equal 100. Additional examples are in Table \(\PageIndex{3}\).

    Table \(\PageIndex{3}\)
    Number Exponential Form Common Logarithm
    1000 103 3
    10 101 1
    1 100 0
    0.1 10−1 −1
    0.001 10−3 −3

    To find the common logarithm of most numbers, you will need to use the LOG button on a calculator.

    Rounding and Significant Digits

    In reporting numerical data obtained via measurements, we use only as many significant figures as the accuracy of the measurement warrants. For example, suppose a microbiologist using an automated cell counter determines that there are 525,341 bacterial cells in a one-liter sample of river water. However, she records the concentration as 525,000 cells per liter and uses this rounded number to estimate the number of cells that would likely be found in 10 liters of river water. In this instance, the last three digits of the measured quantity are not considered significant. They are rounded to account for variations in the number of cells that would likely occur if more samples were measured.

    The importance of significant figures lies in their application to fundamental computation. In addition and subtraction, the sum or difference should contain as many digits to the right of the decimal as that in the least certain (indicated by underscoring in the following example) of the numbers used in the computation.

    Suppose a microbiologist wishes to calculate the total mass of two samples of agar.

    \[\begin{array}{l}
    4.38 \underline{3} \text{ g} \\
    \underline{3.002\underline{1}} \text{ g}\\
    7.38\underline{5} \text{ g}
    \end{array}\]

    The least certain of the two masses has three decimal places, so the sum must have three decimal places.

    In multiplication and division, the product or quotient should contain no more digits than than in the factor containing the least number of significant figures. Suppose the microbiologist would like to calculate how much of a reagent would be present in 6.6 mL if the concentration is 0.638 g/mL.

    \[\mathrm{0.63\underline{8}\:\dfrac{g}{mL}\times6.\underline{6}\:mL=4.1\:g}\]

    Again, the answer has only one decimal place because this is the accuracy of the least accurate number in the calculation.

    When rounding numbers, increase the retained digit by 1 if it is followed by a number larger than 5 (“round up”). Do not change the retained digit if the digits that follow are less than 5 (“round down”). If the retained digit is followed by 5, round up if the retained digit is odd, or round down if it is even (after rounding, the retained digit will thus always be even).

    Generation Time

    It is possible to write an equation to calculate the cell numbers at any time if the number of starting cells and doubling time are known, as long as the cells are dividing at a constant rate. We define N0 as the starting number of bacteria, the number at time t = 0. Ni is the number of bacteria at time t = i, an arbitrary time in the future. Finally we will set j equal to the number of generations, or the number of times the cell population doubles during the time interval. Then we have,

    \[N_i=N_0\times2^j\]

    This equation is an expression of growth by binary fission.

    In our example, N0 = 4, the number of generations, j, is equal to 3 after 90 minutes because the generation time is 30 minutes. The number of cells can be estimated from the following equation:

    \[\begin{align}
    N_i&=N_0\times2^j\nonumber\\
    N_{90}&=4\times2^3\nonumber\\
    N_{90}&=4\times8=32\nonumber
    \end{align}\]

    The number of cells after 90 minutes is 32.

    Most Probable Number

    The table in Figure \(\PageIndex{1}\) contains values used to calculate the most probable number example given in How Microbes Grow.

    A table is titled Most Probable Number Table. For each row, it states the number of tubes giving a positive reaction for a 5-tube set for 10 mL, 1 mL and 0.1 mL tubes, followed by the MPN per 100 mL, and the 95% confidence limits for low and high. For row 1, the reactions are 10 mL = 0, 1 mL = 0, 0.1 mL = 0; the MPN is <2, and the low and high confidence limits are <1 and 7. For row 2, the reactions are 10 mL = 0, 1 mL = 1, 0.1 mL = 0; the MPN is 2, and the low and high confidence limits are <1 and 7. For row 3, the reactions are 10 mL = 0, 1 mL = 2, 0.1 mL = 0; the MPN is 4, and the low and high confidence limits are <1 and 11. For row 4, the reactions are 10 mL = 1, 1 mL = 0, 0.1 mL = 0; the MPN is 2, and the low and high confidence limits are <1 and 7. For row 5, the reactions are 10 mL = 1, 1 mL = 0, 0.1 mL = 1; the MPN is 4, and the low and high confidence limits are <1 and 11. For row 6, the reactions are 10 mL = 1, 1 mL = 1, 0.1 mL = 0; the MPN is 4, and the low and high confidence limits are <1 and 11. For row 7, the reactions are 10 mL = 1, 1 mL = 1, 0.1 mL = 1; the MPN is 6, and the low and high confidence limits are <1 and 15. For row 8, the reactions are 10 mL = 2, 1 mL = 0, 0.1 mL = 0; the MPN is 5, and the low and high confidence limits are <1 and 13. For row 9, the reactions are 10 mL = 2, 1 mL = 0, 0.1 mL = 1; the MPN is 7, and the low and high confidence limits are 1 and 17. For row 10, the reactions are 10 mL = 2, 1 mL = 1, 0.1 mL = 0; the MPN is 7, and the low and high confidence limits are 1 and 17. For row 11, the reactions are 10 mL = 2, 1 mL = 1, 0.1 mL = 1; the MPN is 9, and the low and high confidence limits are 2 and 21. For row 12, the reactions are 10 mL = 2, 1 mL = 2, 0.1 mL = 0; the MPN is 9, and the low and high confidence limits are 2 and 21. For row 13, the reactions are 10 mL = 2, 1 mL = 3, 0.1 mL = 0; the MPN is 12, and the low and high confidence limits are 3 and 28. For row 14, the reactions are 10 mL = 3, 1 mL = 0, 0.1 mL = 0; the MPN is 8, and the low and high confidence limits are 1 and 19. For row 15, the reactions are 10 mL = 3, 1 mL = 0, 0.1 mL = 1; the MPN is 11, and the low and high confidence limits are 2 and 25. For row 16, the reactions are 10 mL = 3, 1 mL = 1, 0.1 mL = 0; the MPN is 11, and the low and high confidence limits are 2 and 25. For row 17, the reactions are 10 mL = 3, 1 mL = 1, 0.1 mL = 1; the MPN is 14, and the low and high confidence limits are 4 and 34. For row 18, the reactions are 10 mL = 3, 1 mL = 2, 0.1 mL = 0; the MPN is 14, and the low and high confidence limits are 4 and 34. For row 19, the reactions are 10 mL = 3, 1 mL = 2, 0.1 mL = 1; the MPN is 17, and the low and high confidence limits are 5 and 46. For row 20, the reactions are 10 mL = 3, 1 mL = 3, 0.1 mL = 0; the MPN is 17, and the low and high confidence limits are 5 and 46. For row 21, the reactions are 10 mL = 4, 1 mL = 0, 0.1 mL = 0; the MPN is 13, and the low and high confidence limits are 3 and 31. For row 22, the reactions are 10 mL = 4, 1 mL = 0, 0.1 mL = 1; the MPN is 17, and the low and high confidence limits are 5 and 46. For row 23, the reactions are 10 mL = 4, 1 mL = 1, 0.1 mL = 0; the MPN is 17, and the low and high confidence limits are 5 and 46. For row 24, the reactions are 10 mL = 4, 1 mL = 1, 0.1 mL = 1; the MPN is 21, and the low and high confidence limits are 7 and 63. For row 25, the reactions are 10 mL = 4, 1 mL = 1, 0.1 mL = 2; the MPN is 26, and the low and high confidence limits are 9 and 78. For row 26, the reactions are 10 mL = 4, 1 mL = 2, 0.1 mL = 0; the MPN is 22, and the low and high confidence limits are 7 and 67. For row 27, the reactions are 10 mL = 4, 1 mL = 2, 0.1 mL = 1; the MPN is 26, and the low and high confidence limits are 9 and 80. For row 28, the reactions are 10 mL = 4, 1 mL = 3, 0.1 mL = 0; the MPN is 27, and the low and high confidence limits are 9 and 80. For row 29, the reactions are 10 mL = 4, 1 mL = 3, 0.1 mL = 1; the MPN is 33, and the low and high confidence limits are 11 and 93. For row 30, the reactions are 10 mL = 4, 1 mL = 4, 0.1 mL = 0; the MPN is 34, and the low and high confidence limits are 12 and 93. For row 31, the reactions are 10 mL = 5, 1 mL = 0, 0.1 mL = 0; the MPN is 23, and the low and high confidence limits are 7 and 70. For row 32, the reactions are 10 mL = 5, 1 mL = 0, 0.1 mL = 1; the MPN is 31, and the low and high confidence limits are 11 and 89. For row 33, the reactions are 10 mL = 5, 1 mL = 0, 0.1 mL = 2; the MPN is 43, and the low and high confidence limits are 15 and 110. For row 34, the reactions are 10 mL = 5, 1 mL = 1, 0.1 mL = 0; the MPN is 33, and the low and high confidence limits are 11 and 93. For row 35, the reactions are 10 mL = 5, 1 mL = 1, 0.1 mL = 1; the MPN is 46, and the low and high confidence limits are 16 and 120. For row 36, the reactions are 10 mL = 5, 1 mL = 1, 0.1 mL = 2; the MPN is 63, and the low and high confidence limits are 21 and 150. For row 37, the reactions are 10 mL = 5, 1 mL = 2, 0.1 mL = 0; the MPN is 49, and the low and high confidence limits are 17 and 130. For row 38, the reactions are 10 mL = 5, 1 mL = 2, 0.1 mL = 1; the MPN is 70, and the low and high confidence limits are 23 and 170. For row 39, the reactions are 10 mL = 5, 1 mL = 2, 0.1 mL = 2; the MPN is 94, and the low and high confidence limits are 28 and 220. For row 40, the reactions are 10 mL = 5, 1 mL = 3, 0.1 mL = 0; the MPN is 79, and the low and high confidence limits are 25 and 190. For row 41, the reactions are 10 mL = 5, 1 mL = 3, 0.1 mL = 1; the MPN is 110, and the low and high confidence limits are 31 and 250. For row 42, the reactions are 10 mL = 5, 1 mL = 3, 0.1 mL = 2; the MPN is 140, and the low and high confidence limits are 37 and 340. For row 43, the reactions are 10 mL = 5, 1 mL = 3, 0.1 mL = 3; the MPN is 180, and the low and high confidence limits are 44 and 500.
    Figure \(\PageIndex{1}\)