ok hi so im doing a summer packet for school and i really have like no idea how to do these types of questions so if someone could like explain it that would be amazing!!!
the questions are "write an equation in slope intercept form for the line that contains the given point and is parallel to the given line" (ex. (1,4); y=-3x+2)
and "write an equation in slope intercept form for the line that contains the given point and is perpendicular to the given line" (ex. (2,4); y=1/2x+3)
sorry if that's a lot but i totally forgot how to do all of that over the past two years and would love some help c:
A line in slope-intercept form can be written as y = mx + b where m = the slope and b = the y-coordinate of the y-intercept. Two lines are said to be parallel if their slopes are the same, and two lines are said to be perpendicular if their slopes are negative reciprocals of one another (e.g, if one line has slope 2 then a line that is perpendicular must have a slope of -1/2).
In both of your questions, you are aiming to find slope-intercept form equations of lines that satisfy the conditions of (1) passing through a specific point, and (2) that are either parallel or perpendicular to another line. Hence, you want to solve y = mx + b for m and b that meet these conditions.
Here's an example question that is similar to your first. Suppose that you want to find the equation of a line that passes through the point (1, 2) and is parallel to the line y = 3x + 1. Since this line must be parallel to y = 3x + 1 we have that the slope of this mystery line is m = 3. So plugging this into y = mx + b gives us:
y = 3x + b
Notice that any and all lines of the form above will be parallel to y = 3x + 1 since their slopes are the same. All we need to do now is solve for b. We're given that the line must pass through the point (1, 2) and so by substituting x = 1 and y = 2 into the equation above, we can solve for b:
(2) = 3(1) + b
2 = 3 + b
-1 = b
Substituting b = -1 into the original equation gives us the equation of the line that passes through the point (1, 2) and is parallel to y = 3x + 1:
y = 3x - 1
I hope that this helps! You should be able to complete both of the questions you have above if you follow a similar manner to this example. Just be weary that when you're finding the equation of a line that passes through a point and is perpendicular (instead of parallel) to another line, then the slope m of your answer will be the negative reciprocal of the slope of the line in your problem.