How to represent piecewise function(cases) in LaTeX? Piecewise function

How to represent piecewise function(cases) in LaTeX? Piecewise function

More to explore

Based on this image's title: “How to represent piecewise function(cases) in LaTeX? Piecewise function