Skip to main content

BASIC MATHEMATICS FOR NATURAL SCIENCES UNDERGRADUATE STUDENT TEXTBOOK

Preface Preface

Introduction.

This is an interactive online version of the Basic Maths for Natural Sciences textbook. As such, at the end of most section it contains interactive exercises (Checkpoints) that students can use to practice and verify their understanding. Most questions are randomized, meaning that by clicking the Show new example question button, students can get a new random variant of the question to practice with.
The technology for these questions is called STACK. These got beyond multiple choice questions and allow you to enter mathematical expressions. The next paragraphs explain how this is done.

Typing answers in interactive questions.

This book contains interactive STACK questions. When you enter your answers in response to a question, you will have to adhere to certain syntax. In the following, we show the most common examples.
In STACK you often need to enter an answer which is an algebraic expression. You should type in your answers using the same syntax as that used in the symbolic mathematics package Maxima.
The syntax is broadly similar to the syntax used for mathematical formulae in graphical calculators, general programming languages such as Maple, Java, C and Basic and in spreadsheet programs, so you will find it useful to master it.

Checkpoint 0.0.1.

Basic operations.

  • Use a star for multiplication. For example, \(3x\) should be entered as 3*x.
  • Use a caret (^) for raising something to a power: for example, \(x^2\) should be entered as x^2
  • \(x^{-2}\) should be entered as x^(-2)
  • \(\displaystyle x^{\frac{1}{3}}\) should be entered as x^(1/3)
  • Brackets are important to group terms in an expression.

Checkpoint 0.0.2.

Checkpoint 0.0.3.

Checkpoint 0.0.4.

Functions and Greek letters.

Functions always have their arguments in brackets. For example:
  • \(\cos x\) or \(\ln x\) have to be typed as cos(x) or ln(x).
  • \(e^x\) can be typed as e^x or exp(x).
  • Square roots \(\sqrt{x}\) are typed as sqrt(x), though you can also use x^(1/2).
  • Greek letters have to be typed using their English names, e.g. \(\alpha\) is typed as alpha.
Below is the full list of Greek letters.
\(\alpha\) alpha
\(\beta\) beta
\(\gamma\) gamma
\(\delta\) delta
\(\epsilon\) epsilon
\(\zeta\) zeta
\(\eta\) eta
\(\theta\) theta
\(\iota\) iota
\(\kappa\) kappa
\(\lambda\) lambda
\(\mu\) mu
\(\nu\) nu
\(\xi\) xi
\(\omicron\) omicron
\(\pi\) pi
\(\rho\) rho
\(\sigma\) sigma
\(\tau\) tau
\(\upsilon\) upsilon
\(\phi\) phi
\(\chi\) chi
\(\psi\) psi
\(\omega\) omega

Checkpoint 0.0.5.

Checkpoint 0.0.6.

Checkpoint 0.0.7.

Checkpoint 0.0.8.

Other input types.

There are other input types, such as for multiple choice questions or tables of inputs. You may also be asked to input lists or sets.
  • Sets are enclosed by curly brackets \( \{a,b,c\} \) is entered {a,b,c}
  • Lists are enclosed by square brackets \( [a,b,c] \) is entered [a,b,c]

Checkpoint 0.0.9.

Checkpoint 0.0.10.

Checkpoint 0.0.11.