Student workload

I just read an interesting account of what life is like for high school students. An adult shadowed a student for a whole day, going to class, taking exams, sitting all day, etc. The article is definitely worth a read for anyone in ed.

I liked the idea of structuring lessons starting from students questions. It wouldn’t work for 1-on-1 tutoring (a student may have only unknown unknowns) but collectively as a class, the set of all known unknowns probably covers a lot material that would make sense to cover in the current class.

Here’s an idea. Rather than writing advanced software that “measures” the student’s level of understanding and schedules appropriate material for them, why not let students tell you what they do or do not know, and—more importantly—what they would like to learn.

Update Oct 19: Grant posted an followup post.

Scaling sales, a quantitative appoach

Yesterday I watched an excellent video tutorial about startup growth tactics by Adora Cheung, a guest lecturer in Sam Altman’s startup class. The speaker has experience from user-testing 13 business ideas so you can tell she knows what she’s talking about. Growth, cohort analysis, and segmentation are all essential tools startup founders should know about.

It made me think about how little analytics I’ve been doing for minireference.com and this blog. What happens when a visitor comes to the homepage? Do they read the whole page? Do they click on any of the questions? Do they download the free PDF tutorials? Most important of all, do they click on one of they Buy links.

Let’s find out…

I previously evaluated the effectiveness of the landing page and found 3-4% conversion rates for the print book and similar rates for the Buy PDF link, and I remember being pleased about those numbers.

These days I see similar numbers: combined Print+PDF conversion is ~= 7.7%.

Looks good right? (Please, ignore the abysmal mobile conversion rates. I’m on bootstrap2 and everything will be fixed when I upgrade to bootstrap3 in a few weeks.)

The problem is many potential readers drop off after clicking through to lulu.com and gumroad.com. I lose contact with my potential customers as soon as they leave my site, so I don’t know how many of them actually bought something. Today I set out to calculate my real conversion rates by cross correlating the data form the google analytics, lulu.com, and gumroad.com.

Burst analysis

My main “marketing channel” is hacker news. Each time I release a new printable PDF tutorials, I post it to HN. It’s an elaborate ploy to gain readers’ trust by gifting them something useful (e.g. a 4-page printable tutorial) and upsell them to buy one of the books. I consider this to be ethical advertisement.

Because of this mono-site marketing strategy, the traffic on minireference.com is generally calm, but every now and then there is a huge spike that occurs when I post something to HN. This bursty nature of the traffic allows us to do a deeper analysis of the conversion rates.

Using google analytics, The visitors, and the two conversions goals are plotted below:

I chose to analyze the events surrounding two bursts of Aug 29th and Oct 3rd. The Aug 29th spike is thanks to the announcement of the
SymPy tutorial on HN.

I was able to calculate the post-minireference.com conversion rate for the print book:

Buy book link --> ordered from lulu: 14%(3/21) on Aug 29 and 10%(3/29) on Oct 3

The post-minireference.com conversion rate for the PDF is:

Buy PDF link --> ordered from gumroad: 33%(3/12) on Aug 29 and 21%(3/14) on Oct 3

Not cool y’all! I better work on this. What do people not like about lulu.com? Is it because they’re not used to it, should I put an Amazon link there?

What are dem visitors doing?

