Determining a function given points and the values of derivatives at points

Click For Summary

Homework Help Overview

The discussion revolves around constructing a quintic function of the form ax^5 + bx^4 + cx^3 + dx^2 + ex + f, given specific points and derivative values. The original poster seeks assistance in determining the coefficients based on the conditions that the function passes through the points (-5, 15), (-5/2, 100), and (10, -5), along with the constraints on the first and second derivatives at x=5.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the need to establish a system of equations based on the given points and derivative conditions. There are questions about how to derive these equations and the implications of having insufficient equations for the number of unknowns. Some participants suggest using Maple to solve the equations once they are formulated.

Discussion Status

The conversation is ongoing, with participants actively working on formulating the necessary equations. Some have identified the need for additional equations derived from the derivatives, while others are clarifying their understanding of the problem setup. There is a recognition of the challenge posed by the number of equations relative to the unknowns.

Contextual Notes

Participants note that they require a total of five equations to solve for the five coefficients, and they are exploring how to derive these from the given conditions. There is mention of a fourth point that was initially overlooked, which may help in forming the necessary equations.

Liquidessa
Messages
9
Reaction score
0

Homework Statement


Using Maple, I'm asked to create a quintic function, in the form of ax^5+bx^4+cx^3+dx^2+ex+f given the following data:

It will pass through the points (-5,15), (-5/2, 100), and (10, -5)
-f'(5)=(-1)
-f''(5)=1

Homework Equations


How would I go about doing this? I'm allowed to use Maple. If anyone could demonstrate, that'd be great.

The Attempt at a Solution


I'm not sure where to start. I can't solve for anyone coefficient in particular, because then I just end up with the value of it in relation to the other coefficients. ANy help would be greatly appreciated! Thanks!

Edit: I think I could even do it if I had one more point, I just don't know how to find a fourth one.
 
Last edited:
Physics news on Phys.org
It will pass through the points (-5,15), (-5/2, 100), and (10, -5).

What does that mean? What equation must hold in order that this is true?
 
I have the basic quintic function f(x)=ax^5+bx^4+cx^3+dx^2+ex+f
I need to find the values of the coefficients a,b,c,d,e and f, creating a function that satisfies these conditions:

It will pass through the points (-5,15), (-5/2, 100), and (10, -5). (If I graphed the function I'm trying to find, it would pass through those points)

-f'(5)=(-1)
-f''(5)=1
 
Liquidessa said:
It will pass through the points (-5,15), (-5/2, 100), and (10, -5). (If I graphed the function I'm trying to find, it would pass through those points)

What does this mean for f? What equation must hold?
 
If I give you the function f(x)=x2+x+1. How do you check that the function goes through (1,1)??
 
Sorry, but I'm not really sure what you mean. Here is a link to the assignment, I'm doing question 1, and I used a value of 5 for 'k', so I figured out my points from that. I hope that's clearer.

http://people.stfx.ca/pkeizer/assignments/a4.pdf
 
Last edited by a moderator:
Your assignment is clear to me. I'm just asking questions to guide you to a solution.

If I give you f(x)=x2+x+1, then how do check that this curve goes through (1,3)? How do you know that?
 
Wouldn't I just substitute the x-coordinate into my original function, and solve? If it equals the y-coordinate, it would pass through that point. I'm just not sure how to go about doing it with a function this complex. Apparently there is some way I am supposed to use maple to do it, but I don't know.
 
Well, maple will come in later. We will first construct a system of 5 equations with 5 unknowns. You will have to use maple to solve this.

So (-5,15) has to lie on f. Thus the following must hold:

a(-5)^5+b(-5)^4+c(-5)^3+d(-5)^2+e(-5)+f=15

This is our first equation. Can you use the other two points to obtain other equations??
 
  • #10
Aha! Ok, I understand this much at least. Yes, I have my three equations now. AM I supposed to set them up a system, and ask maple to solve for the variables?
 
  • #11
Oh! Also, there was a fourth point give that I missed, (5/2, 50).
 
  • #12
Well, you could try. But maple won't give you many useful answers. The reason is that three equations just isn't enough. If you've got 5 variables, then you need to have (at least) 5 equations. We only have 3 equations, so we need two other ones.

These equations will come from f'(5)=-1 and f''(5)=1.
So all you need to do now is to calculate the first and second derivative and substitute the values. This will give you two other equations...
 
  • #13
They gave a fourth point, I've got a fourth equation now, but how can I get my fifth from the first and second derivatives?
 
  • #14
First, find the first derivative. Then use the information that f'(5)=-1, this will give you a fifth equation...
 
  • #15
Haha, thanks, I'm almost done. Once I have my fifth equation, how do I use Maple to solve for the coefficients? I'm fairly new to Maple, but maybe I should know this.
 
  • #16
I'm sorry, I really don't know anything about maple :frown:

Check the Help file of maple. It should have a lot of tools to solve equations...
 
  • #17
I now have the equations:

-5 = a(10)^5+b(10)^4+c(10)^3+d(10)^2+e(10)+h;
15 = a(-5)^5+b(-5)^4+c(-5)^3+d(-5)^2+e(-5)+h
100 = a(-5/2)^5+b(-5/2)^4+c(-5/2)^3+d(-5/2)^2+e(-5/2)+h
50= a(5/2)^5+b(5/2)^4+c(5/2)^3+d(5/2)^2+e(5/2)+h
-1 = 5*a(5)^4+4*b(5)^3+3*c(5)^2+eCan anyone tell me how I would determine the coefficients with Maple?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
22
Views
3K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
26
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K