Essay

The Non-Commutativity of Function Composition in Automated Pricing Systems

An online retailer uses two automated functions to adjust the final price of an item in a shopper's cart: a loyalty discount function d(x)d(x) and a flat coupon function c(x)c(x). During system testing, a database engineer notices that applying the loyalty discount first and then the flat coupon results in a different final cart total than applying the flat coupon first and then the loyalty discount.

  1. Identify the specific mathematical property of function composition that explains why reversing the order of these two operations affects the final outcome.
  2. Explain this property in your own words.
  3. Write the symbolic inequality that represents this relationship for any two general functions ff and gg.

0

1

Updated 2026-06-05

Contributors are:

Who are from:

Tags

OpenStax

Intermediate Algebra @ OpenStax

Ch.10 Exponential and Logarithmic Functions - Intermediate Algebra @ OpenStax

Algebra

Recall in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

OpenStax Psychology (2nd ed.) Textbook

Related