Another question that’s pertinent is how far down the page to users scroll.
We can obtain this information from the graph of scroll-depth events from google analytics (I have some .js the fires events at 0% (baseline), 25%, 50%, and 100% scroll depth.

It’s hard to read anything from that graph, but I’m saving the data for posterity—I want to have something to compare with when I switch to the new landing page…

Does the free tutorial marketing strategy work?

It took me more than a mont of part-time work to write the SymPy tutorial. It’s almost like a little book, since it covers so many topics. I also incurred $90 in copy-editing costs to make sure the writing is solid, since the tutorial was to become an appendix in the book. Was this effort worth it? Let’s see the traffic that resulted.

A total of 10k people downloaded the PDF. I had to use the server logs to get this data, because many people linked directly to the PDF, which means google analytics won’t see these hits. Using zgrep and wc the count the number of lines in the logs that contain the pdf url and HTTP code 200:

  zgrep '"GET /static/tutorials/sympy_tutorial.pdf HTTP/1.1" 200' mr.access.log mr.access.log* | wc
  10058  203840 2369042
  ^^^^^

The initial link to HN pointed to the blog post announcement, so we can see some part of that traffic on the blog:

Ultimately, what is of interest is how much traffic to minireference.com did the SymPy tutorial generate. We see the tutorial led to a spike of about 300 visitors to the main page.

From the numbers we have so far, we can estimate the conversion rate for the referral strategy via free PDF tutorials to be 3% = 300/10000. The SymPy tutorial also led to a “livelying” effect of the traffic in the following days, as can be seen in the graph. Clearly, more people are hearing about minireference.com and coming to check out the site.

The final profit from sales for this spike is \$150 so I’ve recouped the external expenses, and earned a salary of \$60/month, which is not great but still positive. The 3% conversion rate is very interesting, IMHO. I’ll pursue this strategy further, because it has great potential for viral growth—wouldn’t you send a kick-ass PDF tutorial on subject X to your classmates? (caveat: some engineering schools grade “on the curve” so for these students, it is actually game-theoretically disadvantageous to share quality learning material with their peers)

Conclusions and further research

The purpose of this blog post was to reduce the level of guilt I felt about not playing enough with analytics for my web properties. I feel I’ve achieved some level of guilt-diminishment and, more importantly, now I’ve got numbers that I can use as the baseline for comparison with the new homepage. Surely the conversion rates can be improved; the book is great, I just need to have simple messaging that explains how great the book is, and how it is good value-for-money for students, and also good knowledge-buzz-delivered-per-unit-time for adult learners.

Questions to followup on:

  1. How many landing pages do I need? There are essentially three “touching points” with my potential readers. A cold visit to the homepage (e.g. google search), a warm visit to the homepage (via recommendation), a tutorial referral visitor (which is super warm). Will the same marketing message work for all three types of traffic, or should I have three landing pages?
  2. What is the optimal order of the sales pitch? (A/B/../Z-test of section ordering.
  3. Should each book have its own landing page (/noBSmath and /noBSLA) or focus on a single page with two products?
  4. A/B test lulu.com vs amazon.com for the “Buy Book” link.
  5. What channels to develop next?

Okay, enough blogging. Let’s go write some kick-ass marketing copy. And from now on, we’ll be tracking them sales!

Linear algebra applications

I spent the last month at the chalet in Petkovo, the village where my grandfather is from. Check out the view from my office:

View from the office in Petkovo

I have good progress to report on the linear algebra book. Sandy (my editor) has gone through the first few chapters and looks on track to finish editing the book by the end of October, which means the NO BS guide to LA will be available in print soon.

On my side, I’ve been working on the applications chapter. In this chapter I discuss all the cool things you can do using linear algebra. The topics covered include linear programming, error correcting codes, solving for the voltages in electric circuits, and other applications to economics and science. It really feels good to be able to discuss all these applications, and substantiate the claim I make in the book’s introduction, namely, that learning linear algebra will open many doors for the reader.

In other news, I think I’ve finally found a civilized way to generate html and .epub versions of the book: polytexnic, which is part of the softcover platform for self-publishers. Here’s a quote from the documentation:

The real challenge is producing EPUB and MOBI output. The trick is to (1) create a self-contained HTML page with embedded math, (2) include the amazing MathJax JavaScript library, configured to render math as SVG images, (3) hit the page with the headless PhantomJS browser to force MathJax to render the math (including any equation numbers) as SVGs, (4) extract self-contained SVGs from the rendered pages, and (5) use Inkscape to convert the SVGs to PNGs for inclusion in EPUB and MOBI books. Easy, right? In fact, no—it was excruciating and required excessive amounts of profanity to achieve. But it’s done, so ha.

Stay tuned for .epub version of the books in the No BS guide series.

Math makes you cry? Try SymPy!

This summer I wrote a short SymPy tutorial that illustrates how a computer
algebra system can help you understand math and physics. Using SymPy you can solve all kinds of math problems, painlessly.
Check it:



Sympy tutorial (PDF, 12 pages)

Print this out, and try the examples using live.sympy.org. The topics covered are: high school math, calculus, mechanics, and linear algebra.

SymPy makes all math and physics calculation easy to handle, it can even make them fun! Learn the commands and you’ll do well on all your homework problems. Best of all, sympy is free and open source software so your learning and your calculations won’t cost you a dime!

Comments and feedback below, on HN, on fb, or via twitter.

Stickers

My friend and former student David Ancor came up with this ingenious strategy for promoting his startup (makeachamp.com): post promotional stickers on lamp posts in public places.

I like this because it is a fairly un-advertised space so people haven’t gotten used to it. In particular, I like the fact that I can place the stickers specifically near the McGill residences to target specifically first-year students. I’ve previously wrote this about the main challenge faced by Minireference Co. right now—reaching my target audience of freshman students.

So here is what I’ll be posting:



I decided not to go for a bit.ly URL because I think showing the full domain is cleaner. It would be nicer to “test” the effectiveness of this strategy, and A/B test different designs, but I find showing the real destination is a respectable towards people.

Also, if you have any ideas about what I should use as the pitch. If you’re a freshman or a freshwoman, what would line of text would convince you to check out this book?

Marketing problem

I have a marketing problem. My company’s product is perfect for an audience of university students (a math textbook that explains concepts clearly, concisely, and affordably), but students can’t recognize the value of the product.

My current readers are of a different audience: the adult technical crowd. These readers have often already taken calculus and mechanics courses in their university days, and can instantly recognize that all the material they learned in class is covered in the book. They’re not alarmed by the short format—in fact they like it because they wouldn’t have the time to go through a mainstream textbook.

The problem

How can we convince first-year university students to buy the book instead of the calculus and mechanics textbooks chosen by their professors?

The trust problem. Who the hell am-I to be teaching these advanced subjects? Isn’t the mainstream textbook written by a professor guaranteed to be better. Professors often have full-hair loss and I have only partial hair-loss so surely professors are much smarter than me?

In all humbleness, I can say that most of my explanations are better than the ones in mainstream textbooks because (1) I’ve experimentally tested each of them with students during 13+ years of private tutoring, (2) the fact that I’m not old is actually a feature—the conversational coverage of the material leads to better engagement.

While good, these points are difficult to get across in marketing copy. Too much explanation is required, tutoring experience, alternate explanations, trial-and-error, explaining of connections between topics, etc. Also I can’t tell you the tone of the writing is different (less formal, more chill), you must see it for yourself.


Already bought the book aspect. Placing myself in the student’s shoes, I will feel like an idiot if I accept that a \$30 book can teach me everything I need to know about mechanics and calculus, but I already bought \$300-worth of textbooks. Since I don’t like to think I’m an idiot, I prefer not to believe the short book is of sufficient quality.


The study guide image problem. By its small size (5.5″x8.5″x400pp) the book resembles study guides like Shaum’s outlines and Cliff’s notes. These are not complete books, but short guides with summaries that complement a regular textbook.


Exam prep book image problem. The “learn quickly, pass the exam” rhetoric in my marketing message is usually associated with exam-prep books, like those for the SAT and GMAT. Instead of complete books focussed on understanding, these books focus on practice problems and rote learning for speed. They are the anti-thesis of what I’m trying to do. How can I convey to my potential readers that I’m not out to exam-prep them, but to teach them to understand the concepts for real. The ability to pass exams with flying colours is just a useful side effect of understanding the material well.

I must find a solution by the end of this summer so I can make a killing when school starts in September. My runway is running out. Do or die—sell or perish, that’s Darwin’s law of natural selection for startups.

Call for proposals

If you can help me solve this problem this summer (2014), I’ll be very grateful, so grateful that I’d be willing to setup a profit-sharing scheme for the sales of Sept-Dec 2014. Get in touch if you think you can help me.

Linear algebra concept maps

I spent the last week drawing. More specifically, drawing in concept space. Drawing concept maps for the linear algebra book.

Without going into too much details, the context is that the old concept map was too overloaded with information, so I decided to redo it. I had to split the concept map on three pages, because there’s a lot of stuff to cover. Check it out.

Math basics and how they relate to geometric and computational aspects of linear algebra

The skills from high school math you need to “import” to your study of linear algebra are geometry, functions, and the tricks for solving systems of equations (e.g. the values $x$ and $y$ that simultaneously satisfy the equations $x+y=3$ and $3x+y=5$ are $x=1$ and $y=2$.)

The first thing you’ll learn in linear algebra is the Gauss–Jordan elimination procedure, which is a systematic approach for solving systems of $n$ equations with $n$ unknowns. You’ll also learn how to compute matrix products, matrix determinants, and matrix inverses. This is all part of Chapter 3 in the book.

In Chapter 4, we’ll learn about vector spaces and subspaces. Specifically, we’ll discuss points in $\mathbb{R}^3$, lines in $\mathbb{R}^3$, planes in $\mathbb{R}^3$, and $\mathbb{R}^3$ itself. The basic computational skills you picked up in Chapter 3 can be used to solve interesting geometric problems in vectors spaces with any number of dimensions $\mathbb{R}^n$.

Linear transformations and theoretical topics

The concept of a linear transformation $T:\mathbb{R}^n \to \mathbb{R}^m$ is the extension of the idea of a function of a real variable $f:\mathbb{R} \to \mathbb{R}$. Linear transformations are linear functions that take $n$-vectors as inputs and produce $m$-vectors as outputs.

Understanding linear transformations is synonymous with understanding linear algebra. There are many properties of a linear transformation that we might want to study. The practical side of linear transformations is their nature as a vector-upgrade to your existing skill set of modelling the world with functions. You’ll also learn how to study, categorize, and understand linear transformations using new theoretical tools like eigenvalues and eigenvectors.

Matrices and applications

Another fundamental idea in linear algebra is the equivalence between linear transformations $T:\mathbb{R}^n \to \mathbb{R}^m$ and matrices $M \in \mathbb{R}^{m\times n}$. Specifically, the abstract idea of a linear transformation $T:\mathbb{R}^n \to \mathbb{R}^m$, when we fix a particular choice of basis $B_i$ for the input space and $B_o$ for the output space of $T$, can be represented as a matrix of coefficients $_{B_o}[M_T]_{B_i} \in \mathbb{R}^{m\times n}$. The precise mathematical term for this equivalence is isomorphism. The isomorphism between linear transformations and their matrix representations means we can characterize the properties of a linear transformation by analyzing its matrix representation.

Chapter 7 in the book contains a collection of short “applications essays” that describe how linear algebra is applied to various domains of science and business. Chapter 8 is a mini-intro to probability theory and Chapter 9 is an intro course on quantum mechanics. All the applications are completely optional, but I guarantee you’ll enjoy reading them. The power of linear algebra made manifest.

 


 

If you’re a seasoned blog reader, and you just finished reading this post, I know what you’re feeling… a moment of anxiety goes over you—is a popup asking you to sign up going to show up from somewhere, is there going to be a call to action of some sort?

Nope.

Filing taxes for self-employed business income in Québec

When you run your own business as a sole proprietorship, you must fill in two special tax forms when submitting you income tax return. The Canada Revenue Agency’s form T2125 and Revenu Qubebec’s form tp-80.

The best place to start are the excellent PDF guides offered by the CRA and Revenu Québec: Canada GuideQuebec Guide.

Gross income = Sales – Cost of goods sold

Where cost of goods includes: Opening inventory (raw materials, goods in process, finished goods),  Net purchases (not including the cost of merchandise for personal use), Subcontracting costs, Direct labour costs, and Other costs.

Next, you can add up all the Expenses relating to your business activities:

  • Advertising 
  • Meal and entertainment expenses (1.25%-2% of sales). 
  • Bad debts 
  • Insurance premiums 
  • Interest 
  • Business taxes and licences 
  • Office expenses. (Not including home-office expenses below)
  • Supplies
  • Legal fees
  • Management and administration fees 
  • Rent 
  • Maintenance and repairs 
  • Salaries or wages, benefits and employer contributions. 
  • Property taxes
  • Travel expenses, other than motor-vehicle expenses 
  • Telephone, electricity, heating and water 
  • Fuel and oil 
  • Delivery, freight and messenger services 
  • Motor-vehicle expenses, excluding capital cost allowance. 
  • Deduction respecting incorporeal capital property 
  • Capital cost allowance. 
  • Terminal loss.
  • Other expenses

Additionally, if you work from home, you can claim Home office expenses:

  • Heating
  • Electricity
  • Insurance
  • Maintenance costs
  • Mortgage interest
  • Property taxes
  • Other expenses (e.g. rent)

You’re allowed to claim some percentage $r, 0 \leq r < 1$ of all these amounts proportional ratio of your home that you use for business purpose. Usually $r=0.5$, but it could be more or less depending on how many rooms you use and whether you meet with customers at home.

Dwarslezer

I’m visiting Amsterdam and I saw this young lady on the ferry who was reading a small book. The young lady was stunningly beautiful but ferries being public transport and all I wasn’t about to chat her up. The tiny book continued to intrigue me though, so I mustered the courage to go talk to her. “This is about the business after all—not a pick up line,” I said to myself.


She turned out to be the nicest girl ever and explained to me this book format is called DWARSLEZER, which roughly translates to cross-reader. She even wrote it down for me—because let’s face it, Dutch is a pretty incomprehensible language for anyone non-Dutch.

It seems the first publisher to use this format is Jongbloed who called it the “dwarsligger” meaning “cross-beam” or “cross-bar”. Other publishers (AW Bruna Uitgevers, Dutch Media en Nieuw Amsterdam) have released books in this format and there might  be some legal action going on.

This format is a great idea because it halves the overall size of “the object you carry” or equivalently we can say it doubles the size of the page you read. Also the book she was reading was 500pp-long but no thicker than 1.5cm, so the “bible paper” helps to make the format compact.

Watch out for a dwarslezer edition of the No bullshit guide to math and physics coming soon!