# Thread:

1. ## please help

here is a probability question:

if two of the four expressions (x+y), (x+5y), (x-y) and (5x-y) are selected at random, what is the probability of their product being of the form x^2-(by)^2, where b is an integer? thanks in advance

2. Originally Posted by helpjoe
here is a probability question:

if two of the four expressions (x+y), (x+5y), (x-y) and (5x-y) are selected at random, what is the probability of their product being of the form x^2-(by)^2, where b is an integer? thanks in advance
Probability is not my forte so someone please correct me if I'm wrong.

1. $(x+y)(x+5y) = x^2 + 6xy + 5y^2$

2. $(x+y)(x-y) = x^2 - y^2$

3. $(x+y)(5x-y) = 5x^2 + 4xy - y^2$

4. $(x+5y)(x-y) = x^2 + 4xy - 5y^2$

5. $(x+5y)(5x-y) = 5x^2 -5y^2$

6. $(x-y)(5x-y) = 5x^2 - 6xy +y^2$

These are all the different possibilities. Of these only one pair produces the required form, #2. So we need to pick two choices, of which there are only two elements we can choose. So by the counting principle we have 2 choices for the first factor, then we are left with only 1 possibility for the second choice. There are 4*3 ways to make a product of any two of the factors. So:
$P = \frac{2*1}{4*3} = \frac{1}{6}$.

So we have a 1 in 6 chance of getting the required product.

-Dan
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 7, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9422880411148071, "perplexity_flag": "head"}