Skip to content

Instantly share code, notes, and snippets.

View theronhitchman's full-sized avatar

TJ Hitchman theronhitchman

View GitHub Profile
@dandrake
dandrake / gist:6fa2f03b5dff632706a9
Created December 31, 2014 01:25
get a list of row operations / elementary matrices that reduce a matrix to rref
# Sage has a built-in rref() method for matrices, but sometimes when
# teaching it's nice to get a list of the row operations you would do to
# put the matrix into rref -- or, equivalent, a list of the
# corresponding elementary matrices.
#
# This script contains two functions along those lines:
#
# rref(): returns a list of elementary matrices that put the matrix into rref
# rref_steps(): returns a list of strings that describe what row ops to do
#
# LaTeX Files
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
<!-- put this in the header-->
<script src='http://sagecell.sagemath.org/static/jquery.min.js'/>
<script src='http://sagecell.sagemath.org/static/embedded_sagecell.js'/>
<link href='http://sagecell.sagemath.org/static/sagecell_embed.css' rel='stylesheet' type='text/css'/>
<!-- put this in the body where you want a cell. adjust your inputs, of course. -->
<div class="sage">
<script type="text/x-sage">
1+2
</script></div>
@theronhitchman
theronhitchman / student_paper.tex
Last active December 12, 2015 03:09
Template for Student Homework Paper in a proof based mathematics course using a journal structure
%%% This is a cut-and-paste template for a basic short paper in an IBL proof-heavy course.
%%% The header parts of this document should be left alone. It will ensure that everything
%%% will compile and all of the formatting will turn out OK.
%%% Headers -- these give the document its general structure, and tell LaTeX which basic
%%% functionality to load
\documentclass{amsart}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{url}
@arvearve
arvearve / gist:4158578
Created November 28, 2012 02:01
Mathematics: What do grad students in math do all day?

Mathematics: What do grad students in math do all day?

by Yasha Berchenko-Kogan

A lot of math grad school is reading books and papers and trying to understand what's going on. The difficulty is that reading math is not like reading a mystery thriller, and it's not even like reading a history book or a New York Times article.

The main issue is that, by the time you get to the frontiers of math, the words to describe the concepts don't really exist yet. Communicating these ideas is a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.

What can you say?