Fall 2016 - Professor Kate Poirier

HW #5: LaTeX scratchpad – Due Tuesday, September 27

\LaTeX (pronounced LAY-teck) is a commonly used language for typesetting math. There are many ways to use \LaTeX to create professional looking documents (most involve installing an implementation on your computer) but you can also use \LaTeX to type math right in your OpenLab posts.

Professor Reitz has some great instructions for using \LaTeX on the OpenLab here (scroll to “Typing math on the OpenLab”).

It can take some getting used to, your homework is to practice by submitting a comment on this post. Don’t worry about typing something that makes any mathematical sense, just try typing anything. Play around and make a giant mess in these comments. If something doesn’t work at first, don’t worry; just try again. (Note that your first OpenLab comment will have to be approved before it appears.)

You can mouse-over something to see what LaTeX code was. For example, mouse-over this: \frac{d}{dx} \left( \int_a^x f(t)dt \right) = F(x) to see what I entered.

If you submit something that LaTeX doesn’t understand, it will display “formula does not parse” but you can also mouse-over that to see what was submitted.

 

Other resources:

89 Comments

  1. Kate Poirier

    This is a normal comment.

    \sqrt{2}

  2. Josiel

    OMG

    \frac{1+\frac{1}{x}}{3x + 2}

  3. Josiel

    \cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}}}

  4. Luis lora

    $/Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena

    • Josiel

      You mean

      $latex \Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena

      • Josiel

        Oh wait I mean

        \Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena

  5. Luis lora

    $latex/Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena

  6. Luis lora

    $latex/Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena$

  7. Gary

    \int_{5}^{-3} x^3 + 5 dx

    • Kate Poirier

      Nice! If I were giving this question on a test, I’d probably put parentheses around the integrand to make it extra clear that the +5 is included: \int_5^{-3} (x^3+5)dx

  8. Luis lora

    /Mu1=0=1=0=1=0=1=0=1=0=1=0=1/ngtr/Nu John Cena

    • Kate Poirier

      Close but it looks like your slashes are going the wrong way

      \mu 1=0=1=0=1=0=1=0=1=0=1=0=1 \ngtr \nu John Cena

      • Kate Poirier

        I also changed your upper case Mu and Nu to lower case (the upper case ones are just M and N)

  9. abdelmajid

    Here is a differential equation 2xsqrt(y)+xy^2=1

    • Kate Poirier

      Close! To get the square root symbol, don’t forget the backslash \sqrt instead of sqrt.

      (I know I said that it doesn’t matter if your math makes any sense, but I can’t stop myself from pointing out that this is not usually what we mean by “differential equation” because no derivatives appear in it. If y is a function of x, then you could argue that y is the zero-th derivative of itself, which would be correct, but it might make me roll my eyes.)

      • abdelmajid

        Agreed, I just noticed differential equation must have derivative in it, and my equation doesn’t have it . Actually when I wrote it I was focusing on the latex command more then the formula itself.

        • abdelmajid

          $latex\sqrt{y}2x+xy”=1 $

        • abdelmajid

          $ latex\sqrt{y}2x+xy”=1 $

          • Kate Poirier

            So close! Delete the space before “latex” and add a space after it; replace your double quotation with two single ones ‘

            \sqrt{y}2x+xy''=1

        • abdelmajid

          $ latex\sqrt{y}2x+xy”=1\$

      • abdelmajid

        $latex\sqrt{y}2x+xy”=1\$

      • abdelmajid

        $latex\sqrt{y}2x+xy”=1\ $

      • abdelmajid

        $latex\sqrt{y}2x+xy”=1\

      • abdelmajid

        \sqrt{y}2x+xy”=1

        • abdelmajid

          what a big mess I just created
          one more last time
          $Latex \sqrt{y}2x+xy”=1$

          • Kate Poirier

            Haha, now just make the L on “Latex” lower case, and you’re golden!

          • abdelmajid

            \sqrt{y}2x+xy''=1

      • abdelmajid

        \sqrt[y]2x+xy”=1

      • abdelmajid

        \sqrt{y}2x+xy”=1

  10. Gary

    /sum_{n=1}^{\infty} 2^n/n (4x-8)^{n}

  11. Luis lora

    $ Latex setminus

  12. Armando

    \int_0^{2}\frac{x^2-4}{x-2}dx

    • Armando

      Wow, took a lot longer than expected -.-

      • Armando

        \sqrt[3]{x^6 }

      • Kate Poirier

        Looks good! Once you get the hang of typing in Latex, it becomes much easier; the first attempts always take the longest…but practicing is the point of this exercise!

  13. Evelin

    \int_1^2 30(3x-4)^4dx

  14. Evelin

    (\sqrt{5x+6})^2=5x+6

  15. Mei Zhu

    $latex/sqrt{x^2+1}+/sqrt[7]{x^3+5}$

  16. Tyniqua

    \intfrac{1}{arcsintheta}dx

    • Tyniqua

      $latex\intfrac{1}{arcsintheta}dx

      • Tyniqua

        $latex\intfrac{1}{arcsintheta}dx$

        • Tyniqua

          No luck for me.

        • Tyniqua

          \intfrac{1}{arcsintheta}dx

          • Tyniqua

            $latex\int\frac{1}{arcsintheta}dx$

          • Tyniqua

            \int\frac{1}{arcsintheta}dx

          • Tyniqua

            \int\frac{1}{arcsin(theta)}dx

          • Tyniqua

            \int\frac{1}{arcsin\theta}dx

          • Kate Poirier

            You got it eventually! Nice work!

            It’s not important for this exercise, but I must point out that the variable in your integrand \theta doesn’t match your variable of integration x, so if you were to evaluate your integral, your answer would just be \frac{1}{\arcsin(\theta)}x +C.

            Just FYI, Latex knows the trigononometric (and inverse trigonometric) functions, so there is an \arcsin macro. It might not look like a big difference, but we typically prefer the roman characters to the italic ones:

            \int \frac{1}{\arcsin(\theta)} dx instead of \int \frac{1}{arcsin(\theta)} dx

  17. Tyniqua

    $latex\sqrt{9}$

  18. Sonam

    $latex/sqrt{x+3}

  19. Sonam

    $latex /sqrt{5}/

  20. Gary

    $latex \sqrt{15}\

  21. Gary

    $latex \sqrt{6}/

  22. Gary

    \sqrt{x^2+15}

  23. Sonam

    \frac{x+1}{x^2 + 5x}

  24. Sonam

    \sqrt{19}

  25. Sonam

    $latex \sqrt{5}

    • Kate Poirier

      Close! Don’t forget to close up your Latex dollar signs:

      \sqrt{5}

  26. Josue

    $latex \sqrt{x^3 + / 1}

  27. Josue

    \sqrt{x}

  28. Josue

    \sqrt{x^3 + / 1}

    • Kate Poirier

      Nice! I’m not sure if you meant to have a fraction as a radicand. If so, you can use the Latex macro \frac:

      \sqrt{\frac{x^3+1}{1}}

  29. Bless

    \frac{x+1}{x^3+5x^2}

  30. Bless

    \sqrt{x+1}+\sqrt[5]{x+6}

  31. Luis lora

    $ Latex (n^2-3n+4)/2$

  32. Luis lora

    $ Latex /(n^2-3n+4)/2$

  33. Luis lora

    $ latex (n^2-3n+4)/2$

  34. Luis lora

    $ latex/(n^2-3n+4)/2

  35. Luis lora

    $ latex/(n^2-3n+4)/2$

    • Kate Poirier

      So close! Move the space from before “latex” to after it.

  36. Gary

    /{n^2-3n+8}/2

  37. Gary

    (n^2-3n+8)/2

  38. Armando

    \ Two\ triangle's\ \triangle {ABC}\ and\ \triangle {A'B'C'}\ are\ perspective\ from\ a\ point\ if\ and\ only\ if\ they\ are\ perspective\ from\ a\ line.

    • Armando

      $latex\ \If \triangle ABC \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangleABC \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle.$

      • Armando

        $latex\ \If \triangle ABC \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangleABC \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle. $

  39. Armando

    $latex\ \If \triangle ABC \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangleABC \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle. $

  40. Armando

    $latex\ If \triangle ABC \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangleABC \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle.$

    • Armando

      $latex\ If \triangle{ABC} \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangle{ABC} \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle.$

  41. Armando

    $latex\ If \triangle {ABC} \ is \ any \ triangle, \ the \ three \ bisectors \ of \ the \ interior \ angles \ of \triangle {ABC} \ are \ concurrent. \ The \ point \ of \ concurrency \ is \ equidistant \ from \ the \ sides \ of \ the \ triangle.$

Leave a Reply

Your email address will not be published. Required fields are marked *