randRange( 1, 10 ) randRangeNonZero( -10, 10 ) randRangeNonZero( -10, 10 ) randRangeNonZero( -10, 10 ) a_start / getGCD( a_start, b_start) b_start / getGCD( a_start, b_start) c_start / getGCD( c_start, d_start) d_start / getGCD( c_start, d_start) a * c a * d b * c b * d

Given the following polynomial, factor by grouping. In other words, if we put the polynomial below into the form `\color{#b22222}{(a r - b)}\color{#4169E1}{(c s - d)}`, what are the values of `\color{#b22222}{a}`, `\color{#b22222}{b}`, `\color{#4169E1}{c}`, and `\color{#4169E1}{d}`?

`a * c r s + a * d r + b * cs + b * d`

a b c d
-a -b -c -d
`(``\space r + \space``)`
`(``\space s + \space``)`

enter an integer for each coefficient

pay attention to the sign of each number you enter to be sure the entire equation is correct

What is the largest factor we can pull out of both `a * crs` and `a * dr`?

It's `\color{#b22222}{ar}`. What happens when we pull it out?

We get `\color{#b22222}{ar}\color{#4169E1}{(cs + d)} + b * cs + b * d`.

Can we write `b * cs + b * d` as something times `\color{#4169E1}{(cs + d)}`?

It's `\color{#b22222}{b}` times `\color{#4169E1}{(cs + d)}`.

By the distributive property, `\color{#b22222}{ar}\color{#4169E1}{(cs + d)}+\color{#b22222}{b}\color{#4169E1}{(cs + d)}` = `\color{#b22222}{(ar + b)}\color{#4169E1}{(cs + d)}`.