baldymcgee6
How do I make a piecewise funtion using latex?
Delete
Share
This Question is Closed
baldymcgee6
Best Response
You've already chosen the best response.
0
or if anyones used something called "smart math", i'm very new to both.
helder_edwin
Best Response
You've already chosen the best response.
2
like this?
\[ \large f(x)=\begin{cases}
x^2+1&\quad\hbox{if ...}\\
1/x&\quad\hbox{if ......}
\end{cases} \]
helder_edwin
Best Response
You've already chosen the best response.
2
is this what u call picewise function?
baldymcgee6
Best Response
You've already chosen the best response.
0
yes, exactly
helder_edwin
Best Response
You've already chosen the best response.
2
\begin{cases}
x^2+1&\quad\hbox{if ...}\\
1/x&\quad\hbox{if...}
\end{cases}
helder_edwin
Best Response
You've already chosen the best response.
2
can u copy the code.
i don't know how to make the code appear
baldymcgee6
Best Response
You've already chosen the best response.
0
I can't copy the code I don't think. Thanks guys.
helder_edwin
Best Response
You've already chosen the best response.
2
KingGeorge
Best Response
You've already chosen the best response.
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.
helder_edwin
Best Response
You've already chosen the best response.
2
can u download that?
baldymcgee6
Best Response
You've already chosen the best response.
0
@helder_edwin yes, got the code from the attachment
baldymcgee6
Best Response
You've already chosen the best response.
0
thanks for the tip @KingGeorge, works great!
baldymcgee6
Best Response
You've already chosen the best response.
0
@helder_edwin how do you do less than or equal to?
helder_edwin
Best Response
You've already chosen the best response.
2
"\leq" gives you \(\leq\)
"\geq" gives you \(\geq\)
baldymcgee6
Best Response
You've already chosen the best response.
0
thanks!
helder_edwin
Best Response
You've already chosen the best response.
2
u r welcome
helder_edwin
Best Response
You've already chosen the best response.
2
this might be of help
baldymcgee6
Best Response
You've already chosen the best response.
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}
helder_edwin
Best Response
You've already chosen the best response.
2
u have to write
"\hbox{if $x\leq0$}"
or
\[\verb"\hbox{if \(x\leq0\)}"\]
baldymcgee6
Best Response
You've already chosen the best response.
0
thanks so much, worked great
helder_edwin
Best Response
You've already chosen the best response.
2
u r very welcome