Coordinate geometry query

In summary, the person is seeking help in writing a program that predicts the trajectory of a moving point by finding the coordinates of a point B given the coordinates of point A, the length of AB, and its gradient. They are looking for two simple formulae in terms of x and y coordinates, and someone suggests using the equation y=mx to solve for x and then multiplying by m to find the difference in y values. They also mention being confused and seeking further help.
  • #1
Inquisitus
12
0
Not actually homework, but just a general query...

I'm trying to write a program that will predict the trajectory of a moving point by analysing several positions through which the point has passed.

Part of this involves finding the coordiantes of a point B, given the coordinates of another point A, the length of AB and its gradient. Obviously there are two possible points... one to the right A and one to the left, but I'm only interested in the one to the right.

I basically need two simple formulae in terms of the x and y coordinates of B, which I can apply in the program itself, although I wouldn't mind knowing how the formula was reached as well :smile:

I've tried getting my head around it but I'm just getting confused. Any help would be greatly appreciated, thanks!
 
Last edited:
Physics news on Phys.org
  • #2
I'm not sure what you mean by the gradient. Is that the slope of the line connecting A to B? Are you asking how to find a point B=(x2,y2) given a point A=(x1,y1), and the length L and slope m of AB?

If so, this can be found by pretending A is at (0,0) (you can add the coordinates of A back in at then end). Then the line containing AB has the equation y=mx, so that points along the line have coordinates like (x,mx). The distance from A to a point (x,mx) is [itex]\sqrt{x^2+m^2 x^2}=x\sqrt{1+m^2}[/itex]. Then you want to solve for x using [itex]L= x\sqrt{1+m^2}[/itex]. This x is the difference between the x values of A and B, and multiplying it by m gives the difference between the y values.
 
Last edited:
  • #3


Hi there,

Thank you for reaching out with your query about coordinate geometry. It sounds like you are working on a very interesting program that involves predicting the trajectory of a moving point. In order to find the coordinates of a point B, given the coordinates of another point A, the length of AB, and its gradient, there are a few different formulas that you can use.

One formula that may be helpful is the slope-intercept form of a line, which is y = mx + b. In this formula, m represents the gradient and b represents the y-intercept. You can use this formula to find the coordinates of point B by plugging in the coordinates of point A and the length of AB. From there, you can solve for the y-coordinate of point B and then use the Pythagorean theorem to find the x-coordinate.

Another formula that may be useful is the distance formula, which is d = √((x2-x1)^2 + (y2-y1)^2). In this formula, (x1, y1) represents the coordinates of point A and (x2, y2) represents the coordinates of point B. You can use this formula to find the distance between point A and point B, and then use the given length of AB to solve for the coordinates of point B.

I hope this helps and gives you a starting point for your program. As for how these formulas were derived, they are based on mathematical principles and equations such as the Pythagorean theorem and the slope formula. If you would like more information on the derivation of these formulas, I would recommend doing some research on coordinate geometry or consulting with a mathematics expert.

Best of luck with your program!

Sincerely,

 

1. What is coordinate geometry?

Coordinate geometry is a branch of mathematics that deals with the study of geometric figures using a coordinate system. It involves representing points, lines, and shapes on a coordinate plane using a set of numbers, known as coordinates.

2. How do you find the coordinates of a point on a graph?

To find the coordinates of a point on a graph, you need to locate the point on the coordinate plane and read the values of the x-coordinate (horizontal) and y-coordinate (vertical). The coordinates are usually written in the form (x, y), where x represents the horizontal distance and y represents the vertical distance.

3. What is the slope of a line in coordinate geometry?

The slope of a line in coordinate geometry is a measure of its steepness or incline. It is calculated by dividing the change in the y-coordinate by the change in the x-coordinate between two points on the line. The slope is represented by the letter m in the slope-intercept form of a linear equation, y = mx + b.

4. How do you determine if two lines are parallel or perpendicular?

Two lines are parallel if they have the same slope, meaning they have the same steepness and will never intersect. Two lines are perpendicular if their slopes are negative reciprocals of each other, meaning when multiplied together, they equal -1. In other words, one line is steep while the other is shallow, and they intersect at a 90-degree angle.

5. How is distance calculated in coordinate geometry?

In coordinate geometry, the distance between two points is calculated using the distance formula: d = √[(x2 - x1)^2 + (y2 - y1)^2]. This formula uses the Pythagorean theorem to find the length of the hypotenuse of a right triangle formed by connecting the two points. The result is the shortest distance between the two points on the coordinate plane.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
20
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
2K
Replies
40
Views
2K
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
970
  • Precalculus Mathematics Homework Help
Replies
1
Views
2K
  • Special and General Relativity
Replies
4
Views
1K
Back
Top