What is the equation for a polynomial curve connecting two straight tracks?

  • Thread starter Thread starter roadrunner
  • Start date Start date
  • Tags Tags
    Curve Polynomial
Click For Summary

Homework Help Overview

The discussion revolves around finding a polynomial function that smoothly connects two sections of railroad track, specifically transitioning from a track along the negative x-axis to a line at y=1 for x≥1. The original poster seeks a polynomial of degree 5 that satisfies specific conditions at the endpoints.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the conditions required for the polynomial, including endpoint values and derivatives to ensure smoothness. Questions arise regarding the necessity of second derivatives for smooth transitions.

Discussion Status

Some participants have provided insights into the conditions needed for the polynomial coefficients, while others express confusion about the implications of these conditions. There is an ongoing exploration of the polynomial's structure and the reasoning behind the smoothness requirements.

Contextual Notes

The original poster has expressed difficulty in visualizing the problem and has attempted to clarify their needs through ASCII representations. There is also a mention of formatting issues related to mathematical notation.

roadrunner
Messages
101
Reaction score
0
"let's consider the problem of connnecting a railroad track to make a smooth transition between sections of straight ttrack. Existing track along the negative x-axis is to be joined smoothly to a track on the line y=1 for x>=1.

find a polynomial P=P(x) of degree 5 such that the following function F is defined by

...0 if x<=1
F(x) =P(x) if 0<x)1
...1 if x>= 1



no idea how to start other than drawing a picture!

Code:
                ____________ (y=1)
               /\
(y=0)____      ||
        /\     ||
        ||     ||
      (x=0) (x=1)
**ignore all the peroids, they are for spacing as this does not put large amounts of spaces.**

and betwwen those two lines i need an equation for a line that looks kind of like a squished "S" on a 45 degree angle (hard to describe)

how do i go about making that equation? where do i even start?

edit...tried that code thing
 
Last edited:
Physics news on Phys.org
Use [ code ] ... [ /code ] around an ASCII picture: it will retain your spaces, and all characters will have an equal width.
 
ok thanks that worked...but I am stuill stuck on the problem! :D
 
So you want a polynomial P(x) of degree 5: P(x)= ax5+ bx4+ cx3+ dx2+ ex+ f such that:
P(0)= 0
P(1)= 1 so the tracks meet!
P'(0)= 0
P'(1)= 0 so there is not a "corner" where they meet.
That much should be obvious from your picture. But's that's only 4 conditions for 6 coefficients. You need two more. In order that the transition be smooth you also need:
P"(0)= 0
p"(1)= 0
That gives you 6 equations to solve for the 6 coefficients.
 
oh that makes sense thanks

but why does p''(0) and p''(1)mean smooth?
 
so i get
a=6
b= -15
c=10
d=0
e=0
f=0

that looks right to me?

so my equation is 6ax^5 -15x^4+10x^3=P(x)?

PS: how do u make the ^2 appear normal? (IE without using a ^)
 

Similar threads

Replies
9
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
Replies
7
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K