SOLUTION: Find all ordered pairs of real numbers $(p,q)$ such that the binary operator $\heartsuit$ defined by $a \heartsuit b = pa + qb$ for all real $a$ and $b$ is associative. Give you

Algebra ->  Test  -> Lessons -> SOLUTION: Find all ordered pairs of real numbers $(p,q)$ such that the binary operator $\heartsuit$ defined by $a \heartsuit b = pa + qb$ for all real $a$ and $b$ is associative. Give you      Log On


   



Question 1210733: Find all ordered pairs of real numbers $(p,q)$ such that the binary operator $\heartsuit$ defined by $a \heartsuit b = pa + qb$ for all real $a$ and $b$ is associative.
Give your answer as a list of ordered pairs, separated by commas. (So "(1,-3), (2,3), (5,-7)" - without the quotes - is a valid answer format.)

Found 2 solutions by ikleyn, greenestamps:
Answer by ikleyn(54066) About Me  (Show Source):
Answer by greenestamps(13393) About Me  (Show Source):
You can put this solution on YOUR website!


I will use "@" to represent the binary operator in the problem:

a@b = pa+qb

We are to find all the ordered pairs (p,q) for which the operator is associative -- i.e., all the ordered pairs (p,q) for which (a@b)@c = a@(b@c).

(a@b)@c = p(a@b)+qc = p(pa+qb)+qc = p^2a+pqb+qc

a@(b@c) = pa+q(b@c) = pa+q(pb+qc) = pa+pqb+q^2c

So we need to have

p^2a+pqb+qc = pa+pqb+q^2c

or

p^2a+qc = pa+q^2c

for all real values of a and c.

That means the coefficients of a and c on the two sides of the equation must be equal.

p^2 = p
p^2-p = 0
p(p-1) = 0
p = 0 or p = 1

q = q^2
q^2-q = 0
q(q-1) = 0
q = 0 or q = 1

So the set of ordered pairs (p,q) for which the operator is associative is

{(0,0),(0,1),(1,0),(1,1)}