Linear functions and geometry problems

The figure below shows possible ways to reflect a line about the xx-axis, the yy-axis and the coordinate origin.

Exercise 1

Consider the functions f(x)=3xf(x)=3x and g(x)=12x1g(x)=-\frac{1}{2}x-1.

  1. The graphs of ff and gg are reflected about the yy-axis. Determine the function equations of the reflected graphs.
  2. The graphs of ff and gg are reflected about the xx-axis. Determine the function equations of the reflected graphs.
  3. The graphs of ff and gg are reflected about the origin. Determine the function equations of the reflected graphs.

Hint: Figure out how the slope triangles are affected by these transformations (see figure below, where a line gg is reflected to get line h~\tilde{h}).

Solution

Denote by f~\tilde{f} and g~\tilde{g} the reflected graphs.

  1. From the figure we can see that the original slopes change the sign, and the new lines have the same yy-intercepts as the old ones. Thus, f~(x)=3x,g~(x)=12x1\tilde{f}(x)=-3x, \tilde{g}(x)=\frac{1}{2}x-1
  2. From the figure we can see that the original slopes change the sign, and the same is true for the yy-intercepts. Thus, f~(x)=3x,g~(x)=12x+1\tilde{f}(x)=-3x, \tilde{g}(x)=\frac{1}{2}x+1
  3. From the figure we can see that the original slopes do not change the sign, but the yy-intercepts change the sign, thus f~(x)=3x,g~(x)=12x+1\tilde{f}(x)=3x, \tilde{g}(x)=-\frac{1}{2}x+1

Another approach could be to reflect two points of the original graph ff, and then find the function equation of the new straight line f~\tilde{f} that passes through these two reflected points.

Exercise 2

Consider the function f(x)=2.5x+4f(x)=-2.5x+4. The graph of a linear function gg is parallel to the graph of ff. Find the function equation of gg for the following three cases: The graph of gg

  1. passes through the origin

  2. passes through the point P(41)P(4|1)

  3. crosses the xx-axis one unit to the right where graph ff crosses the xx-axis.

Solution

Line gg has the same slope as ff, a=2.5a=-2.5, thus g(x)=2.5x+bg(x)=-2.5x+b.

  1. yy-intercept b=0b=0, thus g(x)=2.5xg(x)=\underline{-2.5x}
  2. Because P(41)P(4\vert 1) is on the graph of gg it follows g(4)=1g(4)=1. Thus 2.54+b=1-2.5\cdot 4+b =1 and therefore b=11b=11. It follows g(x)=2.5x+11g(x)=\underline{-2.5x+11}.
  3. First, let's find the xx-intercept of ff: Find xx with f(x)=02.5x+4=0x=1.6f(x)=0\rightarrow -2.5x+4=0\rightarrow x=1.6. The graph of gg crosses the xx-axis one unit to the right of x=1.6x=1.6, so at x=2.6x=2.6. Thus, g(x)=2.5x+bg(x)=-2.5x+b with g(2.6)=02.52.6+b=0g(2.6)=0 \rightarrow -2.5\cdot 2.6+b=0, and it follows b=6.5b=6.5 and g(x)=2.5x+6.5g(x)=\underline{-2.5x+6.5}
Exercise 3

