number of positive solution

Algebra Level 3

Find the number of positive integer solutions to the equation

2 x + y + z = 15 2x+y+z=15


The answer is 42.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Chew-Seong Cheong
Mar 30, 2020

From 2 x + y + z = 15 2x+y+z = 15 , z = 15 2 x y \implies z = 15-2x-y . This means that there is only one z z for one x x and one y y . To find the total number N N of solutions we need only find the total number possible ( x , y ) (x,y) pairs. It is obvious that x x ranges from 1 1 to 6 6 . And for a value for x x , the possible number of y y 's is n ( x ) = 15 2 x 1 = 14 2 x n(x) = 15-2x - 1 = 14-2x . Therefore, the total number of solutions is:

N = x = 1 6 ( 14 2 x ) = 2 x = 1 6 ( 7 x ) = 2 k = 1 6 k = 2 × 6 ( 6 + 1 ) 2 = 42 \begin{aligned} N & = \sum_{x=1}^6 (14-2x) = 2 \sum_{x=1}^6 (7-x) = 2 \sum_{k=1}^6 k = 2 \times \frac {6(6+1)}2 = \boxed{42} \end{aligned}

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...