Bytelearn - cat image with glassesAI tutor

Welcome to Bytelearn!

Let’s check out your problem:

A straight line has the equation ax+by=5ax + by = 5, where aa and bb are constants. It passes through the points (3,2)(3, 2) and (1,1)(1, -1). Find (a) the value of aa and of bb, (b) the gradient of the line.

Full solution

Q. A straight line has the equation ax+by=5ax + by = 5, where aa and bb are constants. It passes through the points (3,2)(3, 2) and (1,1)(1, -1). Find (a) the value of aa and of bb, (b) the gradient of the line.
  1. Plug Coordinates Equation: Plug in the coordinates of the first point (3,2)(3, 2) into the equation ax+by=5ax + by = 5.\newline3a+2b=53a + 2b = 5
  2. Plug Second Point Equation: Plug in the coordinates of the second point (1,1)(1, -1) into the equation ax+by=5ax + by = 5.\newlineab=5a - b = 5
  3. Solve System Equations: Now we have a system of equations:\newline3a+2b=53a + 2b = 5\newlineab=5a - b = 5\newlineLet's solve this system by multiplying the second equation by 22 to eliminate bb.\newline2(ab)=2(5)2(a - b) = 2(5)\newline2a2b=102a - 2b = 10
  4. Eliminate Variable: Add the new equation 2a2b=102a - 2b = 10 to the first equation 3a+2b=53a + 2b = 5 to eliminate bb.\newline3a+2b+2a2b=5+103a + 2b + 2a - 2b = 5 + 10\newline5a=155a = 15
  5. Find Value of a: Divide both sides by 55 to find the value of a.\newlinea=155a = \frac{15}{5}\newlinea=3a = 3
  6. Substitute aa Find bb: Substitute a=3a = 3 back into the second original equation ab=5a - b = 5 to find bb.\newline3b=53 - b = 5
  7. Solve for b: Subtract 33 from both sides to solve for bb.
    b=53-b = 5 - 3
    b=2-b = 2
    b=2b = -2
  8. Calculate Gradient: Now, calculate the gradient (slope) of the line using the two points (3,2)(3, 2) and (1,1)(1, -1). \newlineGradient (m)=y2y1x2x1(m) = \frac{y_2 - y_1}{x_2 - x_1} \newlinem=1213m = \frac{-1 - 2}{1 - 3} \newlinem=32m = \frac{-3}{-2} \newlinem=32m = \frac{3}{2}

More problems from Write the equation of a linear function