Consider the point A(35)A(3|5) and the function g(x)=0.4x2g(x)=0.4x-2. From all the points on graph gg find the one (let's call it BB) which is closest to point AA. Also, determine this distance. Hint: Sketch the situation. What angle is formed between the line gg and the line through AA and BB ?

Solution

Denote the line passing through AA and BB by hh. From the figure (see below) it follows that gg and hh must form a right angle, otherwise BB will not be the point closest to AA. So let us calculate the coordinates of point BB by first finding the function equation of hh, and then intersection hh and gg.

Function equation of hh: As hh and gg form a right angle, the slope of hh must be (see figure below, left)

a=10.4=2.5a=\frac{1}{-0.4}=-2.5

We thus have

h(x)=2.5x+bh(x)=-2.5x+b

As hh passes through A(35)A(3\vert 5), we also have

h(3)=5h(3)=52.53+b=5b=12.5-2.5\cdot 3+b=5 \rightarrow b=12.5

Coordinates of BB: We intersect hh and gg, thus we have to find an xx with

g(x)=h(x)g(x)=h(x)0.4x2=2.5x+12.50.4x-2=-2.5x+12.52.9x=14.5x=52.9x=14.5\rightarrow x=5

and therefore the yy-coordinate is

y=g(5)=0.452=0y=g(5)=0.4\cdot 5-2=0

Thus we have B(50)B(5\vert 0). You might have guessed these coordinates from the drawing, but you should be able to calculate them as well!

Distance between AA and BB: Now we can use the theorem of Pythagoras to calculate the distance from AA to BB (see figure below, right): d=(Δx)2+(Δy)2=52+22=29d=\sqrt{(\Delta x)^2+(\Delta y)^2}=\sqrt{5^2+2^2}=\underline{\sqrt{29}}.

Exercise 4

Consider the triangle ABCABC, where A(34)A(-3|4), B(43)B(-4|-3), and C(86)C(8|6). A straight line hh passes through AA and is orthogonal to the base BCBC. Determine the function equation of hh. Also, determine the area of the triangle.

Solution

Denote the line passing through BB and CC by ff (see figure below).

The two lines ff and hh intersect at point PP, and form a right angle. So let us first find the function equation of ff, and then the function equation of hh.

Function equation of ff: We have f(x)=ax+bf(x)=ax+b, with

a=ΔyΔx=CyByCxBx=6(3)8(4)=0.75a=\frac{\Delta y}{\Delta x} = \frac{C_y-B_y}{C_x-B_x}=\frac{6-(-3)}{8-(-4)}=0.75

The slope of line ff is 912=0.75\frac{9}{12}=0.75, because

and because BB is on the straight line, we have

f(4)=30.75(4)+b=3b=0f(-4)=-3 \rightarrow 0.75\cdot(-4)+b = -3 \rightarrow b=0

Thus we have

f(x)=0.75xf(x)=0.75x

Function equation of hh: We have h(x)=ax+bh(x)=ax+b and because ff and hh are orthogonal, we have (see figure)

a=10.75=43a=\frac{-1}{0.75}=-\frac{4}{3}

Thus it is

h(x)=43x+bh(x)=\frac{4}{3}x+b

And because AA is on hh, we have

h(3)=443(3)+b=4b=0h(-3)=4\rightarrow -\frac{4}{3}\cdot (-3)+b=4 \rightarrow b=0

and thus it is

g(x)=43xg(x)=\underline{-\frac{4}{3}x}

Area of triangle: We need the height of the triangle, and the length of the base. The height can be found by determine the distance from AA to PP, where PP is the intersection point between ff and hh. So find xx with f(x)=g(x)f(x)=g(x), thus 0.75x=43x0.75x = -\frac{4}{3}x, and it follows x=0x=0, and therefore y=f(0)=0y=f(0)=0. Thus PP has the coordinates P(00)P(0\vert 0).

The distance between AA and PP can be found using the theorem of Pythagoras:

d=(3)2+42=5d=\sqrt{(-3)^2+4^2}=5

The length of the base bb can also be found using the theorem of Pythagoras:

b=122+92=15b = \sqrt{12^2+9^2}=15

Thus, the triangle area is

A=bh2=5152=37.5A=\frac{b\cdot h}{2} =\frac{5\cdot 15}{2}=\underline{37.5}
Exercise 5

Two walkers are separated by 3.2km3.2km. At time t=0t=0 (hours) they start walking towards each other. One walks with speed 4.5km/h4.5km/h, the other with speed 3.5km/h3.5km/h. Where and when do they meet?

Hint: Solve this problem by representing the two walkers as lines in the same coordinate system, and think about the geometrical interpretation of "the walkers meet".

Solution

Assume one walker starts at the origin (0km0 km), the other at 3.2km3.2 km from the origin. As we know the walking speed, we can determine where each walker is at every point in time tt: walker 1 has position f(t)=4.5tf(t)=4.5\cdot t, and walker 2 has position g(t)=3.23.5t=3.5t+3.2g(t)=3.2-3.5t=-3.5t+3.2 (see figure below). They meet at the intersection point of the two graphs, because there both walkers have zero distance between them.

Thus to out when that is, we have to find a value for tt with

f(t)=g(t)f(t)=g(t)4.5t=3.5t+3.24.5t=-3.5t+3.28t=3.2t=0.4h8t=3.2 \rightarrow t=\underline{0.4h}

Where do they meet? At position

s=f(0.4)=4.50.4=1.8kms=f(0.4)=4.5\cdot 0.4=\underline{1.8km} from the origin.

Exercise 6

Consider the triangle ABCABC with the vertices A(13),B(121)A(1\vert -3), B(12\vert 1), and C(8,12)C(8,12).

  1. Show that the triangle has a right angle at BB.
  2. Determine the area of the triangle.
  3. Find a point DD such that ABCDABCD forms a rectangle.
  4. Find the point of intersection SS between the diagonals of the rectangle ABCDABCD.

Check your solutions with the Geogebra App (Calculator Suite).

Solution

Draw the situation!!!

  1. First, find the slopes of the triangle sides ABAB and BCBC: slope aAB=411\text{slope }a_{AB} = \frac{4}{11} slope aBC=114\text{slope }a_{BC} = \frac{-11}{4} We see that aBC=1aABa_{BC} = -\frac{1}{a_{AB}} and therefore the lines form a right angle. Thus, the triangle has a right angle at BB.
  2. As the triangle has a right angle at BB, the area is Area=ABBC2Area=\frac{\vert AB \vert \cdot \vert BC \vert}{2} where AB\vert AB \vert denotes the length of triangle side from AA to BB, and BC\vert BC \vert is the length of the triangle side form BB to CC. We can use Pythagoras to find those lengths: AB=112+42=137\vert AB \vert = \sqrt{11^2+4^2}=\sqrt{137} BC=(11)2+42=137\vert BC \vert = \sqrt{(-11)^2+4^2}=\sqrt{137} Thus, the area is Area=1371372=1372=68.5Area=\frac{\sqrt{137}\cdot \sqrt{137}}{2}=\frac{137}{2}=\underline {68.5}
  3. We know how to get from point BB to point CC, just move along the slope triangle between BB and CC, e.g.: Δx=4,Δy=11\Delta x= -4, \Delta y=11 In the same way we can get from AA to DD. So starting at AA, move 44 to the left and 1111 upwards. We get the point D(143+8)=D(38)D(1-4\vert -3+8)=\underline{D(-3\vert 8)}
  4. Denote the diagonal from AA to CC by ff, and the diagonal from BB to DD by gg. Let's find the function equation of the diagonals, so that we can intersect them. f(x)=ax+bf(x)=ax+b slope a=ΔyΔx=157\text{slope } a = \frac{\Delta y}{\Delta x} = \frac{15}{7} Thus, f(x)=157x+bf(x)=\frac{15}{7} x+b To find bb, we use that AA is on the graph of ff: f(1)=31571+b=3b=367f(1)=-3\rightarrow \frac{15}{7} \cdot 1+b=-3 \rightarrow b=-\frac{36}{7} Thus, we get f(x)=157x367f(x)=\underline{\frac{15}{7} x-\frac{36}{7}} Similar, to find the function equation of gg, we set g(x)=ax+bg(x)=ax+b slope a=ΔyΔx=715\text{slope } a = \frac{\Delta y}{\Delta x} = \frac{-7}{15} Thus, g(x)=715x+bg(x)=-\frac{7}{15} x+b To find bb, we use that BB is on the graph of gg: g(12)=171512+b=1b=9915g(12)=1\rightarrow -\frac{7}{15} \cdot 12+b=1 \rightarrow b=\frac{99}{15} Thus, we get g(x)=715x+9915g(x)=\underline{-\frac{7}{15} x+\frac{99}{15}} Finally, we have to solve the equation 157x367=715x+9915\frac{15}{7} x-\frac{36}{7} = -\frac{7}{15} x+\frac{99}{15} to get the xx-coordinate of the intersection point between ff and gg. 157x367=715x+9915715x36=4915x+6931515225x540=49x+693+540,+49x274x=1233:274x=4.5\begin{array}{llll} \frac{15}{7} x-\frac{36}{7} &=& -\frac{7}{15} x+\frac{99}{15} & \vert \cdot 7\\ 15 x-36 &=& -\frac{49}{15} x+\frac{693}{15} & \vert \cdot 15\\ 225 x-540 &=& -49 x+693 & \vert +540, +49x\\ 274 x &=& 1233 & \vert :274\\ x &=& 4.5 \end{array} The yy-coordinate is y=f(4.5)=1574.5367=4.5y = f(4.5)=\frac{15}{7} \cdot 4.5-\frac{36}{7} = 4.5 Thus, we have S(4.54.5)\underline{\underline{S(4.5\vert 4.5)}}.
Exercise 7

Determine the function equation of the straight line ff, where

  1. ff is parallel to the xx-axis and has yy-intercept 33.

  2. ff passes through the point A(25)A(2\vert 5) and has slope 2-2.

  3. ff passes through the point A(24)A(2\vert 4) and has yy-intercept 3-3.

  4. ff passes through the points A(1.92.3)A(-1.9\vert 2.3) and B(3.31.2)B(-3.3\vert -1.2).

  5. ff has a slope of 22 and an xx-intercept of 1.51.5.

  6. ff has an xx-intercept 22 and is orthogonal to the straight line that intersects the xx-axis at 5.15.1 and the yy-axis at 2.32.3.

Solution
  • f(x)=3f(x)=3 for all xx.
  • f(x)=2x+bf(x)=-2x+b and f(2)=522+b=5b=9f(2)=5 \rightarrow -2\cdot 2+b=5 \rightarrow b=9. Thus f(x)=2x+9f(x)=-2x+9.
  • f(x)=ax3f(x)=ax-3 and f(2)=4a23=4a=3.5f(2)=4 \rightarrow a\cdot 2-3=4 \rightarrow a= 3.5. Thus f(x)=3.5x3f(x)=3.5x-3.
  • f(x)=ax+bf(x)=ax+b with a=ΔyΔx=3.51.4=2.5a=\frac{\Delta y}{\Delta x} = \frac{3.5}{1.4}=2.5 and thus f(x)=2.5x+bf(x)=2.5x+b. Because of f(1.9)=2.3f(-1.9)=2.3 we get 2.5(1.9)+b=2.32.5\cdot (-1.9)+b=2.3 and thus b=7.05b=7.05. Thus, we have f(x)=2.5x+7.05f(x)=2.5x+7.05.
  • f(x)=2x+bf(x)=2x+b. We also now that f(1.5)=0f(1.5)=0, and thus 21.5+b=02\cdot 1.5+b=0 and therefore b=3b=-3. It follows f(x)=2x3f(x)=2x-3.
  • Find the slope of gg: a=ΔyΔx=2.35.1=0.45098...a=\frac{\Delta y}{\Delta x}=\frac{2.3}{-5.1}=-0.45098.... Thus, the slope of ff is
  • 10.45098...=2.21739...-\frac{1}{-0.45098...}=2.21739...

    Thus f(x)=2.21739...x+bf(x)=2.21739...\cdot x +b. Because of f(2)=0f(2)=0 follows

    2.217392+b=0b=4.4347...2.21739\cdot 2+b =0 \rightarrow b=-4.4347...

    Thus, f(x)=2.21739...x4.4347...f(x)=2.21739...\cdot x -4.4347....

    Exercise 8: Intercept Theorem

    Consider the 44 straight lines ff, gg, and l1l_1, l2l_2 with the equations

    f(x)=0.2x+1.8g(x)=1.25x+0.75l1(x)=4x+27l2(x)=4x+48\begin{array}{lll} f(x) &=& 0.2 x+1.8\\ g(x) &=& 1.25 x+0.75\\ l_1(x) &=& -4x+27\\ l_2(x) &=& -4x+48\\ \end{array}
    1. Draw the 44 lines into the same coordinate system.

    2. Are l1l_1 and l2l_2 parallel? Why?

    3. Find the intersection point between ff and gg, and denote it by AA.

    4. Find the intersection point between ff and l1l_1, and denote it by C1C_1. Likewise, find the intersection point between ff and l2l_2 and denote it by C2C_2.

    5. Find the intersection point between gg and l1l_1, and denote it by B1B_1. Likewise, find the intersection point between gg and l2l_2 and denote it by B2B_2.

    6. Determine the distances AB1\vert A B_1\vert, AB2\vert A B_2\vert, AC1\vert A C_1\vert, AC2\vert A C_2\vert, B1C1\vert B_1 C_1\vert and B2C2\vert B_2 C_2\vert. Note that the notation AB\vert A B\vert means "the distance between the points AA and BB".

    7. Show that the following fractions are equal:

      AB2AB1=AC2AC1=B2C2B1C1\frac{\vert A B_2\vert}{\vert A B_1\vert} = \frac{\vert A C_2\vert}{\vert A C_1\vert} = \frac{\vert B_2 C_2\vert}{\vert B_1 C_1\vert}

      Indicate those distances in the drawing. The fact that these three fractions are equal is called the intercept theorem.

    Solution

    No computations are shown, just the results.

    1. See below
    2. Because the have the same slope.
    3. See below
    4. See below
    5. See below
    6. See below
    7. The fraction is always 22.
    Exercise 9

    The straight line ff passes through the points A(11)A(1\vert -1) and B(43)B(4 \vert 3).

    1. Find the function equation of ff.

    2. Determine the distance between AA and BB.

    3. Find a point UU on ff such that its distance from AA is 1.51.5 times bigger than the distance of BB from AA.

    4. Find a point UU on ff such that its distance from AA is rr times bigger than the distance of BB from AA.

    Solution
  • f(x)=ax+bf(x)=ax+b, with a=ΔyΔx=43=1.3a=\frac{\Delta y}{\Delta x}=\frac{4}{3}=1.\overline{3}. Because of f(1)=1f(-1)=1 it follows f(1)=43(1)+b=1b=73=2.3f(-1)=\frac{4}{3}\cdot (-1)+b=1 \rightarrow b=\frac{7}{3}=2.\overline{3}.
  • Pythagoras: d=32+42=5d=\sqrt{3^2+4^2}=5 (see figure left).
  • From the intercept theorem (see Q8, and figure to the right) it follows that U(1+1.531+1.54)=U(5.55)U(1+1.5\cdot 3\vert -1+1.5\cdot 4)=U(5.5\vert 5)
  • Same argument as in (3): U(1+r31+r4)U(1+r\cdot 3 \vert -1+r\cdot 4)