How do you find the value of the variable?

Algebra
Tutor: None Selected Time limit: 1 Day

(x+2)(x+a)=x^2+5x+b

In the equation above, a and b are positive integers. If the equation is true for all values of x, what is the value of b?

The answer is 6, but I need to know how to work the problem.

Apr 26th, 2015

given (x+2)(x+a)=x^2+5x+b where a and b are positive integers

first expand (x+2)(x+a)=x^2+2x+ax+2a

factorize as x^2+(2+a)x+2a  

from the general quadratic expression mx^2+kx+C where m,k  are variable and c is a constant

compare m=1 , k=2+a and C=2a

now compare coefficients of expression in the right side of   given question

i.e., 5=2+a and b=2a

so a=5-2=3

hence b=2*3=6

Apr 26th, 2015

thank you

Apr 26th, 2015

Thank you, but why do you need to expand the formula that way?

Apr 26th, 2015

in quadratic expressions of power 2 series we expand so that we can express it in general quadratic equation form or standard form so as we can compare variables and coefficient

Apr 26th, 2015

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Apr 26th, 2015
...
Apr 26th, 2015
Dec 10th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer