Getting curve control points from a quadratic

In summary, the problem is asking for a quadratic parametric curve that passes through three given points. To solve this, you will need to find two interpolating polynomials, one for x and one for y. The second part asks for the control points of the curve, which can be found by using the intersection of the tangent lines at the first and last control points. To change basis to the Bernstein basis, use the Bernstein polynomials to write your parametric equations in terms of this basis.
  • #1
M4573R
12
0

Homework Statement


The first part is to find a quadratic parametric curve f(t) = (p1(t),p2(t)) which passes through the points (0,0) (1,1) and (2,1). (hint: find two interpolating polynomials, one for x and one for y)

Second part is to find the control points for the curve( ie. change basis to the berstein basis)


The Attempt at a Solution


I'm not exactly sure what the first part wants, but I have the equation:
f(t) = ( t, -1/2*t^2 + 3/2*t )
I got the y component from using the Newton form.

For the second part, I don't know how to get the control points. I would assume the first and second given points are control points, and the middle control point is the only one to find. We have been shown that you can get another control point by find the intersection of the tangent lines of the first and last control point. However I don't know if this point will result in a curve that goes exactly through the given middle point. I would change basis to the berstein basis, but I have no idea how to do that. That is the part would like to know more about.
 
Physics news on Phys.org
  • #2


Hello, thank you for posting your attempt at a solution. Let me try to clarify the first part for you. The problem is asking you to find a quadratic parametric curve (a curve defined by a set of parametric equations) that passes through the given points (0,0), (1,1), and (2,1). This means that for each value of t, the curve should go through these points. The hint is suggesting that you find two separate interpolating polynomials, one for the x-coordinate and one for the y-coordinate. This will give you two equations for x and y in terms of t, which you can then combine to get your parametric equations for f(t).

As for the second part, you are correct in assuming that the given points are control points. However, you are missing one more control point in order to fully define the curve. You can find this point by using the intersection of the tangent lines at the first and last control points, as you mentioned. This will ensure that the curve passes through the middle point as well.

To change basis to the Bernstein basis, you will need to use the Bernstein polynomials. These are a set of polynomials that are commonly used in Bezier curves (a type of parametric curve). You can find the Bernstein polynomials for a quadratic curve by doing a quick online search. Once you have these polynomials, you can use them to write your parametric equations in terms of the Bernstein basis instead of the standard basis. This will give you the control points that you need.

I hope this helps clarify the problem for you. Let me know if you have any further questions or need more help. it's important to always ask questions and seek out clarification when needed. Keep up the good work!
 

Related to Getting curve control points from a quadratic

1. How do I find the control points for a quadratic curve?

The control points for a quadratic curve can be found by using the formula (x1,y1),(x2,y2),(x3,y3) where x1 and x3 are the start and end points of the curve and x2 is the midpoint. The y values for x1 and x3 are the y coordinates of the start and end points of the curve, while the y value for x2 is calculated using the equation y2 = (y1 + y3)/2.

2. What is the purpose of control points in a quadratic curve?

Control points in a quadratic curve help to determine the shape and curvature of the curve. They act as anchors that guide the curve in a specific direction, allowing for precision and control over its shape.

3. Can I use more than three control points for a quadratic curve?

No, a quadratic curve can only have three control points. This is because a quadratic curve is defined by a second-degree polynomial equation, which only requires three points to determine its shape.

4. How do I adjust the control points to change the shape of a quadratic curve?

The control points can be adjusted by changing the coordinates of the midpoint (x2, y2). This will alter the direction and curvature of the curve. You can also experiment with different values for the start and end points (x1,y1) and (x3,y3) to further manipulate the shape.

5. Is there a mathematical equation for finding the control points of a quadratic curve?

Yes, the formula for finding the control points of a quadratic curve is (x1,y1),(x2,y2),(x3,y3) where x1 and x3 are the start and end points of the curve and x2 is the midpoint. The y values for x1 and x3 are the y coordinates of the start and end points of the curve, while the y value for x2 is calculated using the equation y2 = (y1 + y3)/2.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
723
  • Calculus and Beyond Homework Help
Replies
8
Views
537
  • Calculus and Beyond Homework Help
Replies
5
Views
822
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
996
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
0
Views
481
Back
Top