A family of Microsoft word processing software products for creating web, email, and print documents.
Microsoft Word still supports piecewise functions through its modern Equation Editor, though the interface layout has changed from older versions. To create one using the menus, you first open the equation tool by pressing the Alt and Equal keys together (Alt + =). Next, look at the Equation tab that appears on your top ribbon, click the Bracket dropdown menu, and scroll down to select the single left brace found under the Cases and Stacks category. Once the brace appears in your document, click the empty square box next to it, open the Matrix dropdown menu from that same ribbon, and select a matrix matching your required rows and columns, such as a two-by-two or three-by-two grid. You can then click directly into each individual box of the grid to type your mathematical rules on the left side and your corresponding conditions on the right side.
Alternatively, you can build the entire structure instantly using plain text shortcuts directly inside an active equation box. Typing the text f(x)=\case(&@&) and hitting the Spacebar will automatically generate a blank two-case piecewise bracket with proper alignment slots. To fill it out as you type, place your mathematical expression before the ampersand symbol, your text condition after the ampersand symbol, and use the at symbol to separate the rows. For example, typing f(x)=\case(2x&if x<0@x^2&if x\ge0) and then pressing the Spacebar will instantly render a fully formatted piecewise function with aligned columns.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin