In order to support physics students in their future careers, there is a need to understand the relationship between undergraduate education and professional practice in physics-related fields. This study investigated high-level goal driven mathematical problem-solving activities that are found within two disciplinary cultures: physical science research labs in academia and photonics workplaces in industry. We conducted semistructured interviews with 10 Ph.D. students and 22 engineers and technicians. Math use in professional workplaces was characterized through an adaptation of epistemic games framework, which revealed six common epistemic games in these workplaces: conceptual math modeling, analytical-numerical math modeling, design-orien...