Ask your own question, for FREE!
LaTeX Practicing! :) 13 Online
OpenStudy (xapproachesinfinity):

hey some help here ...

OpenStudy (xapproachesinfinity):

how do i do this |dw:1422394842767:dw| system of equations

jaynator495 (jaynator495):

use the "equation" button :P

jaynator495 (jaynator495):

^^^ thats my leg+foot getting ready to kick something :P

OpenStudy (e.mccormick):

There are two ways to do cases. The one you probably want is: ``` \( y= \begin{cases} x^2 & \text{ if } x>0 \\ \varnothing & \text{ if } x= 0\\ -x^2 & \text{ if } x<0 \end{cases} \) ``` \( y= \begin{cases} x^2 & \text{ if } x>0 \\ \varnothing & \text{ if } x= 0\\ -x^2 & \text{ if } x<0 \end{cases} \) However, you can also just use a matrix and make the { manually. ``` \( y= \left\{\begin{matrix} x^2 & \text{ if } x>0 \\ \varnothing & \text{ if } x= 0\\ -x^2 & \text{ if } x<0 \end{matrix}\right. \) ``` \( y= \left\{\begin{matrix} x^2 & \text{ if } x>0 \\ \varnothing & \text{ if } x= 0\\ -x^2 & \text{ if } x<0 \end{matrix}\right. \)

OpenStudy (e.mccormick):

You may notice a slight difference in spacing. This has to do with differences in how they are constructed by the math package. So if you want the wider spacing, you need to use the matrix.

OpenStudy (xapproachesinfinity):

thanks :)

OpenStudy (xapproachesinfinity):

trying... \[f(x)=\begin{cases} 1-x& \text{if}~x<-1\\ 2&\text{if}~x=-1\\ x^2-1& \text{if} ~x>-1 \end{cases}\]

OpenStudy (xapproachesinfinity):

working good^^

OpenStudy (e.mccormick):

Yah, and \le and \ge also come in handy for piecewise stuff.

OpenStudy (unklerhaukus):

A (cheep) way to get wider spacing [too wide some might say] is to just put in some blank lines ``` \[ \begin{cases} \text{blahh} \\ \\ \text{blah} \\ \\ \text{blah} \end{cases} \] ``` \[ \begin{cases} \text{blahh} \\ \\ \text{blah} \\ \\ \text{blah} \end{cases} \]

OpenStudy (e.mccormick):

A matrix also puts in more border space between the elements on the horizontal. That would take adding spaces all over the cases, which makes the matrix simpler in that one instance. All of that is why I said cases is usually what people want. As for the line height, you have a lot more control with that. You can tell it to add to the space between: ``` \[ \begin{cases} \text{blahh} \\[2pt] \text{blah} \\[4pt] \text{blahh} \\[6pt] \text{blahh} \\[8pt] \text{blah} \end{cases} \] ``` \[ \begin{cases} \text{blahh} \\[2pt] \text{blah} \\[4pt] \text{blahh} \\[6pt] \text{blahh} \\[8pt] \text{blah} \end{cases} \]

OpenStudy (xapproachesinfinity):

can you show an example using \le and \ge :)

OpenStudy (e.mccormick):

Those are <= and >= \( f(x)=\begin{cases} x^2 &; x\le0\\[2pt] \dfrac{1}{x} &; x < 0 \end{cases} \) or \( f(x)=\begin{cases} x^2 &; x\ge0\\[2pt] \dfrac{1}{x} &; x < 0 \end{cases} \) ``` \( f(x)=\begin{cases} x^2 &; x\le0\\[2pt] \dfrac{1}{x} &; x < 0 \end{cases} \) or \( f(x)=\begin{cases} x^2 &; x\ge0\\[2pt] \dfrac{1}{x} &; x < 0 \end{cases} \) ``` As I am sure you know, that is pretty common in piecewise equations.

OpenStudy (xapproachesinfinity):

oh of course i know those you got me there i thought you meant something else i have used those several times already if not various times lol thanks though :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!