
Wen C. answered 04/09/20
Software Engineer, Computer Science Tutor, UC Berkeley Graduate
Here are some crucial things for these questions
- If two lines are parallel, they have the same slop.
- If two lines are perpendicular of each other, the product of their slops equal to -1 (e.g. s1 * s2 = -1)
To solve first question, since we're trying to find the line that is parallel to y = 2x + 10, and y = 2x + 10 has slop of 2. So the line we're looking for also has slop of 2, therefore it can be represented by y = 2x + b, and b is a constant that we will need to find.
Another helpful information is it goes through point (6, 4), so we can simply plug x = 6, y = 4 to y = 2x + b. So we have 4 = 2 * 6 + b. Subtract 2*6 from both sides of the equations, we have 4 - 2*6 = b, so b = 4 - 12 = -8.
Now we know b, therefore, the line we're looking for is y = 2x - 8
Regarding to the second question,
Because if two lines are perpendicular of each other, the product of their slops equal to -1 (e.g. s1 * s2 = -1). Assume the slop of the line we're looking for is s. so we have s * 2 = -1, so s = -1/2. Because we know the slop, the line can be represented as y = (-1/2) x + b. The line also goes through point (1, 4), so similar to first question, we can plug in x = 1, y = 4 to y = (-1/2) x + b to find b. Then we have:
4 = (-1/2) * 1 + b
=> 4 = -1/2 + b, add 1/2 to both sides
=> 4 + 1/2 = b
=> b = 9/2
so the equation of the line we're looking for is y = (-1/2) x + 9/2.
Feel free to reach out to me if you have further question.