Algebraic expressions. Polynomials in one variable
🖨 Print a self-study sheet Why print?
Two shops near your school hire out bicycles. Shop A charges a deposit fee of thousand đồng plus thousand đồng for each hour. Shop B charges a deposit fee of thousand đồng plus thousand đồng for each hour. For hours Shop A is cheaper, but for hours Shop B is cheaper. So at what point does the better choice change?
To answer, we cannot recalculate for each length of hire. We need one way of writing the cost that works for every number of hours, using a letter for "any number of hours". That is the job of an algebraic expression. When the expression is built only from powers of one letter, each multiplied by a number and then added up, we call it a polynomial in one variable. Polynomials turn up everywhere: in areas, volumes, wages and costs, and they are the base for the algebra of later years.
Algebraic expressions
Explore: make a table, then write the general formula
Let be the number of hours. We work out the cost (thousand đồng) at the two shops for a few values of .
| (hours) | |||||
|---|---|---|---|---|---|
| Shop A: | |||||
| Shop B: | 70 |
Each cell is worked out in the same way: multiply the hours by the price per hour, then add the deposit fee. The letter x lets us write that rule once and use it for any number of hours. Notice the column x=3: the two shops cost the same (54 thousand đồng). We will come back to that at the end of the lesson.
Going deeper. A letter in an algebraic expression is not a mystery number we must find. It is a "blank space" to fill in with numbers. The expression 12+14x is like a machine: put in the number of hours and out comes the cost. Each time we replace x by a different number, we get a different value of the same expression.
Polynomials in one variable
In the expression 3x^2-2x+1 there is just one letter x, and it appears only as a power with a whole-number exponent, multiplied by a number. Expressions like this have a name of their own.
A non-zero number is also a polynomial, because 5=5x^0. The expression x^2+\dfrac1x is not a polynomial, since \dfrac1x would need an "exponent -1". The expression 2x+y is not one either, because it has two variables.
Why simplify? We have 2 oranges - 3 oranges =-1 orange, so 2x^2-3x^2=(2-3)x^2=-x^2. But 2 oranges plus 3 apples do not make "5 of anything": in the same way, x^2 and x are different kinds of thing and cannot be combined. We combine only the terms with the same power of the variable, then write the polynomial with the exponents in descending order.
A non-zero constant polynomial has degree 0. The number 0 is also a polynomial, called the zero polynomial, and we do not talk about its degree.
Value and roots of a polynomial
When we replace the variable by a number, a polynomial gives a value. The value P(a) is the result of substituting x=a into the polynomial P(x). Some values of x make the polynomial equal to 0, and these matter because, when we solve equations, these are exactly the numbers we are looking for.
Now we answer the question from the start, going through all four steps of solving a problem.
Connections. Algebraic expressions continue the numbers and operations you know from earlier years, now with a letter to speak about every case at once. Polynomials and their roots prepare the way for the next lessons: adding, subtracting, multiplying and dividing polynomials, then solving equations. As for the two bicycle shops: the choice changes exactly at the root x=3 of the polynomial 6x-18.
Key terms
Summary
- An algebraic expression is made of numbers, variables and operations; replacing the variable by a number gives its value.
- A monomial in one variable has the form ax^n; a polynomial in one variable is a sum of monomials in the same variable.
- Simplify a polynomial by combining the terms with the same power of the variable, then arrange it in descending powers.
- The degree is the highest exponent; the leading coefficient belongs to the term of highest degree; the constant term is the term with no variable.
- A number a is a root of P(x) when P(a)=0.
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
A cinema sells adult tickets at 40 thousand đồng and child tickets at 25 thousand đồng. A group has a adults and b children.
a) Write an expression for the total cost of the group's tickets.
b) Find the total cost when a=3 and b=2.
What you need: the cost of tickets is the number of tickets times the price of one ticket.
Steps:
- a) The adult tickets cost 40a and the child tickets cost 25b.
- b) Substitute a=3, b=2 into the expression you wrote.
Show solution
a) The adult tickets cost 40a (thousand đồng) and the child tickets cost 25b (thousand đồng). The total cost is 40a+25b (thousand đồng).
b) Substituting a=3, b=2, we get 40\cdot3+25\cdot2=120+50=170.
So a) the total cost is 40a+25b thousand đồng; b) when a=3 and b=2 the group pays 170 thousand đồng.
Answer. a) 40a+25b; b) 170 thousand đồng.
Find the value of the expression 2x^2-3x+1 when:
a) x=-1.
b) x=\dfrac12.
c) x=3.
What you need: replace x by the given number; work out the power first, then multiply and add.
Steps:
- a) Remember that (-1)^2=1.
- b) Remember that \left(\dfrac12\right)^2=\dfrac14.
- c) Remember that 3^2=9.
Show solution
a) Substituting x=-1, we get 2\cdot(-1)^2-3\cdot(-1)+1=2+3+1=6.
b) Substituting x=\dfrac12, we get 2\cdot\dfrac14-3\cdot\dfrac12+1=\dfrac12-\dfrac32+1=0.
c) Substituting x=3, we get 2\cdot9-3\cdot3+1=18-9+1=10.
So a) 6; b) 0; c) 10.
Answer. a) 6; b) 0; c) 10.
Which of the following are polynomials in one variable? If so, state the degree.
a) 5x^3-2x+1.
b) x^2+\dfrac3x.
c) -9.
d) 4x-y.
What you need: a polynomial in one variable is a sum of monomials ax^n in the same variable, with n a whole number.
Steps:
- Check whether the variable appears in a denominator.
- Count the different variables in the expression.
Show solution
a) It is a polynomial in one variable, of degree 3.
b) It is not a polynomial, because \dfrac3x has the variable in the denominator.
c) It is a polynomial in one variable (a non-zero constant), of degree 0.
d) It is not a polynomial in one variable, because it has two variables x and y.
So a) and c) are polynomials in one variable, of degrees 3 and 0 respectively.
Answer. a) degree 3; b) no; c) degree 0; d) no.
Let A(x)=3x+2x^2-x^3+x^2-4-2x.
a) Simplify A(x) and arrange it in descending powers.
b) State the degree, leading coefficient and constant term of A(x).
What you need: combine the terms with the same power of the variable.
Steps:
- a) Combine 2x^2+x^2 and 3x-2x.
- b) Read them off the arranged polynomial.
Show solution
a) We have A(x)=-x^3+(2x^2+x^2)+(3x-2x)-4=-x^3+3x^2+x-4.
b) The highest exponent is 3, so the degree is 3. The leading coefficient is -1. The constant term is -4.
So A(x)=-x^3+3x^2+x-4, with degree 3, leading coefficient -1 and constant term -4.
Answer. a) -x^3+3x^2+x-4; b) degree 3, -1, -4.
Let P(x)=x^3-2x^2+x-2.
a) Find P(0), P(1) and P(2).
b) Which of the numbers 0, 1, 2 is a root of P(x)?
What you need: a is a root of P(x) when P(a)=0.
Steps:
- a) Substitute x=0, x=1, x=2 into P(x) in turn.
- b) Compare each value with 0.
Show solution
a) We have P(0)=-2. We have P(1)=1-2+1-2=-2. We have P(2)=8-8+2-2=0.
b) Only P(2)=0, while P(0)=-2\neq0 and P(1)=-2\neq0.
So x=2 is a root of P(x); the numbers 0 and 1 are not roots.
Answer. a) -2; -2; 0; b) x=2.
Which of the numbers 1, 2, 3 are roots of the polynomial x^2-5x+6?
What you need: substitute each number into the polynomial and compare with 0.
Steps:
- Work out 1-5+6.
- Work out 4-10+6 and 9-15+6.
Show solution
A number a is a root of a polynomial M(x) when M(a)=0. We substitute x=1, x=2, x=3 into the polynomial in turn.
Let M(x)=x^2-5x+6.
Substituting x=1, we get M(1)=1-5+6=2\neq0, so x=1 is not a root.
Substituting x=2, we get M(2)=4-10+6=0, so x=2 is a root.
Substituting x=3, we get M(3)=9-15+6=0, so x=3 is a root.
So among the numbers 1, 2, 3, the numbers x=2 and x=3 are roots of the polynomial, but x=1 is not.
Answer. x=2 and x=3.
Suppose a phone plan costs 50 thousand đồng a month and includes 5 GB of data. Each GB used beyond that is charged at 10 thousand đồng. Let x be the number of extra GB used.
a) Write an expression for the amount paid in the month.
b) Find the amount when x=3.
c) One month you pay 110 thousand đồng. How many extra GB did you use?
What you need: the amount is the fixed charge plus the cost of the extra data.
Steps:
- a) Write 50+10x.
- c) Solve 50+10x=110.
Show solution
a) The amount paid is 50+10x (thousand đồng).
b) Substituting x=3, we get 50+10\cdot3=80 (thousand đồng).
c) We have 50+10x=110, so 10x=60, hence x=6. We see that x=6 is a root of the polynomial 10x-60.
So a) 50+10x thousand đồng; b) 80 thousand đồng; c) you used 6 extra GB.
Answer. a) 50+10x; b) 80 thousand đồng; c) 6 GB.
Suppose a ball is thrown straight up, and its height after t seconds is h(t)=-5t^2+30t (metres), for 0\leq t\leq6.
a) Find the height of the ball after 1 second and after 2 seconds.
b) Find h(6) and explain what the result means.
What you need: substitute t into h(t); a root of h(t) is a moment when the height is 0.
Steps:
- a) Substitute t=1 and t=2.
- b) Substitute t=6, then say where the ball is.
Show solution
a) We have h(1)=-5\cdot1+30\cdot1=25. We have h(2)=-5\cdot4+30\cdot2=-20+60=40.
b) We have h(6)=-5\cdot36+30\cdot6=-180+180=0. Since h(6)=0, t=6 is a root of h(t): after 6 seconds the ball is back on the ground.
So a) 25 m and 40 m; b) h(6)=0, the ball lands after 6 seconds.
Answer. a) 25 m; 40 m; b) 0 m (lands after 6 seconds).
(Revision of the lesson on direct proportion.) Let y=6x.
a) Are x and y in direct proportion? If so, what is the constant of proportionality?
b) For y=6x+2, are x and y in direct proportion?
What you need: y is in direct proportion to x when the quotient \dfrac yx is constant.
Steps:
- a) Write y=kx and compare.
- b) Work out \dfrac yx when x=1 and when x=2.
Show solution
a) Since y=6x has the form y=kx with k=6\neq0, y is in direct proportion to x with constant 6.
b) For y=6x+2: when x=1, y=8 and \dfrac yx=8; when x=2, y=14 and \dfrac yx=7. The two quotients are different.
So a) yes, the constant is 6; b) not in direct proportion.
Answer. a) yes, k=6; b) no.
a) Show that the polynomial x^2+4 has no roots.
b) Find the roots of the polynomial (x-1)(x+2).
What you need: the square of any number is not negative; a product of two numbers is 0 when one of them is 0.
Steps:
- a) Compare x^2 with 0, then deduce the result for x^2+4.
- b) Set each factor equal to 0.
Show solution
a) For every number x we have x^2\geq0, so x^2+4\geq4>0. So the value of x^2+4 is never 0, which means the polynomial has no roots.
b) The product (x-1)(x+2) is 0 when x-1=0 or x+2=0, that is x=1 or x=-2. We see that for x=1, (1-1)(1+2)=0, and for x=-2, (-2-1)(-2+2)=0.
So a) the polynomial x^2+4 has no roots; b) the two roots are x=1 and x=-2.
Answer. a) no roots; b) x=1, x=-2.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
The highest exponent of the variable is 5. A is the exponent of the first term, C is the leading coefficient and D is the exponent of the last term.
2\cdot(-3)^2-(-3)=18+3=21. B works out (-3)^2 as -9, A ignores the minus sign before x and C makes both mistakes.
Arranged, it is -3x^2+x+4, and the term of highest degree is -3x^2. B is the term written first before arranging, A is the coefficient of x and D loses the minus sign.
3^2-3-6=0. For 2 we get -4, for -3 we get 6, and for 6 we get 24.
Part II. True or false
| a) The leading coefficient of P(x) is -4. | ||
| b) P(2)=0. | ||
| c) x=1 is a root of P(x). | ||
| d) P(-2)=0. |
a) False: the leading coefficient is 1 (of x^3). b) True: 8-8=0. c) False: P(1)=1-4=-3. d) True: -8+8=0.
Part III. Short answer
3\cdot4+4+1=17.
5x+3=0 gives x=-\dfrac35=-0.6.
Show answers and explanations
- Part I, question 1: A. The highest exponent of the variable is 5. A is the exponent of the first term, C is the leading coefficient and D is the exponent of the last term.
- Part I, question 2: B. 2\cdot(-3)^2-(-3)=18+3=21. B works out (-3)^2 as -9, A ignores the minus sign before x and C makes both mistakes.
- Part I, question 3: C. Arranged, it is -3x^2+x+4, and the term of highest degree is -3x^2. B is the term written first before arranging, A is the coefficient of x and D loses the minus sign.
- Part I, question 4: D. 3^2-3-6=0. For 2 we get -4, for -3 we get 6, and for 6 we get 24.
- Part II, question 1: a) False; b) True; c) False; d) True. a) False: the leading coefficient is 1 (of x^3). b) True: 8-8=0. c) False: P(1)=1-4=-3. d) True: -8+8=0.
- Part III, question 1: 17. 3\cdot4+4+1=17.
- Part III, question 2: -0.6. 5x+3=0 gives x=-\dfrac35=-0.6.