Introduction to MCS 220 and L A TEX

Similar documents
Introduction to L A TEX for MCS-236

L A TEX Primer. Randall R. Holmes. August 17, 2018

Math 235: Introduction to LaTeX

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

Guide to using L A TEX

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number.

Math 395 Homework #1 Due Wednesday, April 12


1 Obtaining LyX and L A TEX

Learning LaTeX: The Basics

An Interactive Introduction to L A TEX

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

Homework # You ll want to use some LaTeX editor to edit and compile your.tex files

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps:

Course A, Part 1 Basic Formatting in L A TEX

Getting started with Latex

An introduction to L A TEX for students

Homework # (Latex Handout) by Laura Parkinson

Typesetting in wxmaxima

LATEX Primer. 1 Introduction (Read Me)

My Mathematical Thesis

Effective Programming Practices for Economists

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4

INSTALLING AND USING L A TEX

TUTORIAL 10: ARRAYS AND MATRICES. 1. Welcome. Hello. My name is Dr. Christopher Raridan (Dr. R). I want to welcome you to the L A TEX Tutorial Series.

LaTeX A Tutorial. Mohsen Alimomeni, 2010

L A TEX for Psychological Researchers

Become a L A TEX Guru

Introduction to L A TEX

Introduction to L A TEX

An Introduction to LATEX

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

Latex Tutorial 1 L A TEX. 1.1 Text

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

Pimp your thesis: a minimal introduction to L A T E X.

Introduction to Scientific Typesetting Lesson 1: Getting Started

Meeting One. Aaron Ecay. February 2, 2011

How to L A TEX. George Wong, David Mykytyn. 6 October 2016

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

An Introduction to L A TEX

Teacher Activity: page 1/9 Mathematical Expressions in Microsoft Word

WordTeX. Tom Wildenhain

Using the Equation Palette

Preparing Z specifications using LaTeX markup

Typing Mathematics. Darrin Doud

Electronic Production Guidelines

Paul Gartside. March 2, 2013

Template and Tutorial for Math Modelers

Introduction to Math in LaTeX

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations

VERY VERY SHORT GUIDE TO LATEX

Getting Started with L A TEX

Using L A TEX Tom Edgar

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands.

Assessments for CS students:

Outline. A Sneak Peek

Introduction to LATEX

Latex Tutorial. CIS400 Senior Design 9/5/2013

The MathType Window. The picture below shows MathType with all parts of its toolbar visible: Small bar. Tabs. Ruler. Selection.

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why?

Calculus III. 1 Getting started - the basics

A Grasshopper s Approach to L A TEX

The L Y X Tutorial. by the L Y X Team 1. December 2, them to the LYX Documentation mailing list:

LaTeX, automata,computability, and notation. CS154 Chris Pollett Jan. 25, 2006.

L A TEX and Basic Text Editing

1. The Joy of TEX. Check out this example!

Lab1: Communicating science

LaTeX and Turing Machines. CS254 Chris Pollett Aug. 30, 2006.

Using MathType for the Worksheets: Word 2003 edition

L A TEX: Online module 2

In math, the rate of change is called the slope and is often described by the ratio rise

Helen Cameron. A Brief Overview of LATEX

A Brief Introduction to L A TEX

Typesetting with TEX

Generating Functions

Introduction to LaTeX. Paul Fodor Stony Brook University

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 14

WYSIWYG Systems. CSCM10 Research Methodology Lecture 4 (11/2/16): A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems

Learn how to [learn] LATEX

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz

Introduction to the Emacs Editor

An Introduction to LATEX

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game

CSCM10 Research Methodology A Taster of L A TEX

Skill 1: Multiplying Polynomials

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Divisibility Rules and Their Explanations

Learning to Program with Haiku

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5

Introduction to L A TEX

L A TEX E Here s the example of a X

Just Enough L A TEX, Week 4

A Short Introduction to L A TEX

Table of Contents Headings:... 2 Changing text to a heading... 2 Modifying Style settings for current and future documents... 2

C++ Reference NYU Digital Electronics Lab Fall 2016

Workshop: A Simple Introduction to L A TEX

Getting ready for L A TEX. Alexis Dimitriadis. Version: March 28, 2013

L A TEX: Online module 9

Transcription:

Introduction to MCS 220 and L A TEX Tom LoFaro August 28, 2009 1 Introduction to MCS 220 MCS 220, Introduction to Analysis, carries a WRITD (writing in the discipline) designation. What this means to you is that not only will you be learning mathematics, but you will also be learning the rhetoric of mathematics as well. You may think that doing mathematics means doing lots of integrals, derivatives, and other fancy calculations and while this is certainly a big part of what we do it is far from the most important part. Mathematics is primarily about theorems and their proofs. The important thing to understand right now is that a theorem is a precisely stated logical statement and a proof provides the deductive reasoning that demonstrates the truth of the theorem. This course provides an introduction to the mathematical foundations of calculus and hence a good portion of modern mathematics. Ideas that you have taken for granted (such as continuity for example) will be discussed in depth and in a very rigourous fashion. We will also spend a lot of time working on the writing of mathematics. Be warned, writing mathematical theorems and proofs is very different than writing a research paper. There is no place for emotional arguments or flowery exposition. Everything must be logical deductive reasoning. We start at point A (the hypothesis of the theorem) and deductive reasoning leads us through a sequence of steps until we reach point B (the conclusion of the theorem). 1

