How Do You Determine the Coefficients of a Cubic Function with Given Extremes?

In summary: ThanksJeffYou need to solve for a value of K and a value for the integration constant which give you the desired values at x=1 and 4. And don't worry about solving a,b,c,d seperately as unknown variables. Just find the right cubic and then you just can read them off.
  • #1
Jeff Ford
155
2
Find a cubic function [tex] f(x) = ax^3 - bx^2 + cx - d [/tex] that has a local maximum value of 40 at x = 1 and a local minimum valud of -68 at x = 4

Since x = 1 and x = 4 are the max and min, respectively, then f'(x) must equal 0 at x = 1 and x = 4. Therefore [tex] f'(x) = (x-1)(x-4) = x^2 - 5x +4 [/tex]

Using the original function [tex] f'(x) = 3ax^2 - 2bx +c = x^2 - 5x + 4[/tex]

Setting the terms equal to each other we get
[tex] 3ax^2 = x^2 \Rightarrow a = \frac{1}{3} [/tex]
[tex] -2bx = -5x \Rightarrow b = \frac{5}{2} [/tex]
[tex] c = 4 [/tex]

Substituting these values back into the original equation I get

[tex] f(x) = \frac{x^3}{3} - \frac{5x^2}{2} + 4 - d [/tex]

When I solve for d using x = 1 and f(x) = 40 I get

[tex] d = \frac{1}{3} - \frac{5}{2} - 36 = \frac{-229}{6} [/tex]

However, when I solve for d using x = 4 and f(x) = -68 I get

[tex] d = \frac{4^3}{3} - \frac{5(4^2)}{2} + 84 = \frac{226}{3} [/tex]

Any ideas where I went wrong, or if I was down the wrong track to start with?

Thanks
Jeff
 
Physics news on Phys.org
  • #2
Eeh, from what I can see, we must have:
[tex]f'(x)=K(x-1)(x-4)[/tex], where K is some arbitrary constant.
 
  • #3
So if that was brought into the equation, would I be solving for a, b, c, & d in terms of K?
 
  • #4
No, you need to solve for a value of K and a value for the integration constant which give you the desired values at x=1 and 4. And don't worry about solving a,b,c,d seperately as unknown variables. Just find the right cubic and then you just can read them off.
 
  • #5
Well, there was nothing inherently wrong about Jeff's idea. A bit cumbersome, that's all.
 
  • #6
Sorry, not familiar with the idea of an itegration constant. We just finished sections of optimization problems and Newton's method. The next section is antiderivatives. So I have to solve this without any concept of integration.
 
  • #7
Could someone direct me towards information on finding the integration constant, if that is indeed the most direct way to solve this problem?

Thanks
Jeff
 
  • #8
Scratch the whole integration constant idea gig: no integration for you.
 
  • #9
f'= k(x-1)(x- 4)= kx^2- 5kx+ 4k= 3ax^2+ bx+ c so
a= k/3, b= -5k and c= 4k. Evaluate f(x)= (k/3)x^3- 5kx^2+ 4kx+ d at 1 and 4 to get two equations for k and d.
 
  • #10
We have 4 unknowns, hence we need 4 equations to solve: they are f(1)=40, f(4)=-68, f'(1)=0, and f'(4)=0.
 
  • #11
Where you went wrong in finding d in your OP was substituting the values at f'(x)=0 into f(x)...

You may also want to use: f''(1)<0, f''(4)>0
 
  • #12
Thanks to all. I used K(x-1)(x-4) = 0, solved for a, b, and c, then went back to the original equation and used x = 1 and x = 4 to get two equations for d in terms of K. I set them equal, solved for K, and when I plugged it back in I ended up with values for a, b, c, and d that satisfied all conditions.
 
  • #13
Can anyone explain this further?

Can anyone explain this further? I have a similar problem, and I'm having trouble following what the correct answer Jeff figured out in the end was.
How does one make an equation for d in terms of K, for instance?
 

FAQ: How Do You Determine the Coefficients of a Cubic Function with Given Extremes?

What is a cubic function?

A cubic function is a mathematical function that can be expressed in the form of f(x) = ax^3 + bx^2 + cx + d, where a, b, c, and d are constants. It is a polynomial function of degree 3 and has a graph that forms a smooth curve.

How do I find the equation of a cubic function?

To find the equation of a cubic function, you need to have 4 known points on the graph. You can then use these points to create a system of equations and solve for the constants a, b, c, and d. Alternatively, you can use a graphing calculator or software to plot the points and generate the equation for you.

What is the process for graphing a cubic function?

To graph a cubic function, you can follow these steps:1. Determine the domain and range of the function.2. Find the x- and y-intercepts by setting f(x) = 0 and solving for x.3. Find the vertex of the graph by using the formula x = -b/2a.4. Plot the vertex and the intercepts on a coordinate plane.5. Plot a few more points by substituting values for x and finding the corresponding y-values.6. Connect the points to create a smooth curve.

What are the key features of a cubic function?

The key features of a cubic function include:1. Degree: A cubic function has a degree of 3.2. Shape: The graph of a cubic function is a smooth curve that can either be concave up or concave down.3. Roots: A cubic function can have up to 3 real roots.4. Turning point: The turning point (or vertex) of a cubic function is where the slope of the graph changes from increasing to decreasing, or vice versa.5. Domain and range: The domain and range of a cubic function are all real numbers.

How can cubic functions be used in real life?

Cubic functions can be used in various real-life applications, such as:1. Physics: Cubic functions can be used to model the motion of objects under the influence of gravity.2. Engineering: Cubic functions can be used to design structures, such as bridges and buildings, to ensure their stability and structural integrity.3. Economics: Cubic functions can be used to model supply and demand curves in economics.4. Computer graphics: Cubic functions are used in computer graphics to create smooth and realistic curves in 3D animations.5. Music: Cubic functions are used in sound engineering to create and manipulate sound waves for musical purposes.

Similar threads

Replies
4
Views
1K
Replies
4
Views
800
Replies
10
Views
1K
Replies
5
Views
2K
Replies
4
Views
1K
Replies
40
Views
1K
Back
Top