Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

baldymcgee6

  • 3 years ago

How do I make a piecewise funtion using latex?

  • This Question is Closed
  1. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    or if anyones used something called "smart math", i'm very new to both.

  2. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    like this? \[ \large f(x)=\begin{cases} x^2+1&\quad\hbox{if ...}\\ 1/x&\quad\hbox{if ......} \end{cases} \]

  3. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    is this what u call picewise function?

  4. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yes, exactly

  5. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    \begin{cases} x^2+1&\quad\hbox{if ...}\\ 1/x&\quad\hbox{if...} \end{cases}

  6. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    can u copy the code. i don't know how to make the code appear

  7. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I can't copy the code I don't think. Thanks guys.

  8. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    1 Attachment
  9. KingGeorge
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    To copy the code, right click the math, move to "Show Math As" and then click on "TeX Commands" Then copy paste the text that appears in the new window.

  10. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    can u download that?

  11. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @helder_edwin yes, got the code from the attachment

  12. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks for the tip @KingGeorge, works great!

  13. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @helder_edwin how do you do less than or equal to?

  14. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    "\leq" gives you \(\leq\) "\geq" gives you \(\geq\)

  15. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks!

  16. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    u r welcome

  17. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    this might be of help

  18. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \large f(x)=\begin{cases} 2-x &\quad\hbox{if x < -1}\\ x^3 + x^2 +3 &\quad\hbox{if x \leq 0 }\\x/(x^2+1) &\quad\hbox{if x > 0 } \end{cases}

  19. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    u have to write "\hbox{if $x\leq0$}" or \[\verb"\hbox{if \(x\leq0\)}"\]

  20. baldymcgee6
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks so much, worked great

  21. helder_edwin
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    u r very welcome

  22. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy