Assignment 1

Jonathan Lawson


Looking at problem 2, it states that f(x) and g(x) are linear functions.  Exploration of h(x) with different pairs of f(x) and g(x) when

 

I.                   h(x) = f(x) + g(x)

 

II.                h(x) = f(x) * g(x)

 

III.             h(x) = f(x)/g(x)

 

IV.           h(x) = f(g(x))

 

 

In the above examples we will generalize f(x) = m1x + b1 and g(x) = m2x + b2. 


In the first example in which h(x) = f(x) + g(x) we now have the equation

         

h(x) = (m1x + b1) + (m2x + b2),

 

and after grouping like terms would give us

         

                   h(x) = (m1 + m2)x + (b1 + b2)

 

Ex. 1

f(x) = 2x +3 (purple)  and g(x) = x 2 (red) so h(x) = 3x + 1(blue)

graph1

 

Ex. 2

                   f(x) = -x + 1 (purple) and g(x) = x + 2 (red) so h(x) = 3 (blue)

graph2

 


In the second exploration h(x) = f(x) * g(x) or

 

                   h(x) = (m1x + b1) * (m2x + b2).

 

Both f(x) and g(x) have a degree of one so that when they are multiplied h(x) will have a degree of two, so f(x) and g(x) are both linear functions, h(x) will be a quadratic function. 

 

Ex. 1

f(x) = 2x +3 (purple)  and g(x) = x 2 (red) so h(x) = 2x2 x 6 (blue)

graph3

 

 

Ex. 2

                   f(x) = -x + 1 (purple) and g(x) = x + 2 (red) so h(x) = -x2 x + 2 (blue)

graph4

 

 


In the third exploration h(x) = f(x)/g(x) or

 

                   h(x) =  (m1x + b1)/(m2x + b2).

 

The function h(x) will be undefined at -b2/m2 and there will be a vertical asymptote at this point (unless f(x) = g(x)).  There will also be a horizontal asymptote at m1/m2 (unless f(x) = g(x)). 

 

Ex. 1

f(x) = 2x +3 (purple)  and g(x) = x 2 (red) so h(x) = (2x-3)/(x-2) (blue)

graph5

 

Ex. 2

                   f(x) = -x + 1 (purple) and g(x) = x + 2 (red) so h(x) = (-x+1)/(x+2) (blue)

graph6

 

Ex. 3

                   f(x) = x 1 (red) and g(x) = x 1 (red) so h(x) = 1, x ≠ 1 (blue) graph7

 


In the final exploration we will look at h(x) = f(g(x)) or

 

                   h(x) = m1(m2x + b2) + b1.

The function h(x) will be a linear function since the degree will be one.  If we look at f(x) and g(x) to see if these functions are increasing or decreasing we can determine if h(x) will be increasing or decreasing.

The first example has f(x) and g(x) both increasing

Ex. 1

                f(x) =  2x + 3 (purple)  and g(x) = x 2 (red)so h(x) = 2(x 2) + 3 (blue)

graph8

 

The second example has g(x) increasing and f(x) decreasing

Ex. 2

            f(x) = -x + 1 (purple) and g(x) = x + 2 (red) so h(x) = -(x + 2) + 1 (blue)

graph9

The third example has f(x) and g(x) both decreasing

Ex. 3

            f(x) = -2x + 1 (purple) and g(x) = -x (red) so h(x) = -2(-x) + 1 (blue)

graph10