2 A Very Gentle Introduction to L A TEX Because this is a writing course, you will be typing almost all of your assignments and you will be doing it in a mathematical typesetting language known as L A TEX. Don t get me wrong, I like Microsoft Word as much as the next guy. But it is nearly impossible to typeset mathematics in it. Thus I think that it is definitely worth the time and effort to learn L A TEX which was designed for this task and this task only. 2.1 Getting L A TEX We have L A TEX on all of the computers in the lab so you can always work there. If you want, you can also download it (it s free!) onto your Mac or PC. To download L A TEX go to http://www.latex-project.org/ftp.html. You will also need an editor (something to write write your L A TEX in). The Mac version comes with an editor. I m not sure if the Windows version does or does not. I like an editor called emacs and it is what I will be using in class. It is also available free (for Macs go to http://aquamacs.org/ for the version I use. For Windows go to http://www.xemacs.org/download/index.html. If you have any questions about installing any of this software see Aaron Nienow who manages the MCS Department computer resources or me (as a last resort). This was all very easy on my Mac so hopefully it will be easy on your computer as well. 2.2 Using L A TEX L A TEX is much different than Word in that it is not WYSIWYG (What You See Is What You Get). You first write a L A TEX file like this one and then you compile it to get the pretty output file (ultimately a PDF file). This probably seems like a ton of work, but it turns out that it is usually faster, easier, and better looking than anything you could ever do in Word. Every L A TEX document begins with a \documentclass statement that tells the compiler the type of document being produced and some default settings. You can always use the one at the beginning of this document. The meat of the document begings with a \begin{document} statement and ends with a \end{document} statement. Everything that you want to say needs to be between these two lines. 2

In L A TEX regular text is generally typed normally. You don t have to worry about word spacing or paragraph spacing or line spacing etc. Every L A TEX command begins with a backslash (\ ). A new paragraph is preceded with a blank line. In-line mathematics is enclosed in dollar signs such as $x_1=4$ or $f (x)=3x^2-2$ which results in x 1 = 4 or f (x) = 3x 2 2. Note that subscripts are indicated using the underscore (_) while superscripts with the caret (^). Subscripts or superscripts of more than one character must be included in curly braces ($M_{12}$ gives M 12 ). Multi-line output is often bracketed by \begin{whatever} and \end{whatever} statements. For example displayed equations are bracketed by \begin{equation} and \end{equation} statements. Displayed equations can also be numbered such as the Fourier series below. ( ) nπx B n sin n=0 L Equations that are not numbered (but still displayed) are bracketed by the shortcut \[ and \].. B n = 2 L L 0 ( ) nπx f(x) sin dx L There are a couple of other things to note in these examples. Fractions are displayed using the \frac{}{} command. The numerator goes in the first set of braces and the denominator in the second. The \left( and \right) command resize parentheses to match the size of what s inside. You can use \left and \right with any grouping symbols. The \label{eq:fourier1} line provides a label for referencing purposes. A numbered equation can be referred to by using it s label as in the Fourier series is given in equation 1. This way you don t have to keep track of equation numbers manually. Note here how I refer to the equation. The ~ keeps the equation number connected to the word equation for line breaking purposes. I try to give descriptive labels to my equations. (1) 3

Sometimes you may want to display several equations together like below 4 = ɛ ± 2δ 58 = 8x 2y +... Some notes on this list of equations A displayed list of equations is created using the \begin{eqnarray*} \end{eqnarray*}delimiters. The asterick suppresses equation numbering. What you want aligned (usually the equal sign) is brackted by ampersands (&). A new line is indicated by \\. I used a bunch of math symbols in this example. In particular symbols for greek letters are simply their name (i.e. \epsilon). For a capital greek letter capitalize the first letter (i.e. \Delta gives ). There is a quick reference to these symbols in the L A TEX manual or on line at http://stdout.org/ winston/latex/. That s a pretty good introduction to basic mathematical typesetting using L A TEX. Now let s talk about theorems and such. The statement of a theorem is bracketed within the \begin{theorem}, \end{theorem} statements. Similar statements are available for definitions, corollaries, lemmas, etc. See the preamble of this document for a list of these environments. The proof begins with the \pf command and ends with a \qed (again see the preamble). Here is an example. Theorem 1 Assume a, b, c, and d are not all zero. system of equations If ad bc 0 then has a unique solution of x = 0, y = 0. ax + by = 0 (2) cx + dy = 0 (3) 4

Proof: Since ad bc 0 at least one of the four constants is non-zero. Without loss of generality assume a 0. Solving equation 2 for x implies Substituting this into equation 3 and simplifying gives x = b y. (4) a ad bc y = 0. (5) a Since ad bc 0 by assumption, equation 5 implies that y = 0. Equation 4 then implies that x = 0. Hence the system of equations has x = 0, y = 0 as a unique solution. 5